Add functioning site-wide dark mode
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
/** Link decoration */
|
||||
* .site-title a {
|
||||
color: #898989;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
* .site-title a:hover {
|
||||
color: #5F5F5F;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
* article h2 a {
|
||||
color: #5F5F5F;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
* article h2 a:hover {
|
||||
color: #5F5F5F;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/** Post title colours */
|
||||
.post-title {
|
||||
color: #5F5F5F;
|
||||
}
|
||||
|
||||
/** Tag Link colours */
|
||||
.tag {
|
||||
color: #898989;
|
||||
}
|
||||
|
||||
.tag:hover {
|
||||
color: #5F5F5F;
|
||||
}
|
||||
|
||||
/** Icons */
|
||||
.inline-svg {
|
||||
display: inline-block;
|
||||
height: 1rem;
|
||||
width: 1rem;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/** Dark Mode */
|
||||
.dark-mode {
|
||||
background-color: black;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.dark-mode * h2 a {
|
||||
text-shadow: none;
|
||||
box-shadow: none;
|
||||
color: white;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user