Commit d54845a1 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

use md-typography for note content

parent dc7507cf
...@@ -75,3 +75,14 @@ ...@@ -75,3 +75,14 @@
line-height: 36px; line-height: 36px;
font-weight: normal; font-weight: normal;
} }
@mixin md-typography {
code { padding: 0 4px; }
p { font-size: 13px; }
h1 { font-size: 26px; line-height: 40px; margin: 10px 0;}
h2 { font-size: 22px; line-height: 40px; margin: 10px 0;}
h3 { font-size: 18px; line-height: 40px; margin: 10px 0;}
h4 { font-size: 16px; line-height: 20px; margin: 10px 0;}
h5 { font-size: 14px; line-height: 20px; margin: 10px 0;}
h6 { font-size: 12px; line-height: 20px; margin: 10px 0;}
}
...@@ -87,17 +87,11 @@ a:focus { ...@@ -87,17 +87,11 @@ a:focus {
* *
*/ */
.wiki { .wiki {
@include md-typography;
font-size: 13px; font-size: 13px;
line-height: 20px; line-height: 20px;
code { padding: 0 4px; }
p { font-size: 13px; }
h1 { font-size: 26px; line-height: 40px; margin: 10px 0;}
h2 { font-size: 22px; line-height: 40px; margin: 10px 0;}
h3 { font-size: 18px; line-height: 40px; margin: 10px 0;}
h4 { font-size: 16px; line-height: 20px; margin: 10px 0;}
h5 { font-size: 14px; line-height: 20px; margin: 10px 0;}
h6 { font-size: 12px; line-height: 20px; margin: 10px 0;}
.white .highlight pre { background: #f5f5f5; } .white .highlight pre { background: #f5f5f5; }
ul { margin: 0 0 9px 25px !important; } ul { margin: 0 0 9px 25px !important; }
} }
...@@ -83,6 +83,7 @@ ul.notes { ...@@ -83,6 +83,7 @@ ul.notes {
margin-top: -20px; margin-top: -20px;
} }
.note-body { .note-body {
@include md-typography;
margin-left: 45px; margin-left: 45px;
} }
.note-header { .note-header {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment