From f3edfba62de2ff11d78fa597ba4f8b539c9b49ef Mon Sep 17 00:00:00 2001 From: radishzzz Date: Thu, 3 Apr 2025 00:20:44 +0100 Subject: [PATCH] chore: update pinned icon position, scrollbar style and katex mathematical demo --- pnpm-lock.yaml | 22 +-- src/components/PostList.astro | 3 +- src/components/Widgets/Scrollbar.astro | 18 +-- .../KaTeX Mathematical Demo-en.md} | 11 +- .../examples/KaTeX Mathematical Demo-es.md | 151 ++++++++++++++++++ .../examples/KaTeX Mathematical Demo-ja.md | 151 ++++++++++++++++++ .../examples/KaTeX Mathematical Demo-ru.md | 151 ++++++++++++++++++ .../examples/KaTeX Mathematical Demo-zh-tw.md | 151 ++++++++++++++++++ .../examples/KaTeX Mathematical Demo-zh.md | 151 ++++++++++++++++++ 9 files changed, 783 insertions(+), 26 deletions(-) rename src/content/posts/{KaTeX Mathematical Demo.md => examples/KaTeX Mathematical Demo-en.md} (87%) create mode 100644 src/content/posts/examples/KaTeX Mathematical Demo-es.md create mode 100644 src/content/posts/examples/KaTeX Mathematical Demo-ja.md create mode 100644 src/content/posts/examples/KaTeX Mathematical Demo-ru.md create mode 100644 src/content/posts/examples/KaTeX Mathematical Demo-zh-tw.md create mode 100644 src/content/posts/examples/KaTeX Mathematical Demo-zh.md diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 04153f9..03b2cf2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1683,8 +1683,8 @@ packages: duplexer@0.1.2: resolution: {integrity: sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==} - electron-to-chromium@1.5.129: - resolution: {integrity: sha512-JlXUemX4s0+9f8mLqib/bHH8gOHf5elKS6KeWG3sk3xozb/JTq/RLXIv8OKUWiK4Ah00Wm88EFj5PYkFr4RUPA==} + electron-to-chromium@1.5.130: + resolution: {integrity: sha512-Ou2u7L9j2XLZbhqzyX0jWDj6gA8D3jIfVzt4rikLf3cGBa0VdReuFimBKS9tQJA4+XpeCxj1NoWlfBXzbMa9IA==} emmet@2.4.11: resolution: {integrity: sha512-23QPJB3moh/U9sT4rQzGgeyyGIrcM+GH5uVYg2C6wZIxAIJq7Ng3QLT79tl8FUwDXhyq9SusfknOrofAKqvgyQ==} @@ -1750,8 +1750,8 @@ packages: peerDependencies: eslint: '>=6.0.0' - eslint-compat-utils@0.6.4: - resolution: {integrity: sha512-/u+GQt8NMfXO8w17QendT4gvO5acfxQsAKirAt0LVxDnr2N8YLCVbregaNc/Yhp7NM128DwCaRvr8PLDfeNkQw==} + eslint-compat-utils@0.6.5: + resolution: {integrity: sha512-vAUHYzue4YAa2hNACjB8HvUQj5yehAZgiClyFVVom9cP8z5NSFq3PwB/TtJslN2zAMgRX6FCFCjYBbQh71g5RQ==} engines: {node: '>=12'} peerDependencies: eslint: '>=6.0.0' @@ -5319,7 +5319,7 @@ snapshots: browserslist@4.24.4: dependencies: caniuse-lite: 1.0.30001707 - electron-to-chromium: 1.5.129 + electron-to-chromium: 1.5.130 node-releases: 2.0.19 update-browserslist-db: 1.1.3(browserslist@4.24.4) @@ -5578,7 +5578,7 @@ snapshots: duplexer@0.1.2: {} - electron-to-chromium@1.5.129: {} + electron-to-chromium@1.5.130: {} emmet@2.4.11: dependencies: @@ -5659,7 +5659,7 @@ snapshots: eslint: 9.23.0(jiti@2.4.2) semver: 7.7.1 - eslint-compat-utils@0.6.4(eslint@9.23.0(jiti@2.4.2)): + eslint-compat-utils@0.6.5(eslint@9.23.0(jiti@2.4.2)): dependencies: eslint: 9.23.0(jiti@2.4.2) semver: 7.7.1 @@ -5702,7 +5702,7 @@ snapshots: '@typescript-eslint/types': 8.29.0 astro-eslint-parser: 1.2.2 eslint: 9.23.0(jiti@2.4.2) - eslint-compat-utils: 0.6.4(eslint@9.23.0(jiti@2.4.2)) + eslint-compat-utils: 0.6.5(eslint@9.23.0(jiti@2.4.2)) globals: 15.15.0 postcss: 8.5.3 postcss-selector-parser: 7.1.0 @@ -5762,7 +5762,7 @@ snapshots: dependencies: '@eslint-community/eslint-utils': 4.5.1(eslint@9.23.0(jiti@2.4.2)) eslint: 9.23.0(jiti@2.4.2) - eslint-compat-utils: 0.6.4(eslint@9.23.0(jiti@2.4.2)) + eslint-compat-utils: 0.6.5(eslint@9.23.0(jiti@2.4.2)) eslint-json-compat-utils: 0.2.1(eslint@9.23.0(jiti@2.4.2))(jsonc-eslint-parser@2.4.0) espree: 10.3.0 graphemer: 1.4.0 @@ -5821,7 +5821,7 @@ snapshots: dependencies: debug: 4.4.0 eslint: 9.23.0(jiti@2.4.2) - eslint-compat-utils: 0.6.4(eslint@9.23.0(jiti@2.4.2)) + eslint-compat-utils: 0.6.5(eslint@9.23.0(jiti@2.4.2)) lodash: 4.17.21 toml-eslint-parser: 0.10.0 transitivePeerDependencies: @@ -5869,7 +5869,7 @@ snapshots: debug: 4.4.0 escape-string-regexp: 4.0.0 eslint: 9.23.0(jiti@2.4.2) - eslint-compat-utils: 0.6.4(eslint@9.23.0(jiti@2.4.2)) + eslint-compat-utils: 0.6.5(eslint@9.23.0(jiti@2.4.2)) natural-compare: 1.4.0 yaml-eslint-parser: 1.3.0 transitivePeerDependencies: diff --git a/src/components/PostList.astro b/src/components/PostList.astro index f54633d..bb5252c 100644 --- a/src/components/PostList.astro +++ b/src/components/PostList.astro @@ -45,13 +45,14 @@ function getPostPath(post: Post) { data-disable-transition-on-theme > {post.data.title} + {/* pinned icon */} {pinned && (