Commit Graph

496 Commits

Author SHA1 Message Date
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
Nuno C.
df859f1d70 Merge pull request #2482 from iunn-sh/main
 Feat: add cloud & cloud-moon icon
2025-09-16 11:11:08 +01: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
ish
5fe9f56561 Merge branch 'nunocoracao:main' into main 2025-09-16 10:00:05 +08: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.
e6cd7a9948 Merge pull request #2426 from ZhenShuo2021/fix/code-copy
🐛 Fix(code.js): filter line number on code copy
2025-09-15 23:03:55 +01: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
Nuno C.
295ce738be Merge pull request #2393 from ZhenShuo2021/fix/rtl-layout-issues
🐛 Fix(rtl): multiple layout issues
2025-09-15 23:02:11 +01:00
Nuno C.
ed6fb66bbe Merge pull request #2391 from ZhenShuo2021/refactor/logical-properties
♻️ Refactor(CSS): use logical properties for language direction
2025-09-15 23:01:41 +01:00
Nuno C.
2ff69874c1 Merge pull request #2394 from ZhenShuo2021/fix/fetch-repo
🐛 Fix(fetch-repo): skip DOM updates for invalid remote data
2025-09-15 22:48:56 +01:00
ish
c648324aca fix current color 2025-09-10 13:08:39 +08:00
dependabot[bot]
a66464e972 📦 Update packaged Mermaid 2025-09-10 05:02:17 +00:00
ish
4fa6542bf2 add icons: cloud, cloud-moon 2025-09-10 12:58:58 +08: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
41f6b37e56 refactor(tailwind): use logical properties for language direction 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
Nuno C.
710709d527 Merge pull request #2437 from nunocoracao/dependabot/npm_and_yarn/dev/mermaid-11.10.0
📌 Bump mermaid from 11.9.0 to 11.10.0
2025-08-21 14:39:25 +01:00
ZhenShuo Leo
0840169724 chore(code.js): add linenos comments 2025-08-21 06:00:26 +08:00
ZhenShuo Leo
9d0aecf41f refactor(code.js): simplify code
uses optional chaining
inlines short functions
2025-08-21 05:40:30 +08:00
dependabot[bot]
545b25e786 💄 Rebuild CSS 2025-08-20 07:34:33 +00:00
dependabot[bot]
2bdd3f1422 💄 Rebuild CSS 2025-08-20 07:11:04 +00:00
dependabot[bot]
a6cc41ce54 📦 Update packaged Mermaid 2025-08-20 07:11:02 +00:00
ZhenShuo Leo
65637ec3f0 fix(code.js): filter line number on code copy 2025-08-16 20:58:06 +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
e78105429f fix(a11y): add underline links on article card 2025-08-05 18:36:24 +08:00
ZhenShuo Leo
344f7de0da fix(a11y): prevent disableImages FOUC 2025-08-05 18:23:16 +08:00
ZhenShuo Leo
ade00547b3 fix(a11y): disableImages not working when layoutBackgroundBlur is false 2025-08-05 18:23:16 +08:00
ZhenShuo Leo
10ffbca4c0 refactor(a11y): simply code 2025-08-05 17:39:59 +08:00
ZhenShuo Leo
6a4123f59f fix(fetch-repo): prevent DOM updates with invalid remote data 2025-08-03 17:09:24 +08: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.
cd1982264e Merge pull request #2379 from ZhenShuo2021/fix/forgejo-cors
🐛 Fix: forgejo CORS
2025-08-03 01:44:31 +01:00
Nuno C.
a3dd43e992 Merge pull request #2378 from ZhenShuo2021/feat/huggingface-card
 Feat: add huggingface shortcode
2025-08-03 01:44:17 +01:00
Nuno C.
47ad966c42 Merge pull request #2366 from ZhenShuo2021/feat/a11y-panel-zen
 Feat: add zen mode toggle in a11y panel
2025-08-03 01:39:19 +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
Nuno C.
4eb9d037e4 Merge pull request #2362 from ZhenShuo2021/feat/a11y-toggle
 Feat: support a11y toggle button
2025-08-03 01:37:40 +01:00
Nuno C.
fcd02369bb Merge pull request #2369 from nunocoracao/dependabot/npm_and_yarn/dev/mermaid-11.9.0
📌 Bump mermaid from 11.8.1 to 11.9.0
2025-08-03 01:32:12 +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
3ee9ed824f feat: add huggingface shortcode (#2376) 2025-07-29 04:52:21 +08:00
ZhenShuo Leo
c3f6f901a5 fix: forgejo CORS 2025-07-29 04:46:55 +08:00
dependabot[bot]
3865ba9e7d 💄 Rebuild CSS 2025-07-23 05:25:21 +00:00