feat: add support for dark mode

This commit is contained in:
Travis Fischer
2021-01-25 22:54:43 -05:00
parent 92ba018b62
commit c0e8d52c1a
5 changed files with 56 additions and 11 deletions

View File

@@ -60,7 +60,14 @@
padding: 0.5em;
}
.settings,
.social {
user-select: none;
}
.settings a,
.social a {
cursor: pointer;
font-size: 2em;
display: inline-flex;
padding: 0.25em;
@@ -68,14 +75,20 @@
transition: color 250ms ease-out;
}
.settings a:last-of-type,
.social a:last-of-type {
margin-right: 0;
}
.settings a:hover,
.social a:hover {
transition: color 50ms ease-out;
}
.toggleDarkMode:hover {
color: #2795e9;
}
.twitter:hover {
color: #2795e9;
}