From: xangelo Date: Tue, 3 Dec 2024 15:28:50 +0000 (-0500) Subject: feat(chat): add widgetbot for discord-based chat X-Git-Tag: v0.4.4~36 X-Git-Url: https://git.xangelo.ca/?a=commitdiff_plain;h=15fab9bb7be6ced2cc1fad3278f3557ecaf33715;p=risinglegends.git feat(chat): add widgetbot for discord-based chat Instead of using a custom chat system, we're now using Widgetbot so that the chat integrates with the Discord server. --- diff --git a/public/assets/css/chat.css b/public/assets/css/chat.css deleted file mode 100644 index e581446..0000000 --- a/public/assets/css/chat.css +++ /dev/null @@ -1,51 +0,0 @@ -#chat { - border: solid 1px #6d251c; -} - -#chat-messages { - max-height: 250px; - overflow: auto; -} - -.chat-message { - line-height: 1.2rem; - padding: 0.2rem 0.3rem 0.3rem; -} - -.chat-message:nth-child(even) { - background: linear-gradient(270deg, rgba(0, 0, 0, 0) 0, rgba(196, 177, 149, 0.8) 100%); -} - -.chat-message .from { - font-weight: bold; -} - -.chat-message .from::after { - content: ':'; -} - -#chat-form { - display: flex; -} - -#chat-form input { - flex-grow: 8; - padding: 0.3rem; - outline: none; - border-width: 1px 0 0; - background: transparent; -} - -#chat-form input:focus { - outline: none; -} - -#chat-form button { - border-right-width: 0px; - border-bottom-width: 0px; - font-weight: bold; -} - -#chat-form button:active { - top: 0; -} \ No newline at end of file diff --git a/public/index.html b/public/index.html index 6db73b5..e835d53 100644 --- a/public/index.html +++ b/public/index.html @@ -69,10 +69,8 @@
-
-
- -
+ +