Decrease header line-height on mobile
This commit is contained in:
parent
bef20c4d5b
commit
1423f650fc
|
@ -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 {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue