summaryrefslogtreecommitdiffstats
path: root/assets/sass/_markdown.scss
diff options
context:
space:
mode:
authoramzrk22020-04-13 19:13:39 +0800
committeramzrk22020-04-13 19:13:39 +0800
commit6bdd1c4c0ea567c45fdecb1e858a99ee5da246ad (patch)
treeb13e4c3a49823b602ebb918c899dd4a964c1f445 /assets/sass/_markdown.scss
downloadhugo-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.scss32
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