thallada.github.io/css/main_dark.css

41 lines
587 B
CSS
Raw Normal View History

2020-01-05 23:09:53 +00:00
/* Dark theme */
html {
2020-01-05 23:09:53 +00:00
filter: invert(90%);
background-color: rgba(10, 10, 10, 0.9);
2020-01-05 23:09:53 +00:00
}
img:not(.icon), video, div.video-container {
filter: invert(100%);
}
img:not(.icon) {
opacity: .75;
transition: opacity .5s ease-in-out;
}
img:hover:not(.icon) {
opacity: 1;
}
a:not(.card), a:hover:not(.card) {
filter: invert(100%);
}
a:not(.card) img:not(.icon) {
filter: none;
}
.card {
2021-08-01 03:46:00 +00:00
box-shadow: 0 1px 2px #fff !important;
}
2020-01-05 23:09:53 +00:00
.post pre {
2021-08-01 03:46:00 +00:00
background-color: #fff !important;
2020-01-05 23:09:53 +00:00
}
.post a code {
2021-08-01 03:46:00 +00:00
background-color: #222 !important;
border: 1px solid #333 !important;
2020-01-05 23:09:53 +00:00
}