From ee4df5bfd30a4e087331adc2b4b306286e5d419d Mon Sep 17 00:00:00 2001 From: moderndevslulw Date: Sun, 6 Jul 2025 04:17:28 +0500 Subject: upd: cosmetic changes --- lib/partials.php | 21 ++++++++++++++++++--- public/index.php | 6 +++--- public/static/style.css | 18 +++++++++++++++--- public/wiki.php | 2 +- 4 files changed, 37 insertions(+), 10 deletions(-) diff --git a/lib/partials.php b/lib/partials.php index 2e2df78..d7b7127 100644 --- a/lib/partials.php +++ b/lib/partials.php @@ -30,7 +30,14 @@ function html_big_footer()

Project
Tinybot

-

Maintained by someone

+

+ This instance is maintained by + + + + Anonymous + +

diff --git a/public/index.php b/public/index.php index a826d90..9cb267b 100644 --- a/public/index.php +++ b/public/index.php @@ -13,7 +13,7 @@ if (strlen($url['path']) > 2 && str_starts_with($url['path'], '/!')) { - The Tinybot Project + <?= BOT_USERNAME_FORMATTED ?> @@ -31,13 +31,13 @@ if (strlen($url['path']) > 2 && str_starts_with($url['path'], '/!')) { style="border-top-left-radius:4px;border-bottom-left-radius:4px;">
-

Enhance your chat with the bot

+

Enhance your chat with

A multi-utility Twitch chat bot that brings
a lot of functionality into your chat.

- +
diff --git a/public/static/style.css b/public/static/style.css index 2b6dcdd..4ecb2cb 100644 --- a/public/static/style.css +++ b/public/static/style.css @@ -5,10 +5,11 @@ --table-border: #d4d4d4; --box-background: #eef5f2; - --box-border: #77ac90; + --box-border: #d4ddd9; --box-tab-background: #a2f3cb; --box-tab-background-disabled: #8ad8b1; --box-tab-foreground: #000000; + --box-foreground-placeholder: #bdbdbd; --promo-button-background: linear-gradient(0deg, #ff9028 0% 50%, #ffb224 50% 100%); --promo-button-background-hover: #ff9028; @@ -52,9 +53,9 @@ main { header { display: flex; flex-direction: row; - align-items: end; + align-items: center; - padding: 32px 0; + padding: 16px 0; } content { @@ -65,6 +66,7 @@ content { footer { background: var(--box-background); + color: var(--box-foreground-placeholder); border-top: 1px solid var(--box-border); width: 100%; display: flex; @@ -75,6 +77,7 @@ footer { } footer.big { + color: var(--box-tab-foreground); padding: 32px 0; } @@ -82,6 +85,10 @@ a { color: #000; } +*>a { + color: inherit; +} + a:hover { color: var(--secondary-color); } @@ -342,6 +349,11 @@ div:has(.wiki-content) { border-radius: 2px; } +.wiki-content pre code { + display: block; + width: 100%; +} + .wiki-content blockquote { background-color: rgba(243, 244, 246, 255); padding: 2px; diff --git a/public/wiki.php b/public/wiki.php index 4cb1189..b87405f 100644 --- a/public/wiki.php +++ b/public/wiki.php @@ -30,7 +30,7 @@ if ($sidebar = file_get_contents(WIKI_PAGE_DIRECTORY . '/summary.md')) { - <?= $page_id ?> - Wiki - The Tinybot Project + <?= isset($page_path) ? "Page $page_id - " : '' ?>Wiki - <?= BOT_USERNAME_FORMATTED ?> -- cgit v1.2.3