use md-typography for note content
This commit is contained in:
parent
dc7507cfe7
commit
d54845a16a
3 changed files with 14 additions and 8 deletions
|
@ -75,3 +75,14 @@
|
|||
line-height: 36px;
|
||||
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 {
|
|||
*
|
||||
*/
|
||||
.wiki {
|
||||
@include md-typography;
|
||||
|
||||
font-size: 13px;
|
||||
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; }
|
||||
ul { margin: 0 0 9px 25px !important; }
|
||||
}
|
||||
|
|
|
@ -83,6 +83,7 @@ ul.notes {
|
|||
margin-top: -20px;
|
||||
}
|
||||
.note-body {
|
||||
@include md-typography;
|
||||
margin-left: 45px;
|
||||
}
|
||||
.note-header {
|
||||
|
|
Loading…
Reference in a new issue