diff options
| author | user <user@node5.net> | 2024-07-20 14:04:27 +0200 |
|---|---|---|
| committer | user <user@node5.net> | 2024-07-20 14:04:27 +0200 |
| commit | 439e57f7061f9a61c1223d173b0e6132ac94f5fc (patch) | |
| tree | 6988eabc9a6047cffc250997716a7635bfacb927 /src | |
| parent | 6f219b4c7fde4753c042da42a7e2653ab659bf1b (diff) | |
Error page 5xx x- Full screen image background
Diffstat (limited to 'src')
| -rw-r--r-- | src/static/5xx.html | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/static/5xx.html b/src/static/5xx.html index 6998383..f503fd4 100644 --- a/src/static/5xx.html +++ b/src/static/5xx.html @@ -8,7 +8,25 @@ <meta http-equiv="refresh" content="10"> </head> <body style="background: black; color: white"> - <img style="width: 100%" src="test_pattern.jpg"> + +<style> +.container { + display: flex; + justify-content: center; /* Center horizontally */ + align-items: center; /* Center vertically */ + height: 100vh; /* Set the container height to 100% of the viewport height */ +} + +.container img { + height: 100%; + /* Add any other necessary styling */ +} +</style> + + <div class="container"> + <img src="test_pattern.jpg"> + </div> + <div style=" position:absolute; top:50%; left:50%; |
