|
8 | 8 | <?php $hue = random_int(0, 360); ?>
|
9 | 9 | <?php $darkColor = static function (float $alpha = 1) use ($hue) { return "hsla($hue, 20%, 45%, $alpha)"; }; ?>
|
10 | 10 | <?php $lightColor = static function (float $alpha = 1) use ($hue) { return "hsla($hue, 20%, 95%, $alpha)"; }; ?>
|
11 |
| - body { background: <?= $lightColor(); ?>; color: <?= $darkColor(); ?>; display: flex; font: 16px/1.5 sans-serif; height: 100vh; justify-content: center; margin: 0; width: 100vw; } |
| 11 | + body { background: <?= $lightColor(); ?>; color: <?= $darkColor(); ?>; display: flex; font: 16px/1.5 sans-serif; justify-content: center; margin: 0; } |
12 | 12 | h1, h2 { line-height: 1.2; margin: 0 0 .5em; }
|
13 | 13 | h1 { font-size: 36px; }
|
14 | 14 | h2 { font-size: 21px; margin-bottom: 1em; }
|
|
31 | 31 | .version { font-size: 34px; }
|
32 | 32 | .check { display: inline-block; background: <?= $darkColor(); ?>; border-radius: 20px; margin: 0 10px; width: 54px; }
|
33 | 33 | .check svg { fill: <?= $lightColor(); ?>; }
|
34 |
| - .status-ready { margin-top: 28px; } |
35 |
| - .resources { position: relative; padding: 3.5em 0; } |
36 |
| - .resources .row { margin-left: 30px; margin-right: 30px; display: flex; justify-content: space-around; } |
| 34 | + .status-ready { margin: 28px 0 0; } |
| 35 | + .resources { margin: 0 auto; max-width: 960px; padding: 2.5em 0 3.5em; } |
| 36 | + .resources .row { margin-left: 30px; margin-right: 30px; display: flex; justify-content: center; } |
37 | 37 | .resource { padding: 0 10px; }
|
38 | 38 | .resource svg { height: 48px; width: 48px; fill: <?= $darkColor(); ?>; margin-bottom: 5px; }
|
39 | 39 | .resource h2 { font-size: 18px; font-weight: normal; margin-bottom: 5px; }
|
|
53 | 53 | .warning { text-align: center; }
|
54 | 54 | .warning svg { height: 32px; width: 32px; }
|
55 | 55 | .resources .row { margin-left: 50px; margin-right: 50px; }
|
| 56 | + .resource { padding: 0 30px; } |
56 | 57 |
|
57 | 58 | .status { padding-bottom: 4em; }
|
58 | 59 | .status code { display: inline-flex; }
|
|
68 | 69 | <div class="wrapper">
|
69 | 70 | <div class="warning">
|
70 | 71 | <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" width="32"><path fill="currentColor" d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z" class=""></path></svg>
|
71 |
| - You're seeing this debug page because you haven't configured any homepage URL. |
| 72 | + You're seeing this page because you haven't configured any homepage URL. |
72 | 73 | </div>
|
73 | 74 |
|
74 | 75 | <div class="container">
|
|
0 commit comments