Commit Graph

640 Commits

Author SHA1 Message Date
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
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
9cb306a403 style: run prettier format on background.html 2025-07-22 01:31:07 +08:00
ZhenShuo Leo
18f1ed9978 refactor: simplify background image syntax 2025-07-22 01:30:39 +08:00
ZhenShuo Leo
26637ee585 refactor: decoupling a11y and blur 2025-07-22 00:43:14 +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
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
Served Smart
4d1d3c5311 🚑 Hotfix: Fix issues with article shortcode 2025-07-21 12:24:06 +02:00
ZhenShuo Leo
dc778836f1 feat: hide image in a11y mode 2025-07-21 17:18:18 +08:00
ZhenShuo Leo
edbace7be0 feat: support a11y disable blur 2025-07-21 17:18:18 +08:00
Nuno C.
a7080de207 Merge pull request #2352 from servedsmart/fix-article-shortcode-link
🚑 Hotfix: Fix incorrect href in article shortcode
2025-07-21 10:13:15 +01:00
Nuno C.
7817866a68 Merge pull request #2348 from ZhenShuo2021/refactor/base-template
♻️  Refactor: make base-template easier to read
2025-07-21 10:11:04 +01:00
Nuno C.
dca9e177c5 Merge pull request #2345 from OnqiauJliu/base64-image
 Feat: Support base64 image format
2025-07-21 10:10:09 +01:00
Nuno C.
f9b4e1ef93 Merge pull request #2336 from ZhenShuo2021/fix/windows-author-image
🐛 Fix: author image does not support external URL on Windows
2025-07-21 10:07:51 +01: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.
4285a740fa Merge pull request #2332 from ZhenShuo2021/fix/repo-color
🐛 Fix: repo card language color is missed
2025-07-21 10:05:23 +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
Nuno C.
01622ede5a Merge pull request #2324 from ZhenShuo2021/fix/gist-corb
🐛 Fix: gist CORB error
2025-07-21 10:03:52 +01:00
Served Smart
5b84d57817 🚑 Hotfix: Fix incorrect href in article shortcode
See: https://github.com/nunocoracao/blowfish/pull/2297#issuecomment-3085165961
2025-07-17 21:51:07 +02:00
ZhenShuo Leo
5009fffcf4 fix(repo-card): manually revert to the version in 2.87.0
The md5 method has severe performance degradation
It is approximately 2x slower without cache and 5x slower with cache

Reverted due to lack of a better option
2025-07-18 00:46:14 +08:00
ZhenShuo Leo
2ff6b0e8bd fix: repo card language color is missed 2025-07-18 00:44:28 +08:00
Nuno C.
ab9f0b6af8 Merge branch 'dev' into chore/try-repo-card 2025-07-17 16:44:15 +01:00
Nuno C.
a679625472 Merge pull request #2331 from ZhenShuo2021/chore/error-msg
🔧 Chore: add warn message for GetRemote usage in shortcodes
2025-07-17 16:42:52 +01:00
Nuno C.
c4753defd4 Merge pull request #2297 from ZhenShuo2021/feat/article-shortcode
 Feat: add options for article shortcode
2025-07-17 16:38:29 +01:00
ZhenShuo Leo
ecf6d1d53f chore(repo-card): add try statement at GetRemote 2025-07-17 23:09:00 +08:00
ZhenShuo Leo
c4e658057e refactor: polish base templates
- use intermediate variable for complex condition
- replace .Site with global function site
2025-07-17 22:16:30 +08:00
ZhenShuo Leo
8930731ccc refactor(single.html): modularize author and fix the multilingual link when author is at bottom 2025-07-17 22:16:06 +08:00
ZhenShuo Leo
bda68f96a8 style(baseof.html): manually format 2025-07-17 22:13:43 +08:00
ZhenShuo Leo
c362f4a488 style(list.html): add proper code comments 2025-07-17 22:13:43 +08:00
ZhenShuo Leo
c8265de813 refactor(list.html): use intermediate variable for complex condition 2025-07-17 22:13:37 +08:00
ZhenShuo Leo
80927fb37a style(list.html): prettier format 2025-07-17 22:13:13 +08:00
ZhenShuo Leo
b0c3ac1321 refactor(list.html): make list.html formattable 2025-07-17 22:13:08 +08:00
ZhenShuo Leo
9bf09a8a3f refactor(list.html): correct indention 2025-07-17 22:12:54 +08:00
OnqiauJliu
8378089dfb Support base64 image format 2025-07-16 14:50:28 +08:00
ZhenShuo Leo
86e88935c7 fix: support external image for author image on windows 2025-07-15 13:41:50 +08: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
23e0416f51 refactor: modularize carousel and gallery css 2025-07-13 21:52:54 +08:00
ZhenShuo Leo
237c90afa9 chore(github.html): move div into with syntax 2025-07-13 20:08:32 +08:00
ZhenShuo Leo
d8bdf7e316 chore: add warn message for GetRemote usage in shortcodes 2025-07-13 19:56:39 +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