Fix dark mode

This commit is contained in:
Tyler Hallada 2021-07-31 23:46:00 -04:00
parent 8b8bfdb4a2
commit ee40b651a9
2 changed files with 5 additions and 13 deletions

View File

@ -15,7 +15,7 @@
html { html {
width: 100%; width: 100%;
height: 100%; height: 100%;
background: whitesmoke; background-color: whitesmoke;
} }
body { body {

View File

@ -1,9 +1,5 @@
/* Dark theme */ /* Dark theme */
html {
background-color: #0F0908;
}
html { html {
filter: invert(90%); filter: invert(90%);
} }
@ -30,18 +26,14 @@ a:not(.card) img:not(.icon) {
} }
.card { .card {
box-shadow: 0 1px 2px #fff; box-shadow: 0 1px 2px #fff !important;
} }
.post pre { .post pre {
background-color: #fff; background-color: #fff !important;
}
.post code {
background-color: #fff;
} }
.post a code { .post a code {
background-color: #222; background-color: #222 !important;
border: 1px solid #333; border: 1px solid #333 !important;
} }