From a116d9b856342e4e4a7b6b70304344320db3e7e5 Mon Sep 17 00:00:00 2001 From: sD Date: Sat, 18 Apr 2020 17:33:44 +0200 Subject: add pl vs aa --- webAO/client.html | 1 + webAO/styles/chatbox/chatboxes.js | 1 + webAO/styles/chatbox/chatplvsaa.css | 63 +++++++++++++++++++++++++++++++++++++ 3 files changed, 65 insertions(+) create mode 100644 webAO/styles/chatbox/chatplvsaa.css (limited to 'webAO') diff --git a/webAO/client.html b/webAO/client.html index ad2ea01..c6783e1 100644 --- a/webAO/client.html +++ b/webAO/client.html @@ -347,6 +347,7 @@ + diff --git a/webAO/styles/chatbox/chatboxes.js b/webAO/styles/chatbox/chatboxes.js index ee679e9..ca93de7 100644 --- a/webAO/styles/chatbox/chatboxes.js +++ b/webAO/styles/chatbox/chatboxes.js @@ -6,6 +6,7 @@ export default [ "drv3", "drae", "legacy", + "chatplvsaa", "triology", "yttd" ]; \ No newline at end of file diff --git a/webAO/styles/chatbox/chatplvsaa.css b/webAO/styles/chatbox/chatplvsaa.css new file mode 100644 index 0000000..134738f --- /dev/null +++ b/webAO/styles/chatbox/chatplvsaa.css @@ -0,0 +1,63 @@ +@font-face { + font-family: 'Cabin Condensed'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: local('Cabin Condensed'), local('CabinCondensed-Regular'), url(https://fonts.gstatic.com/s/cabincondensed/v13/nwpMtK6mNhBK2err_hqkYhHRqmwqZ-LY.woff2) format('woff2'); +} + +#client_chatcontainer { + font-family: 'Cabin Condensed', sans-serif; + position: absolute; + bottom: 0; + left: 0; + height: 35%; + width: 100%; +} + +#client_name { + display: block; + left: 1%; + top: 0; + height: 20%; + min-width: 15%; + padding: 0px 6px; + border: 2px ridge #b1822d; + border-radius: 0.4em; + background: #783500; + position: absolute; + z-index: 1; +} + +#client_name p { + margin: 1px; +} + +#client_chat { + font-size: 1em; + display: block; + width: 99%; + width: calc(100% - 4px); + margin: auto; + height: 80%; + border: 2px ridge #d9a63b; + border-radius: 0.5em; + background-color: rgba(148,96,0,0.6); + bottom: 0; + position: absolute; + word-break: keep-all; + word-wrap: break-word; + overflow-wrap: break-word; + text-align: left; + overflow: hidden; + scroll-behavior: smooth; +} + +#client_chat p { + margin: 6px; + padding: 6px 20px; +} + +#client_chatwaiting { + display: none; +} \ No newline at end of file -- cgit