Files
thallada.github.io/css/main_dark.css
Tyler Hallada 6e72c592a1 Fix dark mode: no more filter invert css
The filter invert style was causing weird issues. Instead, I computed
what the colors should be inverted 90% and set them absolutely instead.
2025-08-24 21:25:15 -04:00

39 lines
625 B
CSS

/* Dark theme */
html {
background-color: rgba(10, 10, 10, 0.9);
}
body {
background-color: #222222 !important;
}
.root {
color: #afafaf !important;
}
.card {
box-shadow: 0 1px 2px #5e5e5e !important;
background-color: #1a1a1a !important;
}
.post pre {
background-color: #271a26 !important;
border: 1px solid #354535 !important;
}
.post code {
background-color: #271a26 !important;
border: 1px solid #354535 !important;
}
.post pre code {
background-color: #271a26 !important;
border: none !important;
}
.post a code {
background-color: #222 !important;
border: 1px solid #333 !important;
}