dark mode

This commit is contained in:
rimu 2023-11-12 20:54:11 +13:00
parent 724d6c4bbd
commit 1d6716f98b
2 changed files with 39 additions and 0 deletions

View file

@ -292,6 +292,10 @@ nav.navbar {
font-size: 140%; font-size: 140%;
} }
.card-header h2 {
margin-bottom: 5px;
}
.alert-info, .alert-message, .alert-error { .alert-info, .alert-message, .alert-error {
color: #0c5460; color: #0c5460;
background-color: #d1ecf1; background-color: #d1ecf1;
@ -387,4 +391,18 @@ nav.navbar {
color: #777; color: #777;
} }
@media (prefers-color-scheme: dark) {
body {
background-color: #777;
}
nav.navbar {
background-color: #eee !important;
}
.main_pane, .card {
background-color: #eee;
}
}
/*# sourceMappingURL=styles.css.map */ /*# sourceMappingURL=styles.css.map */

View file

@ -58,6 +58,12 @@ nav.navbar {
font-size: 140%; font-size: 140%;
} }
.card-header {
h2 {
margin-bottom: 5px;
}
}
.alert-info, .alert-message, .alert-error { .alert-info, .alert-message, .alert-error {
color: #0c5460; color: #0c5460;
background-color: #d1ecf1; background-color: #d1ecf1;
@ -157,4 +163,19 @@ nav.navbar {
color: $dark-grey; color: $dark-grey;
} }
} }
}
@media (prefers-color-scheme: dark) {
body {
background-color: $dark-grey;
}
nav.navbar {
background-color: #eee!important;
}
.main_pane, .card {
background-color: #eee;
}
} }