From cec0754edd5a3e79b1fd51083a1674cceaec1bc5 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Sat, 4 Mar 2023 12:35:53 +0100 Subject: finally fix trilogy chatbox --- webAO/styles/chatbox/trilogy.css | 17 +++++++++-------- webAO/styles/chatbox/trilogy.svg | 4 ++++ 2 files changed, 13 insertions(+), 8 deletions(-) create mode 100644 webAO/styles/chatbox/trilogy.svg (limited to 'webAO/styles/chatbox') diff --git a/webAO/styles/chatbox/trilogy.css b/webAO/styles/chatbox/trilogy.css index 05b98b7..2bed827 100644 --- a/webAO/styles/chatbox/trilogy.css +++ b/webAO/styles/chatbox/trilogy.css @@ -44,14 +44,14 @@ #client_name { display: block; - background-color: #2989bd; top: 0; - left: 10%; - padding: 0 10px; + left: 5%; + padding: 0 3em; height: 20%; - min-width: 15%; - border: 1px white; - border-style: solid none solid none; + min-width: 10%; + border-image-source: url('trilogy.svg'); + border-image-slice: 4 fill; + border-image-width: 30px; position: absolute; z-index: 1; } @@ -65,7 +65,7 @@ display: block; width: 100%; margin: auto; - height: 90%; + height: 80%; top: 10%; position: absolute; word-break: keep-all; @@ -75,7 +75,8 @@ overflow: hidden; scroll-behavior: smooth; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAL0lEQVQImWOQ98nYzGsVupnXKnSzvE8GCmaASWBTgF8S3VhkNgOySnRTiJdENxYAYC1Ff2vnYrkAAAAASUVORK5CYII=) repeat; - border: 1px white; + border-top: 1px solid white; + border-bottom: 0.1em solid white; border-style: solid none solid none; } diff --git a/webAO/styles/chatbox/trilogy.svg b/webAO/styles/chatbox/trilogy.svg new file mode 100644 index 0000000..5544199 --- /dev/null +++ b/webAO/styles/chatbox/trilogy.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file -- cgit