Commit Graph

236 Commits

Author SHA1 Message Date
ZhenShuo Leo
b1b7aa1f42 feat(article-link): reimplement card hover using ::before method
The previous method was not intuitive since there was nothing in the <a> tag,
and required group-xxx classes for every element.

The new pseudo element method fixes those problems, see:

https://kittygiraudel.com/2022/04/02/accessible-cards/
2025-09-16 15:08:35 +08:00
ZhenShuo Leo
e3194eca1e chore(article-link): remove unused .Params.images
The `.Params.images` and `.Site.Params.images` have existed since the creation of the files
but have never been referenced in the documentation since their initial commit (3cc1569fc1)

Also, Meta tags are not valid inside card elements
2025-09-16 15:08:22 +08:00
Nuno C.
d8add6e15f Merge pull request #2399 from ZhenShuo2021/feat/enable-tailwind-colors
 Feat(tailwind): enable default colors
2025-09-15 23:02:55 +01:00
ZhenShuo Leo
ccc7fc8a98 feat(tailwind): enable default colors 2025-08-22 04:15:44 +08:00
ZhenShuo Leo
9bf7c1dc0b chore: remove lighthouse.html in exampleSite 2025-08-22 04:14:06 +08:00
ZhenShuo Leo
aa76e94538 fix(rtl): correct article-link title direction (#2023) 2025-08-22 03:34:02 +08:00
ZhenShuo Leo
2efd19e793 fix(rtl): homepage card layout broken on rtl site 2025-08-22 03:34:02 +08:00
ZhenShuo Leo
3150fb6631 fix(rtl): timeline shortcode broken on rtl site 2025-08-22 03:34:02 +08:00
ZhenShuo Leo
637c43a125 fix(rtl): cardViewScreenWidth broken on rtl site 2025-08-22 03:34:02 +08:00
ZhenShuo Leo
b005096833 fix(rtl): incorrect article-link badge padding 2025-08-22 03:34:02 +08:00
ZhenShuo Leo
41f6b37e56 refactor(tailwind): use logical properties for language direction 2025-08-22 03:34:02 +08:00
dependabot[bot]
545b25e786 💄 Rebuild CSS 2025-08-20 07:34:33 +00:00
Nuno C.
9e6ffcc676 Merge pull request #2384 from ZhenShuo2021/style/footer-icon
💄 Style(footer): improve icon-only mobile menu
2025-08-03 01:44:53 +01:00
Nuno C.
e0052eb58c Merge pull request #2365 from ZhenShuo2021/feat/a11y-panel
 Feat: add setting panel for a11y
2025-08-03 01:37:56 +01:00
ZhenShuo Leo
904176c43c style(footer): use flex-row and overflow-x-auto when only has icons 2025-07-30 02:09:47 +08:00
ZhenShuo Leo
5b376cc116 feat: add a11y panel 2025-07-21 23:58:48 +08:00
Served Smart
fef2b64ca9 🩹 Do not underline title if hovering taxonomies 2025-07-21 12:30:36 +02:00
Served Smart
8d9c93e7b8 🚑 Hotfix: Fix title not being hoverable 2025-07-21 12:24:31 +02:00
Nuno C.
2d4149dcd9 Merge pull request #2334 from ZhenShuo2021/style/anchor
💄 Style: prevent anchor from being selected
2025-07-21 10:07:26 +01:00
Nuno C.
0b7486049c Merge pull request #2333 from ZhenShuo2021/refactor/css
♻️ Refactor: significantly simplify main.css
2025-07-21 10:06:59 +01:00
Nuno C.
48d925ad98 Merge pull request #2326 from ZhenShuo2021/fix/series-width
🐛 Fix: serise is too wide
2025-07-21 10:04:22 +01:00
ZhenShuo Leo
8913a1c641 fix: series is too wide 2025-07-13 23:44:51 +08:00
ZhenShuo Leo
03c3f18b72 style: prevent anchor being selected 2025-07-13 23:00:30 +08:00
ZhenShuo Leo
1461ee534d refactor: consolidate background properties in CSS 2025-07-13 22:07:36 +08:00
ZhenShuo Leo
cb2609a65d refactor: modularize chroma css 2025-07-13 22:04:51 +08:00
ZhenShuo Leo
23e0416f51 refactor: modularize carousel and gallery css 2025-07-13 21:52:54 +08:00
ZhenShuo Leo
367be5c6d4 fix: use @variant for tailwind 4.0 2025-07-13 21:31:59 +08:00
ZhenShuo Leo
965c241f8c feat: add support for compactSummary option in article shortcode 2025-07-13 18:44:45 +08:00
ZhenShuo Leo
b4a7741b39 feat: add support for showSummary in article shortcode 2025-07-13 18:44:45 +08:00
Nuno C.
503fe8fc5c Merge pull request #2285 from ZhenShuo2021/fix/firefox-bg-blur
🐛 Fix: right margin not blurred in firefox
2025-07-10 11:41:58 +01:00
Nuno C.
648ba17c83 Merge pull request #2258 from ZhenShuo2021/fix/mobile-toc-width
🐛 Fix: TOC is too narrow on mobile devices
2025-07-10 11:40:37 +01:00
ZhenShuo Leo
5ebd4ef0dd fix: toc width on mobile 2025-07-10 09:23:18 +08: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
dependabot[bot]
8e39564fa7 💄 Rebuild CSS 2025-07-09 14:21:58 +00:00
ZhenShuo Leo
262fda5deb fix: right margin not blurred in firefox 2025-06-25 22:33:14 +08:00
dependabot[bot]
c5bd31b3db 💄 Rebuild CSS 2025-06-18 05:36:31 +00:00
Nuno Coração
f2e224a042 pretty run 2025-06-17 23:17:26 +01:00
Served Smart
de49717700 💄 Rebuild CSS for refactoring changes 2025-06-12 14:32:06 +02: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
dependabot[bot]
018b6ece23 💄 Rebuild CSS 2025-06-04 05:51:50 +00:00
dependabot[bot]
d58d8d5534 💄 Rebuild CSS 2025-05-27 00:01:20 +00:00
Nuno Coração
94424416bc polish 2025-05-27 00:58:36 +01:00
Nuno Coração
8f17fb2b37 Merge pull request #2157 from ZhenShuo2021/fix/show-more-link
🐛 fix: restore cursor pointer on all buttons
2025-05-27 00:32:19 +01:00
Nuno Coração
35f31317e9 Merge pull request #2144 from ZhenShuo2021/fix/katex
🐛 fix: katex block overflow (#2138)
2025-05-27 00:31:51 +01:00
Nuno Coração
248180fbc5 Merge pull request #2124 from ZhenShuo2021/fix/footnote
🐛 Fix: prevent header from blocking footnotes links
2025-05-27 00:21:46 +01:00
Nuno Coração
2abffc3e26 Merge pull request #2110 from ZhenShuo2021/fix/toc
 Improved Table of Contents Display
2025-05-27 00:04:31 +01:00
Nuno Coração
4ebf766331 Merge pull request #2114 from ZhenShuo2021/docs/codeblock-lang
📝 Docs: update codeblock language
2025-05-27 00:01:42 +01:00
ZhenShuo Leo
5afceca56a 🐛 fix: make cursor pointer correctly on all buttons
Restore button CSS behavior from ef5186c

ef5186ce4c/assets/css/compiled/main.css (L522)
2025-05-25 04:58:43 +08:00
ZhenShuo Leo
30d74227df 🐛 fix: cursor pointer on all buttons 2025-05-25 04:27:38 +08:00
ZhenShuo Leo
3d0b59f413 🐛 fix: katex block overflow (#2138) 2025-05-14 20:47:18 +08:00