summaryrefslogtreecommitdiffstats
path: root/assets/scss/web/_blog.scss
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-11-13 00:50:39 +0100
committerAhmed Abdelhalim <[email protected]>2025-11-13 00:50:39 +0100
commit2214b1463f87eb4d6291e71cb65aed25f5054e08 (patch)
treed41f325f5e1ba3f4d8e9a462ee4257355ba459c7 /assets/scss/web/_blog.scss
parent326ecfbb3147cc72cccab91f80cc4a1633384aca (diff)
Fix styling of code in blog
Diffstat (limited to 'assets/scss/web/_blog.scss')
-rw-r--r--assets/scss/web/_blog.scss7
1 files 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;