updated how quotes are handled
This commit is contained in:
parent
4c2adcd0fe
commit
18bb6dc68e
4
layouts/shortcodes/quote.html
Normal file
4
layouts/shortcodes/quote.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<blockquote>
|
||||
<p>{{ .Inner | markdownify }}</p>
|
||||
{{ with .Get "caption" }}<p class="quotecaption">{{ . | markdownify }}</p>{{ end }}
|
||||
</blockquote>
|
|
@ -362,9 +362,23 @@ article .post-content {
|
|||
|
||||
.page-content blockquote {
|
||||
border: 1px dashed grey;
|
||||
background-color: #2c2f31;
|
||||
max-width: 80%;
|
||||
margin: auto;
|
||||
}
|
||||
.page-content blockquote p {
|
||||
padding-right: 15px;
|
||||
padding-left: 15px;
|
||||
background-color: #2c2f31;
|
||||
}
|
||||
|
||||
.page-content blockquote p.quotecaption {
|
||||
text-align: right;
|
||||
font-size: 15px;
|
||||
border-top: 1px dashed grey;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
padding-bottom: 10px;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
|
||||
|
@ -434,12 +448,12 @@ figure img {
|
|||
max-width: 100%;
|
||||
}
|
||||
|
||||
|
||||
figure.audiofig audio {
|
||||
width: 90%;
|
||||
align: center;
|
||||
}
|
||||
|
||||
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue