Add style to 'h5' and 'h6'

This commit is contained in:
foo-dogsquared 2018-12-04 22:00:20 +08:00
parent ed689a346d
commit a7ce145884

View File

@ -83,6 +83,28 @@
@include relative-font-size(1.125);
}
}
h4 ~ h5 {margin-top: $spacing-unit * 1.25;}
h4 + h5 {margin-top: 0;}
h5 {
@include relative-font-size(1.20);
@include media-query($on-laptop) {
@include relative-font-size(1.120);
}
}
h5 ~ h6 {margin-top: $spacing-unit * 1.20;}
h5 + h6 {margin-top: 0;}
h6 {
@include relative-font-size(1.15);
@include media-query($on-laptop) {
@include relative-font-size(1.115);
}
}
}
.caption {