From f2577419f6552f6f92ae6d4ee4501c198ba32fb5 Mon Sep 17 00:00:00 2001 From: sD Date: Sat, 15 Feb 2020 22:38:02 +0100 Subject: center the loading box the same way i did it with the charselect --- webAO/styles/client.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'webAO') diff --git a/webAO/styles/client.css b/webAO/styles/client.css index 0c4d388..e76fb79 100644 --- a/webAO/styles/client.css +++ b/webAO/styles/client.css @@ -45,15 +45,15 @@ } #client_loading { - position: absolute; - display: flex; + display: block; flex-direction: column; - padding: 10px; - top: 50%; - left: 50%; - margin-right: -50%; - transform: translate(-50%, -50%); + position: fixed; + top: 30vh; + left: 30vw; + width: 40vw; + height: 15vh; justify-content: center; + text-align: center; align-items: center; background: black; color: lightgreen; -- cgit