From c0ff5af4bb993f0c85414453752696074c40309c Mon Sep 17 00:00:00 2001 From: pancakes Date: Wed, 20 Aug 2025 01:51:36 +1000 Subject: [PATCH] Touch up styles and buttons layout --- src/data/pages/misskey-comparison.md | 16 + src/lib/components/Navbar.svelte | 18 +- src/routes/+page.svelte | 655 +++++++++++++-------------- src/routes/style.css | 249 ++-------- 4 files changed, 374 insertions(+), 564 deletions(-) diff --git a/src/data/pages/misskey-comparison.md b/src/data/pages/misskey-comparison.md index feee07e..9680728 100644 --- a/src/data/pages/misskey-comparison.md +++ b/src/data/pages/misskey-comparison.md @@ -20,6 +20,7 @@ This page aims to provide a rough timeline of each notable fork and a comparison | ![Firefish icon](/assets/page/misskey-comparison/firefish.svg) | Firefish | v20241205 | [@firefish@info.firefish.dev](https://info.firefish.dev/@firefish) | None | | | ![Iceshrimp icon](/assets/page/misskey-comparison/iceshrimp.png) | Iceshrimp (JS) | v2023.12.11 | None | None | | | ![Sharkey icon](/assets/page/misskey-comparison/sharkey.png) | Sharkey | 2024.11.2 | [@Sharkey@sharkey.team](https://sharkey.team/@Sharkey) | | | + ### Iceshrimp @@ -621,4 +622,19 @@ Brief descriptions of each feature listed above. I'm keeping them vague as they img.icon { width: 2em; } + + .table-y { + background-color: var(--success); + color: black; + } + + .table-p { + background-color: var(--warn); + color: black; + } + + .table-n { + background-color: var(--error); + color: black; + } diff --git a/src/lib/components/Navbar.svelte b/src/lib/components/Navbar.svelte index b3c35b0..fa1aaf1 100644 --- a/src/lib/components/Navbar.svelte +++ b/src/lib/components/Navbar.svelte @@ -65,12 +65,7 @@ } a { - color: var(--foreground); - } - - a:hover { - background-color: var(--foreground); - color: var(--background); + color: var(--text); } .brand { @@ -81,15 +76,8 @@ border-radius: 20%; } - .brand > a, - .brand > a:visited { + .brand > a { font-weight: bold; - text-decoration-color: var(--accent); - text-decoration-style: wavy; - } - - .brand > a:hover { - background-color: var(--accent); - color: var(--background); + text-decoration: none; } diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index de78df6..1a46f3d 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,6 +1,6 @@