From 5d088aa25f69afdb9ba208def8c23b4f45bbe0b8 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sun, 28 Apr 2024 14:16:08 +0200 Subject: use sass + fix code hightlight --- css/code.css | 49 ------------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 css/code.css (limited to 'css/code.css') 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; - } -} - -- cgit v1.2.3