consolidate background-image css

This commit is contained in:
johnwang16
2024-10-18 20:38:27 -04:00
parent 8b1e732fa3
commit 7dd77e06d4
6 changed files with 17 additions and 7 deletions

View File

@@ -105,8 +105,7 @@ if (isset ($_SESSION["login"]) == FALSE || $_SESSION["login"] != 1)
<?php
if ($ENABLED_DARKMODE === True) {
echo '<link rel="stylesheet" href="css/dark-patch.css">';
$BACKGROUND_IMAGE_PATCH='style="background-image: url(\'img/boxed-bg-dark.png\');"';
} else { $BACKGROUND_IMAGE_PATCH='style="background-image: url(\'img/background.png\');"';}
}
?>
<link rel="stylesheet" href="/css/offline-font.css">
</head>