first commit

This commit is contained in:
Missdrop
2025-07-16 16:30:56 +00:00
commit 7ee33927cb
11326 changed files with 1230901 additions and 0 deletions

View File

@@ -0,0 +1,119 @@
.title-hover-animation {
display: inline-block;
position: relative;
border-bottom: none;
line-height: 1.3;
vertical-align: top;
color: var(--second-text-color);
}
.title-hover-animation::before {
content: '';
position: absolute;
width: 100%;
height: 2px;
bottom: -4px;
left: 0;
background-color: var(--second-text-color);
visibility: hidden;
transform: scaleX(0);
transition-property: color, background, box-shadow, border-color, visibility, transform;
transition-delay: 0s, 0s, 0s, 0s, 0s, 0s;
transition-duration: 0.2s, 0.2s, 0.2s, 0.2s, 0.2s, 0.2s;
transition-timing-function: ease, ease, ease, ease, ease-in-out, ease-in-out;
}
@-moz-keyframes fade-in-down {
0% {
opacity: 0;
transform: translateY(-50px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
@-webkit-keyframes fade-in-down {
0% {
opacity: 0;
transform: translateY(-50px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
@-o-keyframes fade-in-down {
0% {
opacity: 0;
transform: translateY(-50px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fade-in-down {
0% {
opacity: 0;
transform: translateY(-50px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
@-moz-keyframes icon-animate {
0%, 100% {
transform: scale(1);
}
10%, 30% {
transform: scale(0.88);
}
20%, 40%, 60%, 80% {
transform: scale(1.08);
}
50%, 70% {
transform: scale(1.08);
}
}
@-webkit-keyframes icon-animate {
0%, 100% {
transform: scale(1);
}
10%, 30% {
transform: scale(0.88);
}
20%, 40%, 60%, 80% {
transform: scale(1.08);
}
50%, 70% {
transform: scale(1.08);
}
}
@-o-keyframes icon-animate {
0%, 100% {
transform: scale(1);
}
10%, 30% {
transform: scale(0.88);
}
20%, 40%, 60%, 80% {
transform: scale(1.08);
}
50%, 70% {
transform: scale(1.08);
}
}
@keyframes icon-animate {
0%, 100% {
transform: scale(1);
}
10%, 30% {
transform: scale(0.88);
}
20%, 40%, 60%, 80% {
transform: scale(1.08);
}
50%, 70% {
transform: scale(1.08);
}
}

458
public/css/common/basic.css Normal file
View File

@@ -0,0 +1,458 @@
:root {
--background-color: #fff;
--background-color-transparent: rgba(255,255,255,0.6);
--background-color-transparent-15: rgba(255,255,255,0.15);
--background-color-transparent-40: rgba(255,255,255,0.4);
--background-color-transparent-80: rgba(255,255,255,0.8);
--second-background-color: #fafafa;
--third-background-color: #f7f7f7;
--third-background-color-transparent: rgba(241,241,241,0.6);
--primary-color: #40e0d0;
--first-text-color: #323739;
--second-text-color: #343a3c;
--third-text-color: #5c6669;
--fourth-text-color: #eaeced;
--default-text-color: #373d3f;
--invert-text-color: #bebec6;
--border-color: rgba(0,0,0,0.08);
--selection-color: #53e3d5;
--shadow-color-1: rgba(0,0,0,0.08);
--shadow-color-2: rgba(0,0,0,0.05);
--shadow-hover-color: rgba(0,0,0,0.28);
--scrollbar-color: #c1c1c1;
--scrollbar-color-hover: #a1a1a1;
--scroll-bar-bg-color: #fafafa;
--link-color: #323739;
--copyright-info-color: #c03;
--avatar-background-color: #06c;
--pjax-progress-bar-color: linear-gradient(45deg, #f10006, #ef5b00, #e59c01, #19ca05, #00cab5, #0264c8, #c303c3);
--archive-timeline-last-child-color: linear-gradient(to bottom, #e8e8e8 60%, rgba(0,0,0,0) 100%) 1 100%;
--note-blue-title-bg: #d6f7fb;
--note-red-title-bg: #fde9e9;
--note-cyan-title-bg: #e9fdf9;
--note-green-title-bg: #e9fde9;
--note-yellow-title-bg: #fdf9e9;
--note-gray-title-bg: #f9f9f9;
--note-type-title-bg: #fdf3e9;
--note-black-title-bg: #e9e9e9;
--note-purple-title-bg: #f9e9fd;
--home-banner-text-color: #fff;
--home-banner-icons-container-border-color: rgba(255,255,255,0.35);
--home-banner-icons-container-background-color: rgba(255,255,255,0.3);
--redefine-box-shadow: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-hover: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--redefine-box-shadow-flat: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-flat-hover: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--mermaid-theme: $mermaid-theme;
}
.light-mode {
--background-color: #fff;
--background-color-transparent: rgba(255,255,255,0.6);
--background-color-transparent-15: rgba(255,255,255,0.15);
--background-color-transparent-40: rgba(255,255,255,0.4);
--background-color-transparent-80: rgba(255,255,255,0.8);
--second-background-color: #fafafa;
--third-background-color: #f7f7f7;
--third-background-color-transparent: rgba(241,241,241,0.6);
--primary-color: #40e0d0;
--first-text-color: #323739;
--second-text-color: #343a3c;
--third-text-color: #5c6669;
--fourth-text-color: #eaeced;
--default-text-color: #373d3f;
--invert-text-color: #bebec6;
--border-color: rgba(0,0,0,0.08);
--selection-color: #53e3d5;
--shadow-color-1: rgba(0,0,0,0.08);
--shadow-color-2: rgba(0,0,0,0.05);
--shadow-hover-color: rgba(0,0,0,0.28);
--scrollbar-color: #c1c1c1;
--scrollbar-color-hover: #a1a1a1;
--scroll-bar-bg-color: #fafafa;
--link-color: #323739;
--copyright-info-color: #c03;
--avatar-background-color: #06c;
--pjax-progress-bar-color: linear-gradient(45deg, #f10006, #ef5b00, #e59c01, #19ca05, #00cab5, #0264c8, #c303c3);
--archive-timeline-last-child-color: linear-gradient(to bottom, #e8e8e8 60%, rgba(0,0,0,0) 100%) 1 100%;
--note-blue-title-bg: #d6f7fb;
--note-red-title-bg: #fde9e9;
--note-cyan-title-bg: #e9fdf9;
--note-green-title-bg: #e9fde9;
--note-yellow-title-bg: #fdf9e9;
--note-gray-title-bg: #f9f9f9;
--note-type-title-bg: #fdf3e9;
--note-black-title-bg: #e9e9e9;
--note-purple-title-bg: #f9e9fd;
--home-banner-text-color: #fff;
--home-banner-icons-container-border-color: rgba(255,255,255,0.35);
--home-banner-icons-container-background-color: rgba(255,255,255,0.3);
--redefine-box-shadow: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-hover: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--redefine-box-shadow-flat: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-flat-hover: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--mermaid-theme: $mermaid-theme;
}
.dark-mode {
--background-color: #202124;
--background-color-transparent: rgba(32,33,36,0.4);
--background-color-transparent-15: rgba(32,33,36,0.15);
--background-color-transparent-40: rgba(32,33,36,0.4);
--background-color-transparent-80: rgba(32,33,36,0.8);
--second-background-color: #242529;
--third-background-color: #292b2f;
--third-background-color-transparent: rgba(32,33,36,0.6);
--primary-color: #40e0d0;
--first-text-color: #d2d2d7;
--second-text-color: #cbcbd1;
--third-text-color: #9595a2;
--fourth-text-color: #36363e;
--default-text-color: #bebec6;
--invert-text-color: #373d3f;
--border-color: rgba(255,255,255,0.08);
--selection-color: #53e3d5;
--shadow-color-1: rgba(255,255,255,0.08);
--shadow-color-2: rgba(255,255,255,0.05);
--shadow-hover-color: rgba(69,69,69,0.28);
--scrollbar-color: #898989;
--scrollbar-color-hover: #a1a1a1;
--scroll-bar-bg-color: #2a2c30;
--link-color: #c5c5cc;
--copyright-info-color: #a30029;
--avatar-background-color: #005cb8;
--pjax-progress-bar-color: linear-gradient(45deg, #ea404a, #ea722f, #e9a71f, #67e559, #18ecec, #1b85f1, #ee1dee);
--archive-timeline-last-child-color: linear-gradient(to bottom, #323232 60%, rgba(255,255,255,0) 100%) 1 100%;
--note-blue-title-bg: #1e3e46;
--note-red-title-bg: #4e1e1e;
--note-cyan-title-bg: #1e4e4e;
--note-green-title-bg: #1e4e1e;
--note-yellow-title-bg: #4e4e1e;
--note-gray-title-bg: #4e4e4e;
--note-type-title-bg: #4e3a1e;
--note-black-title-bg: #1e1e1e;
--note-purple-title-bg: #4e1e4e;
--home-banner-text-color: #d1d1b6;
--home-banner-icons-container-border-color: rgba(197,197,197,0.35);
--home-banner-icons-container-background-color: rgba(197,197,197,0.3);
--redefine-box-shadow: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-hover: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--redefine-box-shadow-flat: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-flat-hover: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--mermaid-theme: $dark-mermaid-theme;
}
.title-hover-animation {
display: inline-block;
position: relative;
border-bottom: none;
line-height: 1.3;
vertical-align: top;
color: var(--second-text-color);
}
.title-hover-animation::before {
content: '';
position: absolute;
width: 100%;
height: 2px;
bottom: -4px;
left: 0;
background-color: var(--second-text-color);
visibility: hidden;
transform: scaleX(0);
transition-property: color, background, box-shadow, border-color, visibility, transform;
transition-delay: 0s, 0s, 0s, 0s, 0s, 0s;
transition-duration: 0.2s, 0.2s, 0.2s, 0.2s, 0.2s, 0.2s;
transition-timing-function: ease, ease, ease, ease, ease-in-out, ease-in-out;
}
@-moz-keyframes fade-in-down {
0% {
opacity: 0;
transform: translateY(-50px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
@-webkit-keyframes fade-in-down {
0% {
opacity: 0;
transform: translateY(-50px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
@-o-keyframes fade-in-down {
0% {
opacity: 0;
transform: translateY(-50px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fade-in-down {
0% {
opacity: 0;
transform: translateY(-50px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
@-moz-keyframes icon-animate {
0%, 100% {
transform: scale(1);
}
10%, 30% {
transform: scale(0.88);
}
20%, 40%, 60%, 80% {
transform: scale(1.08);
}
50%, 70% {
transform: scale(1.08);
}
}
@-webkit-keyframes icon-animate {
0%, 100% {
transform: scale(1);
}
10%, 30% {
transform: scale(0.88);
}
20%, 40%, 60%, 80% {
transform: scale(1.08);
}
50%, 70% {
transform: scale(1.08);
}
}
@-o-keyframes icon-animate {
0%, 100% {
transform: scale(1);
}
10%, 30% {
transform: scale(0.88);
}
20%, 40%, 60%, 80% {
transform: scale(1.08);
}
50%, 70% {
transform: scale(1.08);
}
}
@keyframes icon-animate {
0%, 100% {
transform: scale(1);
}
10%, 30% {
transform: scale(0.88);
}
20%, 40%, 60%, 80% {
transform: scale(1.08);
}
50%, 70% {
transform: scale(1.08);
}
}
.redefine-box-shadow {
box-shadow: var(--redefine-box-shadow);
}
.redefine-box-shadow-flat {
box-shadow: var(--redefine-box-shadow-flat);
}
@media (min-width: 640px) {
.redefine-box-shadow:hover {
box-shadow: var(--redefine-box-shadow-hover);
}
.redefine-box-shadow-flat:hover {
box-shadow: var(--redefine-box-shadow);
}
}
.ellipsis {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 100%;
}
* {
transition-property: color, background, box-shadow, border-color;
transition-delay: 0s, 0s, 0s, 0s;
transition-duration: 0.2s, 0.2s, 0.2s, 0.2s;
transition-timing-function: ease, ease, ease, ease;
}
html,
body {
position: relative;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
color: var(--default-text-color);
background: var(--background-color);
font-family: Geist Variable, Noto Sans SC, -apple-system, system-ui, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial;
font-weight: 400;
font-size: 16px;
line-height: 1.5;
--navbar-height: 70px;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
width: 14px;
height: 8px;
transition: all 0.2s ease;
display: block;
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
background: var(--scrollbar-color);
border-radius: 18px;
background-clip: content-box;
border: 3px solid transparent;
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
background-color: var(--scroll-bar-bg-color);
border: 1px solid var(--shadow-color-1);
}
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
background: var(--scrollbar-color-hover);
border-radius: 18px;
background-clip: content-box;
border: 3px solid transparent;
}
@media (max-width: 768px) {
html,
body {
font-size: 15.36px;
line-height: 1.44;
}
}
@media (max-width: 640px) {
html,
body {
font-size: 14.4px;
line-height: 1.35;
}
}
html .navbar-shrink,
body .navbar-shrink {
--navbar-height: 50.4px;
}
::selection {
background: var(--selection-color);
color: #fff;
}
ul,
ol,
li {
list-style: none;
}
a {
text-decoration: none;
color: var(--default-text-color);
}
a i,
a span {
color: var(--default-text-color);
}
a:hover,
a:active {
text-decoration: none !important;
color: var(--primary-color);
}
a:hover i,
a:active i,
a:hover span,
a:active span {
color: var(--primary-color);
}
img[lazyload] {
padding: 10px;
margin: 20px auto !important;
cursor: not-allowed;
pointer-events: none;
}
button {
padding: 0;
margin: 0;
border: 0;
outline: none;
cursor: pointer;
background: transparent;
}
.btn {
display: inline-block;
position: relative;
text-align: center;
cursor: pointer;
white-space: nowrap;
padding: 8px 16px;
background-color: var(--second-background-color) !important;
border-radius: 14px !important;
padding: 12px 16px !important;
text-decoration: none !important;
padding: 0;
border-radius: 18px;
box-sizing: border-box;
background: var(--background-color);
margin-bottom: 1rem;
box-shadow: var(--redefine-box-shadow);
box-shadow: var(--redefine-box-shadow-flat) !important;
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
box-shadow: var(--redefine-box-shadow);
transition-property: color, background, box-shadow, border-color, transform;
transition-delay: 0s, 0s, 0s, 0s, 0s;
transition-duration: 0.2s, 0.2s, 0.2s, 0.2s, 0.2s;
transition-timing-function: ease, ease, ease, ease, linear;
}
@media (max-width: 768px) {
.btn {
margin-bottom: 0.8rem;
}
}
@media (max-width: 640px) {
.btn {
margin-bottom: 0.6rem;
}
}
.btn:hover {
box-shadow: var(--redefine-box-shadow-hover);
}
@media (max-width: 768px) {
.btn {
padding: -4;
border-radius: 18px;
}
}
@media (max-width: 640px) {
.btn {
padding: -8;
border-radius: 18px;
}
}
.btn:hover {
box-shadow: var(--redefine-box-shadow-hover);
}
.btn:hover,
.btn:focus {
color: var(--primary-color);
background-color: var(--background-color) !important;
box-shadow: var(--redefine-box-shadow) !important;
}
.btn:active {
box-shadow: var(--redefine-box-shadow-flat) !important;
transform: scale(0.95);
transition: transform 0.1s ease;
background-color: var(--third-background-color) !important;
}
.clear {
clear: both;
}

View File

@@ -0,0 +1,114 @@
.code-container {
position: relative;
}
.code-container:hover .copy-button,
.code-container .copy-button:focus,
.code-container:hover .fold-button,
.code-container .fold-button:focus {
opacity: 1;
}
.fold-button {
cursor: pointer;
border-radius: 0 0 0 0;
display: inline-block;
font-weight: bold;
line-height: 1.8;
opacity: 0;
outline: 0;
padding: 6px 15px;
position: absolute;
vertical-align: middle;
white-space: nowrap;
font-size: 1rem;
color: var(--default-text-color);
-moz-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
user-select: none;
background: var(--scond-background-color);
border: 0;
right: 40px;
top: 0;
}
.copy-button {
cursor: pointer;
border-radius: 0 $redefine-border-radius-large 0 0;
display: inline-block;
font-weight: bold;
line-height: 1.8;
opacity: 0;
outline: 0;
padding: 6px 15px;
position: absolute;
vertical-align: middle;
white-space: nowrap;
font-size: 1rem;
color: var(--default-text-color);
-moz-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
user-select: none;
background: var(--scond-background-color);
border: 0;
right: 0;
top: 0;
}
.code-container {
background: var(--third-background-color);
border-radius: $redefine-border-radius-large;
box-shadow: var(--redefine-box-shadow-flat);
padding-top: 40px;
margin-top: 10px;
margin-bottom: 1.2rem;
position: relative;
}
.code-container figcaption {
font-weight: bold;
font-size: 16px;
position: absolute;
top: 12px;
left: 50%;
transform: translateX(-50%);
}
.code-container figcaption a {
margin-left: 10px;
}
.code-container::before {
position: absolute;
content: attr(data-rel);
line-height: 38px;
border-radius: $redefine-border-radius-full;
box-shadow: none;
height: 12px;
left: 12px;
position: absolute;
width: auto;
margin-left: 80px;
top: 0;
color: var(--default-text-color);
font-weight: bold;
font-size: 16px;
}
.code-container .folded {
height: 0 !important;
}
.code-container .folded figure {
height: 0 !important;
width: 0 !important;
overflow: hidden !important;
}
.code-container::after {
content: ' ';
position: absolute;
-webkit-border-radius: $redefine-border-radius-full;
border-radius: $redefine-border-radius-full;
background: #fc625d;
width: 12px;
height: 12px;
top: 0;
left: 20px;
margin-top: 13px;
-webkit-box-shadow: 20px 0px #fdbc40, 40px 0px #35cd4b;
box-shadow: 20px 0px #fdbc40, 40px 0px #35cd4b;
z-index: 3;
}

View File

@@ -0,0 +1,255 @@
:root {
--background-color: #fff;
--background-color-transparent: rgba(255,255,255,0.6);
--background-color-transparent-15: rgba(255,255,255,0.15);
--background-color-transparent-40: rgba(255,255,255,0.4);
--background-color-transparent-80: rgba(255,255,255,0.8);
--second-background-color: #fafafa;
--third-background-color: #f7f7f7;
--third-background-color-transparent: rgba(241,241,241,0.6);
--primary-color: #40e0d0;
--first-text-color: #323739;
--second-text-color: #343a3c;
--third-text-color: #5c6669;
--fourth-text-color: #eaeced;
--default-text-color: #373d3f;
--invert-text-color: #bebec6;
--border-color: rgba(0,0,0,0.08);
--selection-color: #53e3d5;
--shadow-color-1: rgba(0,0,0,0.08);
--shadow-color-2: rgba(0,0,0,0.05);
--shadow-hover-color: rgba(0,0,0,0.28);
--scrollbar-color: #c1c1c1;
--scrollbar-color-hover: #a1a1a1;
--scroll-bar-bg-color: #fafafa;
--link-color: #323739;
--copyright-info-color: #c03;
--avatar-background-color: #06c;
--pjax-progress-bar-color: linear-gradient(45deg, #f10006, #ef5b00, #e59c01, #19ca05, #00cab5, #0264c8, #c303c3);
--archive-timeline-last-child-color: linear-gradient(to bottom, #e8e8e8 60%, rgba(0,0,0,0) 100%) 1 100%;
--note-blue-title-bg: #d6f7fb;
--note-red-title-bg: #fde9e9;
--note-cyan-title-bg: #e9fdf9;
--note-green-title-bg: #e9fde9;
--note-yellow-title-bg: #fdf9e9;
--note-gray-title-bg: #f9f9f9;
--note-type-title-bg: #fdf3e9;
--note-black-title-bg: #e9e9e9;
--note-purple-title-bg: #f9e9fd;
--home-banner-text-color: #fff;
--home-banner-icons-container-border-color: rgba(255,255,255,0.35);
--home-banner-icons-container-background-color: rgba(255,255,255,0.3);
--redefine-box-shadow: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-hover: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--redefine-box-shadow-flat: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-flat-hover: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--mermaid-theme: $mermaid-theme;
}
.light-mode {
--background-color: #fff;
--background-color-transparent: rgba(255,255,255,0.6);
--background-color-transparent-15: rgba(255,255,255,0.15);
--background-color-transparent-40: rgba(255,255,255,0.4);
--background-color-transparent-80: rgba(255,255,255,0.8);
--second-background-color: #fafafa;
--third-background-color: #f7f7f7;
--third-background-color-transparent: rgba(241,241,241,0.6);
--primary-color: #40e0d0;
--first-text-color: #323739;
--second-text-color: #343a3c;
--third-text-color: #5c6669;
--fourth-text-color: #eaeced;
--default-text-color: #373d3f;
--invert-text-color: #bebec6;
--border-color: rgba(0,0,0,0.08);
--selection-color: #53e3d5;
--shadow-color-1: rgba(0,0,0,0.08);
--shadow-color-2: rgba(0,0,0,0.05);
--shadow-hover-color: rgba(0,0,0,0.28);
--scrollbar-color: #c1c1c1;
--scrollbar-color-hover: #a1a1a1;
--scroll-bar-bg-color: #fafafa;
--link-color: #323739;
--copyright-info-color: #c03;
--avatar-background-color: #06c;
--pjax-progress-bar-color: linear-gradient(45deg, #f10006, #ef5b00, #e59c01, #19ca05, #00cab5, #0264c8, #c303c3);
--archive-timeline-last-child-color: linear-gradient(to bottom, #e8e8e8 60%, rgba(0,0,0,0) 100%) 1 100%;
--note-blue-title-bg: #d6f7fb;
--note-red-title-bg: #fde9e9;
--note-cyan-title-bg: #e9fdf9;
--note-green-title-bg: #e9fde9;
--note-yellow-title-bg: #fdf9e9;
--note-gray-title-bg: #f9f9f9;
--note-type-title-bg: #fdf3e9;
--note-black-title-bg: #e9e9e9;
--note-purple-title-bg: #f9e9fd;
--home-banner-text-color: #fff;
--home-banner-icons-container-border-color: rgba(255,255,255,0.35);
--home-banner-icons-container-background-color: rgba(255,255,255,0.3);
--redefine-box-shadow: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-hover: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--redefine-box-shadow-flat: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-flat-hover: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--mermaid-theme: $mermaid-theme;
}
.dark-mode {
--background-color: #202124;
--background-color-transparent: rgba(32,33,36,0.4);
--background-color-transparent-15: rgba(32,33,36,0.15);
--background-color-transparent-40: rgba(32,33,36,0.4);
--background-color-transparent-80: rgba(32,33,36,0.8);
--second-background-color: #242529;
--third-background-color: #292b2f;
--third-background-color-transparent: rgba(32,33,36,0.6);
--primary-color: #40e0d0;
--first-text-color: #d2d2d7;
--second-text-color: #cbcbd1;
--third-text-color: #9595a2;
--fourth-text-color: #36363e;
--default-text-color: #bebec6;
--invert-text-color: #373d3f;
--border-color: rgba(255,255,255,0.08);
--selection-color: #53e3d5;
--shadow-color-1: rgba(255,255,255,0.08);
--shadow-color-2: rgba(255,255,255,0.05);
--shadow-hover-color: rgba(69,69,69,0.28);
--scrollbar-color: #898989;
--scrollbar-color-hover: #a1a1a1;
--scroll-bar-bg-color: #2a2c30;
--link-color: #c5c5cc;
--copyright-info-color: #a30029;
--avatar-background-color: #005cb8;
--pjax-progress-bar-color: linear-gradient(45deg, #ea404a, #ea722f, #e9a71f, #67e559, #18ecec, #1b85f1, #ee1dee);
--archive-timeline-last-child-color: linear-gradient(to bottom, #323232 60%, rgba(255,255,255,0) 100%) 1 100%;
--note-blue-title-bg: #1e3e46;
--note-red-title-bg: #4e1e1e;
--note-cyan-title-bg: #1e4e4e;
--note-green-title-bg: #1e4e1e;
--note-yellow-title-bg: #4e4e1e;
--note-gray-title-bg: #4e4e4e;
--note-type-title-bg: #4e3a1e;
--note-black-title-bg: #1e1e1e;
--note-purple-title-bg: #4e1e4e;
--home-banner-text-color: #d1d1b6;
--home-banner-icons-container-border-color: rgba(197,197,197,0.35);
--home-banner-icons-container-background-color: rgba(197,197,197,0.3);
--redefine-box-shadow: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-hover: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--redefine-box-shadow-flat: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-flat-hover: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--mermaid-theme: $dark-mermaid-theme;
}
:root {
--inline-code-foreground: #24292e;
--inline-code-background: #f1f1f1;
--highlight-background: #fdfdfd;
--highlight-foreground: #24292e;
--highlight-keyword: #d73a49;
--highlight-link: #d73a49 /* Following the pattern, link should have the same color as keyword */;
--highlight-built-in: #e36209;
--highlight-number: #005cc5;
--highlight-string: #032f62;
--highlight-regexp: #032f62;
--highlight-subst: #24292e;
--highlight-comment: #6a737d;
--highlight-doctag: #d73a49;
--highlight-meta: #005cc5 /* Mapped based on the pattern for constant */;
--highlight-variable: #005cc5;
--highlight-attr: #005cc5;
--highlight-section: #005cc5;
--highlight-bullet: #735c0f;
--highlight-addition: #22863a;
--highlight-deletion: #b31d28;
}
@media (prefers-color-scheme: light) {
:root {
--inline-code-foreground: #24292e;
--inline-code-background: #f1f1f1;
--highlight-background: #fdfdfd;
--highlight-foreground: #24292e;
--highlight-keyword: #d73a49;
--highlight-link: #d73a49 /* Following the pattern, link should have the same color as keyword */;
--highlight-built-in: #e36209;
--highlight-number: #005cc5;
--highlight-string: #032f62;
--highlight-regexp: #032f62;
--highlight-subst: #24292e;
--highlight-comment: #6a737d;
--highlight-doctag: #d73a49;
--highlight-meta: #005cc5 /* Mapped based on the pattern for constant */;
--highlight-variable: #005cc5;
--highlight-attr: #005cc5;
--highlight-section: #005cc5;
--highlight-bullet: #735c0f;
--highlight-addition: #22863a;
--highlight-deletion: #b31d28;
}
}
@media (prefers-color-scheme: dark) {
:root {
--inline-code-foreground: #c9d1d9;
--inline-code-background: #313131;
--highlight-background: #1e1e1e;
--highlight-foreground: #dcdcdc;
--highlight-keyword: #569cd6;
--highlight-link: #569cd6;
--highlight-built-in: #4ec9b0;
--highlight-number: #b8d7a3;
--highlight-string: #d69d85;
--highlight-regexp: #9a5334;
--highlight-subst: #dcdcdc;
--highlight-comment: #57a64a;
--highlight-doctag: #608b4e;
--highlight-meta: #9b9b9b;
--highlight-variable: #bd63c5;
--highlight-attr: #9cdcfe;
--highlight-section: #ffd700;
--highlight-bullet: #d7ba7d;
--highlight-addition: #144212;
--highlight-deletion: #600;
}
}
.light-mode {
--inline-code-foreground: #24292e;
--inline-code-background: #f1f1f1;
--highlight-background: #fdfdfd;
--highlight-foreground: #24292e;
--highlight-keyword: #d73a49;
--highlight-link: #d73a49 /* Following the pattern, link should have the same color as keyword */;
--highlight-built-in: #e36209;
--highlight-number: #005cc5;
--highlight-string: #032f62;
--highlight-regexp: #032f62;
--highlight-subst: #24292e;
--highlight-comment: #6a737d;
--highlight-doctag: #d73a49;
--highlight-meta: #005cc5 /* Mapped based on the pattern for constant */;
--highlight-variable: #005cc5;
--highlight-attr: #005cc5;
--highlight-section: #005cc5;
--highlight-bullet: #735c0f;
--highlight-addition: #22863a;
--highlight-deletion: #b31d28;
}
.dark-mode {
--inline-code-foreground: #c9d1d9;
--inline-code-background: #313131;
--highlight-background: #1e1e1e;
--highlight-foreground: #dcdcdc;
--highlight-keyword: #569cd6;
--highlight-link: #569cd6;
--highlight-built-in: #4ec9b0;
--highlight-number: #b8d7a3;
--highlight-string: #d69d85;
--highlight-regexp: #9a5334;
--highlight-subst: #dcdcdc;
--highlight-comment: #57a64a;
--highlight-doctag: #608b4e;
--highlight-meta: #9b9b9b;
--highlight-variable: #bd63c5;
--highlight-attr: #9cdcfe;
--highlight-section: #ffd700;
--highlight-bullet: #d7ba7d;
--highlight-addition: #144212;
--highlight-deletion: #600;
}

View File

@@ -0,0 +1,458 @@
:root {
--background-color: #fff;
--background-color-transparent: rgba(255,255,255,0.6);
--background-color-transparent-15: rgba(255,255,255,0.15);
--background-color-transparent-40: rgba(255,255,255,0.4);
--background-color-transparent-80: rgba(255,255,255,0.8);
--second-background-color: #fafafa;
--third-background-color: #f7f7f7;
--third-background-color-transparent: rgba(241,241,241,0.6);
--primary-color: #40e0d0;
--first-text-color: #323739;
--second-text-color: #343a3c;
--third-text-color: #5c6669;
--fourth-text-color: #eaeced;
--default-text-color: #373d3f;
--invert-text-color: #bebec6;
--border-color: rgba(0,0,0,0.08);
--selection-color: #53e3d5;
--shadow-color-1: rgba(0,0,0,0.08);
--shadow-color-2: rgba(0,0,0,0.05);
--shadow-hover-color: rgba(0,0,0,0.28);
--scrollbar-color: #c1c1c1;
--scrollbar-color-hover: #a1a1a1;
--scroll-bar-bg-color: #fafafa;
--link-color: #323739;
--copyright-info-color: #c03;
--avatar-background-color: #06c;
--pjax-progress-bar-color: linear-gradient(45deg, #f10006, #ef5b00, #e59c01, #19ca05, #00cab5, #0264c8, #c303c3);
--archive-timeline-last-child-color: linear-gradient(to bottom, #e8e8e8 60%, rgba(0,0,0,0) 100%) 1 100%;
--note-blue-title-bg: #d6f7fb;
--note-red-title-bg: #fde9e9;
--note-cyan-title-bg: #e9fdf9;
--note-green-title-bg: #e9fde9;
--note-yellow-title-bg: #fdf9e9;
--note-gray-title-bg: #f9f9f9;
--note-type-title-bg: #fdf3e9;
--note-black-title-bg: #e9e9e9;
--note-purple-title-bg: #f9e9fd;
--home-banner-text-color: #fff;
--home-banner-icons-container-border-color: rgba(255,255,255,0.35);
--home-banner-icons-container-background-color: rgba(255,255,255,0.3);
--redefine-box-shadow: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-hover: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--redefine-box-shadow-flat: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-flat-hover: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--mermaid-theme: $mermaid-theme;
}
.light-mode {
--background-color: #fff;
--background-color-transparent: rgba(255,255,255,0.6);
--background-color-transparent-15: rgba(255,255,255,0.15);
--background-color-transparent-40: rgba(255,255,255,0.4);
--background-color-transparent-80: rgba(255,255,255,0.8);
--second-background-color: #fafafa;
--third-background-color: #f7f7f7;
--third-background-color-transparent: rgba(241,241,241,0.6);
--primary-color: #40e0d0;
--first-text-color: #323739;
--second-text-color: #343a3c;
--third-text-color: #5c6669;
--fourth-text-color: #eaeced;
--default-text-color: #373d3f;
--invert-text-color: #bebec6;
--border-color: rgba(0,0,0,0.08);
--selection-color: #53e3d5;
--shadow-color-1: rgba(0,0,0,0.08);
--shadow-color-2: rgba(0,0,0,0.05);
--shadow-hover-color: rgba(0,0,0,0.28);
--scrollbar-color: #c1c1c1;
--scrollbar-color-hover: #a1a1a1;
--scroll-bar-bg-color: #fafafa;
--link-color: #323739;
--copyright-info-color: #c03;
--avatar-background-color: #06c;
--pjax-progress-bar-color: linear-gradient(45deg, #f10006, #ef5b00, #e59c01, #19ca05, #00cab5, #0264c8, #c303c3);
--archive-timeline-last-child-color: linear-gradient(to bottom, #e8e8e8 60%, rgba(0,0,0,0) 100%) 1 100%;
--note-blue-title-bg: #d6f7fb;
--note-red-title-bg: #fde9e9;
--note-cyan-title-bg: #e9fdf9;
--note-green-title-bg: #e9fde9;
--note-yellow-title-bg: #fdf9e9;
--note-gray-title-bg: #f9f9f9;
--note-type-title-bg: #fdf3e9;
--note-black-title-bg: #e9e9e9;
--note-purple-title-bg: #f9e9fd;
--home-banner-text-color: #fff;
--home-banner-icons-container-border-color: rgba(255,255,255,0.35);
--home-banner-icons-container-background-color: rgba(255,255,255,0.3);
--redefine-box-shadow: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-hover: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--redefine-box-shadow-flat: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-flat-hover: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--mermaid-theme: $mermaid-theme;
}
.dark-mode {
--background-color: #202124;
--background-color-transparent: rgba(32,33,36,0.4);
--background-color-transparent-15: rgba(32,33,36,0.15);
--background-color-transparent-40: rgba(32,33,36,0.4);
--background-color-transparent-80: rgba(32,33,36,0.8);
--second-background-color: #242529;
--third-background-color: #292b2f;
--third-background-color-transparent: rgba(32,33,36,0.6);
--primary-color: #40e0d0;
--first-text-color: #d2d2d7;
--second-text-color: #cbcbd1;
--third-text-color: #9595a2;
--fourth-text-color: #36363e;
--default-text-color: #bebec6;
--invert-text-color: #373d3f;
--border-color: rgba(255,255,255,0.08);
--selection-color: #53e3d5;
--shadow-color-1: rgba(255,255,255,0.08);
--shadow-color-2: rgba(255,255,255,0.05);
--shadow-hover-color: rgba(69,69,69,0.28);
--scrollbar-color: #898989;
--scrollbar-color-hover: #a1a1a1;
--scroll-bar-bg-color: #2a2c30;
--link-color: #c5c5cc;
--copyright-info-color: #a30029;
--avatar-background-color: #005cb8;
--pjax-progress-bar-color: linear-gradient(45deg, #ea404a, #ea722f, #e9a71f, #67e559, #18ecec, #1b85f1, #ee1dee);
--archive-timeline-last-child-color: linear-gradient(to bottom, #323232 60%, rgba(255,255,255,0) 100%) 1 100%;
--note-blue-title-bg: #1e3e46;
--note-red-title-bg: #4e1e1e;
--note-cyan-title-bg: #1e4e4e;
--note-green-title-bg: #1e4e1e;
--note-yellow-title-bg: #4e4e1e;
--note-gray-title-bg: #4e4e4e;
--note-type-title-bg: #4e3a1e;
--note-black-title-bg: #1e1e1e;
--note-purple-title-bg: #4e1e4e;
--home-banner-text-color: #d1d1b6;
--home-banner-icons-container-border-color: rgba(197,197,197,0.35);
--home-banner-icons-container-background-color: rgba(197,197,197,0.3);
--redefine-box-shadow: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-hover: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--redefine-box-shadow-flat: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-flat-hover: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--mermaid-theme: $dark-mermaid-theme;
}
:root {
--inline-code-foreground: #24292e;
--inline-code-background: #f1f1f1;
--highlight-background: #fdfdfd;
--highlight-foreground: #24292e;
--highlight-keyword: #d73a49;
--highlight-link: #d73a49 /* Following the pattern, link should have the same color as keyword */;
--highlight-built-in: #e36209;
--highlight-number: #005cc5;
--highlight-string: #032f62;
--highlight-regexp: #032f62;
--highlight-subst: #24292e;
--highlight-comment: #6a737d;
--highlight-doctag: #d73a49;
--highlight-meta: #005cc5 /* Mapped based on the pattern for constant */;
--highlight-variable: #005cc5;
--highlight-attr: #005cc5;
--highlight-section: #005cc5;
--highlight-bullet: #735c0f;
--highlight-addition: #22863a;
--highlight-deletion: #b31d28;
}
@media (prefers-color-scheme: light) {
:root {
--inline-code-foreground: #24292e;
--inline-code-background: #f1f1f1;
--highlight-background: #fdfdfd;
--highlight-foreground: #24292e;
--highlight-keyword: #d73a49;
--highlight-link: #d73a49 /* Following the pattern, link should have the same color as keyword */;
--highlight-built-in: #e36209;
--highlight-number: #005cc5;
--highlight-string: #032f62;
--highlight-regexp: #032f62;
--highlight-subst: #24292e;
--highlight-comment: #6a737d;
--highlight-doctag: #d73a49;
--highlight-meta: #005cc5 /* Mapped based on the pattern for constant */;
--highlight-variable: #005cc5;
--highlight-attr: #005cc5;
--highlight-section: #005cc5;
--highlight-bullet: #735c0f;
--highlight-addition: #22863a;
--highlight-deletion: #b31d28;
}
}
@media (prefers-color-scheme: dark) {
:root {
--inline-code-foreground: #c9d1d9;
--inline-code-background: #313131;
--highlight-background: #1e1e1e;
--highlight-foreground: #dcdcdc;
--highlight-keyword: #569cd6;
--highlight-link: #569cd6;
--highlight-built-in: #4ec9b0;
--highlight-number: #b8d7a3;
--highlight-string: #d69d85;
--highlight-regexp: #9a5334;
--highlight-subst: #dcdcdc;
--highlight-comment: #57a64a;
--highlight-doctag: #608b4e;
--highlight-meta: #9b9b9b;
--highlight-variable: #bd63c5;
--highlight-attr: #9cdcfe;
--highlight-section: #ffd700;
--highlight-bullet: #d7ba7d;
--highlight-addition: #144212;
--highlight-deletion: #600;
}
}
.light-mode {
--inline-code-foreground: #24292e;
--inline-code-background: #f1f1f1;
--highlight-background: #fdfdfd;
--highlight-foreground: #24292e;
--highlight-keyword: #d73a49;
--highlight-link: #d73a49 /* Following the pattern, link should have the same color as keyword */;
--highlight-built-in: #e36209;
--highlight-number: #005cc5;
--highlight-string: #032f62;
--highlight-regexp: #032f62;
--highlight-subst: #24292e;
--highlight-comment: #6a737d;
--highlight-doctag: #d73a49;
--highlight-meta: #005cc5 /* Mapped based on the pattern for constant */;
--highlight-variable: #005cc5;
--highlight-attr: #005cc5;
--highlight-section: #005cc5;
--highlight-bullet: #735c0f;
--highlight-addition: #22863a;
--highlight-deletion: #b31d28;
}
.dark-mode {
--inline-code-foreground: #c9d1d9;
--inline-code-background: #313131;
--highlight-background: #1e1e1e;
--highlight-foreground: #dcdcdc;
--highlight-keyword: #569cd6;
--highlight-link: #569cd6;
--highlight-built-in: #4ec9b0;
--highlight-number: #b8d7a3;
--highlight-string: #d69d85;
--highlight-regexp: #9a5334;
--highlight-subst: #dcdcdc;
--highlight-comment: #57a64a;
--highlight-doctag: #608b4e;
--highlight-meta: #9b9b9b;
--highlight-variable: #bd63c5;
--highlight-attr: #9cdcfe;
--highlight-section: #ffd700;
--highlight-bullet: #d7ba7d;
--highlight-addition: #144212;
--highlight-deletion: #600;
}
pre,
.highlight {
-webkit-text-size-adjust: none;
overflow: auto;
margin: 20px 0;
padding: 0;
font-size: 1rem;
line-height: 1.5rem;
color: var(--highlight-foreground);
background: var(--highlight-background);
}
pre,
code {
line-height: 1.5 !important;
font-family: 'Geist Mono', Courier, monospace !important;
}
pre.mermaid {
background-color: var(--background-color);
}
pre.mermaid svg {
display: block;
margin: auto;
}
code {
padding: 3px 4px;
word-wrap: break-word;
border-radius: 4px;
color: var(--inline-code-foreground);
background: var(--inline-code-background);
}
.main-content code {
font-size: 0.9em;
}
pre {
font-size: 0.9rem !important;
padding-top: 14px !important;
tab-size: 4;
}
pre code {
padding: 0;
color: var(--highlight-foreground);
background: none;
text-shadow: none;
}
.highlight {
border-radius: 0px 0px 18px 18px;
padding-bottom: 5px;
overflow: auto;
margin: 0 !important;
border-top: 1px solid var(--shadow-color-1);
}
.highlight:hover::-webkit-scrollbar-thumb {
border: 3px solid rgba(183,183,183,0.3);
}
.highlight::-webkit-scrollbar {
width: 6px;
height: 6px;
transition: all 0.2s ease;
display: block;
}
.highlight::-webkit-scrollbar-track {
background: transparent;
border: none;
}
.highlight::-webkit-scrollbar-thumb {
border-radius: 20px;
border: 3px solid rgba(183,183,183,0);
transition: all 0.2s ease;
}
.highlight pre {
border: none;
margin: 0;
padding: 10px 0;
}
.highlight table {
margin: 0;
width: auto;
border: none;
border-spacing: unset;
}
.highlight td {
border: none;
padding: 0;
}
.highlight figcaption {
font-size: 1rem;
color: var(--highlight-foreground);
line-height: 1rem;
margin-bottom: 1rem;
}
.highlight figcaption a {
float: right;
color: var(--highlight-foreground);
}
.highlight figcaption a:hover {
border-bottom-color: var(--highlight-foreground);
}
.highlight .gutter pre {
padding-left: 10px;
padding-right: 10px;
color: var(--highlight-gutter-color);
text-align: center;
background-color: var(--highlight-gutter-bg-color);
}
.highlight .code pre {
width: 100%;
padding-left: 10px;
padding-right: 10px;
background-color: var(--highlight-background);
}
.gutter {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.gist table {
width: auto;
}
.gist table td {
border: none;
}
pre .keyword,
pre .literal,
pre .symbol,
pre .name {
color: var(--highlight-keyword);
}
pre .link {
color: var(--highlight-link);
text-decoration: underline;
}
pre .built_in,
pre .type {
color: var(--highlight-built-in);
}
pre .number,
pre .class {
color: var(--highlight-number);
}
pre .string,
pre .meta .string {
color: var(--highlight-string);
}
pre .regexp,
pre .template-tag {
color: var(--highlight-regexp);
}
pre .subst,
pre .function,
pre .title,
pre .params,
pre .formula {
color: var(--highlight-subst);
}
pre .comment,
pre .quote {
color: var(--highlight-comment);
font-style: italic;
}
pre .doctag {
color: var(--highlight-doctag);
}
pre .meta,
pre .meta .keyword,
pre .tag {
color: var(--highlight-meta);
}
pre .variable,
pre .template-variable {
color: var(--highlight-variable);
}
pre .attr,
pre .attribute {
color: var(--highlight-attr);
}
pre .section {
color: var(--highlight-section);
}
pre .emphasis {
font-style: italic;
}
pre .strong {
font-weight: bold;
}
pre .bullet,
pre .selector-tag,
pre .selector-id,
pre .selector-class,
pre .selector-attr,
pre .selector-pseudo {
color: var(--highlight-bullet);
}
pre .addition {
color: var(--highlight-addition);
display: inline-block;
width: 100%;
}
pre .deletion {
color: var(--highlight-deletion);
display: inline-block;
width: 100%;
}

View File

View File

@@ -0,0 +1,328 @@
.markdown-body {
font-family: $english-font-family, $chinese-font-family, sans-serif;
font-size: $default-article-font-size;
}
.markdown-body blockquote {
box-sizing: border-box;
margin: 20px 0;
color: var(--default-text-color);
background: var(--third-background-color);
padding: 0 1rem 0 0.5rem;
border-radius: 0 $redefine-border-radius-medium $redefine-border-radius-medium 0;
position: relative;
border-left: 5px solid var(--default-text-color);
}
.markdown-body blockquote p,
.markdown-body blockquote ul,
.markdown-body blockquote ol {
padding: 5px 5px 5px 10px;
}
.markdown-body p {
line-height: $default-line-height;
color: var(--default-text-color);
font-weight: 400;
margin-bottom: 1rem;
margin-top: 0;
}
.markdown-body a {
position: relative;
outline: 0;
text-decoration: underline;
overflow-wrap: break-word;
cursor: pointer;
box-sizing: border-box;
padding-bottom: 2px;
text-underline-offset: 2px;
text-decoration-color: var(--fourth-text-color);
transition: text-decoration-color 0.2s ease;
}
.markdown-body a.link {
padding-right: 0.1em;
}
.markdown-body a .fas,
.markdown-body a .far,
.markdown-body a fab {
margin: 0 2px 0 6px;
position: relative;
color: var(--third-text-color);
font-size: 0.88rem;
}
.markdown-body a .link-icon {
transition: transform 0.2s ease;
}
.markdown-body a:hover,
.markdown-body a:focus {
text-decoration: underline !important;
text-decoration-color: var(--primary-color) !important;
}
.markdown-body a:hover .link-icon,
.markdown-body a:focus .link-icon {
transform: translate(0.1em, -0.1em);
}
.markdown-body a:hover::after,
.markdown-body a:focus::after {
background: var(--primary-color);
text-decoration: underline;
}
.markdown-body strong {
color: var(--default-text-color);
}
.markdown-body hr {
margin: 2rem 0;
border: 0;
border-top: 2px solid var(--shadow-color-1);
}
.markdown-body em {
color: var(--default-text-color);
}
.markdown-body ul > li,
.markdown-body ol > li {
margin-left: 20px;
line-height: 2rem;
}
.markdown-body ul {
margin-bottom: 1.2rem;
}
.markdown-body ul li {
list-style: disc;
}
.markdown-body ul li ul li {
list-style: circle;
}
.markdown-body ul li ul li ul li {
list-style: square;
}
.markdown-body ol {
margin-bottom: 1.2rem;
}
.markdown-body ol li {
list-style: decimal;
}
.markdown-body ol li ul li {
list-style: disc;
}
.markdown-body ol li ul ul li {
list-style: circle;
}
.markdown-body ol li ol li {
list-style: upper-alpha;
}
.markdown-body ol li ol li ol li {
list-style: upper-roman;
}
.markdown-body li {
color: var(--default-text-color);
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6,
.markdown-body .h1,
.markdown-body .h2,
.markdown-body .h3,
.markdown-body .h4,
.markdown-body .h5,
.markdown-body .h6 {
font-family: $english-font-family, $chinese-font-family, sans-serif;
color: var(--second-text-color);
line-height: $default-line-height;
redefine-tablet()
}
.markdown-body h1,
.markdown-body .h1 {
font-size: 3.2rem;
font-weight: 650;
border-bottom: solid 2px var(--fourth-text-color);
margin-top: $h1-heading-margin-top;
margin-bottom: 1rem;
letter-spacing: -0.025em;
line-height: 1.2;
redefine-tablet()
}
.markdown-body h2,
.markdown-body .h2 {
font-size: 2.5rem;
font-weight: 650;
padding: 3px 0;
border-bottom: solid 2px var(--fourth-text-color);
margin-top: $h2-heading-margin-top;
margin-bottom: 1rem;
letter-spacing: -0.025em;
line-height: 1.1;
redefine-tablet()
}
.markdown-body h3,
.markdown-body .h3 {
font-size: 1.8rem;
font-weight: 600;
margin-top: $h3-heading-margin-top;
margin-bottom: 0.75rem;
letter-spacing: -0.025em;
line-height: 1.3;
redefine-tablet()
}
.markdown-body h4,
.markdown-body .h4 {
font-size: 1.5rem;
font-weight: 600;
margin-top: $h4-heading-margin-top;
margin-bottom: 0.75rem;
line-height: 1.4;
redefine-tablet()
}
.markdown-body h5,
.markdown-body .h5 {
font-size: 1.28rem;
font-weight: 600;
margin-top: $h5-heading-margin-top;
margin-bottom: 0.5rem;
line-height: 1.3;
redefine-tablet()
}
.markdown-body h6,
.markdown-body .h6 {
font-size: 1.2rem;
font-weight: 600;
margin-top: $h6-heading-margin-top;
margin-bottom: 0.5rem;
line-height: 1.2;
redefine-tablet()
}
.markdown-body img {
box-sizing: border-box;
border-radius: $usr-img-border-radius;
max-width: 100%;
cursor: zoom-in;
display: block;
margin: 1rem auto 1rem;
}
.markdown-body del.mask {
text-decoration: none !important;
transition: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) color, 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) background;
}
.markdown-body del.mask * {
transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) opacity;
}
.markdown-body del.mask:not(:hover) {
color: transparent !important;
background: #000 !important;
}
.markdown-body del.mask:not(:hover) * {
opacity: 0 !important;
}
.markdown-body del.mask:not(:hover),
.markdown-body del.mask:not(:hover) * {
border: none !important;
}
.markdown-body > table,
.markdown-body .tab-pane > table {
border-spacing: 0;
border-collapse: collapse;
width: 100%;
overflow: auto;
margin-bottom: 1.2rem;
box-shadow: var(--redefine-box-shadow-flat);
border-radius: $redefine-border-radius-medium;
}
.markdown-body > table thead th,
.markdown-body .tab-pane > table thead th {
border-bottom: 1px solid var(--shadow-color-1);
background-color: var(--third-background-color) !important;
}
.markdown-body > table thead th:first-child,
.markdown-body .tab-pane > table thead th:first-child {
border-top-left-radius: $redefine-border-radius-medium;
}
.markdown-body > table thead th:last-child,
.markdown-body .tab-pane > table thead th:last-child {
border-top-right-radius: $redefine-border-radius-medium;
}
.markdown-body > table tbody tr:last-child td:first-child,
.markdown-body .tab-pane > table tbody tr:last-child td:first-child {
border-bottom-left-radius: $redefine-border-radius-medium;
}
.markdown-body > table tbody tr:last-child td:last-child,
.markdown-body .tab-pane > table tbody tr:last-child td:last-child {
border-bottom-right-radius: $redefine-border-radius-medium;
}
.markdown-body > table td,
.markdown-body .tab-pane > table td,
.markdown-body > table th,
.markdown-body .tab-pane > table th {
padding: 8px 16px;
border-left: 1px solid var(--shadow-color-1);
}
.markdown-body > table td:first-child,
.markdown-body .tab-pane > table td:first-child,
.markdown-body > table th:first-child,
.markdown-body .tab-pane > table th:first-child {
border-left: none;
}
.markdown-body > table tr,
.markdown-body .tab-pane > table tr {
background-color: var(--background-color);
}
.markdown-body > table tr:nth-child(2n),
.markdown-body .tab-pane > table tr:nth-child(2n) {
background-color: var(--second-background-color);
}
.markdown-body mjx-container {
display: inline;
overflow-x: auto;
white-space: nowrap;
margin: 0 0.2rem;
}
.markdown-body mjx-container:hover::-webkit-scrollbar-thumb {
border: 3px solid rgba(183,183,183,0.3);
}
.markdown-body mjx-container::-webkit-scrollbar {
width: 6px;
height: 6px;
transition: all 0.2s ease;
display: block;
}
.markdown-body mjx-container::-webkit-scrollbar-track {
background: transparent;
border: none;
}
.markdown-body mjx-container::-webkit-scrollbar-thumb {
border-radius: 20px;
border: 3px solid rgba(183,183,183,0);
transition: all 0.2s ease;
}
.markdown-body mjx-container svg {
display: inline-block /* Allow content to be centered properly */;
}
.markdown-body mjx-container[display="true"] {
display: block;
justify-content: center;
vertical-align: baseline;
overflow-x: auto;
text-align: center;
white-space: nowrap;
scrollbar-width: thin;
padding-bottom: 8px;
}
.markdown-body mjx-container[display="true"]:hover::-webkit-scrollbar-thumb {
border: 3px solid rgba(183,183,183,0.3);
}
.markdown-body mjx-container[display="true"]::-webkit-scrollbar {
width: 6px;
height: 6px;
transition: all 0.2s ease;
display: block;
}
.markdown-body mjx-container[display="true"]::-webkit-scrollbar-track {
background: transparent;
border: none;
}
.markdown-body mjx-container[display="true"]::-webkit-scrollbar-thumb {
border-radius: 20px;
border: 3px solid rgba(183,183,183,0);
transition: all 0.2s ease;
}
.markdown-body mjx-container[display="true"] svg {
display: inline-block;
}

View File

@@ -0,0 +1,20 @@
.redefine-box-shadow {
box-shadow: var(--redefine-box-shadow);
}
.redefine-box-shadow-flat {
box-shadow: var(--redefine-box-shadow-flat);
}
@media (min-width: 640px) {
.redefine-box-shadow:hover {
box-shadow: var(--redefine-box-shadow-hover);
}
.redefine-box-shadow-flat:hover {
box-shadow: var(--redefine-box-shadow);
}
}
.ellipsis {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 100%;
}

141
public/css/common/theme.css Normal file
View File

@@ -0,0 +1,141 @@
:root {
--background-color: #fff;
--background-color-transparent: rgba(255,255,255,0.6);
--background-color-transparent-15: rgba(255,255,255,0.15);
--background-color-transparent-40: rgba(255,255,255,0.4);
--background-color-transparent-80: rgba(255,255,255,0.8);
--second-background-color: #fafafa;
--third-background-color: #f7f7f7;
--third-background-color-transparent: rgba(241,241,241,0.6);
--primary-color: #40e0d0;
--first-text-color: #323739;
--second-text-color: #343a3c;
--third-text-color: #5c6669;
--fourth-text-color: #eaeced;
--default-text-color: #373d3f;
--invert-text-color: #bebec6;
--border-color: rgba(0,0,0,0.08);
--selection-color: #53e3d5;
--shadow-color-1: rgba(0,0,0,0.08);
--shadow-color-2: rgba(0,0,0,0.05);
--shadow-hover-color: rgba(0,0,0,0.28);
--scrollbar-color: #c1c1c1;
--scrollbar-color-hover: #a1a1a1;
--scroll-bar-bg-color: #fafafa;
--link-color: #323739;
--copyright-info-color: #c03;
--avatar-background-color: #06c;
--pjax-progress-bar-color: linear-gradient(45deg, #f10006, #ef5b00, #e59c01, #19ca05, #00cab5, #0264c8, #c303c3);
--archive-timeline-last-child-color: linear-gradient(to bottom, #e8e8e8 60%, rgba(0,0,0,0) 100%) 1 100%;
--note-blue-title-bg: #d6f7fb;
--note-red-title-bg: #fde9e9;
--note-cyan-title-bg: #e9fdf9;
--note-green-title-bg: #e9fde9;
--note-yellow-title-bg: #fdf9e9;
--note-gray-title-bg: #f9f9f9;
--note-type-title-bg: #fdf3e9;
--note-black-title-bg: #e9e9e9;
--note-purple-title-bg: #f9e9fd;
--home-banner-text-color: #fff;
--home-banner-icons-container-border-color: rgba(255,255,255,0.35);
--home-banner-icons-container-background-color: rgba(255,255,255,0.3);
--redefine-box-shadow: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-hover: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--redefine-box-shadow-flat: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-flat-hover: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--mermaid-theme: $mermaid-theme;
}
.light-mode {
--background-color: #fff;
--background-color-transparent: rgba(255,255,255,0.6);
--background-color-transparent-15: rgba(255,255,255,0.15);
--background-color-transparent-40: rgba(255,255,255,0.4);
--background-color-transparent-80: rgba(255,255,255,0.8);
--second-background-color: #fafafa;
--third-background-color: #f7f7f7;
--third-background-color-transparent: rgba(241,241,241,0.6);
--primary-color: #40e0d0;
--first-text-color: #323739;
--second-text-color: #343a3c;
--third-text-color: #5c6669;
--fourth-text-color: #eaeced;
--default-text-color: #373d3f;
--invert-text-color: #bebec6;
--border-color: rgba(0,0,0,0.08);
--selection-color: #53e3d5;
--shadow-color-1: rgba(0,0,0,0.08);
--shadow-color-2: rgba(0,0,0,0.05);
--shadow-hover-color: rgba(0,0,0,0.28);
--scrollbar-color: #c1c1c1;
--scrollbar-color-hover: #a1a1a1;
--scroll-bar-bg-color: #fafafa;
--link-color: #323739;
--copyright-info-color: #c03;
--avatar-background-color: #06c;
--pjax-progress-bar-color: linear-gradient(45deg, #f10006, #ef5b00, #e59c01, #19ca05, #00cab5, #0264c8, #c303c3);
--archive-timeline-last-child-color: linear-gradient(to bottom, #e8e8e8 60%, rgba(0,0,0,0) 100%) 1 100%;
--note-blue-title-bg: #d6f7fb;
--note-red-title-bg: #fde9e9;
--note-cyan-title-bg: #e9fdf9;
--note-green-title-bg: #e9fde9;
--note-yellow-title-bg: #fdf9e9;
--note-gray-title-bg: #f9f9f9;
--note-type-title-bg: #fdf3e9;
--note-black-title-bg: #e9e9e9;
--note-purple-title-bg: #f9e9fd;
--home-banner-text-color: #fff;
--home-banner-icons-container-border-color: rgba(255,255,255,0.35);
--home-banner-icons-container-background-color: rgba(255,255,255,0.3);
--redefine-box-shadow: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-hover: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--redefine-box-shadow-flat: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-flat-hover: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--mermaid-theme: $mermaid-theme;
}
.dark-mode {
--background-color: #202124;
--background-color-transparent: rgba(32,33,36,0.4);
--background-color-transparent-15: rgba(32,33,36,0.15);
--background-color-transparent-40: rgba(32,33,36,0.4);
--background-color-transparent-80: rgba(32,33,36,0.8);
--second-background-color: #242529;
--third-background-color: #292b2f;
--third-background-color-transparent: rgba(32,33,36,0.6);
--primary-color: #40e0d0;
--first-text-color: #d2d2d7;
--second-text-color: #cbcbd1;
--third-text-color: #9595a2;
--fourth-text-color: #36363e;
--default-text-color: #bebec6;
--invert-text-color: #373d3f;
--border-color: rgba(255,255,255,0.08);
--selection-color: #53e3d5;
--shadow-color-1: rgba(255,255,255,0.08);
--shadow-color-2: rgba(255,255,255,0.05);
--shadow-hover-color: rgba(69,69,69,0.28);
--scrollbar-color: #898989;
--scrollbar-color-hover: #a1a1a1;
--scroll-bar-bg-color: #2a2c30;
--link-color: #c5c5cc;
--copyright-info-color: #a30029;
--avatar-background-color: #005cb8;
--pjax-progress-bar-color: linear-gradient(45deg, #ea404a, #ea722f, #e9a71f, #67e559, #18ecec, #1b85f1, #ee1dee);
--archive-timeline-last-child-color: linear-gradient(to bottom, #323232 60%, rgba(255,255,255,0) 100%) 1 100%;
--note-blue-title-bg: #1e3e46;
--note-red-title-bg: #4e1e1e;
--note-cyan-title-bg: #1e4e4e;
--note-green-title-bg: #1e4e1e;
--note-yellow-title-bg: #4e4e1e;
--note-gray-title-bg: #4e4e4e;
--note-type-title-bg: #4e3a1e;
--note-black-title-bg: #1e1e1e;
--note-purple-title-bg: #4e1e4e;
--home-banner-text-color: #d1d1b6;
--home-banner-icons-container-border-color: rgba(197,197,197,0.35);
--home-banner-icons-container-background-color: rgba(197,197,197,0.3);
--redefine-box-shadow: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-hover: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--redefine-box-shadow-flat: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-flat-hover: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--mermaid-theme: $dark-mermaid-theme;
}

View File

@@ -0,0 +1,141 @@
:root {
--background-color: #fff;
--background-color-transparent: rgba(255,255,255,0.6);
--background-color-transparent-15: rgba(255,255,255,0.15);
--background-color-transparent-40: rgba(255,255,255,0.4);
--background-color-transparent-80: rgba(255,255,255,0.8);
--second-background-color: #fafafa;
--third-background-color: #f7f7f7;
--third-background-color-transparent: rgba(241,241,241,0.6);
--primary-color: #40e0d0;
--first-text-color: #323739;
--second-text-color: #343a3c;
--third-text-color: #5c6669;
--fourth-text-color: #eaeced;
--default-text-color: #373d3f;
--invert-text-color: #bebec6;
--border-color: rgba(0,0,0,0.08);
--selection-color: #53e3d5;
--shadow-color-1: rgba(0,0,0,0.08);
--shadow-color-2: rgba(0,0,0,0.05);
--shadow-hover-color: rgba(0,0,0,0.28);
--scrollbar-color: #c1c1c1;
--scrollbar-color-hover: #a1a1a1;
--scroll-bar-bg-color: #fafafa;
--link-color: #323739;
--copyright-info-color: #c03;
--avatar-background-color: #06c;
--pjax-progress-bar-color: linear-gradient(45deg, #f10006, #ef5b00, #e59c01, #19ca05, #00cab5, #0264c8, #c303c3);
--archive-timeline-last-child-color: linear-gradient(to bottom, #e8e8e8 60%, rgba(0,0,0,0) 100%) 1 100%;
--note-blue-title-bg: #d6f7fb;
--note-red-title-bg: #fde9e9;
--note-cyan-title-bg: #e9fdf9;
--note-green-title-bg: #e9fde9;
--note-yellow-title-bg: #fdf9e9;
--note-gray-title-bg: #f9f9f9;
--note-type-title-bg: #fdf3e9;
--note-black-title-bg: #e9e9e9;
--note-purple-title-bg: #f9e9fd;
--home-banner-text-color: #fff;
--home-banner-icons-container-border-color: rgba(255,255,255,0.35);
--home-banner-icons-container-background-color: rgba(255,255,255,0.3);
--redefine-box-shadow: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-hover: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--redefine-box-shadow-flat: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-flat-hover: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--mermaid-theme: $mermaid-theme;
}
.light-mode {
--background-color: #fff;
--background-color-transparent: rgba(255,255,255,0.6);
--background-color-transparent-15: rgba(255,255,255,0.15);
--background-color-transparent-40: rgba(255,255,255,0.4);
--background-color-transparent-80: rgba(255,255,255,0.8);
--second-background-color: #fafafa;
--third-background-color: #f7f7f7;
--third-background-color-transparent: rgba(241,241,241,0.6);
--primary-color: #40e0d0;
--first-text-color: #323739;
--second-text-color: #343a3c;
--third-text-color: #5c6669;
--fourth-text-color: #eaeced;
--default-text-color: #373d3f;
--invert-text-color: #bebec6;
--border-color: rgba(0,0,0,0.08);
--selection-color: #53e3d5;
--shadow-color-1: rgba(0,0,0,0.08);
--shadow-color-2: rgba(0,0,0,0.05);
--shadow-hover-color: rgba(0,0,0,0.28);
--scrollbar-color: #c1c1c1;
--scrollbar-color-hover: #a1a1a1;
--scroll-bar-bg-color: #fafafa;
--link-color: #323739;
--copyright-info-color: #c03;
--avatar-background-color: #06c;
--pjax-progress-bar-color: linear-gradient(45deg, #f10006, #ef5b00, #e59c01, #19ca05, #00cab5, #0264c8, #c303c3);
--archive-timeline-last-child-color: linear-gradient(to bottom, #e8e8e8 60%, rgba(0,0,0,0) 100%) 1 100%;
--note-blue-title-bg: #d6f7fb;
--note-red-title-bg: #fde9e9;
--note-cyan-title-bg: #e9fdf9;
--note-green-title-bg: #e9fde9;
--note-yellow-title-bg: #fdf9e9;
--note-gray-title-bg: #f9f9f9;
--note-type-title-bg: #fdf3e9;
--note-black-title-bg: #e9e9e9;
--note-purple-title-bg: #f9e9fd;
--home-banner-text-color: #fff;
--home-banner-icons-container-border-color: rgba(255,255,255,0.35);
--home-banner-icons-container-background-color: rgba(255,255,255,0.3);
--redefine-box-shadow: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-hover: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--redefine-box-shadow-flat: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-flat-hover: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--mermaid-theme: $mermaid-theme;
}
.dark-mode {
--background-color: #202124;
--background-color-transparent: rgba(32,33,36,0.4);
--background-color-transparent-15: rgba(32,33,36,0.15);
--background-color-transparent-40: rgba(32,33,36,0.4);
--background-color-transparent-80: rgba(32,33,36,0.8);
--second-background-color: #242529;
--third-background-color: #292b2f;
--third-background-color-transparent: rgba(32,33,36,0.6);
--primary-color: #40e0d0;
--first-text-color: #d2d2d7;
--second-text-color: #cbcbd1;
--third-text-color: #9595a2;
--fourth-text-color: #36363e;
--default-text-color: #bebec6;
--invert-text-color: #373d3f;
--border-color: rgba(255,255,255,0.08);
--selection-color: #53e3d5;
--shadow-color-1: rgba(255,255,255,0.08);
--shadow-color-2: rgba(255,255,255,0.05);
--shadow-hover-color: rgba(69,69,69,0.28);
--scrollbar-color: #898989;
--scrollbar-color-hover: #a1a1a1;
--scroll-bar-bg-color: #2a2c30;
--link-color: #c5c5cc;
--copyright-info-color: #a30029;
--avatar-background-color: #005cb8;
--pjax-progress-bar-color: linear-gradient(45deg, #ea404a, #ea722f, #e9a71f, #67e559, #18ecec, #1b85f1, #ee1dee);
--archive-timeline-last-child-color: linear-gradient(to bottom, #323232 60%, rgba(255,255,255,0) 100%) 1 100%;
--note-blue-title-bg: #1e3e46;
--note-red-title-bg: #4e1e1e;
--note-cyan-title-bg: #1e4e4e;
--note-green-title-bg: #1e4e1e;
--note-yellow-title-bg: #4e4e1e;
--note-gray-title-bg: #4e4e4e;
--note-type-title-bg: #4e3a1e;
--note-black-title-bg: #1e1e1e;
--note-purple-title-bg: #4e1e4e;
--home-banner-text-color: #d1d1b6;
--home-banner-icons-container-border-color: rgba(197,197,197,0.35);
--home-banner-icons-container-background-color: rgba(197,197,197,0.3);
--redefine-box-shadow: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-hover: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--redefine-box-shadow-flat: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-flat-hover: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--mermaid-theme: $dark-mermaid-theme;
}