diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2018-05-22 23:29:03 -0500 |
|---|---|---|
| committer | oldmud0 <oldmud0@users.noreply.github.com> | 2018-05-22 23:29:03 -0500 |
| commit | 41d166c7912048fe1bdbf186fb68b9fc617ae2f1 (patch) | |
| tree | cbe936114899c456c3ce7dcdd16a35f509679465 /webAO/client.css | |
| parent | 3ac1870877eccf2b8fe40a28bf3807620ac94907 (diff) | |
Improve connection error dialog
Diffstat (limited to 'webAO/client.css')
| -rw-r--r-- | webAO/client.css | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/webAO/client.css b/webAO/client.css index 0dc1999..3b770e9 100644 --- a/webAO/client.css +++ b/webAO/client.css @@ -11,8 +11,9 @@ img { } @keyframes error_blink { - 0% { color: red; } - 100% { color: white; } + 0% { color: white; } + 50% { color: red; } + 100% { color: white; } } .error { @@ -23,15 +24,17 @@ img { left: 50%; margin-right: -50%; transform: translate(-50%, -50%); - justify-content: center; display: flex; - align-content: center; margin: 0 auto; + justify-content: center; + align-content: center; align-items: center; - background: red; + text-align: center; + background: #4e0e00; color: white; - font-size: 4em; - animation: error_blink 0.5s linear infinite; + font-size: x-large; + animation: error_blink 0.5s ease-in-out infinite; + z-index: 3; } #client_loading { |
