From edcd2f38146a6eb0a8ae12b02ca0b14f2cce3745 Mon Sep 17 00:00:00 2001 From: eorn Date: Mon, 5 Apr 2021 18:54:21 +0200 Subject: [PATCH] fix style code and highlight --- static/css/style.css | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index f1f1bd8..52975d1 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -359,6 +359,16 @@ article .post-content { font-family: "Source Code Pro", monospace; } +.page-content p code, +.page-content li code { + display: inline-block; + background-color: #2d3132; + padding-right: 4px; + padding-left: 4px; + border: 1px dashed grey !important; + font-size: 0.8em; +} + .page-content blockquote { border: 1px dashed grey; @@ -421,10 +431,10 @@ article .post-content { font-size: 0.8em; border: 1px dashed grey !important; padding: 10px !important; - background-color: #323738 !important; + background-color: #2d3132 !important; } .page-content .highlight pre { - background-color: #323738 !important; + background-color: #2d3132 !important; }