mirror of
https://github.com/vrana/adminer.git
synced 2025-08-06 22:56:46 +02:00
CSS: Move media selector to <link>
This commit is contained in:
@@ -36,7 +36,7 @@ function page_header($title, $error = "", $breadcrumb = array(), $title2 = "") {
|
||||
echo "<link rel='stylesheet' href='" . h($val) . "'>\n";
|
||||
}
|
||||
} else {
|
||||
echo "<link rel='stylesheet' href='../adminer/static/dark.css'>\n";
|
||||
echo "<link rel='stylesheet' media='(prefers-color-scheme: dark)' href='../adminer/static/dark.css'>\n";
|
||||
}
|
||||
echo script_src("../adminer/static/functions.js");
|
||||
echo script_src("static/editing.js");
|
||||
|
@@ -1,6 +1,5 @@
|
||||
/** @author Robert Mesaros, https://www.rmsoft.sk */
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body { color: #829bb0; background: #002240; }
|
||||
a { color: #517fa8; }
|
||||
a:visited { color: #517fa8; }
|
||||
@@ -46,4 +45,3 @@
|
||||
#schema div.table a { color: #3c7bb3; }
|
||||
#menu .active { color: #398c8d; }
|
||||
#edit-fields tbody tr:hover td, #edit-fields tbody tr:hover th { background: #3b6f9d; }
|
||||
}
|
||||
|
Reference in New Issue
Block a user