From cfb34cd2c82c83495e8cc2f8987fb55a0a316467 Mon Sep 17 00:00:00 2001 From: sD Date: Sun, 19 Apr 2020 18:07:30 +0200 Subject: dd chatbox got a little run over --- webAO/styles/chatbox/chatdd.css | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) (limited to 'webAO') diff --git a/webAO/styles/chatbox/chatdd.css b/webAO/styles/chatbox/chatdd.css index 2fecddb..99ab153 100644 --- a/webAO/styles/chatbox/chatdd.css +++ b/webAO/styles/chatbox/chatdd.css @@ -11,19 +11,24 @@ #client_name { display: block; - top: 4%; + top: 0; padding: 0 10px; height: 22%; position: absolute; } +#client_inner_name { + margin: 0; + padding: 5% 0; +} + #client_chat { font-size: 1em; display: block; width: 100%; margin: auto; - height: 90%; - top: 20%; + height: 75%; + bottom: 0; position: absolute; word-break: keep-all; word-wrap: break-word; @@ -33,9 +38,9 @@ scroll-behavior: smooth; } -#client_inner_name { - margin: 4px; - padding: 5px 3%; +#client_chat p { + padding: 1% 3%; + margin: 0; } #client_chatwaiting { @@ -45,4 +50,18 @@ width: 1em; position: absolute; animation: idling 1s linear infinite; +} + +@keyframes idling { + 0% { + right: 0; + } + + 50% { + right: 2%; + } + + 100% { + right: 0; + } } \ No newline at end of file -- cgit