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
ZhenShuo Leo
81f2423d71
Merge branch 'dev' into feature/callout-tailwind
2025-12-23 01:21:40 +08:00
Nuno C.
b6c00249c6
Merge pull request #2656 from ZhenShuo2021/feat/codeblock-title
...
✨ Feat: support title in code block
2025-12-22 17:11:53 +00: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
Nuno C.
74650e4927
Merge pull request #2637 from ZhenShuo2021/feat/tabs
...
✨ Feat: add tabs shortcode
2025-12-22 17:09:40 +00:00
rxchi1d
775d5b1bbf
feat: add admonitions
2025-12-22 09:53:58 +08:00
ZhenShuo Leo
0e3bad2be7
feat(codeblock): add title support
2025-12-18 02:38:31 +08: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
20044af981
feat: add tabs
2025-12-01 20:24:26 +08:00
ZhenShuo Leo
c5b51e3491
style: specify dark mode selector
2025-11-30 11:00:10 +08:00
ZhenShuo Leo
bb99b59528
style: improve toc contrast
2025-11-30 11:00:10 +08:00
ZhenShuo Leo
32f452b25d
feat(chroma): use cascade layer to allow override via custom.css
...
This allows users to customize Chroma CSS without building the TailwindCSS manually.
For example, add this to `custom.css`:
```
.chroma,
.chroma,
.chroma:is(.dark *),
.chroma:is(.dark *) * {
color: unset;
background-color: unset;
font-weight: unset;
}
```
Then use:
```
hugo gen chromastyles --style=github | sed 's/\./html.dark ./' >> assets/css/custom.css
hugo gen chromastyles --style=github | sed 's/\./html:not(.dark) ./' >> exampleSite/assets/css/custom.css
```
2025-11-05 10:59:41 +08:00
Nuno C.
b29c6614dc
Merge branch 'dev' into feat/image-position
2025-10-14 10:14:18 +01:00
ZhenShuo Leo
9b35cc2bae
fix(toc): too wide when no related contents
2025-10-11 15:19:36 +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
ZhenShuo Leo
3918571644
chore(article-link): use old naming of css class name
...
though the new thumbnail--xxx naming is cleaner
but this kind of change should be postponed until a major release
2025-10-08 13:15:31 +08:00
ZhenShuo Leo
65ab50a901
fix(baseof): add offset to skip to main content
2025-09-23 17:57:58 +08: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
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
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
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
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
ZhenShuo Leo
262fda5deb
fix: right margin not blurred in firefox
2025-06-25 22:33:14 +08:00
Nuno Coração
f2e224a042
pretty run
2025-06-17 23:17:26 +01:00
Served Smart
9f85c0566e
♻️ refactor: Move most inline styles out of line
...
- Move out of line by using already defined css classes
- Move paddings out of line
- Move margins out of line
- Move z-indexes out of line
- Move center-relative-left out of line
2025-06-12 14:00:21 +02:00
Nuno Coração
8f17fb2b37
Merge pull request #2157 from ZhenShuo2021/fix/show-more-link
...
🐛 fix: restore cursor pointer on all buttons
2025-05-27 00:32:19 +01:00
Nuno Coração
35f31317e9
Merge pull request #2144 from ZhenShuo2021/fix/katex
...
🐛 fix: katex block overflow (#2138 )
2025-05-27 00:31:51 +01:00
Nuno Coração
248180fbc5
Merge pull request #2124 from ZhenShuo2021/fix/footnote
...
🐛 Fix: prevent header from blocking footnotes links
2025-05-27 00:21:46 +01:00
Nuno Coração
2abffc3e26
Merge pull request #2110 from ZhenShuo2021/fix/toc
...
✨ Improved Table of Contents Display
2025-05-27 00:04:31 +01:00
Nuno Coração
4ebf766331
Merge pull request #2114 from ZhenShuo2021/docs/codeblock-lang
...
📝 Docs: update codeblock language
2025-05-27 00:01:42 +01:00
ZhenShuo Leo
5afceca56a
🐛 fix: make cursor pointer correctly on all buttons
...
Restore button CSS behavior from ef5186c
ef5186ce4c/assets/css/compiled/main.css (L522)
2025-05-25 04:58:43 +08:00
ZhenShuo Leo
30d74227df
🐛 fix: cursor pointer on all buttons
2025-05-25 04:27:38 +08:00
ZhenShuo Leo
3d0b59f413
🐛 fix: katex block overflow ( #2138 )
2025-05-14 20:47:18 +08:00
ZhenShuo Leo
8fe07b5550
chore: tweak distance for context
2025-05-12 22:47:16 +08:00
ZhenShuo Leo
45c5ddbdaf
🐛 Fix: prevent header from blocking footnotes links
2025-05-07 19:27:16 +08:00
ZhenShuo Leo
adc828128d
🐛 Fix: codeblock highlight in .prose-invert
2025-05-06 20:03:13 +08:00
ZhenShuo Leo
7c13ba985f
🐛 Fix: truncation text in copy-button
2025-05-06 17:25:46 +08:00
ZhenShuo Leo
c59cb293bf
✨ Feat: Prevent ToC flicker on initial load
...
Use CSS to control ToC height instead of JavaScript to prevent flickering.
2025-05-05 08:30:34 +08:00
ZhenShuo Leo
6fb8b945d7
🐛 Table of Contents takes too much space ( #1607 )
2025-05-05 08:27:22 +08:00
Hudson
e8d1c4bd0b
fix tailwindcss build issues
...
related to #1985
2025-02-20 21:59:21 +11:00
Nuno Coração
de1fa4a58d
fix https://github.com/nunocoracao/blowfish/issues/1695
2024-09-03 23:40:54 +01:00