dark mode l337

This commit is contained in:
Yann Esposito (Yogsototh) 2021-06-20 18:55:44 +02:00
parent 0d6310e5f2
commit 35ce280d6b
Signed by untrusted user who does not match committer: yogsototh
GPG Key ID: 7B19A4C650D59646
1 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,10 @@
#+html_head_extra: <style>
#+html_head_extra: :root { --bg: #ff0; --fg: #000; }
#+html_head_extra: img,svg {filter: contrast(0.5)sepia(100%)hue-rotate(20deg)saturate(15); }
#+html_head_extra: @media (prefers-color-scheme: dark) {
#+html_head_extra: :root { --bg: #000; --fg: #ff0; }
#+html_head_extra: img,svg {filter: contrast(0.5)sepia(100%)hue-rotate(20deg)saturate(15) brightness(0.7); }
#+html_head_extra: }
#+html_head_extra: body { font-family: Helvetica Neue, Helvetica, sans-serif; font-weight: 200; }
#+html_head_extra: h1 { font-size: 4em; font-variant: all-small-caps; font-weight: 400; letter-spacing: 0.1em; }
#+html_head_extra: strong, b, i, emph, a:hover { color: var(--fg); }