Default to light theme
This commit is contained in:
parent
2ef2dc04de
commit
7961dd33ac
@ -21,23 +21,20 @@
|
|||||||
--theme-color-light: #EBEBEB;
|
--theme-color-light: #EBEBEB;
|
||||||
|
|
||||||
--border-radius: 1px;
|
--border-radius: 1px;
|
||||||
|
|
||||||
|
/* Light theme */
|
||||||
|
--color-purple: var(--color-light-purple);
|
||||||
|
--color-blue: var(--color-light-blue);
|
||||||
|
--color-blue-inverted: var(--color-dark-blue);
|
||||||
|
--background-color: var(--theme-color-light);
|
||||||
|
--text-decoration-color: var(--theme-color-dark);
|
||||||
|
--text-color: #000;
|
||||||
|
--text-color-inverted: #FFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: light) {
|
body {
|
||||||
:root {
|
background: #212021;
|
||||||
--color-purple: var(--color-light-purple);
|
color: #FFF;
|
||||||
--color-blue: var(--color-light-blue);
|
|
||||||
--color-blue-inverted: var(--color-dark-blue);
|
|
||||||
--background-color: var(--theme-color-light);
|
|
||||||
--text-decoration-color: var(--theme-color-dark);
|
|
||||||
--text-color: #000;
|
|
||||||
--text-color-inverted: #FFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
background: #212021;
|
|
||||||
color: #FFF;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
@ -224,8 +221,8 @@ footer a:hover {
|
|||||||
/* Server listing */
|
/* Server listing */
|
||||||
#server-list {
|
#server-list {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -411,11 +408,11 @@ footer a:hover {
|
|||||||
.mojang-status-online {
|
.mojang-status-online {
|
||||||
background: #87D37C;
|
background: #87D37C;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mojang-status-unstable {
|
.mojang-status-unstable {
|
||||||
background: #f1c40f;
|
background: #f1c40f;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mojang-status-offline {
|
.mojang-status-offline {
|
||||||
background: #DE5749;
|
background: #DE5749;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user