mattext-syn / scripts /pdf.css
zhilong777's picture
Add files using upload-large-folder tool
5237fbc verified
Raw History Blame Contribute Delete
1.27 kB
@page { size: A4; margin: 22mm 20mm 22mm 20mm; @bottom-center { content: counter(page); font-size: 9pt; color: #666; } }
body { font-family: "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; font-size: 10.5pt; line-height: 1.7; color: #1a1a1a; }
h1 { font-size: 18pt; margin: 0 0 14pt; line-height: 1.35; }
h2 { font-size: 13.5pt; margin: 20pt 0 8pt; padding-bottom: 3pt; border-bottom: 0.6pt solid #999; break-after: avoid; }
p { margin: 0 0 8pt; text-align: left; orphans: 2; widows: 2; }
ul, ol { margin: 0 0 8pt; padding-left: 20pt; } li { margin-bottom: 3pt; }
code { font-family: "DejaVu Sans Mono", monospace; font-size: 9pt; background: #f2f2f2; padding: 0 2pt; word-break: break-all; }
table { border-collapse: collapse; width: 100%; font-size: 9.5pt; margin: 8pt 0 12pt; }
th, td { border: 0.5pt solid #888; padding: 4pt 6pt; vertical-align: top; text-align: left; }
th { background: #eee; } tr { break-inside: avoid; }
h3 { font-size: 11.5pt; margin: 14pt 0 6pt; break-after: avoid; }
img { width: 100%; margin: 6pt 0 2pt; }
pre { font-family: "DejaVu Sans Mono", "Microsoft YaHei", monospace; font-size: 8pt; line-height: 1.45; background: #f6f6f6; padding: 6pt 8pt; white-space: pre-wrap; }
pre code { background: none; font-size: 8pt; word-break: normal; }