Commit Graph

237 Commits

Author SHA1 Message Date
ZhenShuo Leo
40eea78d8c chore(footer): use logical properties 2025-10-11 03:10:00 +08:00
ZhenShuo Leo
c9c8a36c16 fix: article-pagination
- simplify html
- fix rtl item alignment
- fix empty span tag when showDate is false
- align hover effect with other element, removes group hover underline
2025-10-11 15:19:36 +08:00
ZhenShuo Leo
9b35cc2bae fix(toc): too wide when no related contents 2025-10-11 15:19:36 +08:00
ZhenShuo Leo
d8ea1d81b5 fix: article shortcode padding 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
ZhenShuo Leo
d4620d5318 fix(blur): remove small right-edge gap of blur on mobile devices 2025-10-11 15:19:35 +08:00
ZhenShuo Leo
fefb7d2fb5 fix(katex): content hidden at container edges 2025-10-11 15:19:35 +08:00
dependabot[bot]
da627a0cc7 💄 Rebuild CSS 2025-10-07 17:42:10 +00:00
dependabot[bot]
44c20b3cf0 💄 Rebuild CSS 2025-09-24 05:02:17 +00:00
ZhenShuo Leo
1159e78cc3 chore: rebuild css 2025-09-23 18:32:59 +08:00
ZhenShuo Leo
65ab50a901 fix(baseof): add offset to skip to main content 2025-09-23 17:57:58 +08:00
ZhenShuo Leo
b777d4e59e fix(scroll-to-top): resolve overlap with buy me a coffee button 2025-09-23 17:57:58 +08:00
dependabot[bot]
1cb5e9ab2f 💄 Rebuild CSS 2025-09-17 05:02:38 +00:00
ZhenShuo Leo
01b998e070 feat(article-link): replace background div with img tag 2025-09-16 15:08:36 +08:00
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
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
Served Smart
de49717700 💄 Rebuild CSS for refactoring changes 2025-06-12 14:32:06 +02:00