aboutsummaryrefslogtreecommitdiff
path: root/webAO/styles/chatbox/aa.css
diff options
context:
space:
mode:
authorstonedDiscord <stoned@derpymail.org>2020-04-19 15:43:44 +0200
committerGitHub <noreply@github.com>2020-04-19 15:43:44 +0200
commit729f4144d7b3a489d8c17d3ec2d7c8f32411f696 (patch)
tree04a61f8c3289b23ed55ba0e23bd47e8a127dbe17 /webAO/styles/chatbox/aa.css
parent0dc565de5fbc94dfe1745a44c879ee6a9f801049 (diff)
parent182ee7354419bf6ce472817d1124932e82b43f98 (diff)
Merge pull request #58 from AttorneyOnline/chatboxstyle
Chatboxstyle
Diffstat (limited to 'webAO/styles/chatbox/aa.css')
-rw-r--r--webAO/styles/chatbox/aa.css150
1 files changed, 150 insertions, 0 deletions
diff --git a/webAO/styles/chatbox/aa.css b/webAO/styles/chatbox/aa.css
new file mode 100644
index 0000000..d683ecb
--- /dev/null
+++ b/webAO/styles/chatbox/aa.css
@@ -0,0 +1,150 @@
+@font-face {
+ font-family: 'ace_attorneyregular';
+ src: url('ace-attorney.woff2') format('woff2'),
+ url('ace-attorney.woff') format('woff');
+ font-weight: normal;
+ font-style: normal;
+}
+
+.text_white {
+ color: #fff;
+}
+
+.text_blue {
+ color: #6bc6f7;
+}
+
+.text_green {
+ color: #00f700;
+}
+
+.text_red {
+ color: #f00;
+}
+
+.text_orange {
+ color: #f77339;
+}
+
+.text_yellow {
+ color: #ff0;
+}
+
+.text_pink {
+ color: #ffc0cb;
+}
+
+.text_cyan {
+ color: #0ff;
+}
+
+.text_rainbow {
+ background-color: #fff;
+ background-image: repeating-linear-gradient(to right,
+ red 0% 8%, orange 8% 16%, yellow 16% 24%, green 24% 32%, blue 32% 40%,
+ red 40% 48%, orange 48% 56%, yellow 56% 64%, green 64% 72%, blue 72% 80%,
+ red 80% 88%, orange 88% 96%, yellow 96% 100%);
+ background-size: 40% 40%;
+ background-clip: text;
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ animation: rainbow 4s linear infinite;
+}
+
+@keyframes rainbow {
+ 0% {
+ background-position: 0 0;
+ }
+
+ 100% {
+ background-position: 400% 0;
+ }
+}
+
+#client_chatcontainer {
+ display: block;
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ height: 40%;
+ width: 100%;
+ filter: none;
+ font-family: "Ace Attorney", "ace_attorneyregular", "MS PGothic", "MS UI Gothic", "MS Sans Serif", "Hiragino Maru Gothic Pro", "Mitra Mono", "Mukti Narrow", "Meera", "Khmer OS", "FreeSans", "Gargi", sans-serif;
+}
+
+#client_name {
+ display: block;
+ position: absolute;
+ left: 0;
+ top: 0;
+ height: 13%;
+ min-width: 3.25em;
+ background: rgba(56, 56, 163, 0.5);
+ box-shadow: 0.075em 0.075em rgba(0, 56, 163, 0.5) inset;
+ padding: 0 2%;
+ border-color: rgba(255, 255, 255, 0.5);
+ border-style: ridge groove groove ridge;
+ border-width: 0.2em;
+ border-radius: 0.2em;
+ z-index: 1;
+}
+
+#client_inner_name {
+ text-justify: distribute;
+ letter-spacing: 0.075em;
+ margin: 0;
+ font-weight: bold;
+}
+
+#client_chat {
+ display: block;
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ width: 98%;
+ width: calc(100% - 0.275em);
+ height: 78%;
+ margin: auto;
+ border-color: rgba(255, 255, 255, 0.5);
+ border-style: ridge groove groove ridge;
+ border-width: 0.15em;
+ border-radius: 0.3em;
+ background-color: rgba(0, 0, 16, 0.5);
+ font-size: 2em;
+ word-break: keep-all;
+ overflow-wrap: break-word;
+ text-align: left;
+ overflow: hidden;
+ scroll-behavior: smooth;
+}
+
+#client_chat p {
+ padding: 1% 3.13%;
+ margin: 1px;
+ line-height: 97%;
+ letter-spacing: 0.05em;
+ word-spacing: 0.3em;
+}
+
+#client_chatwaiting {
+ display: block;
+ position: absolute;
+ right: 2%;
+ bottom: 15%;
+ line-height: 0.5;
+ animation: idling 0.4s linear infinite;
+}
+
+@keyframes idling {
+ 0% {
+ right: 0;
+ }
+
+ 50% {
+ right: 2%;
+ }
+
+ 100% {
+ right: 0;
+ }
+} \ No newline at end of file