Commit bd7e569f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Prevent top margin for first element in markdown/wiki/readme typography

parent 2c6577a1
...@@ -76,6 +76,10 @@ ...@@ -76,6 +76,10 @@
} }
@mixin md-typography { @mixin md-typography {
*:first-child {
margin-top: 0;
}
code { padding: 0 4px; } code { padding: 0 4px; }
h1 { margin-top: 30px;} h1 { margin-top: 30px;}
h2 { margin-top: 25px;} h2 { margin-top: 25px;}
......
...@@ -94,12 +94,16 @@ a:focus { ...@@ -94,12 +94,16 @@ a:focus {
* *
*/ */
.wiki { .wiki {
font-size: 14px;
line-height: 1.6;
@include md-typography; @include md-typography;
.white .highlight pre { background: #f5f5f5; } font-size: 14px;
ul { margin: 0 0 9px 25px !important; } line-height: 1.6;
.white .highlight pre {
background: #f5f5f5;
}
ul {
margin: 0 0 9px 25px !important;
}
} }
.md { .md {
......
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