diff options
author | Huy Tran <hoang.huy.tran@gmail.com> | 2018-11-30 00:16:49 +0300 |
---|---|---|
committer | Huy Tran <hoang.huy.tran@gmail.com> | 2018-11-30 00:16:49 +0300 |
commit | 739f92285baf06cc9d3f323002f9785111b0007b (patch) | |
tree | 6ddac2561b6a76564d50e5093c7013d78fb19c1d | |
parent | 1ea35f44308997d2e4879f3b7938dd1a77a99578 (diff) |
revise styles for <blockquote> and note, warning
-rw-r--r-- | assets/scss/hyde-hyde/_base.scss | 7 | ||||
-rw-r--r-- | layouts/shortcodes/note.html | 2 | ||||
-rw-r--r-- | 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 @@ <blockquote {{ with .Get "class" }}class="{{.}}"{{ end }}> <strong>{{ .Get 0 | default "Note" }}</strong><br> - {{ .Inner }} + {{ .Inner | markdownify }} </blockquote> 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 @@ <blockquote class="warning"> <strong>{{ .Get 0 | default "Warning" }}</strong><br> - {{ .Inner }} + {{ .Inner | markdownify }} </blockquote> |