Commit Graph
105 Commits
Author SHA1 Message Date
ZhenShuo Leo aa52338289 fix: mobile menu wrong height caused by new stacking context from backdrop-blur 2026-08-28 23:41:30 +01:00
Nuno CoraçãoandClaude Fable 5 ca56ac78a3 🐛 Let the fullscreen mobile menu escape the floating header
The floating header's backdrop blur makes the pill a containing block
for fixed-position descendants, so the fullscreen mobile menu rendered
at the pill's height instead of filling the viewport. Lift the filter
while the menu is open. Fixes #3057.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-19 23:51:04 +01:00
Metalhearf 134a044262 🐛 Balance the padding of the desktop dropdown menu (#3058)
The submenu panel carried both `pt-2` and `p-5`. Tailwind emits shorthand
utilities before their longhand counterparts, so `padding-top` resolved to
`0.5rem` while the other three sides stayed at `1.25rem`, regardless of the
order the classes appear in the markup. The first submenu entry sat flush
against the top edge.

This went unnoticed while the panel was translucent. v3 made it opaque, which
draws the edge and exposes the imbalance.

Drop `pt-2` so the panel keeps the uniform `p-5` it was styled for. No new
utility classes, so the compiled stylesheet is unchanged.
2026-08-19 23:43:34 +01:00
Nuno CoraçãoandClaude Fable 5 96f11ba0e7 ♿️ Fix AA contrast and move mobile language selector to header row
Darken burufugu primary-600 to pass 4.5:1 on white, bump the search
shortcut hint to neutral-500, and surface the language switcher in
the visible mobile header row instead of the menu dialog.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-17 20:19:02 +01:00
Nuno CoraçãoandClaude Fable 5 09f0573749 ✨ v3 theme: glass UI, landing layout, a11y, perf, print styles
Floating glass header with ⌘K search, landing homepage layout with
hero image and GitHub-stars CTA, background canvas with dissolving
heroes, burufugu colour scheme, movie-quote 404, taxonomy pills,
keyboard/ARIA accessibility across menus, search and tabs, idle-
loaded third-party scripts, and dedicated print styles.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-17 20:19:02 +01:00
Friday ff4618e379 fix: add compact mobile menu presentation 2026-08-17 20:19:02 +01:00
Friday 091f9043ee feat: add modern content and navigation primitives 2026-08-17 20:19:02 +01:00
Nuno CoraçãoandClaude Fable 5 a89d96e4dd 🐛 Pin fixed headers to the viewport top explicitly
The fixed wrappers relied on their static position resolving to y=0 as
direct flex children of body; the header landmark added in #3048 made
that position fall below the spacer. Set top-0 on all fixed variants.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-16 22:59:56 +01:00
Nuno C.andChris Herborth 74d03343b9 ♿️ Add header and main menu nav landmarks (#3048)
Wrap the page header in a header element and the subnavigation menu in
a labelled nav landmark. Addresses #3023.

Co-authored-by: Chris Herborth <chrish@taffer.ca>
2026-08-16 22:09:35 +01:00
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