2026-03-26 15:50:30 +00:00
|
|
|
|
@import url("https://unpkg.com/@fontsource/maple-mono@5.2.6/400.css");
|
|
|
|
|
|
@import url("https://unpkg.com/@fontsource/maple-mono@5.2.6/400-italic.css");
|
|
|
|
|
|
@import url("https://unpkg.com/@fontsource/maple-mono@5.2.6/700.css");
|
2026-04-24 21:01:08 +00:00
|
|
|
|
@import "./latest-comments.css";
|
|
|
|
|
|
@import "./variables.css";
|
2026-04-24 22:05:50 +00:00
|
|
|
|
@import "./dialog.css";
|
2026-03-26 15:50:30 +00:00
|
|
|
|
|
2026-03-26 13:54:03 +00:00
|
|
|
|
pre {
|
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
|
line-height: 1.6;
|
|
|
|
|
|
margin: 1rem 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
code {
|
|
|
|
|
|
font-family: "Maple Mono", monospace;
|
2026-04-10 22:22:44 +00:00
|
|
|
|
font-size: 0.96rem;
|
2026-03-26 13:54:03 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* 行内代码 */
|
|
|
|
|
|
p code,
|
|
|
|
|
|
li code,
|
|
|
|
|
|
blockquote code,
|
|
|
|
|
|
td code {
|
|
|
|
|
|
padding: 0.15em 0.4em;
|
|
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
|
|
background: rgba(127, 127, 127, 0.12);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-04-14 10:30:40 +00:00
|
|
|
|
article svg.flowchart,
|
|
|
|
|
|
article svg[class*="flowchart"],
|
|
|
|
|
|
article svg[id^="mermaid-"] {
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
margin: 1.5rem auto;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-03-24 17:33:01 +00:00
|
|
|
|
html {
|
2026-04-15 22:42:44 +00:00
|
|
|
|
/* font-family: "Maple Mono", "Maple Mono CN", monospace; */
|
2026-04-17 10:42:26 +00:00
|
|
|
|
font-family:
|
|
|
|
|
|
"Noto Serif SC",
|
|
|
|
|
|
"Source Han Serif SC",
|
|
|
|
|
|
"Songti SC",
|
|
|
|
|
|
"STSong",
|
|
|
|
|
|
"SimSun",
|
|
|
|
|
|
serif;
|
2026-04-16 17:50:59 +00:00
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
/* background-color: #ffffff; */
|
2026-04-24 21:01:08 +00:00
|
|
|
|
background-color: var(--background-color);
|
|
|
|
|
|
color: var(--text-color);
|
2026-03-24 17:33:01 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-04-14 12:32:18 +00:00
|
|
|
|
html {
|
|
|
|
|
|
scrollbar-gutter: stable;
|
|
|
|
|
|
scrollbar-width: thin;
|
|
|
|
|
|
scrollbar-color: #828282 transparent;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-03-24 17:33:01 +00:00
|
|
|
|
body {
|
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
|
width: 100%;
|
2026-04-16 17:53:26 +00:00
|
|
|
|
max-width: 90ch;
|
2026-03-24 17:33:01 +00:00
|
|
|
|
padding: 1rem;
|
2026-03-24 22:28:23 +00:00
|
|
|
|
line-height: 1.7;
|
2026-04-10 22:22:44 +00:00
|
|
|
|
font-size: 1.15rem;
|
2026-03-24 17:33:01 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-03-28 19:17:09 +00:00
|
|
|
|
body::after {
|
|
|
|
|
|
content: "";
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
right: 0;
|
|
|
|
|
|
bottom: 0;
|
|
|
|
|
|
width: 400px;
|
|
|
|
|
|
/* 按需调整大小 */
|
|
|
|
|
|
height: 400px;
|
|
|
|
|
|
/* 按需调整大小 */
|
2026-04-16 17:50:59 +00:00
|
|
|
|
background-image: url("https://files.seeusercontent.com/2026/04/16/1sXb/touhou___kirisame_marisa__2__by_.webp");
|
2026-03-28 19:17:09 +00:00
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
|
background-position: right bottom;
|
|
|
|
|
|
background-size: contain;
|
|
|
|
|
|
opacity: 0.35;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
z-index: -1;
|
2026-04-16 17:50:59 +00:00
|
|
|
|
|
2026-03-28 19:17:09 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-03-28 20:42:16 +00:00
|
|
|
|
html.dark body::after {
|
2026-03-30 17:12:36 +00:00
|
|
|
|
background-image: url("https://files.seeusercontent.com/2026/03/30/vd8W/touhou___alice_margatroid_x_kiri.webp");
|
2026-03-28 20:42:16 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-04-04 09:48:25 +00:00
|
|
|
|
@media (max-width: 900px) {
|
2026-04-07 09:45:09 +00:00
|
|
|
|
body::after {
|
2026-04-15 23:10:00 +00:00
|
|
|
|
opacity: 0;
|
2026-04-07 09:45:09 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: 700px) {
|
2026-04-10 22:33:35 +00:00
|
|
|
|
code {
|
|
|
|
|
|
font-size: 0.92rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
|
}
|
2026-03-29 09:36:07 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-04-07 09:45:09 +00:00
|
|
|
|
|
2026-03-24 17:33:01 +00:00
|
|
|
|
* {
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
|
|
margin: 1rem 0;
|
2026-03-24 22:50:33 +00:00
|
|
|
|
font-size: 1.5rem;
|
2026-03-24 22:28:23 +00:00
|
|
|
|
line-height: 1.2;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-03-24 22:50:33 +00:00
|
|
|
|
|
2026-03-24 22:28:23 +00:00
|
|
|
|
a {
|
2026-04-16 17:50:59 +00:00
|
|
|
|
color: #3D74B6;
|
2026-03-24 22:28:23 +00:00
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
a:hover,
|
|
|
|
|
|
a:focus {
|
|
|
|
|
|
text-decoration: underline;
|
2026-03-24 18:01:45 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
html.dark {
|
2026-03-24 22:28:23 +00:00
|
|
|
|
background-color: #1e1e1e;
|
|
|
|
|
|
color: #e6e6e6;
|
2026-03-24 18:01:45 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.dark .menu {
|
2026-03-24 22:28:23 +00:00
|
|
|
|
background-color: #2a2a2a;
|
|
|
|
|
|
color: #e6e6e6;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.dark .nav-links a {
|
|
|
|
|
|
color: #9ecbff;
|
|
|
|
|
|
font-weight: 700;
|
2026-03-24 18:01:45 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.dark .nav-links a:hover,
|
|
|
|
|
|
.dark .nav-links a:focus {
|
2026-03-24 22:28:23 +00:00
|
|
|
|
color: #c2deff;
|
2026-03-24 18:01:45 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-03-24 22:28:23 +00:00
|
|
|
|
.dark a {
|
|
|
|
|
|
color: #9ecbff;
|
|
|
|
|
|
font-weight: 700;
|
2026-03-24 18:01:45 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-03-24 22:28:23 +00:00
|
|
|
|
.dark a:hover,
|
|
|
|
|
|
.dark a:focus {
|
|
|
|
|
|
color: #c2deff;
|
2026-03-25 17:41:06 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
img {
|
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
height: auto;
|
|
|
|
|
|
display: block;
|
2026-06-01 16:57:49 +00:00
|
|
|
|
}
|
2026-06-01 18:42:42 +00:00
|
|
|
|
|
|
|
|
|
|
/* 避免 Markdown 内容撑宽正文 */
|
|
|
|
|
|
.post-article,
|
|
|
|
|
|
.post-content {
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* 块级公式过长时独立横向滚动 */
|
|
|
|
|
|
.post-content .katex-display {
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
|
overflow-y: hidden;
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
padding: 0.25rem 0;
|
|
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.post-content .katex-display > .katex {
|
|
|
|
|
|
display: inline-block;
|
|
|
|
|
|
min-width: max-content;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* =========================
|
|
|
|
|
|
Markdown details 下拉栏
|
|
|
|
|
|
========================= */
|
|
|
|
|
|
|
|
|
|
|
|
.post-content details {
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
margin: 1.5rem 0;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
|
|
|
|
border-top: 2px solid #1e3a5f;
|
|
|
|
|
|
border-radius: 0 0 0.5rem 0.5rem;
|
|
|
|
|
|
background: rgba(128, 128, 128, 0.14);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.post-content details summary {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
|
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
padding: 0.8rem 0.9rem;
|
|
|
|
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
user-select: none;
|
|
|
|
|
|
list-style: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.post-content details summary::-webkit-details-marker {
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.post-content details summary::before {
|
|
|
|
|
|
content: "›";
|
|
|
|
|
|
display: inline-block;
|
|
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
|
font-size: 1.25rem;
|
|
|
|
|
|
line-height: 1;
|
|
|
|
|
|
transition: transform 0.2s ease;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.post-content details[open] summary::before {
|
|
|
|
|
|
transform: rotate(90deg);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.post-content details > :not(summary) {
|
|
|
|
|
|
min-width: 0;
|
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
margin-top: 0;
|
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
|
padding-right: 1rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.post-content details > ol,
|
|
|
|
|
|
.post-content details > ul {
|
|
|
|
|
|
padding: 0.6rem 1rem 1rem 3rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.post-content details li {
|
|
|
|
|
|
margin: 0.8rem 0;
|
|
|
|
|
|
}
|
2026-06-01 18:43:54 +00:00
|
|
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
|
|
margin: 1.25rem 0;
|
|
|
|
|
|
padding: 0.75rem 1rem;
|
|
|
|
|
|
border-left: 4px solid var(--deep-red);
|
|
|
|
|
|
background: rgba(128, 128, 128, 0.1);
|
|
|
|
|
|
border-radius: 0 0.4rem 0.4rem 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
blockquote p {
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
blockquote p + p {
|
|
|
|
|
|
margin-top: 0.75rem;
|
|
|
|
|
|
}
|