revise styles for <blockquote> and note, warning
This commit is contained in:
parent
1ea35f4430
commit
739f92285b
3 changed files with 5 additions and 6 deletions
|
@ -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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<blockquote {{ with .Get "class" }}class="{{.}}"{{ end }}>
|
||||
<strong>{{ .Get 0 | default "Note" }}</strong><br>
|
||||
{{ .Inner }}
|
||||
{{ .Inner | markdownify }}
|
||||
</blockquote>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<blockquote class="warning">
|
||||
<strong>{{ .Get 0 | default "Warning" }}</strong><br>
|
||||
{{ .Inner }}
|
||||
{{ .Inner | markdownify }}
|
||||
</blockquote>
|
||||
|
|
Loading…
Reference in a new issue