Commit Graph

435 Commits

Author SHA1 Message Date
ZhenShuo Leo
edbace7be0 feat: support a11y disable blur 2025-07-21 17:18:18 +08:00
Nuno C.
ec912c4a92 Merge pull request #2361 from ZhenShuo2021/feat/scholar-icon
 Feat: add google-scholar icon
2025-07-21 10:16:57 +01:00
Nuno C.
f0e0af3a3c Merge pull request #2354 from insidemordecai/dev
 add matrix, fediverse, keyoxide and signal icons
2025-07-21 10:16:00 +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.
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
92d35bdfec feat: add google-scholar icon 2025-07-21 14:04:56 +08:00
Mordecai K
b3866a53e9 add matrix icon 2025-07-18 23:48:01 +03:00
Mordecai K
13025d599e add keyoxide icon 2025-07-18 23:47:44 +03:00
Mordecai K
6b7b365b1c add fediverse icon 2025-07-18 23:47:11 +03:00
Mordecai K
9487bb0a82 add signal icon 2025-07-18 23:46:46 +03: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
dependabot[bot]
12c224d4f8 📦 Update packaged Mermaid 2025-07-16 05:19:59 +00: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
Nuno C.
3253e366b3 Merge pull request #2260 from servedsmart/use-pure-version-medium-zoom
🔒 Use pure version of medium-zoom to avoid inline style and simplify CSP usage
2025-07-10 11:40:05 +01:00
Nuno C.
037c741ded Merge pull request #2262 from ZhenShuo2021/refactor/repo-card
♻️ Refactor(repo-card): reduce coupling and indention
2025-07-10 11:37:27 +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
Served Smart
48a2d64023 🔒 Use pure version of medium-zoom to avoid inline style
This avoids an extra sha sum for a hashed CSP because it merges the CSS into main.bundle.css and avoids any inline styles being applied by medium-zoom.

This addresses concerns mentioned in the closed PR https://github.com/nunocoracao/blowfish/pull/2196, now the same changes are integrated into package.json.

This fixes https://github.com/nunocoracao/blowfish/issues/2195.
2025-07-09 18:52:38 +02:00
Nuno C.
8d940881a4 Merge pull request #2278 from servedsmart/refactor-background-blur
♻️ Refactor: Use IIFE for background-blur and simplify code
2025-07-09 15:45:55 +01:00
Nuno C.
0f83712a3d Merge pull request #2253 from servedsmart/move-some-inline-event-handlers-out-of-line
♻️ Refactor: Move 2 inline event handlers out of line
2025-07-09 15:42:33 +01:00
Nuno C.
ece7b66be3 Merge pull request #2265 from nunocoracao/codex/review-code-and-suggest-improvements
🤖 Fix JS issues and modernize node scripts
2025-07-09 15:37:37 +01:00
dependabot[bot]
8e39564fa7 💄 Rebuild CSS 2025-07-09 14:21:58 +00:00
Served Smart
a34947a630 ♻️ Refactor: Move 2 inline event handlers out of line
If MDN explicitly warns user not to use them, we probably shouldn't.

MDN also states: "Note that inline event handlers are blocked as well[...]You should replace them with addEventListener calls[...]" regarding CSP.
2025-06-27 19:23:55 +02:00
Served Smart
1e9458802a ♻️ Refactor: Use IIFE for background-blur and simplify code
This improves readability and removes an unnecessary function declaration by using IIFE.

This is inspired by https://github.com/nunocoracao/blowfish/pull/2262 . If both are merged, this would enhance consistency
2025-06-27 19:19:28 +02:00
ZhenShuo Leo
262fda5deb fix: right margin not blurred in firefox 2025-06-25 22:33:14 +08:00
dependabot[bot]
d6265341d1 📦 Update packaged Mermaid 2025-06-25 05:30:08 +00:00
Nuno Coração
412401ce32 Merge pull request #2236 from nunocoracao/dependabot/npm_and_yarn/dev/chart.js-4.5.0
📌 bump chart.js from 4.4.9 to 4.5.0
2025-06-23 12:28:40 +01:00
Nuno Coração
8c42d127ff fix: improve scripts and js 2025-06-20 23:24:40 +01:00
ZhenShuo Leo
d39a64afe1 refactor(repo-card): use iife and async loading 2025-06-20 22:15:27 +08:00
ZhenShuo Leo
91fe08d205 refactor(repo-card): reduce coupling and indention 2025-06-20 22:14:46 +08:00
dependabot[bot]
6976c9b9da 💄 Rebuild CSS 2025-06-18 05:36:58 +00:00
dependabot[bot]
09b6051f96 📦 Update packaged ChartJS 2025-06-18 05:36:56 +00: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
Nuno Coração
485b641756 Merge pull request #2226 from servedsmart/check-null-mobilemenu
🐛 Fix: null error when no [[menu]] block is defined
2025-06-17 23:07:37 +01:00
Nuno Coração
9aa6ec7e57 Merge pull request #2220 from Taffer/add-worktree-icon
Add icon for worktree.ca
2025-06-17 23:05:29 +01:00
Nuno Coração
472a89c7a5 Merge pull request #2211 from servedsmart/move-most-inline-styles-out-of-line
♻️ refactor: Move most inline styles out of line
2025-06-17 22:56:25 +01:00
Nuno Coração
250b39c40e Merge pull request #2213 from rlan/feat/line-sharing-link
❇️ Add LINE to sharing links
2025-06-17 22:48:00 +01:00
Served Smart
cee01113cd 🐛 Fix: null error when no [[menu]] block is defined
- This fixes https://github.com/nunocoracao/blowfish/issues/2117
- Additionally this also removes unnecessary parameters in used functions
2025-06-16 19:59:48 +02:00
Chris Herborth
64d8a6267b Add icon for worktree.ca, a Gitea instance in Canada 2025-06-12 12:37:55 -04:00