commit 03fa70bbcbf128321c954d92709b5257b544d3e1
parent 445da4c004246320597e36c3227bab1c7aad581b
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Thu, 24 Sep 2020 23:19:49 +0200
Better <code> styling
Diffstat:
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/sass/dark.scss b/sass/dark.scss
@@ -53,3 +53,7 @@ img, video {
span.isdark > img, span.isdark > video {
filter: unset;
}
+code {
+ background: lighten($bgcolor, 5%);
+ color: lighten($textcolor, 8%);
+}
diff --git a/sass/light.scss b/sass/light.scss
@@ -38,3 +38,6 @@ pre {
blockquote {
border-left: 1px solid $bgcolor;
}
+code {
+ background: darken(white, 7%);
+}