Add class to make doom-one theme match blog

This commit is contained in:
TEC 2021-05-01 00:37:23 +08:00
parent 21fb68a134
commit 1c9fd1fef4
Signed by: tec
GPG key ID: 779591AFDB81F06C

View file

@ -54,3 +54,9 @@ footer a {
#content { #content {
min-height: calc(100vh - 10rem - 48px); /* because of the header */ min-height: calc(100vh - 10rem - 48px); /* because of the header */
} }
.doom-one { /* make doom-one screenshots match the blog */
filter: invert(5%) sepia(3%);
}
#theme-switch:checked ~ #page .doom-one {
filter: invert(91.5%) hue-rotate(180deg) sepia(1%)
}