33 lines
670 B
PHP
33 lines
670 B
PHP
<?php
|
|
|
|
include_once "../../../include/boot.php";
|
|
|
|
$k = getval('k', '');
|
|
if ((is_array($k) || trim($k) === '') && getval('noauth', '') != true) {
|
|
include '../../../include/authenticate.php';
|
|
}
|
|
|
|
header("Content-type: text/css");
|
|
|
|
if (isset($user_pref_appearance)) {
|
|
if ($user_pref_appearance == "device") {
|
|
?>
|
|
@media (prefers-color-scheme: dark) {
|
|
<?php
|
|
}
|
|
|
|
if ($user_pref_appearance == "dark" || $user_pref_appearance == "device") {
|
|
?>
|
|
#imagetool-toolbar table td {
|
|
background: unset;
|
|
}
|
|
<?php
|
|
}
|
|
|
|
if ($user_pref_appearance == "device") {
|
|
?>
|
|
}
|
|
<?php
|
|
}
|
|
}
|