mirror of
https://github.com/andatoshiki/toshiki-notebook.git
synced 2026-06-06 09:16:45 +00:00
Compare commits
No commits in common. "0f0d6c1f00d0501292be6177c8544271a554e552" and "ce0aab671816b40de9348ad565e8b42604fb3b40" have entirely different histories.
0f0d6c1f00
...
ce0aab6718
@ -1,6 +1,6 @@
|
|||||||
import { DefaultTheme } from 'vitepress/theme'
|
import { DefaultTheme } from 'vitepress/theme'
|
||||||
|
|
||||||
export const footer: DefaultTheme.Config['footer'] = {
|
export const footer: DefaultTheme.Config['footer'] = {
|
||||||
copyright: `Wrote with <span class="heart">💓</span> with 🌵 by <a href="https://toshiki.dev">Anda Toshiki</a> at <code>root@andatoshiki:/~</code> in the innovative HQ of <a href="https://asu.edu">ASU</a>`,
|
copyright: `Copyright © 2023-${new Date().getFullYear()} <a href="https://github.com/andatoshiki">Anda Toshiki</a>, <a href="https://github.com/lolilab">LoliLab</a> and <a href="https://github.com/toshikidev">Toshiki Dev</a> present <br /><span id="siteruntime_span"></span>`,
|
||||||
message: `Copyright © 2023-${new Date().getFullYear()} <a href="https://github.com/andatoshiki">Anda Toshiki</a>, <a href="https://github.com/lolilab">LoliLab</a> and <a href="https://github.com/toshikidev">Toshiki Dev</a> present <br /><span id="siteruntime_span"></span>`,
|
message: `Wrote with <i class="heart fa fa-heart fa-xs fa-beat"></i> and <i class="coffee fa fa-coffee fa-xs" aria-hidden="true"></i> by <a href="https://toshiki.dev">Anda Toshiki</a> at <code>root@andatoshiki:/~</code>`,
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,14 +14,10 @@ export const themeConfig: DefaultTheme.Config = {
|
|||||||
outlineBadges: false, // whether to show badge on outline
|
outlineBadges: false, // whether to show badge on outline
|
||||||
lastUpdatedText: 'Last updated', // config for last updated footer text
|
lastUpdatedText: 'Last updated', // config for last updated footer text
|
||||||
// documentation full text search config via algolia
|
// documentation full text search config via algolia
|
||||||
// algolia: {
|
algolia: {
|
||||||
// appId: 'G9IUR45K98',
|
appId: 'G9IUR45K98',
|
||||||
// apiKey: '8528cc91281d8112b28f508317a96dd3',
|
apiKey: '8528cc91281d8112b28f508317a96dd3',
|
||||||
// indexName: 'toshiki-notebook',
|
indexName: 'toshiki-notebook',
|
||||||
// },
|
|
||||||
// documentation full local index search
|
|
||||||
search: {
|
|
||||||
provider: 'local',
|
|
||||||
},
|
},
|
||||||
// documentation edit link
|
// documentation edit link
|
||||||
editLink: {
|
editLink: {
|
||||||
@ -32,7 +28,6 @@ export const themeConfig: DefaultTheme.Config = {
|
|||||||
socialLinks: [
|
socialLinks: [
|
||||||
{ icon: 'github', link: 'https://github.com/andatoshiki' },
|
{ icon: 'github', link: 'https://github.com/andatoshiki' },
|
||||||
{ icon: 'twitter', link: 'https://twitter.com/andatoshiki' },
|
{ icon: 'twitter', link: 'https://twitter.com/andatoshiki' },
|
||||||
{ icon: 'mastodon', link: 'https://mastodon.social/@andatoshiki' },
|
|
||||||
],
|
],
|
||||||
// custom vue components
|
// custom vue components
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
|||||||
@ -101,7 +101,6 @@ const homepageLink = `https://www.toshiki.dev`
|
|||||||
border-color: var(--vp-custom-block-tip-border);
|
border-color: var(--vp-custom-block-tip-border);
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
border-color: var(--vp-c-green-2);
|
|
||||||
background-color: var(--vp-custom-block-tip-bg);
|
background-color: var(--vp-custom-block-tip-bg);
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
color: var(--vp-c-text-2);
|
color: var(--vp-c-text-2);
|
||||||
|
|||||||
@ -81,9 +81,8 @@
|
|||||||
|
|
||||||
/* fontawesome heart pumping styles */
|
/* fontawesome heart pumping styles */
|
||||||
.heart {
|
.heart {
|
||||||
display: inline-block;
|
|
||||||
animation: heart 5s ease infinite;
|
animation: heart 5s ease infinite;
|
||||||
// color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes heart {
|
@keyframes heart {
|
||||||
@ -115,9 +114,9 @@
|
|||||||
/* font awesome heart pumping style ends */
|
/* font awesome heart pumping style ends */
|
||||||
|
|
||||||
// font awesome coffee brown color style
|
// font awesome coffee brown color style
|
||||||
// .coffee {
|
.coffee {
|
||||||
// color: rgb(88, 13, 13);
|
color: rgb(88, 13, 13);
|
||||||
// }
|
}
|
||||||
// font awesome coffee brown color style ends
|
// font awesome coffee brown color style ends
|
||||||
|
|
||||||
/* glonal code font styles */
|
/* glonal code font styles */
|
||||||
@ -431,9 +430,8 @@ html.dark {
|
|||||||
align-items: end;
|
align-items: end;
|
||||||
}
|
}
|
||||||
// vitepress homepage styles end
|
// vitepress homepage styles end
|
||||||
|
|
||||||
// macos styled pre tag code block styles with three colored dots
|
// macos styled pre tag code block styles with three colored dots
|
||||||
.vp-doc div[class*='language-'] {
|
.vp-doc div[class*=language-] {
|
||||||
position: relative;
|
position: relative;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@ -442,8 +440,8 @@ html.dark {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* No line number: add macOS-style small dot */
|
/* No line number: add macOS-style small dot */
|
||||||
.vp-doc div[class*='language-']::before {
|
.vp-doc div[class*=language-]::before {
|
||||||
content: '';
|
content: "";
|
||||||
display: block;
|
display: block;
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 12px;
|
top: 12px;
|
||||||
@ -457,16 +455,17 @@ html.dark {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* With line number: add background shadow */
|
/* With line number: add background shadow */
|
||||||
div[class*='language-'].vp-adaptive-theme.line-numbers-mode {
|
div[class*="language-"].vp-adaptive-theme.line-numbers-mode {
|
||||||
position: relative;
|
position: relative;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
// box-shadow: 0 10px 30px 0 rgb(0 0 0 / 40%);
|
// box-shadow: 0 10px 30px 0 rgb(0 0 0 / 40%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* With line number: add macOS-style small dot */
|
/* With line number: add macOS-style small dot */
|
||||||
.vp-doc div[class*='language-'].line-numbers-mode::before {
|
.vp-doc div[class*="language-"].line-numbers-mode::before {
|
||||||
content: '';
|
content: "";
|
||||||
display: block;
|
display: block;
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 12px;
|
top: 12px;
|
||||||
@ -479,6 +478,8 @@ div[class*='language-'].vp-adaptive-theme.line-numbers-mode {
|
|||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Move line number down to align with code; hide right vertical line */
|
/* Move line number down to align with code; hide right vertical line */
|
||||||
.vp-doc .line-numbers-wrapper {
|
.vp-doc .line-numbers-wrapper {
|
||||||
padding-top: 32px;
|
padding-top: 32px;
|
||||||
@ -487,7 +488,7 @@ div[class*='language-'].vp-adaptive-theme.line-numbers-mode {
|
|||||||
|
|
||||||
/* Rebuild the right vertical line for line numbers */
|
/* Rebuild the right vertical line for line numbers */
|
||||||
.vp-doc .line-numbers-wrapper::after {
|
.vp-doc .line-numbers-wrapper::after {
|
||||||
content: '';
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 38px;
|
top: 38px;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
|||||||
@ -23,12 +23,6 @@
|
|||||||
--vp-c-danger-2: var(--vp-c-red-2);
|
--vp-c-danger-2: var(--vp-c-red-2);
|
||||||
--vp-c-danger-3: var(--vp-c-red-3);
|
--vp-c-danger-3: var(--vp-c-red-3);
|
||||||
--vp-c-danger-soft: var(--vp-c-red-soft);
|
--vp-c-danger-soft: var(--vp-c-red-soft);
|
||||||
|
|
||||||
/* Color scheme for version 1.0.0-beta.7 and earlier */
|
|
||||||
--vp-c-brand-1: var(--vp-c-green-1);
|
|
||||||
--vp-c-brand-2: var(--vp-c-green-2);
|
|
||||||
--vp-c-brand-3: var(--vp-c-green-3);
|
|
||||||
--vp-c-brand-soft: var(--vp-c-green-soft);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
@ -43,13 +37,13 @@
|
|||||||
--vp-button-brand-active-bg: var(--vp-c-brand-1);
|
--vp-button-brand-active-bg: var(--vp-c-brand-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
// :root {
|
:root {
|
||||||
// --vp-home-hero-name-color: transparent;
|
--vp-home-hero-name-color: transparent;
|
||||||
// --vp-home-hero-name-background: -webkit-linear-gradient(120deg, #bd34fe 30%, #41d1ff);
|
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #bd34fe 30%, #41d1ff);
|
||||||
|
|
||||||
// --vp-home-hero-image-background-image: linear-gradient(-45deg, #bd34fe 50%, #47caff 50%);
|
--vp-home-hero-image-background-image: linear-gradient(-45deg, #bd34fe 50%, #47caff 50%);
|
||||||
// --vp-home-hero-image-filter: blur(40px);
|
--vp-home-hero-image-filter: blur(40px);
|
||||||
// }
|
}
|
||||||
|
|
||||||
@media (min-width: 640px) {
|
@media (min-width: 640px) {
|
||||||
:root {
|
:root {
|
||||||
@ -74,6 +68,7 @@
|
|||||||
--docsearch-primary-color: var(--vp-c-brand-1) !important;
|
--docsearch-primary-color: var(--vp-c-brand-1) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// github/mkdocs styled adomonition callout component css style tweak
|
// github/mkdocs styled adomonition callout component css style tweak
|
||||||
/* Light and dark color cards */
|
/* Light and dark color cards */
|
||||||
:root {
|
:root {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user