website/css/dark.css
forgejo-actions 24e2b42797 generated
2023-12-23 23:25:04 +00:00

18 lines
No EOL
506 B
CSS

html {
background-color: #383838 !important;
}
html {
filter: invert(100%) hue-rotate(180deg) brightness(105%) contrast(85%);
-webkit-filter: invert(100%) hue-rotate(180deg) brightness(105%) contrast(85%);
}
body {
background-color: #FFF !important;
}
img,
video,
body * [style*="background-image"] {
filter: hue-rotate(180deg) contrast(100%) invert(100%);
-webkit-filter: hue-rotate(180deg) contrast(100%) invert(100%);
}
/* https://css-tricks.com/a-complete-guide-to-dark-mode-on-the-web/ */