Decrease header line-height on mobile

This commit is contained in:
Barry Clark 2014-05-27 20:58:58 -04:00
parent bef20c4d5b
commit 1423f650fc
2 changed files with 7 additions and 0 deletions

View file

@ -37,6 +37,10 @@ h1, h2, h3, h4, h5, h6 {
line-height: 1.7; line-height: 1.7;
margin: 1em 0 15px; margin: 1em 0 15px;
padding: 0; padding: 0;
@include mobile {
line-height: 1.4;
}
} }
h1 { h1 {

View file

@ -334,6 +334,9 @@ h1, h2, h3, h4, h5, h6 {
line-height: 1.7; line-height: 1.7;
margin: 1em 0 15px; margin: 1em 0 15px;
padding: 0; } padding: 0; }
@media screen and (max-width: 520px) {
h1, h2, h3, h4, h5, h6 {
line-height: 1.4; } }
h1 { h1 {
font-weight: 400; font-weight: 400;