Improve text legibility, layout, better default bg images

This commit is contained in:
Dale Davies
2022-02-14 22:06:00 +00:00
parent f2fe3597a7
commit b51f2324da
23 changed files with 10 additions and 24 deletions

View File

@@ -10,9 +10,7 @@
require __DIR__ .'/vendor/autoload.php';
$config = new Jump\Config();
$backgroundfile = (new Jump\Background($config))->get_random_background_file();
$backgroundgradient = 'linear-gradient(to bottom, #FC466B40, #425df530)';
header('Content-Type: text/css');
echo '.background {background-image: '.$backgroundgradient.', url("'.$backgroundfile.'");}';
echo '.background {background-image: url("'.$backgroundfile.'");}';