mirror of
https://github.com/andatoshiki/toshiki-notebook.git
synced 2026-06-06 09:16:45 +00:00
fix: fix syntax error in gitignore for ignoring temp http request processing xml config
This commit is contained in:
parent
f0f4f255df
commit
8d50cea667
2
.gitignore
vendored
2
.gitignore
vendored
@ -134,7 +134,7 @@ dist
|
|||||||
cache
|
cache
|
||||||
|
|
||||||
# node generated xmlhttprequest file
|
# node generated xmlhttprequest file
|
||||||
.node-xmlhttprequest-sync-*]
|
.node-xmlhttprequest-sync-*
|
||||||
|
|
||||||
# frontmatter cms config
|
# frontmatter cms config
|
||||||
.frontmatter
|
.frontmatter
|
||||||
@ -1,35 +1,35 @@
|
|||||||
/* Dark/light theme */
|
/* Dark/light theme */
|
||||||
:root:not(.dark) {
|
:root:not(.dark) {
|
||||||
--vp-code-block-bg: rgba(125,125,125,0.04);
|
--vp-code-block-bg: rgba(125, 125, 125, 0.04);
|
||||||
--vp-code-copy-code-active-text: var(--vp-c-text-2);
|
--vp-code-copy-code-active-text: var(--vp-c-text-2);
|
||||||
--vp-code-copy-code-hover-bg: rgba(125,125,125,0.1);
|
--vp-code-copy-code-hover-bg: rgba(125, 125, 125, 0.1);
|
||||||
--vp-code-tab-divider: var(--vp-c-mute-dark);
|
--vp-code-tab-divider: var(--vp-c-mute-dark);
|
||||||
--vp-code-tab-hover-text-color: var(--vp-c-text-1);
|
--vp-code-tab-hover-text-color: var(--vp-c-text-1);
|
||||||
/* fix contrast: lang name on gray code block */
|
/* fix contrast: lang name on gray code block */
|
||||||
--vp-c-text-dark-3: rgba(180, 180, 180, 0.7);
|
--vp-c-text-dark-3: rgba(180, 180, 180, 0.7);
|
||||||
}
|
}
|
||||||
:root.dark {
|
:root.dark {
|
||||||
--vp-code-block-bg: rgba(0,0,0,0.2);
|
--vp-code-block-bg: rgba(0, 0, 0, 0.2);
|
||||||
/* fix lang name: check the same above (this is the default) */
|
/* fix lang name: check the same above (this is the default) */
|
||||||
--vp-c-text-dark-3: rgba(235, 235, 235, 0.38);
|
--vp-c-text-dark-3: rgba(235, 235, 235, 0.38);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hide block based on theme */
|
/* Hide block based on theme */
|
||||||
html:not(.dark) pre.shiki[class*="dark"] {
|
html:not(.dark) pre.shiki[class*='dark'] {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
html:not(.dark) pre.shiki[class*="light"] {
|
html:not(.dark) pre.shiki[class*='light'] {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
html.dark pre.shiki[class*="dark"] {
|
html.dark pre.shiki[class*='dark'] {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
html.dark pre.shiki[class*="light"] {
|
html.dark pre.shiki[class*='light'] {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* VitePress Twoslash */
|
/* VitePress Twoslash */
|
||||||
:root {
|
:root {
|
||||||
--vp-twoslash-c-annotation-fg: var(--vp-c-text-1);
|
--vp-twoslash-c-annotation-fg: var(--vp-c-text-1);
|
||||||
|
|
||||||
--vp-twoslash-c-brand: var(--vp-c-brand);
|
--vp-twoslash-c-brand: var(--vp-c-brand);
|
||||||
@ -54,20 +54,20 @@
|
|||||||
--vp-twoslash-c-query-bg: var(--vp-c-mute-dark);
|
--vp-twoslash-c-query-bg: var(--vp-c-mute-dark);
|
||||||
--vp-twoslash-c-query-fg-2: var(--vp-c-text-2);
|
--vp-twoslash-c-query-fg-2: var(--vp-c-text-2);
|
||||||
--vp-twoslash-c-query-fg: var(--vp-c-text-1);
|
--vp-twoslash-c-query-fg: var(--vp-c-text-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fix tab color */
|
/* Fix tab color */
|
||||||
.vp-code-group .tabs label {
|
.vp-code-group .tabs label {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
--vp-code-tab-text-color: var(--vp-c-text-2);
|
--vp-code-tab-text-color: var(--vp-c-text-2);
|
||||||
--vp-code-tab-active-text-color: var(--vp-c-text-1);
|
--vp-code-tab-active-text-color: var(--vp-c-text-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Component: Button
|
* Component: Button
|
||||||
* -------------------------------------------------------------------------- */
|
* -------------------------------------------------------------------------- */
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--vp-button-brand-border: var(--vp-c-brand-light);
|
--vp-button-brand-border: var(--vp-c-brand-light);
|
||||||
--vp-button-brand-text: var(--vp-c-text-dark-1);
|
--vp-button-brand-text: var(--vp-c-text-dark-1);
|
||||||
--vp-button-brand-bg: var(--vp-c-brand);
|
--vp-button-brand-bg: var(--vp-c-brand);
|
||||||
@ -77,53 +77,53 @@
|
|||||||
--vp-button-brand-active-border: var(--vp-c-brand-light);
|
--vp-button-brand-active-border: var(--vp-c-brand-light);
|
||||||
--vp-button-brand-active-text: var(--vp-c-text-dark-1);
|
--vp-button-brand-active-text: var(--vp-c-text-dark-1);
|
||||||
--vp-button-brand-active-bg: var(--vp-button-brand-bg);
|
--vp-button-brand-active-bg: var(--vp-button-brand-bg);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Component: Algolia
|
* Component: Algolia
|
||||||
* -------------------------------------------------------------------------- */
|
* -------------------------------------------------------------------------- */
|
||||||
|
|
||||||
.DocSearch {
|
.DocSearch {
|
||||||
--docsearch-primary-color: var(--vp-c-brand) !important;
|
--docsearch-primary-color: var(--vp-c-brand) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Site
|
* Site
|
||||||
* -------------------------------------------------------------------------- */
|
* -------------------------------------------------------------------------- */
|
||||||
|
|
||||||
.VPImage.logo {
|
.VPImage.logo {
|
||||||
height: 1rem;
|
height: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dark [img-light] {
|
.dark [img-light] {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
html:not(.dark) [img-dark] {
|
html:not(.dark) [img-dark] {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Overrides */
|
/* Overrides */
|
||||||
|
|
||||||
.VPSocialLink {
|
.VPSocialLink {
|
||||||
transform: scale(0.9);
|
transform: scale(0.9);
|
||||||
}
|
}
|
||||||
|
|
||||||
.vp-doc th, .vp-doc td {
|
.vp-doc th,
|
||||||
|
.vp-doc td {
|
||||||
padding: 6px 10px;
|
padding: 6px 10px;
|
||||||
border: 1px solid #8882;
|
border: 1px solid #8882;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* h3 breaks SEO => replaced with h2 with the same size */
|
/* h3 breaks SEO => replaced with h2 with the same size */
|
||||||
.home-content h2 {
|
.home-content h2 {
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
font-size: 1.35rem;
|
font-size: 1.35rem;
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
img.resizable-img {
|
img.resizable-img {
|
||||||
width: unset;
|
width: unset;
|
||||||
height: unset;
|
height: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user