aboutsummaryrefslogtreecommitdiff
path: root/css/code.css
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-04-28 14:16:08 +0200
committerlonkaars <loek@pipeframe.xyz>2024-04-28 14:16:08 +0200
commit5d088aa25f69afdb9ba208def8c23b4f45bbe0b8 (patch)
treed13f3eb2e7cf7bb63664d43b9c79135808e912a7 /css/code.css
parentbc5b85043974e4af9c90962c2acde36b0e7de02a (diff)
use sass + fix code hightlight
Diffstat (limited to 'css/code.css')
-rw-r--r--css/code.css49
1 files changed, 0 insertions, 49 deletions
diff --git a/css/code.css b/css/code.css
deleted file mode 100644
index dde7bdb..0000000
--- a/css/code.css
+++ /dev/null
@@ -1,49 +0,0 @@
-pre {
- background-color: var(--bg-alt);
- border-radius: 6px;
- padding: 6px;
-}
-
-.prismjs code { color: var(--magnolia); }
-
-.prismjs .token.comment
-{ font-style: italic; }
-
-.prismjs .token.keyword,
-.prismjs .token.annotation
-{ font-weight: 700; }
-
-.prismjs .token.string,
-.prismjs .token.number
-{ color: var(--fg); }
-
-.prismjs .token.comment {
- color: var(--heliotrope-gray);
- opacity: .7;
-}
-
-.prismjs .token.keyword
-{ color: var(--fire-opal); }
-
-.prismjs .token.annotation
-{ color: var(--cyan-process); }
-
-.prismjs .token.punctuation:not(.annotation)
-.prismjs .token.operator
-{ opacity: .8; }
-
-@media (prefers-color-scheme: light) {
- pre { background-color: var(--heliotrope-gray); }
-
- .prismjs code { color: var(--fg); }
-
- .prismjs .token.string,
- .prismjs .token.number
- { opacity: .8; }
-
- .prismjs .token.comment {
- color: var(--oxford-blue);
- opacity: .5;
- }
-}
-