aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsD <stoned@derpymail.org>2020-04-19 18:07:30 +0200
committersD <stoned@derpymail.org>2020-04-19 18:07:30 +0200
commitcfb34cd2c82c83495e8cc2f8987fb55a0a316467 (patch)
treed707ba6823860028e2608d2757b9c897c8e80722
parent4fa277285e5117782ec4f76987cda9f7b7978f77 (diff)
dd chatbox got a little run over
-rw-r--r--webAO/styles/chatbox/chatdd.css31
1 files changed, 25 insertions, 6 deletions
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