From 739f92285baf06cc9d3f323002f9785111b0007b Mon Sep 17 00:00:00 2001 From: Huy Tran Date: Fri, 30 Nov 2018 08:16:49 +1100 Subject: [PATCH] revise styles for
and note, warning --- assets/scss/hyde-hyde/_base.scss | 7 +++---- layouts/shortcodes/note.html | 2 +- layouts/shortcodes/warning.html | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/assets/scss/hyde-hyde/_base.scss b/assets/scss/hyde-hyde/_base.scss index e67a004..4ac01e0 100644 --- a/assets/scss/hyde-hyde/_base.scss +++ b/assets/scss/hyde-hyde/_base.scss @@ -54,12 +54,11 @@ figure { %quotebox { padding: .8889rem; - margin-top: 1.4em; + margin-top: 1rem; margin-left: 0px; margin-right: 0px; - border-radius: 6px; - border-left-width: 6px; - border-left-style: solid; + //border-radius: 6px; + border-left: 6px solid; border-right: 6px solid transparent; border-right-width: 6px; border-right-style: solid; diff --git a/layouts/shortcodes/note.html b/layouts/shortcodes/note.html index dfde0ab..181b841 100644 --- a/layouts/shortcodes/note.html +++ b/layouts/shortcodes/note.html @@ -1,4 +1,4 @@
{{ .Get 0 | default "Note" }}
- {{ .Inner }} + {{ .Inner | markdownify }}
diff --git a/layouts/shortcodes/warning.html b/layouts/shortcodes/warning.html index 7c5477b..3a6911f 100644 --- a/layouts/shortcodes/warning.html +++ b/layouts/shortcodes/warning.html @@ -1,4 +1,4 @@
{{ .Get 0 | default "Warning" }}
- {{ .Inner }} + {{ .Inner | markdownify }}