Change blockquote styling/put posts in blockquote

This commit is contained in:
Adriano Caloiaro 2023-07-30 13:08:50 -06:00
parent bb401aa3f5
commit cd44576fc1
No known key found for this signature in database
GPG key ID: C2BC56DE73CE3F75
3 changed files with 33 additions and 4 deletions

View file

@ -26,7 +26,7 @@
</div>
<div class="post-content">
{{ .Content }}
<blockquote>{{ .Content }}</blockquote>
</div>
<br/>

View file

@ -172,8 +172,6 @@ pre {
}
blockquote {
border-top: 1px solid $accent;
border-bottom: 1px solid $accent;
margin: 40px 0;
padding: 25px;

View file

@ -74,7 +74,7 @@
}
&-content {
margin-top: 30px;
margin-top: 0px;
}
&-cover {
@ -131,3 +131,34 @@ h1:hover a, h2:hover a, h3:hover a, h4:hover a {
.footnotes {
color: transparentize($color, .5);
}
blockquote {
font-family: Georgia, serif;
position: relative;
margin: 0.5em;
padding: 0.5em 0em 0em 0em;
color: transparentize($color, .25);
}
blockquote:before {
font-family: Georgia, serif;
position: relative;
left: -0.25em;
font-size: 3em;
line-height: 1;
content: "\201C";
}
blockquote:after {
font-family: Georgia, serif;
position: relative;
font-size: 3em;
line-height: 1;
right: -0.25em;
content: "\201D";
}
blockquote footer {
padding: 0 2em 0 0;
text-align:right;
}
blockquote cite:before {
content: "\2013";
}