diff options
Diffstat (limited to 'assets')
-rw-r--r-- | assets/sass/_markdown.scss | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/assets/sass/_markdown.scss b/assets/sass/_markdown.scss index c6deabb..5ca2b70 100644 --- a/assets/sass/_markdown.scss +++ b/assets/sass/_markdown.scss @@ -1,8 +1,6 @@ // primer CSS markdown color remap -#post-content { - &.markdown-body { - font-family: inherit !important; - } +@mixin markdown-remap { + font-family: inherit !important; h1, h2, h3, h4, h5, h6 { color: $color-primary; @@ -35,4 +33,21 @@ } @include link-secondary(); +} + +#post-content { + &.markdown-body { + @include markdown-remap(); + } +} + +#post-summary { + &.markdown-body { + @include markdown-remap(); + + // do not show heads in summary + h1, h2, h3, h4, h5, h6 { + display: none; + } + } }
\ No newline at end of file |