revise styles for <blockquote> and note, warning

This commit is contained in:
Huy Tran 2018-11-30 08:16:49 +11:00
parent 1ea35f4430
commit 739f92285b
3 changed files with 5 additions and 6 deletions

View file

@ -54,12 +54,11 @@ figure {
%quotebox { %quotebox {
padding: .8889rem; padding: .8889rem;
margin-top: 1.4em; margin-top: 1rem;
margin-left: 0px; margin-left: 0px;
margin-right: 0px; margin-right: 0px;
border-radius: 6px; //border-radius: 6px;
border-left-width: 6px; border-left: 6px solid;
border-left-style: solid;
border-right: 6px solid transparent; border-right: 6px solid transparent;
border-right-width: 6px; border-right-width: 6px;
border-right-style: solid; border-right-style: solid;

View file

@ -1,4 +1,4 @@
<blockquote {{ with .Get "class" }}class="{{.}}"{{ end }}> <blockquote {{ with .Get "class" }}class="{{.}}"{{ end }}>
<strong>{{ .Get 0 | default "Note" }}</strong><br> <strong>{{ .Get 0 | default "Note" }}</strong><br>
{{ .Inner }} {{ .Inner | markdownify }}
</blockquote> </blockquote>

View file

@ -1,4 +1,4 @@
<blockquote class="warning"> <blockquote class="warning">
<strong>{{ .Get 0 | default "Warning" }}</strong><br> <strong>{{ .Get 0 | default "Warning" }}</strong><br>
{{ .Inner }} {{ .Inner | markdownify }}
</blockquote> </blockquote>