Commit Graph

222 Commits

Author SHA1 Message Date
Nuno C. 270a0a74d2 Merge pull request #2868 from L0kayata/dev
🐛 Fix `carousel` caption height overflow and layout jump
2026-04-13 22:41:46 +01:00
Nuno C. d35a493ba0 Merge pull request #2837 from schneekluth/feat-email-shortcode
Shortcode for obfuscated mailto email link
2026-04-13 22:29:29 +01:00
Unknown Developer f04dd3659a Update link formatting in article shortcode 2026-04-09 19:05:14 +04:00
Eric Gusmao ee2fc91522 Fix Hugo v0.156.0 template deprecations 2026-04-03 14:13:30 -03:00
L0kayata 1f0a84a24b fix: Lock carousel caption area to measured max height
Measure caption heights across slides at runtime and apply a shared min-height so switching between slides with and without caption text does not cause layout jump.

Keep this behavior scoped to carousels with captions and recalculate on load and resize for responsive stability.
2026-03-27 12:27:59 +01:00
L0kayata 877a2609e9 fix: Fix carousel caption flow and scope controls to image bounds
Move carousel captions out of absolute positioning so they participate in normal height calculation and no longer overlap content below the carousel.

Constrain indicators and navigation buttons to the image region using container-based sizing, so controls do not extend into the caption area.
2026-03-27 12:27:21 +01:00
schneekluth 1bec932730 Add email link shortcode to layouts
Added E-Mail Shortcode for new E-Mail obfuscation feature introduced in [v2.99.0](]https://github.com/nunocoracao/blowfish/releases/tag/v2.99.0 based on this discussion https://github.com/nunocoracao/blowfish/discussions/2828#discussioncomment-16096521)
2026-03-12 13:59:20 +01:00
Nuno C. 0036fb8c02 Merge pull request #2792 from alxhslm/fix-accordian-chevron
Fix: make accordian chevron behaviour match admonition
2026-03-11 00:27:33 +00:00
Nuno C. e6c8e05040 Merge pull request #2795 from alxhslm/tab-nested
fix: Tab shortcode supports nested shortcodes
2026-03-11 00:27:03 +00:00
Nuno C. 2d5bf43ea3 Merge pull request #2813 from ZhenShuo2021/gist
 Feat: add CSS for gist shortcode
2026-03-11 00:23:11 +00:00
felix 641c16a150 Add optional align parameter to accordion items shoortcode. Updated docs. 2026-02-25 20:36:19 +03:00
ZhenShuo Leo 812effc613 feat: gist css 2026-02-25 22:44:09 +08:00
Alex Haslam 19a4e5f5af Add md flag 2026-02-16 09:27:51 +00:00
Alex Haslam b61ca7359f Make chevron rotate 2026-02-15 21:55:53 +00:00
Nuno C. 58799b9847 Merge pull request #2779 from suidpit/typeit-random-lines
Feat: typeit support for random shuffle with multiple lines
2026-02-11 21:53:06 +00:00
Nuno C. 8bdb64c6d7 Merge pull request #2773 from alxhslm/carousel-captions
feat: Add captions argument to carousel shortcode
2026-02-11 21:49:26 +00:00
Nuno C. 326e3536e9 Merge pull request #2771 from alxhslm/gallery-captions
Feat: Allow images inside gallery to have captions
2026-02-11 21:47:24 +00:00
suidpit 38a04ae80b typeit multiple lines shuffled in random order 2026-02-10 12:30:17 +01:00
Alex Haslam 712cb48fb2 Allow markdown captions 2026-02-08 15:43:16 +00:00
Alex Haslam 73580313b4 Make caption visible again 2026-02-08 14:55:48 +00:00
Alex Haslam b509f51f9b Fix horizontal scrolling issue 2026-02-08 14:02:07 +00:00
Alex Haslam 76a23c05af Reduce the diff 2026-02-06 13:09:58 +00:00
Alex Haslam 3dd3d0fae8 Make captions move 2026-02-06 13:06:58 +00:00
Alex Haslam 166a326dc7 Add captions argument to carousel 2026-02-06 12:56:14 +00:00
Alex Haslam 76edd20456 Allow figure to be used inside a gallery 2026-02-04 18:00:52 +00:00
Alex Haslam eb09b4ec25 Add tab parameter 2026-02-04 17:41:55 +00:00
Alex Haslam 827fab1ef9 Add space between items 2026-01-31 20:26:10 +00:00
Alex Haslam 63da02addc Add md flag 2026-01-31 20:25:24 +00:00
Alex Haslam 750766a445 Add separated flag 2026-01-31 20:18:41 +00:00
Alex Haslam 7a9baa1c50 Update to use existing compiled classes 2026-01-31 20:18:41 +00:00
Alex Haslam b096d35b85 Implement accordion shortcode 2026-01-31 20:18:25 +00:00
Nuno C. 7a23e560c3 Merge pull request #2715 from ZhenShuo2021/stylee
💄 Style: multiple appearance improvements
2026-01-12 00:53:25 +00:00
ZhenShuo Leo 6fe75d5277 feat(tabs): wrap items 2026-01-04 19:29:38 +08:00
ZhenShuo Leo 601bb87559 feat(tabs): support default tab 2026-01-04 19:29:38 +08:00
ZhenShuo Leo dbb7d3f7f2 feat(tabs): support group 2026-01-04 19:29:38 +08:00
ZhenShuo Leo 2cac2bfe4a feat(tabs): support icon 2026-01-04 19:29:38 +08:00
ZhenShuo Leo c3e7d1b8b1 style(alert): add shadow to alert shortcode 2026-01-04 19:25:56 +08:00
rxchi1d ef9486f794 feat(shortcodes): add video shortcode 2025-12-27 18:42:04 +08:00
ZhenShuo Leo 7a1cfbb75d fix: overflow when the gallery is inside other containers [skip ci]
Fix the fix in #2653

This is a simple fix, hopefully it will be fully resolved in the future.
2025-12-23 02:23:21 +08:00
Nuno C. 9719d7ac6f Merge pull request #2653 from ZhenShuo2021/fix/gallery
🐛 Fix: gallery and carousel no width
2025-12-22 17:10:44 +00:00
ZhenShuo Leo 4422c4b517 fix: gallery and carousel wouldn't show without other statically sized elements 2025-12-15 20:26:04 +08:00
ZhenShuo Leo eda9fc9bc3 feat(tabs): better usage 2025-12-01 21:14:15 +08:00
ZhenShuo Leo 20044af981 feat: add tabs 2025-12-01 20:24:26 +08:00
Nuno C. a1509e9064 Merge pull request #2566 from ZhenShuo2021/fix/keyword
🐛 Fix(keyword): trim empty spaces
2025-11-03 22:16:10 +00:00
ZhenShuo Leo 1e99e63084 fix(keyword): trim empty spaces 2025-10-17 18:35:26 +08:00
ZhenShuo Leo 884d84363e Revert "perf(repo-card): only generate used CSS class"
This reverts commit af221fbf3b.

fix language dot colors in repo-card not displaying

This occurs because head.html is rendered before the page content,
making .Page.Store unavailable at that point in the template
execution order.

This issue doesn't appear in local development because page refreshes
trigger full re-renders, allowing the Store values to be properly
populated from shortcodes.

Alternative solutions considered:

1. templates.Defer: too complex and unreliable
2. Moving CSS to footer: confusing and delayed load
3. Inline styles: incurs CSP issue

Final I choose pre-generate CSS for all languages. After zstd
compression, the CSS file is only 8KB and benefits from browser
caching across all pages.
2025-10-17 14:38:24 +08:00
Nuno C. 01dafef575 Merge pull request #2533 from ZhenShuo2021/feat/mermaid-dark
 Feat(mermaid): support dark mode
2025-10-14 10:08:26 +01:00
Nuno C. 7f4e044464 Merge pull request #2532 from ZhenShuo2021/fix/render-image
🐛 Fix(render-image): correct srcset and HTML structure
2025-10-14 10:07:52 +01:00
ZhenShuo Leo 925065a5bd feat(mermaid): support dark mode 2025-10-11 15:24:21 +08:00
ZhenShuo Leo 8bfa9926c7 fix(render-image): improper srcset usage
- correct srcset image w descriptor value
- use compressed image for src fallback
2025-10-11 15:07:20 +08:00