forked from CCCHH/hacker.tours-website
feat: Applies darkmode from hackertours.hamburg.ccc.de
This commit is contained in:
parent
d7ec577466
commit
9be30b0d45
1 changed files with 30 additions and 0 deletions
|
|
@ -11,4 +11,34 @@ table, th, td {
|
|||
th, td {
|
||||
padding: 3px 6px;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--color-backdrop: #141414;
|
||||
--color-headings: #faf5f5;
|
||||
--color-body-bg: #242424;
|
||||
--color-header-bg: #242424;
|
||||
--color-text: #faf5f5;
|
||||
--color-link: #66f2ff;
|
||||
--color-footer-bg: #242424;
|
||||
--color-border: #faf5f5;
|
||||
--color-button: #141414;
|
||||
--color-button-text: #faf5f5;
|
||||
--color-button-hover: #343434;
|
||||
--color-brand: #66f2ff;
|
||||
--color-text-meta: #faf5f5;
|
||||
--color-mobile-menu: #141414;
|
||||
}
|
||||
|
||||
nav ul li {
|
||||
flex-grow: 1;
|
||||
text-align: center;
|
||||
}
|
||||
.main-menu a:active {
|
||||
text-decoration: none;
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue