From c497339cab37f96ded3834a7e1541aa0eb03c3e9 Mon Sep 17 00:00:00 2001 From: sD Date: Tue, 11 Feb 2020 21:31:00 +0100 Subject: change positioning --- webAO/client.css | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'webAO/client.css') diff --git a/webAO/client.css b/webAO/client.css index 1deea9b..4df9b15 100644 --- a/webAO/client.css +++ b/webAO/client.css @@ -228,13 +228,23 @@ img { left: 0; } + +#client_chatcontainer { + position: absolute; + top: 70%; + height: 30%; + width: 98%; + width: calc(100% - 4px); +} + #client_name { display: none; padding: 0px 6px; - height: 7%; + height: 20%; border: 1px solid rgba(255, 255, 255, 0.7); background: rgba(73, 0, 254, 0.5); - top: 63%; + top: 0; + left: 0; border-radius: 3px; position: absolute; } @@ -242,13 +252,12 @@ img { #client_chat { font-size: 1em; display: none; - width: 98%; - width: calc(100% - 4px); + width: 100%; margin: auto; - height: 30%; + height: 90%; border: 2px solid rgba(255, 255, 255, 0.7); background-color: rgba(0, 0, 0, 0.5); - top: 70%; + top: 20%; border-radius: 4px; position: absolute; word-break: keep-all; -- cgit From 84043c98d7927e5a8c02c9819deed95e920244d3 Mon Sep 17 00:00:00 2001 From: sD Date: Wed, 12 Feb 2020 02:04:31 +0100 Subject: new chatbox looking good --- webAO/client.css | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'webAO/client.css') diff --git a/webAO/client.css b/webAO/client.css index 4df9b15..dc3ddec 100644 --- a/webAO/client.css +++ b/webAO/client.css @@ -1,5 +1,5 @@ body { - font-family: "Ace Attorney", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Osaka", "MS Gothic", "MS Pゴシック", "Tahoma", Sans; + font-family: sans-serif; } img { @@ -231,20 +231,19 @@ img { #client_chatcontainer { position: absolute; - top: 70%; - height: 30%; - width: 98%; - width: calc(100% - 4px); + top: 73%; + height: 27%; + width: 100%; + background-image: url("images/chatbox.svg"); + background-size: cover; + background-repeat: no-repeat; } #client_name { display: none; - padding: 0px 6px; + top: 5%; + padding: 0px 10px; height: 20%; - border: 1px solid rgba(255, 255, 255, 0.7); - background: rgba(73, 0, 254, 0.5); - top: 0; - left: 0; border-radius: 3px; position: absolute; } @@ -255,8 +254,6 @@ img { width: 100%; margin: auto; height: 90%; - border: 2px solid rgba(255, 255, 255, 0.7); - background-color: rgba(0, 0, 0, 0.5); top: 20%; border-radius: 4px; position: absolute; @@ -270,6 +267,7 @@ img { #client_chat p { margin: 4px; + padding: 5px 10px; color: white; } -- cgit From a6db6bde5abb12efe146114f1d81ec3b4a60b134 Mon Sep 17 00:00:00 2001 From: sD Date: Wed, 12 Feb 2020 15:34:27 +0100 Subject: split the themes --- webAO/client.css | 43 ------------------------------------------- 1 file changed, 43 deletions(-) (limited to 'webAO/client.css') diff --git a/webAO/client.css b/webAO/client.css index 7458f47..43ed7ba 100644 --- a/webAO/client.css +++ b/webAO/client.css @@ -228,49 +228,6 @@ img { left: 0; } - -#client_chatcontainer { - position: absolute; - top: 73%; - height: 27%; - width: 100%; - background-image: url("images/chatbox.svg"); - background-size: cover; - background-repeat: no-repeat; -} - -#client_name { - display: none; - top: 5%; - padding: 0px 10px; - height: 20%; - border-radius: 3px; - position: absolute; -} - -#client_chat { - font-size: 1em; - display: none; - width: 100%; - margin: auto; - height: 90%; - top: 20%; - 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; - padding: 5px 10px; - color: white; -} - .rainbow-text { background-color: rgb(255, 255, 255); background-image: repeating-linear-gradient(to right, -- cgit From f1f4c8fbbb104cc5452d14b533c8b65e6c5483bc Mon Sep 17 00:00:00 2001 From: sD Date: Wed, 12 Feb 2020 15:37:40 +0100 Subject: rename old theme to classic and change the font accordingly --- webAO/client.css | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'webAO/client.css') diff --git a/webAO/client.css b/webAO/client.css index 43ed7ba..e736e16 100644 --- a/webAO/client.css +++ b/webAO/client.css @@ -1,15 +1,3 @@ -body { - font-family: sans-serif; -} - -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; -} - #about-logo { padding-top: 5px; height: 30%; -- cgit