530 Commits

Author SHA1 Message Date
Nuno C.
428b89860a Merge pull request #2599 from nunocoracao/dependabot/npm_and_yarn/dev/mermaid-11.12.1
📌 bump mermaid from 11.12.0 to 11.12.1
2025-11-24 23:21:03 +00: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
dependabot[bot]
3b9a4032a7 📦 Update packaged Mermaid 2025-11-05 05:02:53 +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
Nuno C.
f768428e0b Merge pull request #2559 from nunocoracao/dependabot/npm_and_yarn/dev/katex-0.16.25 2025-10-17 07:43:15 +01:00
dependabot[bot]
bca3c4dd99 📦 Update packaged ChartJS 2025-10-15 05:02:31 +00:00
dependabot[bot]
ee8703a515 📦 Update packaged KaTeX 2025-10-15 05:02:29 +00: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
Nuno C.
b29c6614dc Merge branch 'dev' into feat/image-position 2025-10-14 10:14:18 +01: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.
9b6ed820e9 Merge pull request #2509 from ZhenShuo2021/fix/terms-typo
🐛 Fix: multiple small patches
2025-10-14 09:55:46 +01:00
ZhenShuo Leo
925065a5bd feat(mermaid): support dark mode 2025-10-11 15:24:21 +08:00
ZhenShuo Leo
40eea78d8c chore(footer): use logical properties 2025-10-11 03:10:00 +08:00
ZhenShuo Leo
c9c8a36c16 fix: article-pagination
- simplify html
- fix rtl item alignment
- fix empty span tag when showDate is false
- align hover effect with other element, removes group hover underline
2025-10-11 15:19:36 +08:00
ZhenShuo Leo
9b35cc2bae fix(toc): too wide when no related contents 2025-10-11 15:19:36 +08:00
ZhenShuo Leo
d8ea1d81b5 fix: article shortcode padding 2025-10-11 15:19:35 +08:00
ZhenShuo Leo
9665fe953c fix(header): align width with body
remove all horizontal padding
align layout padding settings with body
split body classes into three variables
2025-10-11 15:19:35 +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
Nuno C.
c47160936b Merge pull request #2529 from nunocoracao/dependabot/npm_and_yarn/dev/katex-0.16.23 2025-10-09 13:28:40 +01: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
dependabot[bot]
84185205e1 📦 Update packaged KaTeX 2025-10-08 05:02:53 +00:00
dependabot[bot]
4417b41319 💄 Rebuild CSS 2025-10-08 05:02:33 +00:00
dependabot[bot]
30a1bd281e 💄 Rebuild CSS 2025-10-07 22:16:33 +00:00
dependabot[bot]
da627a0cc7 💄 Rebuild CSS 2025-10-07 17:42:10 +00:00
Nuno C.
3aa845e5cc Merge pull request #2502 from nunocoracao/dependabot/npm_and_yarn/dev/mermaid-11.12.0
📌 Bump mermaid from 11.11.0 to 11.12.0
2025-10-07 18:39:41 +01:00
dependabot[bot]
d7fc5acd05 📦 Update packaged Mermaid 2025-09-24 05:02:36 +00:00
dependabot[bot]
44c20b3cf0 💄 Rebuild CSS 2025-09-24 05:02:17 +00:00
ZhenShuo Leo
1159e78cc3 chore: rebuild css 2025-09-23 18:32:59 +08:00
ZhenShuo Leo
65ab50a901 fix(baseof): add offset to skip to main content 2025-09-23 17:57:58 +08:00
ZhenShuo Leo
b777d4e59e fix(scroll-to-top): resolve overlap with buy me a coffee button 2025-09-23 17:57:58 +08:00
dependabot[bot]
1cb5e9ab2f 💄 Rebuild CSS 2025-09-17 05:02:38 +00:00
Nuno C.
df859f1d70 Merge pull request #2482 from iunn-sh/main
 Feat: add cloud & cloud-moon icon
2025-09-16 11:11:08 +01: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
ZhenShuo Leo
e3194eca1e chore(article-link): remove unused .Params.images
The `.Params.images` and `.Site.Params.images` have existed since the creation of the files
but have never been referenced in the documentation since their initial commit (3cc1569fc1)

Also, Meta tags are not valid inside card elements
2025-09-16 15:08:22 +08:00
ish
5fe9f56561 Merge branch 'nunocoracao:main' into main 2025-09-16 10:00:05 +08:00
Nuno C.
c14887e992 Merge pull request #2456 from ZhenShuo2021/fix/a11y
🐛 Fix(a11y): multiple a11y issues
2025-09-15 23:04:54 +01:00
Nuno C.
e6cd7a9948 Merge pull request #2426 from ZhenShuo2021/fix/code-copy
🐛 Fix(code.js): filter line number on code copy
2025-09-15 23:03:55 +01:00
Nuno C.
d8add6e15f Merge pull request #2399 from ZhenShuo2021/feat/enable-tailwind-colors
 Feat(tailwind): enable default colors
2025-09-15 23:02:55 +01:00
Nuno C.
295ce738be Merge pull request #2393 from ZhenShuo2021/fix/rtl-layout-issues
🐛 Fix(rtl): multiple layout issues
2025-09-15 23:02:11 +01:00
Nuno C.
ed6fb66bbe Merge pull request #2391 from ZhenShuo2021/refactor/logical-properties
♻️ Refactor(CSS): use logical properties for language direction
2025-09-15 23:01:41 +01:00
Nuno C.
2ff69874c1 Merge pull request #2394 from ZhenShuo2021/fix/fetch-repo
🐛 Fix(fetch-repo): skip DOM updates for invalid remote data
2025-09-15 22:48:56 +01:00
ish
c648324aca fix current color 2025-09-10 13:08:39 +08:00