updated how quotes are handled

This commit is contained in:
Eorn 2020-11-04 18:19:16 +01:00
parent 4c2adcd0fe
commit 18bb6dc68e
2 changed files with 20 additions and 2 deletions

View file

@ -0,0 +1,4 @@
<blockquote>
<p>{{ .Inner | markdownify }}</p>
{{ with .Get "caption" }}<p class="quotecaption">{{ . | markdownify }}</p>{{ end }}
</blockquote>

View file

@ -362,9 +362,23 @@ article .post-content {
.page-content blockquote { .page-content blockquote {
border: 1px dashed grey; border: 1px dashed grey;
background-color: #2c2f31;
max-width: 80%;
margin: auto;
}
.page-content blockquote p {
padding-right: 15px; padding-right: 15px;
padding-left: 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%; max-width: 100%;
} }
figure.audiofig audio { figure.audiofig audio {
width: 90%; width: 90%;
align: center; align: center;
} }
.center { .center {
text-align: center; text-align: center;
} }