aboutsummaryrefslogtreecommitdiff
path: root/webAO
diff options
context:
space:
mode:
authorsD <stoned@derpymail.org>2020-04-07 19:08:34 +0200
committersD <stoned@derpymail.org>2020-04-07 19:08:34 +0200
commit57a349de5df8b6f7c35759401fc9e2f95c8befb7 (patch)
tree3a560e813f8b494f68c1127c3e0ee9c4a804f89c /webAO
parent3d7ccc2356a04ab98ce259df16b3324e5e96904a (diff)
move default theme to chatcontainer, needs testing
Diffstat (limited to 'webAO')
-rw-r--r--webAO/styles/chatbox/default.css34
1 files changed, 22 insertions, 12 deletions
diff --git a/webAO/styles/chatbox/default.css b/webAO/styles/chatbox/default.css
index 4e86f2a..4c99ebb 100644
--- a/webAO/styles/chatbox/default.css
+++ b/webAO/styles/chatbox/default.css
@@ -1,26 +1,36 @@
+#client_chatcontainer {
+ position: absolute;
+ top: 60%;
+ left: 0;
+ height: 40%;
+ width: 100%;
+}
+
#client_name {
display: none;
- padding: 0px 6px;
- height: 7%;
+ position: absolute;
+ top: 0;
+ left: 0;
+ height: 15%;
border: 1px solid rgba(255, 255, 255, 0.7);
- background: rgba(73, 0, 254, 0.5);
- top: 63%;
border-radius: 3px;
- position: absolute;
+ background: rgba(73, 0, 254, 0.5);
+ padding: 0px 6px;
}
#client_chat {
- font-size: 1em;
+ position: absolute;
display: none;
+ bottom: 0;
+ left: 0;
width: 98%;
- width: calc(100% - 4px);
- margin: auto;
- height: 30%;
+ width: calc(100% - 4px);
+ height: 82%;
border: 2px solid rgba(255, 255, 255, 0.7);
- background-color: rgba(0, 0, 0, 0.5);
- top: 70%;
border-radius: 4px;
- position: absolute;
+ background-color: rgba(0, 0, 0, 0.5);
+ margin: auto;
+ font-size: 1em;
word-break: keep-all;
word-wrap: break-word;
overflow-wrap: break-word;