This commit is contained in:
taskylizard 2025-06-25 21:55:54 +00:00
parent 24a1fb0c6e
commit 7bd4a70aca
No known key found for this signature in database
GPG key ID: 1820131ED1A24120
7 changed files with 92 additions and 121 deletions

View file

@ -20,8 +20,12 @@
--vp-button-alt-hover-bg: #484848;
--vp-button-alt-hover-text: #f0eeee;
--vp-c-bg-elv: rgba(255, 255, 255, 0.7);
--vp-c-bg-mark: rgb(232, 232, 232);
/* Colors: Background */
--vp-c-bg: #ffffff;
--vp-c-bg-alt: #f6f6f7;
--vp-c-bg-elv: #ffffff;
--vp-c-bg-soft: #f6f6f7;
/* Colors: Custom Block */
/** Info */
@ -54,9 +58,10 @@
--vp-c-brand-soft: theme('colors.swarm.300');
/* Colors: Background */
--vp-c-bg: rgb(26, 26, 26);
--vp-c-bg-alt: rgb(23, 23, 23);
--vp-c-bg-elv: rgba(23, 23, 23, 0.8);
--vp-c-bg: #1a1a1a;
--vp-c-bg-alt: #151515;
--vp-c-bg-elv: #1f1f1f;
--vp-c-bg-soft: #1f1f1f;
/* Colors: Custom Block */
/** Info */
@ -103,11 +108,12 @@
text-decoration-style: solid;
}
::selection {
background-color: #5586a6;
background-color: var(--vp-c-brand-400, #5586a6);
.dark & {
background-color: #0f2c47;
background-color: var(--vp-c-brand-800, #0f2c47);
}
}
@ -164,94 +170,6 @@
}
}
.base64 {
min-width: 100%;
width: 0px;
white-space: pre-wrap;
}
/* Make clicks pass-through */
#nprogress {
pointer-events: none;
& .bar {
background: var(--vp-c-brand-1);
position: fixed;
z-index: 1031;
top: 0;
left: 0;
width: 100%;
height: 2px;
}
/* Fancy blur effect */
& .peg {
display: block;
position: absolute;
right: 0px;
width: 100px;
height: 100%;
box-shadow:
0 0 10px var(--vp-c-brand-1),
0 0 5px var(--vp-c-brand-1);
opacity: 1;
-webkit-transform: rotate(3deg) translate(0px, -4px);
-ms-transform: rotate(3deg) translate(0px, -4px);
transform: rotate(3deg) translate(0px, -4px);
}
& .spinner {
display: block;
position: fixed;
z-index: 1031;
top: 15px;
right: 15px;
}
& .spinner-icon {
width: 18px;
height: 18px;
box-sizing: border-box;
border: solid 2px transparent;
border-top-color: var(--vp-c-brand);
border-left-color: var(--vp-c-brand);
border-radius: 50%;
-webkit-animation: nprogress-spinner 400ms linear infinite;
animation: nprogress-spinner 400ms linear infinite;
}
}
.nprogress-custom-parent {
overflow: hidden;
position: relative;
}
.nprogress-custom-parent #nprogress .spinner,
.nprogress-custom-parent #nprogress .bar {
position: absolute;
}
@-webkit-keyframes nprogress-spinner {
0% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
}
}
@keyframes nprogress-spinner {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
#VPContent strong > a {
font-weight: bold;