Commit Graph

305 Commits

Author SHA1 Message Date
Nuno C.
e5fc548eb5 Merge pull request #2714 from ZhenShuo2021/feat/compact
💄 Style(article-link): truncate long summary
2026-01-12 00:53:58 +00:00
ZhenShuo Leo
1d275134ad style(list): see details
- Align list TOC wrapper with single TOC wrapper
- Adjust margin
2026-01-08 00:40:24 +08:00
ZhenShuo Leo
10083786cb style(card-link): add line clamp and BEM classes
Add BEM class names for easier CSS targeting
2026-01-07 16:06:56 +08:00
ZhenShuo Leo
8c8a914fa9 style(admonition): tweak the dark bg
warning and caution are slightly different from the others to make them more distinguishable
2026-01-04 19:26:32 +08:00
ZhenShuo Leo
4a16b20d3f style(header): tweak fixed-fill-blur 2026-01-04 19:25:56 +08:00
ZhenShuo Leo
0083e927c1 style(doc): remove opacity from homepage contributors
images look gray
2026-01-04 01:28:53 +08:00
ZhenShuo Leo
14a2ea0c80 style(doc): build css for the new homepage 2026-01-04 01:28:35 +08:00
ZhenShuo Leo
287e397b82 fix(mobile-menu): body not scrollable 2026-01-02 20:09:50 +08:00
Nuno C.
949e367a01 Merge pull request #2684 from RxChi1d/feat/add-video-shortcode
feat(shortcodes): add video shortcode
2026-01-01 23:26:38 +00:00
Nuno C.
1aba089483 Merge pull request #2683 from ZhenShuo2021/fix/header
 Feat: improve the appearance of the header
2026-01-01 23:24:20 +00:00
Nuno C.
45b6a073e0 Merge pull request #2692 from ZhenShuo2021/fix/bold
🐛 Fix: make bold text inherit parent color
2026-01-01 23:19:53 +00:00
Nuno C.
f408467bf5 Merge pull request #2673 from nunocoracao/dependabot/npm_and_yarn/dev/tailwindcss/cli-4.1.18
📌 bump @tailwindcss/cli from 4.1.17 to 4.1.18
2026-01-01 23:16:42 +00:00
ZhenShuo Leo
85a781a998 fix: make bold text inherit parent color
For example, given the following HTML:

<p class="text-primary-500"><strong>Hello</strong> world</p>

The rendered result shows `Hello` in the neutral color, while `world` is rendered in the primary color.

This change applies `color: inherit` to bold text so that both uses the primary color.
2025-12-31 17:42:29 +08:00
rxchi1d
ef9486f794 feat(shortcodes): add video shortcode 2025-12-27 18:42:04 +08:00
ZhenShuo Leo
c78b3a1e6a fix: menu unreadable (#1790) 2025-12-27 17:33:20 +08:00
ZhenShuo Leo
230ee3ab16 feat: improve fixed-fill-blur
The original appearance is identical to `fixed-fill`
2025-12-27 17:32:04 +08:00
ZhenShuo Leo
8ab8807398 feat: better mobile menu 2025-12-27 17:32:00 +08:00
ZhenShuo Leo
522bdbe29e fix: menu vertical overflow 2025-12-27 17:31:53 +08:00
dependabot[bot]
446cf9541c 💄 Rebuild CSS 2025-12-24 05:02:32 +00:00
dependabot[bot]
6804d068cc 💄 Rebuild CSS 2025-12-24 05:02:09 +00: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
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
ZhenShuo Leo
07f2fec870 feat(admonition): polish
- sort by type names
- tweak colors of some types
- improve dark mode contrast
- prune css
- simplify render hook
2025-12-23 00:49:50 +08:00
rxchi1d
3f2891cc32 fix(admonitions): align paragraph spacing with prose 2025-12-22 15:42:07 +08:00
rxchi1d
57befe227f feat(admonitions): add header-only support 2025-12-22 14:18:31 +08: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
ff9a860af9 style: line highlight for linenos=inline 2025-12-08 16:29:15 +08:00
ZhenShuo Leo
20044af981 feat: add tabs 2025-12-01 20:24:26 +08:00
ZhenShuo Leo
7b5fe02079 feat(code): use github theme 2025-12-01 13:24:47 +08:00
ZhenShuo Leo
c5b51e3491 style: specify dark mode selector 2025-11-30 11:00:10 +08:00
ZhenShuo Leo
2d3642c62b style: improve hr contrast 2025-11-30 11:00:10 +08:00
ZhenShuo Leo
960681efaf style: improve blockquote contrast 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
f29e515147 style: improve code contrast 2025-11-30 11:00:10 +08:00
ZhenShuo Leo
31039584e8 style: add overlay for background blur 2025-11-29 04:10:47 +08:00
ZhenShuo Leo
0f105d2acb docs: add theme-switcher for color schemes 2025-11-27 14:53:07 +08:00
Nuno C.
b0e6c4e5fd Merge pull request #2607 from nunocoracao/dependabot/npm_and_yarn/dev/tailwindcss/cli-4.1.17
📌 bump @tailwindcss/cli from 4.1.16 to 4.1.17
2025-11-24 23:20:08 +00:00
dependabot[bot]
2b55f9aa68 💄 Rebuild CSS 2025-11-12 05:02:17 +00: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.
407cdb66c5 Merge pull request #2567 from ZhenShuo2021/feat/color-theme
 Feat: add new color schemes "github" and "one-light"
2025-11-03 22:17:10 +00:00
dependabot[bot]
aee443b910 💄 Rebuild CSS 2025-10-29 05:02:26 +00:00
ZhenShuo Leo
a05ba20c85 feat: add new color scheme "one-light" 2025-10-20 21:34:16 +08:00
ZhenShuo Leo
be89d0e2b3 feat: add new color scheme "github" 2025-10-20 21:34:16 +08:00
ZhenShuo Leo
de68f8d46e chore: rebuild CSS for the new release v2.91.0 2025-10-15 00:26:29 +08:00
Nuno C.
452bdd408b Merge branch 'dev' into main 2025-10-14 10:16:20 +01:00