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 {
width: 100%;
height: 100%;
background: whitesmoke;
background-color: whitesmoke;
}
body {

View File

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