diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-04-28 14:16:08 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-04-28 14:16:08 +0200 |
commit | 5d088aa25f69afdb9ba208def8c23b4f45bbe0b8 (patch) | |
tree | d13f3eb2e7cf7bb63664d43b9c79135808e912a7 /_sass/globals.css | |
parent | bc5b85043974e4af9c90962c2acde36b0e7de02a (diff) |
use sass + fix code hightlight
Diffstat (limited to '_sass/globals.css')
-rw-r--r-- | _sass/globals.css | 54 |
1 files changed, 54 insertions, 0 deletions
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; +} |