Files
MorphDoc/themes/gov-red-standard/theme.css
T

254 lines
4.6 KiB
CSS

:root {
--official-red: #d40000;
--official-ink: #111;
--official-muted: #555;
--official-rule: #222;
}
#write {
color: var(--official-ink);
font-family:
"FandolSong", "FangSong", "STFangsong", "Noto Serif CJK SC",
"Source Han Serif SC", "SimSun", serif;
font-size: 21.333px;
line-height: 1.75;
overflow-wrap: break-word;
text-align: justify;
text-justify: inter-ideograph;
}
#write .doc-masthead-official {
position: relative;
margin: 0 0 18mm;
padding: 0 0 4mm;
border-bottom: 1mm solid var(--official-red);
break-inside: avoid;
color: var(--official-red);
}
#write .doc-classification {
display: flex;
min-height: 1.75em;
justify-content: space-between;
color: var(--official-ink);
font-family:
"FandolHei", "SimHei", "Noto Sans CJK SC",
"Microsoft YaHei", sans-serif;
font-size: 0.75em;
font-weight: 400;
}
#write .doc-issuer {
margin: 9mm 0 8mm;
color: var(--official-red);
font-family:
"FandolSong", "STZhongsong", "Noto Serif CJK SC",
"Source Han Serif SC", serif;
font-size: 2em;
font-weight: 700;
letter-spacing: 0.08em;
line-height: 1.25;
text-align: center;
text-indent: 0;
}
#write .doc-issue-row {
display: flex;
min-height: 1.75em;
align-items: end;
justify-content: space-between;
color: var(--official-ink);
font-size: 0.75em;
line-height: 1.5;
}
#write .doc-signatory > span {
font-family:
"FandolSong", "FangSong", "STFangsong",
"Noto Serif CJK SC", serif;
}
#write .doc-signatory {
font-family:
"FandolSong", "KaiTi", "STKaiti",
"Noto Serif CJK SC", serif;
}
#write .doc-title {
margin: 0 0 12mm;
color: var(--official-ink);
font-family:
"FandolSong", "STZhongsong", "Noto Serif CJK SC",
"Source Han Serif SC", serif;
font-size: 1.375em;
font-weight: 700;
letter-spacing: 0.02em;
line-height: 1.45;
text-align: center;
}
#write h1:not(.doc-title),
#write h2,
#write h3,
#write h4,
#write h5,
#write h6 {
margin: 1em 0 0.35em;
color: var(--official-ink);
font-family:
"FandolHei", "SimHei", "Noto Sans CJK SC",
"Microsoft YaHei", sans-serif;
font-size: 1em;
font-weight: 400;
line-height: 1.75;
text-align: left;
text-align-last: left;
}
#write h3,
#write h4,
#write h5,
#write h6 {
font-family:
"FandolSong", "KaiTi", "STKaiti",
"Noto Serif CJK SC", serif;
font-weight: 400;
}
#write p {
margin: 0;
text-indent: 2em;
text-align-last: left;
}
#write .doc-issuer,
#write .doc-title,
#write .doc-signature p {
text-align-last: auto;
}
#write li > p,
#write blockquote p,
#write td p,
#write th p,
#write .doc-signature p,
#write .doc-edition p {
text-indent: 0;
}
#write ul,
#write ol {
margin: 0.35em 0 0.7em;
padding-left: 2em;
}
#write blockquote {
margin: 0.8em 0;
padding: 0.45em 0.8em;
border-left: 0.8mm solid var(--official-red);
background: #fff8f6;
}
#write a {
color: inherit;
text-decoration: underline;
text-underline-offset: 0.14em;
}
#write table {
width: 100%;
margin: 0.8em 0;
border-collapse: collapse;
font-family:
"FandolSong", "SimSun", "Noto Serif CJK SC",
"Source Han Serif SC", serif;
font-size: 0.75em;
line-height: 1.5;
}
#write th,
#write td {
padding: 0.35em 0.55em;
border: 0.25mm solid #222;
}
#write th {
background: #f5f5f5;
font-family:
"FandolHei", "SimHei", "Noto Sans CJK SC",
"Microsoft YaHei", sans-serif;
font-weight: 400;
text-align: center;
}
#write code {
font-family: "Cascadia Mono", Consolas, monospace;
font-size: 0.72em;
}
#write pre,
#write .md-fences {
margin: 0.8em 0;
padding: 0.75em 0.9em;
overflow: auto;
border: 0.25mm solid #aaa;
background: #f7f7f7;
line-height: 1.55;
text-align: left;
}
#write pre code {
padding: 0;
background: transparent;
}
#write .doc-signature {
width: 52%;
margin: 8mm 0 10mm auto;
break-inside: avoid;
text-align: center;
}
#write .doc-signature-issuer,
#write .doc-signature-date {
display: block;
margin: 0;
text-indent: 0;
}
#write .doc-edition {
margin-top: 10mm;
border-top: 0.7mm solid var(--official-rule);
border-bottom: 0.35mm solid var(--official-rule);
break-inside: avoid;
font-family:
"FandolSong", "FangSong", "STFangsong",
"Noto Serif CJK SC", serif;
font-size: 0.875em;
line-height: 1.7;
}
#write .doc-copy-to {
padding: 1mm 2em;
border-bottom: 0.25mm solid #777;
}
#write .doc-printing-row {
display: flex;
padding: 1mm 2em;
justify-content: space-between;
}
#write img,
#write svg {
max-width: 100%;
height: auto;
}
#write .footnotes {
margin-top: 1.5em;
padding-top: 0.6em;
border-top: 0.25mm solid #777;
font-size: 0.75em;
}