aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsD <stoned@derpymail.org>2020-04-18 16:21:53 +0200
committersD <stoned@derpymail.org>2020-04-18 16:21:53 +0200
commit85c5b861c8129c2b99100e1c233da3a091788b59 (patch)
treeb2d2729be6f253ccc34315aee695ba030ac18b54
parentb829aeb737717b64e18546b7d4eecdbb6b0506bb (diff)
use linear gradient for name
-rw-r--r--webAO/client.html2
-rw-r--r--webAO/styles/chatbox/drae.css26
2 files changed, 22 insertions, 6 deletions
diff --git a/webAO/client.html b/webAO/client.html
index 2424c7e..3ab54f4 100644
--- a/webAO/client.html
+++ b/webAO/client.html
@@ -347,7 +347,7 @@
<option value="chatdd">DD / SoJ</option>
<option value="dgs">DGS</option>
<option value="triology">Triology</option>
- <option value="drae">Dangan Ronpa</option>
+ <option value="drae">DR: AE</option>
<option value="yttd">YTTD</option>
</select>
<!--
diff --git a/webAO/styles/chatbox/drae.css b/webAO/styles/chatbox/drae.css
index c8e2293..c8a4822 100644
--- a/webAO/styles/chatbox/drae.css
+++ b/webAO/styles/chatbox/drae.css
@@ -1,32 +1,48 @@
#client_chatcontainer {
+ position: absolute;
+ width: 100%;
+ height: 30%;
+ bottom: 0;
+ left: 0;
font-family: sans-serif;
}
#client_name {
display: block;
padding: 0 0.45em;
- height: 5.2%;
- width: 40%;
+ height: 24%;
+ width: 50%;
text-align: left;
letter-spacing: 0.075em;
font-weight: bold;
- background: rgba(255, 0, 187, 0.9);
+ background: linear-gradient(225deg, transparent 10%,
+ rgba(255,75,206,0.9) 10% 15%, rgba(255, 0, 187, 0.9) 15% 16%,
+ rgba(255,75,206,0.9) 16% 20%, rgba(255, 0, 187, 0.9) 20% 22%,
+ rgba(255,75,206,0.9) 22% 25%, rgba(255, 0, 187, 0.9) 25% 28%,
+ rgba(255,75,206,0.9) 28% 30%, rgba(255, 0, 187, 0.9) 30% 32%,
+ rgba(255,75,206,0.9) 32% 33%, rgba(255, 0, 187, 0.9) 33%);
left: 0;
- bottom: 31.25%;
+ top: 0;
position: absolute;
z-index: 1;
}
+#client_name p {
+ padding: 1% 3.13%;
+ margin: 1px;
+}
+
#client_chat {
font-size: 1em;
display: block;
width: 100%;
margin: auto;
- height: 31.25%;
+ height: 75%;
border-top: 2px solid #ff00ab;
border-bottom: 2px solid #e9019e;
background-image: linear-gradient(rgba(33,18,28,0.75),rgba(45,18,36,0.75));
bottom: 0;
+ left: 0;
position: absolute;
word-break: keep-all;
overflow-wrap: break-word;