Files
ANSCORE/docs/print.css
T

192 lines
3.2 KiB
CSS
Raw Normal View History

2026-06-12 14:13:26 +10:00
@page {
size: A4;
margin: 22mm 18mm 22mm 18mm;
@top-right {
content: "ANSCORE — System Architecture (L2 + L3)";
font-family: -apple-system, "Helvetica Neue", Arial, sans-serif;
font-size: 8.5pt;
color: #888;
}
@bottom-right {
content: "Page " counter(page) " / " counter(pages);
font-family: -apple-system, "Helvetica Neue", Arial, sans-serif;
font-size: 8.5pt;
color: #888;
}
@bottom-left {
content: "v1.0 • 2026-05-26 • ANSCENTER";
font-family: -apple-system, "Helvetica Neue", Arial, sans-serif;
font-size: 8.5pt;
color: #888;
}
}
@page :first {
@top-right { content: ""; }
@bottom-right { content: ""; }
@bottom-left { content: ""; }
}
html, body {
font-family: -apple-system, "Helvetica Neue", "Segoe UI", Arial, "Apple Symbols", "STIXGeneral", "Lucida Grande", sans-serif;
font-size: 10.5pt;
line-height: 1.45;
color: #222;
}
h1 {
font-size: 22pt;
color: #102a55;
border-bottom: 2px solid #102a55;
padding-bottom: 4pt;
margin-top: 0;
page-break-before: always;
page-break-after: avoid;
}
h1:first-of-type {
page-break-before: avoid;
}
h2 {
font-size: 15pt;
color: #1a4080;
margin-top: 1.4em;
page-break-after: avoid;
}
h3 {
font-size: 12.5pt;
color: #1a4080;
margin-top: 1.1em;
page-break-after: avoid;
}
h4 {
font-size: 11pt;
color: #333;
margin-top: 0.9em;
page-break-after: avoid;
}
p, ul, ol {
margin: 0.5em 0;
}
ul, ol {
padding-left: 1.4em;
}
li {
margin: 0.15em 0;
}
a {
color: #1a4080;
text-decoration: none;
}
code {
font-family: "SF Mono", "Menlo", Consolas, monospace;
font-size: 9pt;
background: #f4f4f6;
padding: 1px 4px;
border-radius: 3px;
color: #2c2c2c;
}
pre {
font-family: "SF Mono", "Menlo", Consolas, monospace;
font-size: 9pt;
background: #f6f8fa;
border: 1px solid #e1e4e8;
border-radius: 4px;
padding: 10pt 12pt;
line-height: 1.4;
overflow-x: auto;
page-break-inside: avoid;
}
pre code {
background: transparent;
padding: 0;
font-size: 9pt;
}
table {
border-collapse: collapse;
width: 100%;
margin: 0.8em 0;
font-size: 9.5pt;
page-break-inside: avoid;
}
th, td {
border: 1px solid #d0d4dc;
padding: 5pt 7pt;
text-align: left;
vertical-align: top;
}
th {
background: #eef2f8;
color: #102a55;
font-weight: 600;
}
tr:nth-child(even) td {
background: #fafbfd;
}
img {
max-width: 100%;
display: block;
margin: 0.6em auto;
page-break-inside: avoid;
}
hr {
border: 0;
border-top: 1px solid #d0d4dc;
margin: 1.5em 0;
}
blockquote {
border-left: 3px solid #c3cad6;
margin: 0.6em 0;
padding: 0.2em 0.9em;
color: #555;
background: #f7f8fa;
font-style: italic;
}
/* Title block (pandoc emits a header div) */
header#title-block-header {
text-align: center;
margin-top: 18%;
padding-bottom: 35%;
border-bottom: none;
}
header#title-block-header h1.title {
font-size: 30pt;
color: #102a55;
border-bottom: none;
page-break-before: avoid;
margin-bottom: 12pt;
}
header#title-block-header p.subtitle {
font-size: 14pt;
color: #555;
font-style: italic;
margin: 6pt 0;
}
header#title-block-header p.author,
header#title-block-header p.date {
font-size: 11pt;
color: #777;
margin: 4pt 0;
}