From: Ardis Lu Date: Sat, 12 Nov 2022 04:44:39 +0000 (-0800) Subject: Add blockquote styling X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=63007d4040671676521eb47c93d18a92f4489d51;p=ardislu.dev Add blockquote styling --- diff --git a/style.css b/style.css index 6994f9c..7591535 100644 --- a/style.css +++ b/style.css @@ -101,6 +101,20 @@ kbd { margin-inline: 0.2em; } +blockquote { + position: relative; +} + +blockquote::before { + content: ""; + display: block; + position: absolute; + inset-inline-start: -16px; + inline-size: 4px; + block-size: 100%; + background: hsl(216deg 100% 80%); +} + code:not(.hljs) { background: hsl(0deg 0% 95%); border-radius: 3px;