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 --- _sass/globals.css | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 _sass/globals.css (limited to '_sass/globals.css') diff --git a/_sass/globals.css b/_sass/globals.css new file mode 100644 index 0000000..81c0b75 --- /dev/null +++ b/_sass/globals.css @@ -0,0 +1,54 @@ +html, body { + padding: 0; + margin: 0; + + background-color: var(--bg); + color: var(--fg); + + hyphens: auto; +} + +.contentWrapper a { + color: var(--links); + text-decoration: none; + position: relative; + display: inline-block; +} + +.contentWrapper a::after { + content: ''; + position: absolute; + left: 0; + bottom: 0; + height: 1px; + width: 0%; + transition: width; + transition-duration: 150ms; + background-color: var(--links); +} + +.contentWrapper a:hover::after { + width: 100%; +} + +::-webkit-scrollbar { + width: 12px; + height: 12px; +} + +::-webkit-scrollbar-thumb { + border-radius: 6px; + border: 4px solid var(--bg); +} + +:focus { outline: none; } + +li { + margin-bottom: 6px; +} + +.icon svg { + width: 24px; + height: 24px; + fill: currentColor; +} -- cgit v1.2.3