From 53d6ddae3df298bd2e8c01e1c7858acd3cc59bee Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Fri, 29 Jul 2022 16:36:33 +0200 Subject: fix pl vs pw chatbox --- webAO/styles/chatbox/chatplvsaa.css | 26 +++++++++++++++----------- webAO/styles/chatbox/plvspw.png | Bin 0 -> 213 bytes webAO/styles/chatbox/plvspw_name.png | Bin 0 -> 211 bytes 3 files changed, 15 insertions(+), 11 deletions(-) create mode 100644 webAO/styles/chatbox/plvspw.png create mode 100644 webAO/styles/chatbox/plvspw_name.png (limited to 'webAO/styles') diff --git a/webAO/styles/chatbox/chatplvsaa.css b/webAO/styles/chatbox/chatplvsaa.css index 23a8ea0..068e412 100644 --- a/webAO/styles/chatbox/chatplvsaa.css +++ b/webAO/styles/chatbox/chatplvsaa.css @@ -1,5 +1,5 @@ .text_white { - color: #fff; + color: #120f09; } .text_blue { @@ -53,33 +53,37 @@ #client_name { display: block; - left: 1%; + left: 2%; top: 0; height: 20%; min-width: 15%; padding: 0px 6px; - border: 2px ridge #b1822d; - border-radius: 0.4em; - background: #783500; + image-rendering: crisp-edges; + border-image-source: url("plvspw_name.png"); + border-image-slice: 6 fill; + border-image-width: 0.4em; position: absolute; z-index: 1; } #client_inner_name { margin: 1px; + padding: 0 0.4em; } #client_chat { font-size: 1em; display: block; width: 99%; - width: calc(100% - 4px); + width: calc(100% - 0.4em); margin: auto; height: 80%; - border: 2px ridge #d9a63b; - border-radius: 0.5em; - background-color: rgba(148,96,0,0.6); + image-rendering: crisp-edges; + border-image-source: url("plvspw.png"); + border-image-slice: 10 fill; + border-image-width: 0.4em; bottom: 0; + left: 0.2em; position: absolute; word-break: keep-all; word-wrap: break-word; @@ -90,8 +94,8 @@ } #client_inner_chat { - margin: 6px; - padding: 6px 20px; + margin: 0.1em; + padding: 0.3em 0.6em; } #client_chatwaiting { diff --git a/webAO/styles/chatbox/plvspw.png b/webAO/styles/chatbox/plvspw.png new file mode 100644 index 0000000..ba6a7e8 Binary files /dev/null and b/webAO/styles/chatbox/plvspw.png differ diff --git a/webAO/styles/chatbox/plvspw_name.png b/webAO/styles/chatbox/plvspw_name.png new file mode 100644 index 0000000..d9fc4e1 Binary files /dev/null and b/webAO/styles/chatbox/plvspw_name.png differ -- cgit