diff options
| author | amzrk2 | 2020-04-13 19:13:39 +0800 | 
|---|---|---|
| committer | amzrk2 | 2020-04-13 19:13:39 +0800 | 
| commit | 6bdd1c4c0ea567c45fdecb1e858a99ee5da246ad (patch) | |
| tree | b13e4c3a49823b602ebb918c899dd4a964c1f445 /assets/sass/_markdown.scss | |
| download | hugo-theme-fuji-6bdd1c4c0ea567c45fdecb1e858a99ee5da246ad.tar.gz hugo-theme-fuji-6bdd1c4c0ea567c45fdecb1e858a99ee5da246ad.tar.bz2 hugo-theme-fuji-6bdd1c4c0ea567c45fdecb1e858a99ee5da246ad.zip | |
Initial commit
Diffstat (limited to 'assets/sass/_markdown.scss')
| -rw-r--r-- | assets/sass/_markdown.scss | 32 | 
1 files changed, 32 insertions, 0 deletions
| diff --git a/assets/sass/_markdown.scss b/assets/sass/_markdown.scss new file mode 100644 index 0000000..cb54e26 --- /dev/null +++ b/assets/sass/_markdown.scss @@ -0,0 +1,32 @@ +// primer CSS markdown color remap +#post-content { +    &.markdown-body { +        font-family: inherit !important; +    } + +    h1, h2, h3, h4, h5, h6 { +        color: $color-primary; +    } + +    h1 { +        font-size: $font-size-l1; +        border-bottom: $spliter; +    } + +    h2 { +        font-size: $font-size-l2; +        border-bottom: $spliter; +    } + +    h3 { +        font-size: $font-size-l3; +    } + +    h4, h5, h6 { +        font-size: $font-size-l4; +    } + +    hr { +        background-color: $color-spliter; +    } +}
\ No newline at end of file | 
