diff options
author | Christian König <ckoenig@posteo.de> | 2022-07-27 15:31:48 +0300 |
---|---|---|
committer | Adam Warner <me@adamwarner.co.uk> | 2022-08-08 19:21:29 +0300 |
commit | 49a9f6f2dbb61cfe9034c27f0ee239b69c1334d7 (patch) | |
tree | be0c4baf95a2170668467e411a609fb569fc7d9c /advanced | |
parent | e6683803edc2242b69cbc8756971466f286811cf (diff) |
Reproduce blockpage.css for $splashPage
Signed-off-by: Christian König <ckoenig@posteo.de>
Diffstat (limited to 'advanced')
-rw-r--r-- | advanced/index.php | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/advanced/index.php b/advanced/index.php index d9a5b33e..675b5005 100644 --- a/advanced/index.php +++ b/advanced/index.php @@ -51,16 +51,24 @@ if ($serverName === "pi.hole" <title>● $serverName</title> <link rel='shortcut icon' href='/admin/img/favicons/favicon.ico' type='image/x-icon'> <style> - #splashpage { background: #222; color: rgba(255, 255, 255, 0.7); text-align: center; } - #splashpage img { margin: 5px; width: 256px; } - #splashpage b { color: inherit; } + html, body { height: 100% } + body { font: 13pt "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif; } + body { margin: 0; } + p { margin: 0; } + a { color: #3c8dbc; text-decoration: none; } + a:hover { color: #72afda; text-decoration: underline; } + #splashpage { background: #222; color: rgba(255, 255, 255, 0.7); text-align: center; display: flex; align-items: center; justify-content: center; } + #splashpage img { margin: 5px; width: 256px; } + #splashpage b { color: inherit; } </style> </head> <body id='splashpage'> + <div> <img src='/admin/img/logo.svg' alt='Pi-hole logo' width='256' height='377'> <br> <p>Pi-<strong>hole</strong>: Your black hole for Internet advertisements</p> <a href='/admin'>Did you mean to go to the admin panel?</a> + </div> </body> </html> EOT; |