From 2e93c8998b1f25063dbfeac5a94f25dda96ef5f1 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Wed, 7 Jul 2021 23:31:54 -0400 Subject: [PATCH] Add styles for blockquotes --- site/css/main.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/site/css/main.scss b/site/css/main.scss index 70530e7..31d6074 100644 --- a/site/css/main.scss +++ b/site/css/main.scss @@ -219,6 +219,15 @@ article { 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, p code { word-break: break-all;