forked from shadowfacts/shadowfacts.net
Add styles for blockquotes
This commit is contained in:
parent
49c721d0b9
commit
2e93c8998b
|
@ -219,6 +219,15 @@ article {
|
||||||
background: var(--accent-color);
|
background: var(--accent-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
font-style: italic;
|
||||||
|
border-left: 3px solid var(--accent-color);
|
||||||
|
// use margin for vertical spacing so space is shared with elements that come before/after
|
||||||
|
// and padding for horizontal so that the space is between the border and the text
|
||||||
|
margin: 20px 0;
|
||||||
|
padding: 0 40px;
|
||||||
|
}
|
||||||
|
|
||||||
a::before, a::after,
|
a::before, a::after,
|
||||||
p code {
|
p code {
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
|
|
Loading…
Reference in New Issue