mirror of
https://github.com/acaloiaro/garbagespeak.com
synced 2026-07-21 10:12:19 +00:00
Change blockquote styling/put posts in blockquote
This commit is contained in:
parent
bb401aa3f5
commit
cd44576fc1
3 changed files with 33 additions and 4 deletions
|
|
@ -26,7 +26,7 @@
|
|||
</div>
|
||||
|
||||
<div class="post-content">
|
||||
{{ .Content }}
|
||||
<blockquote>{{ .Content }}</blockquote>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
|
|
|
|||
|
|
@ -172,8 +172,6 @@ pre {
|
|||
}
|
||||
|
||||
blockquote {
|
||||
border-top: 1px solid $accent;
|
||||
border-bottom: 1px solid $accent;
|
||||
margin: 40px 0;
|
||||
padding: 25px;
|
||||
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue