Update file user.php
This commit is contained in:
parent
921bebb09a
commit
6983178f6f
@ -38,34 +38,34 @@ if($resultat) {
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="stylesheet" href="./src/css/style.css">
|
<link rel="stylesheet" href="./src/css/style.css">
|
||||||
<style>
|
<style>
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
.body {
|
.body {
|
||||||
<?=$theme_dark?>
|
<?=$theme_dark?>
|
||||||
}
|
|
||||||
<?php
|
|
||||||
for ($i = 0; $i < count($themes_dark); $i++) {
|
|
||||||
echo "#palette" . $i . " { ";
|
|
||||||
echo $themes_dark[$i];
|
|
||||||
echo " } ";
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
}
|
|
||||||
@media (prefers-color-scheme: light) {
|
|
||||||
.body {
|
|
||||||
<?=$theme_light?>
|
|
||||||
}
|
}
|
||||||
<?php
|
<?php
|
||||||
for ($i = 0; $i < count($themes_light); $i++) {
|
for ($i = 0; $i < count($themes_dark); $i++) {
|
||||||
echo "#palette" . $i . " { ";
|
echo "#palette" . $i . " { ";
|
||||||
echo $themes_light[$i];
|
echo $themes_dark[$i];
|
||||||
echo " } ";
|
echo " } ";
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
}
|
||||||
|
@media (prefers-color-scheme: light) {
|
||||||
|
.body {
|
||||||
|
<?=$theme_light?>
|
||||||
|
}
|
||||||
|
<?php
|
||||||
|
for ($i = 0; $i < count($themes_light); $i++) {
|
||||||
|
echo "#palette" . $i . " { ";
|
||||||
|
echo $themes_light[$i];
|
||||||
|
echo " } ";
|
||||||
|
}
|
||||||
|
?>
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
<link rel="icon" href="./src/img/favicon.ico">
|
<link rel="icon" href="./src/img/favicon.ico">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user