From ad3d6157380f442e55464bc5bb313fb34d6c8e28 Mon Sep 17 00:00:00 2001 From: leafee98 Date: Mon, 23 Jan 2023 15:17:48 +0800 Subject: [PATCH] Fix: style of code in ul and li --- static/css/style.css | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 97ccff6..4099a84 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -380,7 +380,7 @@ body { /***** set up content style *****/ -.content p code { +.content code { font-family: var(--fonts-mono); background-color: var(--color-light-4); @@ -396,13 +396,11 @@ body { .content pre { padding: 7px; } .content pre code { - font-family: var(--fonts-mono); - - display: inline-block; + display: block; padding: var(--len-3); - background-color: var(--color-light-4); + border: none; border-radius: 3px; overflow: auto;