Add darkmode
This commit is contained in:
@@ -49,6 +49,7 @@ pre {
|
||||
}
|
||||
|
||||
.content .topbar img {
|
||||
filter: invert(100%);
|
||||
width: 14rem;
|
||||
height: auto;
|
||||
}
|
||||
@@ -90,8 +91,7 @@ pre {
|
||||
}
|
||||
|
||||
.content ul {
|
||||
padding-left: 0;
|
||||
list-style-position: inside;
|
||||
padding-left: 1.1rem;
|
||||
}
|
||||
|
||||
.content li {
|
||||
@@ -127,3 +127,15 @@ pre {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.darkmode-toggle {
|
||||
z-index: 500;
|
||||
}
|
||||
|
||||
.darkmode--activated .content img {
|
||||
filter: brightness(75%);
|
||||
}
|
||||
|
||||
.darkmode--activated video {
|
||||
mix-blend-mode: difference;
|
||||
}
|
||||
|
Reference in New Issue
Block a user