mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-blog.git
synced 2026-07-03 23:51:26 +00:00
adjust color palette
This commit is contained in:
parent
4b1726ac00
commit
3e461eda7a
4 changed files with 16 additions and 22 deletions
|
|
@ -27,9 +27,9 @@ const t = getTranslations(lang);
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
background: repeating-linear-gradient(
|
background: repeating-linear-gradient(
|
||||||
-45deg,
|
-45deg,
|
||||||
#e96b6b 0 14px,
|
#ef5a6f 0 14px,
|
||||||
transparent 14px 28px,
|
transparent 14px 28px,
|
||||||
#7da2ff 28px 42px,
|
#536493 28px 42px,
|
||||||
transparent 42px 56px
|
transparent 42px 56px
|
||||||
);
|
);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|
|
||||||
|
|
@ -42,9 +42,9 @@ const t = getTranslations(lang);
|
||||||
height: 12px;
|
height: 12px;
|
||||||
background: repeating-linear-gradient(
|
background: repeating-linear-gradient(
|
||||||
-45deg,
|
-45deg,
|
||||||
#e96b6b 0 14px,
|
#ef5a6f 0 14px,
|
||||||
transparent 14px 28px,
|
transparent 14px 28px,
|
||||||
#7da2ff 28px 42px,
|
#536493 28px 42px,
|
||||||
transparent 42px 56px
|
transparent 42px 56px
|
||||||
);
|
);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|
|
||||||
|
|
@ -240,6 +240,7 @@ const t = getTranslations(lang);
|
||||||
"Noto Sans CJK SC",
|
"Noto Sans CJK SC",
|
||||||
"Source Han Sans SC",
|
"Source Han Sans SC",
|
||||||
sans-serif;
|
sans-serif;
|
||||||
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-content :global(code),
|
.post-content :global(code),
|
||||||
|
|
|
||||||
|
|
@ -34,20 +34,11 @@ article svg[id^="mermaid-"] {
|
||||||
|
|
||||||
html {
|
html {
|
||||||
/* font-family: "Maple Mono", "Maple Mono CN", monospace; */
|
/* font-family: "Maple Mono", "Maple Mono CN", monospace; */
|
||||||
font-family:
|
font-family: 'Noto Serif SC', serif;
|
||||||
system-ui,
|
font-weight: 500;
|
||||||
-apple-system,
|
/* background-color: #ffffff; */
|
||||||
BlinkMacSystemFont,
|
background-color: #fffbf8;
|
||||||
"Segoe UI",
|
color: #0E2F56;
|
||||||
Roboto,
|
|
||||||
Oxygen,
|
|
||||||
Ubuntu,
|
|
||||||
Cantarell,
|
|
||||||
"Open Sans",
|
|
||||||
"Helvetica Neue",
|
|
||||||
sans-serif;
|
|
||||||
background-color: #ffffff;
|
|
||||||
color: #1f2328;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
|
|
@ -74,13 +65,14 @@ body::after {
|
||||||
/* 按需调整大小 */
|
/* 按需调整大小 */
|
||||||
height: 400px;
|
height: 400px;
|
||||||
/* 按需调整大小 */
|
/* 按需调整大小 */
|
||||||
background-image: url("https://files.seeusercontent.com/2026/03/30/4Xfr/bc7e804dc2c8ecaf407c9d665414ff72.webp");
|
background-image: url("https://files.seeusercontent.com/2026/04/16/1sXb/touhou___kirisame_marisa__2__by_.webp");
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: right bottom;
|
background-position: right bottom;
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
opacity: 0.35;
|
opacity: 0.35;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
html.dark body::after {
|
html.dark body::after {
|
||||||
|
|
@ -116,7 +108,7 @@ h1 {
|
||||||
|
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #416bd6;
|
color: #3D74B6;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
@ -201,8 +193,9 @@ img {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0 0 14px 0;
|
margin: 0 0 14px 0;
|
||||||
padding: 0.6rem 1rem;
|
padding: 0.6rem 1rem;
|
||||||
border: 1.5px dashed #aeb8c2;
|
border: 2px dashed #aeb8c2;
|
||||||
background-color: #f3f5f7;
|
background-color: #fffefc;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment-card:last-child {
|
.comment-card:last-child {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue