From 89d173388f1eb1f13ea5c41dbcc748d6fafd6e12 Mon Sep 17 00:00:00 2001 From: sD Date: Wed, 1 Apr 2020 22:08:46 +0200 Subject: move the css for the boxes into seperate css files --- webAO/styles/default.css | 39 --------------------------------------- 1 file changed, 39 deletions(-) (limited to 'webAO/styles/default.css') diff --git a/webAO/styles/default.css b/webAO/styles/default.css index 94e8677..9db682a 100644 --- a/webAO/styles/default.css +++ b/webAO/styles/default.css @@ -77,45 +77,6 @@ img { } } -#client_name { - display: none; - padding: 0px 6px; - height: 7%; - border: 1px solid rgba(255, 255, 255, 0.7); - background: rgba(73, 0, 254, 0.5); - top: 63%; - border-radius: 3px; - position: absolute; -} - -#client_chat { - font-size: 1em; - display: none; - width: 98%; - width: calc(100% - 4px); - margin: auto; - height: 30%; - border: 2px solid rgba(255, 255, 255, 0.7); - background-color: rgba(0, 0, 0, 0.5); - top: 70%; - border-radius: 4px; - position: absolute; - word-break: keep-all; - word-wrap: break-word; - overflow-wrap: break-word; - text-align: left; - overflow: hidden; - scroll-behavior: smooth; -} - -#client_chat p { - margin: 4px; -} - -#client_chatwaiting { - display: none; -} - .client_button { margin: 1px; padding: 2px 15px; -- cgit From 9aa761d249a3962db147af7acdc2ef2f2b909f5f Mon Sep 17 00:00:00 2001 From: sD Date: Mon, 20 Apr 2020 00:40:08 +0200 Subject: add colors to all the chatboxes --- webAO/styles/default.css | 67 ------------------------------------------------ 1 file changed, 67 deletions(-) (limited to 'webAO/styles/default.css') diff --git a/webAO/styles/default.css b/webAO/styles/default.css index 9db682a..db6ae48 100644 --- a/webAO/styles/default.css +++ b/webAO/styles/default.css @@ -10,73 +10,6 @@ img { -ms-interpolation-mode: nearest-neighbor; } -.text_white { - color: #fff; -} - -.text_green { - color: #0f0; -} - -.text_red { - color: #f00; -} - -.text_orange { - color: #ffa500; -} - -.text_blue { - color: #4596ff; -} - -.text_yellow { - color: #ff0; -} - -.text_pink { - color: #ffc0cb; -} - -.text_cyan { - color: #0ff; -} - -.text_rainbow { - background-color: #fff; - background-image: repeating-linear-gradient(to right, - red 0% 8%, orange 8% 16%, yellow 16% 24%, green 24% 32%, blue 32% 40%, - red 40% 48%, orange 48% 56%, yellow 56% 64%, green 64% 72%, blue 72% 80%, - red 80% 88%, orange 88% 96%, yellow 96% 100%); - background-size: 40% 40%; - background-clip: text; - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; - animation: rainbow 4s linear infinite; -} - -@keyframes rainbow_alt { - - 0%, - 100% { - background-position: 0 0; - } - - 50% { - background-position: 400% 0; - } -} - -@keyframes rainbow { - 0% { - background-position: 0 0; - } - - 100% { - background-position: 400% 0; - } -} - .client_button { margin: 1px; padding: 2px 15px; -- cgit From c499900cfba6052cf4e75a423cceb23146a76a6b Mon Sep 17 00:00:00 2001 From: sD Date: Sun, 26 Apr 2020 18:42:27 +0200 Subject: move evi icon to theme --- webAO/styles/default.css | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'webAO/styles/default.css') diff --git a/webAO/styles/default.css b/webAO/styles/default.css index db6ae48..d728ad6 100644 --- a/webAO/styles/default.css +++ b/webAO/styles/default.css @@ -25,6 +25,16 @@ img { box-shadow: 1px 1px inset; } +.evi_icon { + width: 70px; + min-width: 70px; + height: 70px; + background-color: #7b7b7b; + outline: 2px ridge #fff; + outline-offset: -2px; + margin-right: 2px; +} + #client_defense_hp { text-align: left; } -- cgit From 0322a2d1e36dd0dbfa4efd4813ddac6ab19017d6 Mon Sep 17 00:00:00 2001 From: sD Date: Tue, 12 May 2020 17:54:13 +0200 Subject: fix blurry picture on chrome --- webAO/styles/default.css | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'webAO/styles/default.css') diff --git a/webAO/styles/default.css b/webAO/styles/default.css index d728ad6..ecd2581 100644 --- a/webAO/styles/default.css +++ b/webAO/styles/default.css @@ -3,11 +3,8 @@ body { } img { - image-rendering: -moz-crisp-edges; - image-rendering: -o-crisp-edges; - image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges; - -ms-interpolation-mode: nearest-neighbor; + image-rendering: pixelated; } .client_button { -- cgit