Commit Graph
96 Commits
Author SHA1 Message Date
ilantz 1d61651817 ♿️ Fix appearance switcher accessibility tooltips
Dynamically update the appearance switcher accessibility labels and tooltips using the native i18n variables so that the UI correctly reflects the user's localized language instead of hardcoded English strings.
2026-05-15 00:15:55 -07:00
Nuno C. d8416ee104 Revert "✨ Feat: logo alt and remove logo JS" 2026-03-11 14:16:49 +00:00
ZhenShuo Leo 02a7397119 refactor: use css for logo switcher 2026-02-25 22:41:25 +08:00
ZhenShuo Leo e35bcc0f24 chore: logo alt text 2026-02-25 22:41:25 +08:00
ZhenShuo Leo 4a16b20d3f style(header): tweak fixed-fill-blur 2026-01-04 19:25:56 +08:00
ZhenShuo Leo c78b3a1e6a fix: menu unreadable (#1790) 2025-12-27 17:33:20 +08:00
ZhenShuo Leo 230ee3ab16 feat: improve fixed-fill-blur
The original appearance is identical to `fixed-fill`
2025-12-27 17:32:04 +08:00
ZhenShuo Leo 8ab8807398 feat: better mobile menu 2025-12-27 17:32:00 +08:00
ZhenShuo Leo 522bdbe29e fix: menu vertical overflow 2025-12-27 17:31:53 +08:00
ZhenShuo Leo c51559dee5 fix(a11y): create disable_images button only when layout is background 2025-11-03 10:30:59 +08:00
ZhenShuo Leo a19edf471b chore(header): correct template naming 2025-10-11 03:11:00 +08:00
ZhenShuo Leo 6c8e0d7933 fix(header): add aria-label for icons 2025-10-11 15:19:36 +08:00
ZhenShuo Leo eb01381598 fix(header): remove logo alt 2025-10-11 15:19:35 +08:00
ZhenShuo Leo 9665fe953c fix(header): align width with body
remove all horizontal padding
align layout padding settings with body
split body classes into three variables
2025-10-11 15:19:35 +08:00
Miles Barr 9872eebdde Merge branch 'dev' into dev 2025-09-16 07:56:02 -07:00
Nuno C. c14887e992 Merge pull request #2456 from ZhenShuo2021/fix/a11y
🐛 Fix(a11y): multiple a11y issues
2025-09-15 23:04:54 +01:00
Nuno C. ecd990b5e5 Merge pull request #2397 from ZhenShuo2021/chore/prune-tailwind-classes
🔧 Chore: prune unused Tailwind classes
2025-09-15 23:02:30 +01:00
Miles Barr bf85845bc2 Fix HTML for menu items that only have an icon 2025-09-14 09:03:43 -07:00
ZhenShuo Leo 539a776d1c chore(a11y): add title to i18n 2025-09-01 02:19:30 +08:00
ZhenShuo Leo 76aa3741d1 chore: remove text-gray 2025-08-22 04:03:22 +08:00
ZhenShuo Leo 41f6b37e56 refactor(tailwind): use logical properties for language direction 2025-08-22 03:34:02 +08:00
ZhenShuo Leo 4b9062f4c1 style(blur): rename data-target-id to data-blur-id 2025-08-05 18:36:25 +08:00
ZhenShuo Leo ade00547b3 fix(a11y): disableImages not working when layoutBackgroundBlur is false 2025-08-05 18:23:16 +08:00
Nuno C. 7fe13cbe14 Merge pull request #2389 from ZhenShuo2021/style/menu-active
💄 Style(header): nested desktop menu not highlighted
2025-08-03 01:45:00 +01:00
ZhenShuo Leo da9eb9da47 style(header): highlightCurrentMenuArea in desktop menu (#2381) 2025-07-30 15:09:43 +08:00
ZhenShuo Leo 352130c6a8 feat: add zen mode toggle into a11y panel 2025-07-23 04:00:56 +08:00
ZhenShuo Leo b9bb959a48 fix(a11y): preserve user CSS font-size when a11y panel not configured
- Add "default" option to font size selector to respect user's original CSS
- Clear localStorage font setting when "default" is selected
- This prevent overriding user's custom font-size declarations on first load
2025-07-23 03:57:47 +08:00
ZhenShuo Leo d7220bd0ee feat: add i18n support for a11y 2025-07-22 03:04:30 +08:00
ZhenShuo Leo 4351bb10fb refactor: remove onclick in a11y 2025-07-22 01:47:20 +08:00
ZhenShuo Leo 9f07989148 fix: a11y id confict between desktop and mobile 2025-07-22 00:09:57 +08:00
ZhenShuo Leo 5b376cc116 feat: add a11y panel 2025-07-21 23:58:48 +08:00
ZhenShuo Leo edbace7be0 feat: support a11y disable blur 2025-07-21 17:18:18 +08:00
Nuno C. 94dfe274f3 Merge pull request #2272 from servedsmart/fix-issue-2264
🐛 Fix: Leading space in i18n go template
2025-07-10 11:40:57 +01:00
Nuno C. 5ebb8a9a63 Merge pull request #2261 from servedsmart/fix-label
🩹 Fix: Incorrect usage of <label> for menu-button
2025-07-10 11:39:23 +01:00
Served Smart 17faf8b738 ♻️ Refactor: Autogen classes and use consistent naming
- This should greatly improve consistency
- This mainly targets one of my PRs https://github.com/nunocoracao/blowfish/pull/2211
2025-07-09 18:59:32 +02:00
Served Smart 82622d38d8 🩹 Fix: Incorrect usage of <label> for menu-button
This fixes the following issue in Chrome: No label associated with a form field.

I don't know why a <label> was used here before, but I see no reason to do so, a div works just as well.
2025-07-09 18:48:25 +02:00
Served Smart 61ad34afde 🐛 Fix: Leading space in i18n go template
This fixes: https://github.com/nunocoracao/blowfish/issues/2264
2025-07-09 18:39:08 +02:00
ZhenShuo Leo 2886dea826 style(header): run prettier format 2025-06-19 19:44:08 +08:00
ZhenShuo Leo 6d941ee3d7 fix(header): incorrect end clause 2025-06-19 19:44:08 +08:00
ZhenShuo Leo 79171f488c refactor(header): modularize basic.html 2025-06-19 19:44:08 +08:00
Nuno Coração f2e224a042 pretty run 2025-06-17 23:17:26 +01:00
Nuno Coração 472a89c7a5 Merge pull request #2211 from servedsmart/move-most-inline-styles-out-of-line
♻️ refactor: Move most inline styles out of line
2025-06-17 22:56:25 +01:00
Served Smart 9f85c0566e ♻️ refactor: Move most inline styles out of line
- Move out of line by using already defined css classes
- Move paddings out of line
- Move margins out of line
- Move z-indexes out of line
- Move center-relative-left out of line
2025-06-12 14:00:21 +02:00
Served Smart 37ab1055e7 ♻️ refactor: Move similar javascript inline code out of line
- Move variables oid, oid_likes out of line
- Move background-blur out of line
- Move fetch-repo code out of line
2025-06-12 13:58:59 +02:00
Ryan Gibson baaf251bde Rewrite templates/partials for Hugo v0.146.0 2025-04-11 09:32:47 -04:00
Azzam Alsharafi 904e077b74 Fix top nav bar layout in RTL languages
Modify the margin direction in RTL layouts, and replace some occurrences of space-x to gap-x, for better RTL handling
2024-12-19 15:24:21 +08:00
Perry Kundert 9951816b08 Fix mobile menus to allow access to menu content 2024-10-23 15:48:56 -06:00
Nuno Coração de1fa4a58d fix https://github.com/nunocoracao/blowfish/issues/1695 2024-09-03 23:40:54 +01:00
Jörn-Michael Miehe 09bacd9f0b ✨ add SVG support for logos 2024-07-29 23:34:46 +02:00
Zoe Roux 9dc7940718 Use markdown emojify instead of dump emojify 2024-05-31 12:37:29 +02:00