From 9403549f72a601454970d36fa30e7e2f012352e2 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Tue, 16 Jul 2019 23:25:47 +0200 Subject: css magic so errors and loading look similiar --- webAO/client.css | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'webAO/client.css') diff --git a/webAO/client.css b/webAO/client.css index ae9de3b..c3bff7e 100644 --- a/webAO/client.css +++ b/webAO/client.css @@ -36,25 +36,21 @@ img { } } -.error { +#client_error { position: absolute; - width: 50vw; - height: 25vh; + display: flex; + flex-direction: column; top: 50%; left: 50%; margin-right: -50%; transform: translate(-50%, -50%); - display: flex; - margin: 0 auto; justify-content: center; - align-content: center; align-items: center; - text-align: center; - background: #4e0e00; + background: #a00; color: white; - font-size: x-large; + font-size: large; animation: error_blink 3s ease-in-out infinite; - z-index: 3; + z-index: 100; } #client_loading { @@ -69,7 +65,7 @@ img { align-items: center; background: black; color: lightgreen; - font-size: 2em; + font-size: large; z-index: 100; } -- cgit