mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-blog.git
synced 2026-07-03 23:51:26 +00:00
Compare commits
No commits in common. "bdb1560dfb7d194ed440468cb5fd920a396518ce" and "c1db6602598ffbdd14b69bd54783b16ea6d301e6" have entirely different histories.
bdb1560dfb
...
c1db660259
4 changed files with 10 additions and 20 deletions
4
.github/workflows/deploy-blog.yml
vendored
4
.github/workflows/deploy-blog.yml
vendored
|
|
@ -20,7 +20,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
|
@ -55,7 +55,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout blog-content branch
|
- name: Checkout blog-content branch
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: blog-content
|
ref: blog-content
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,10 +20,6 @@ export default defineConfig({
|
||||||
},
|
},
|
||||||
integrations: [sitemap(), svelte()],
|
integrations: [sitemap(), svelte()],
|
||||||
markdown: {
|
markdown: {
|
||||||
syntaxHighlight: {
|
|
||||||
type: 'shiki',
|
|
||||||
excludeLangs: ['mermaid', 'math'],
|
|
||||||
},
|
|
||||||
rehypePlugins: [rehypeMermaid],
|
rehypePlugins: [rehypeMermaid],
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<div id="page-loading-indicator" aria-hidden="true" transition:persist>
|
<div id="page-loading-indicator" aria-hidden="true">
|
||||||
<span class="page-loading-spinner"></span>
|
<span class="page-loading-spinner"></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
@ -36,17 +36,18 @@
|
||||||
height: 2rem;
|
height: 2rem;
|
||||||
display: grid;
|
display: grid;
|
||||||
place-items: center;
|
place-items: center;
|
||||||
transform:
|
opacity: 0;
|
||||||
scale(1.3)
|
transform: scale(1.3);
|
||||||
translateY(-70px);
|
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
transition:
|
/* transition:
|
||||||
transform 160ms linear;
|
opacity 160ms ease,
|
||||||
|
transform 160ms ease; */
|
||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
}
|
}
|
||||||
|
|
||||||
#page-loading-indicator.is-active {
|
#page-loading-indicator.is-active {
|
||||||
transform: scale(1) translateY(0px);
|
opacity: 1;
|
||||||
|
transform: scale(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-loading-spinner {
|
.page-loading-spinner {
|
||||||
|
|
|
||||||
|
|
@ -49,13 +49,6 @@ td code {
|
||||||
background: rgba(127, 127, 127, 0.12);
|
background: rgba(127, 127, 127, 0.12);
|
||||||
}
|
}
|
||||||
|
|
||||||
article svg.flowchart,
|
|
||||||
article svg[class*="flowchart"],
|
|
||||||
article svg[id^="mermaid-"] {
|
|
||||||
display: block;
|
|
||||||
margin: 1.5rem auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
html {
|
html {
|
||||||
font-family: "Maple Mono", "Maple Mono CN", monospace;
|
font-family: "Maple Mono", "Maple Mono CN", monospace;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue