mode sombre
This commit is contained in:
parent
98f519215a
commit
7db78bd2b3
8 changed files with 50 additions and 5 deletions
|
|
@ -30,10 +30,6 @@ html, body {
|
|||
font-family: LunaSans;
|
||||
}
|
||||
|
||||
body {
|
||||
background: radial-gradient(circle at 100%, rgba(2, 148, 217, 0.2) 20%, white);
|
||||
}
|
||||
|
||||
main {
|
||||
width: 100%;
|
||||
font-size: 18px;
|
||||
|
|
@ -162,3 +158,24 @@ h3 {
|
|||
height: 600px;
|
||||
max-height: calc(100vh - 64px);
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light), (prefers-color-scheme: no-preference) {
|
||||
html {
|
||||
background: radial-gradient(circle at 100%, rgba(2, 148, 217, 0.2) 20%, white);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
html {
|
||||
background-color: black;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#dev-warning {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.cities {
|
||||
color: $grey2;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue