From a7ce145884d6cc5d7a1c3d1eced7308caa761204 Mon Sep 17 00:00:00 2001 From: foo-dogsquared Date: Tue, 4 Dec 2018 22:00:20 +0800 Subject: [PATCH] Add style to 'h5' and 'h6' --- _sass/post_content/_post.scss | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/_sass/post_content/_post.scss b/_sass/post_content/_post.scss index 99ccd68..339ebe1 100644 --- a/_sass/post_content/_post.scss +++ b/_sass/post_content/_post.scss @@ -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 {