docs: Update page header /section styles

This commit is contained in:
Jennifer Mann
2017-05-23 12:21:31 -04:00
parent 42d9c0fa4d
commit 65de8a741a
+17 -3
View File
@@ -167,13 +167,17 @@
margin: 1em 0;
}
h1 {
font-size: 1.6em;
font-size: 1.7em;
line-height: 1.5em;
font-weight: 500;
margin: 1.5em 0 0.5em 0;
padding: 0;
font-family: $font-title;
border-top: 2px solid #eee;
padding-top: 1.5em;
&>a {
font-weight: 500;
@@ -181,10 +185,10 @@
}
h2 {
font-size: 1em;
font-size: 1.3em;
line-height: 1.5em;
font-weight: 500;
margin: 1em 0 1em 0;
margin: 2em 0 0.5em 0;
font-family: $font-title;
code {
@@ -221,6 +225,16 @@
font-family: $font-title;
}
&>p>strong {
display: inline-block;
margin-top: 1.5em;
}
&>h2+p>strong, &>h1+p>strong {
margin-top: 0;
}
a {
color: $color-link;
text-decoration: none;