From b87c498ee3e5fb1e6e90084fc093a66abaa311c6 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Fri, 2 Sep 2022 19:56:57 +0200 Subject: optimize key and add bg --- webAO/styles/chatbox/bricks.svg | 11 +++++++++++ webAO/styles/chatbox/key.css | 17 +++++++++++------ 2 files changed, 22 insertions(+), 6 deletions(-) create mode 100644 webAO/styles/chatbox/bricks.svg (limited to 'webAO/styles/chatbox') diff --git a/webAO/styles/chatbox/bricks.svg b/webAO/styles/chatbox/bricks.svg new file mode 100644 index 0000000..6baca51 --- /dev/null +++ b/webAO/styles/chatbox/bricks.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/webAO/styles/chatbox/key.css b/webAO/styles/chatbox/key.css index 50d2bc1..f6c8a7d 100644 --- a/webAO/styles/chatbox/key.css +++ b/webAO/styles/chatbox/key.css @@ -146,9 +146,11 @@ left: 1%; width: 12%; height: 15%; - background-color: #d59a9a; + background: url("bricks.svg"); + background-size: 1.5em; border: #ffbe9f 3px ridge; border-radius: 100%; + font-family: serif; } #client_clock_month { @@ -171,12 +173,15 @@ position: absolute; width: 50%; height: 50%; - left: 25%; - top: 25%; + left: 11%; + top: 11%; margin: 0; - color: #fdf5e4; + color: #ffe; text-shadow: -1px -1px 0 #78320b, 1px -1px 0 #78320b, -1px 1px 0 #78320b, 1px 1px 0 #78320b; font-size: 3em; + background: rgba(255,255,255,0.7); + border-radius: 100%; + padding: 0.25em; } #client_clock_weekday { @@ -186,8 +191,8 @@ right: 0; bottom: 0; margin: 0; - color: gray; - text-shadow: -1px -1px 0 darkgray, 1px -1px 0 darkgray, -1px 1px 0 darkgray, 1px 1px 0 darkgray; + color: #ccc; + text-shadow: -1px -1px 0 #333, 1px -1px 0 #333, -1px 1px 0 #333, 1px 1px 0 #333; text-decoration: underline; font-size: smaller; font-weight: bold; -- cgit