140 lines
2.4 KiB
CSS
140 lines
2.4 KiB
CSS
:root {
|
|
--regulation-ink: #111;
|
|
--regulation-muted: #555;
|
|
--regulation-border: #555;
|
|
--regulation-soft: #f3f3f3;
|
|
}
|
|
|
|
#write {
|
|
color: var(--regulation-ink);
|
|
font-family:
|
|
"FandolSong", "FangSong", "STFangsong", "Noto Serif CJK SC",
|
|
"Source Han Serif SC", "SimSun", serif;
|
|
font-size: 18px;
|
|
line-height: 1.8;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
#write > h1:first-child {
|
|
margin: 8mm 0 12mm;
|
|
font-family:
|
|
"FandolSong", "STZhongsong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
|
|
font-size: 1.8em;
|
|
line-height: 1.4;
|
|
text-align: center;
|
|
}
|
|
|
|
#write h1,
|
|
#write h2,
|
|
#write h3,
|
|
#write h4,
|
|
#write h5,
|
|
#write h6 {
|
|
margin: 1.2em 0 0.35em;
|
|
color: #111;
|
|
font-size: 1em;
|
|
font-weight: 700;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
#write h1 {
|
|
font-family:
|
|
"FandolSong", "STZhongsong", "Noto Serif CJK SC", serif;
|
|
}
|
|
|
|
#write h2 {
|
|
font-family:
|
|
"FandolHei", "SimHei", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
|
|
}
|
|
|
|
#write h3,
|
|
#write h4,
|
|
#write h5,
|
|
#write h6 {
|
|
font-family:
|
|
"FandolSong", "KaiTi", "STKaiti", "Noto Serif CJK SC", serif;
|
|
}
|
|
|
|
#write p {
|
|
margin: 0;
|
|
text-align: justify;
|
|
text-indent: 2em;
|
|
}
|
|
|
|
#write li > p,
|
|
#write blockquote p,
|
|
#write td p,
|
|
#write th p {
|
|
text-indent: 0;
|
|
}
|
|
|
|
#write ul,
|
|
#write ol {
|
|
margin: 0.3em 0 0.65em;
|
|
padding-left: 2em;
|
|
}
|
|
|
|
#write blockquote {
|
|
margin: 0.8em 0;
|
|
padding: 0.55em 0.85em;
|
|
border: 1px solid #999;
|
|
background: var(--regulation-soft);
|
|
}
|
|
|
|
#write table {
|
|
width: 100%;
|
|
margin: 0.8em 0;
|
|
border-collapse: collapse;
|
|
font-family:
|
|
"FandolSong", "SimSun", "Noto Serif CJK SC", serif;
|
|
font-size: 0.84em;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
#write th,
|
|
#write td {
|
|
padding: 0.38em 0.55em;
|
|
border: 0.3mm solid var(--regulation-border);
|
|
}
|
|
|
|
#write th {
|
|
background: #e9e9e9;
|
|
font-family:
|
|
"FandolHei", "SimHei", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
}
|
|
|
|
#write a {
|
|
color: inherit;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
#write code {
|
|
font-family: "Cascadia Mono", Consolas, monospace;
|
|
font-size: 0.78em;
|
|
}
|
|
|
|
#write pre,
|
|
#write .md-fences {
|
|
margin: 0.8em 0;
|
|
padding: 0.75em 0.9em;
|
|
overflow: auto;
|
|
border: 0.25mm solid #999;
|
|
background: #f5f5f5;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
#write pre code {
|
|
padding: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
#write .footnotes {
|
|
margin-top: 1.5em;
|
|
padding-top: 0.6em;
|
|
border-top: 0.25mm solid #777;
|
|
color: var(--regulation-muted);
|
|
font-size: 0.8em;
|
|
}
|