From 2214b1463f87eb4d6291e71cb65aed25f5054e08 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 13 Nov 2025 00:50:39 +0100 Subject: Fix styling of code in blog --- assets/scss/web/_blog.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/assets/scss/web/_blog.scss b/assets/scss/web/_blog.scss index 519a6d3..20c039b 100644 --- a/assets/scss/web/_blog.scss +++ b/assets/scss/web/_blog.scss @@ -55,12 +55,13 @@ // Code (not only code blocks) code { - opacity: 0.5; + opacity: 0.6; + font-size: 90%; } // Code-block highlighting pre { - font-size: 14px; + font-size: 90%; overflow: auto; opacity: 1; @@ -68,7 +69,7 @@ opacity: 1; > span { - height: 1.1rem; // for some reason, the default is messed up (3rd line is always higher value) + height: 1.5rem; // for some reason, the default is messed up (3rd line is always higher value) margin-left: 16px; margin-right: 16px; -- cgit v1.2.3