Disable dark mode CSS for now
It doesn't play nice with the current admin panel. I'll design a better dark mode in the future.
This commit is contained in:
parent
856260bf29
commit
7caa4f5c4e
1 changed files with 26 additions and 25 deletions
|
@ -69,33 +69,34 @@
|
||||||
.if-logged-in { display: none; }
|
.if-logged-in { display: none; }
|
||||||
.if-logged-in-admin { display: none; }
|
.if-logged-in-admin { display: none; }
|
||||||
|
|
||||||
/* The below only gets used if it is supported */
|
/* The below only gets used if it is supported */
|
||||||
@media (prefers-color-scheme: dark) {
|
/* @media (prefers-color-scheme: dark) {*/
|
||||||
/* Invert invert lightness but not hue */
|
/* Invert invert lightness but not hue */
|
||||||
html {
|
/*html {
|
||||||
filter: invert(100%) hue-rotate(180deg);
|
filter: invert(100%) hue-rotate(180deg);
|
||||||
}
|
}*/
|
||||||
|
|
||||||
/* Set explicit background color (necessary for Firefox) */
|
/* Set explicit background color (necessary for Firefox) */
|
||||||
html {
|
/*html {
|
||||||
background-color: #111;
|
background-color: #111;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
/* Override Boostrap theme here to give more contrast. The black turns to white by the filter. */
|
|
||||||
.form-control {
|
|
||||||
color: black !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Revert the invert for the navbar */
|
/* Override Boostrap theme here to give more contrast. The black turns to white by the filter. */
|
||||||
button, div.navbar {
|
/*.form-control {
|
||||||
filter: invert(100%) hue-rotate(180deg);
|
color: black !important;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
/* Revert the revert for the dropdowns */
|
/* Revert the invert for the navbar */
|
||||||
ul.dropdown-menu {
|
/*button,
|
||||||
filter: invert(100%) hue-rotate(180deg);
|
div.navbar {
|
||||||
}
|
filter: invert(100%) hue-rotate(180deg);
|
||||||
}
|
}/*
|
||||||
|
|
||||||
|
/* Revert the revert for the dropdowns */
|
||||||
|
/*ul.dropdown-menu {
|
||||||
|
filter: invert(100%) hue-rotate(180deg);
|
||||||
|
}
|
||||||
|
}*/
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
Loading…
Reference in a new issue