From 5716e4b873ee0e59a8381b1875549fdb5016a08a Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Tue, 2 Apr 2024 21:54:41 +0200 Subject: [PATCH] Added inline code styles --- public/app.css | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/public/app.css b/public/app.css index 322edd3..52ab3eb 100644 --- a/public/app.css +++ b/public/app.css @@ -77,6 +77,18 @@ pre { background-color: var(--highlight-color); } +code { + font-family: var(--font-family-mono); + font-size: 90%; + word-break: break-word; +} + +p > code { + padding: 0.15em 0.3em; + border-radius: var(--border-radius); + background-color: var(--highlight-color); +} + blockquote p::before { content: "\201C"; } @@ -177,12 +189,6 @@ time { color: var(--grey-color); } -code { - font-family: var(--font-family-mono); - font-size: 80%; - word-break: break-word; -} - .comment { color: gray; font-style: italic;