Files
gps/soc/software/pmod_spi_test/docs/imu_guide_print.css
T
2026-07-12 12:55:57 +03:00

151 lines
2.0 KiB
CSS

@page {
size: A4;
margin: 16mm 16mm 18mm 16mm;
}
html {
font-family: "DejaVu Sans", Arial, sans-serif;
font-size: 9.5pt;
line-height: 1.42;
color: #172033;
}
body {
max-width: none;
margin: 0;
}
h1, h2, h3, h4 {
color: #24558d;
line-height: 1.18;
break-after: avoid-page;
}
h1 {
margin-top: 1.15em;
padding-bottom: 0.18em;
border-bottom: 2px solid #8fb3d9;
font-size: 18pt;
}
h2 {
margin-top: 1.0em;
font-size: 14pt;
}
h3 {
margin-top: 0.9em;
font-size: 11.5pt;
}
p, li {
orphans: 3;
widows: 3;
}
table {
width: 100%;
border-collapse: collapse;
margin: 0.55em 0 0.9em 0;
font-size: 8.35pt;
break-inside: auto;
}
thead {
display: table-header-group;
}
tr {
break-inside: avoid-page;
}
th, td {
border: 1px solid #9aa9bb;
padding: 4px 6px;
text-align: left;
vertical-align: top;
}
th {
background: #dceafb;
color: #173f6c;
font-weight: 700;
}
tbody tr:nth-child(even) td {
background: #f6f9fc;
}
pre {
font-family: "DejaVu Sans Mono", monospace;
font-size: 8.1pt;
line-height: 1.32;
background: #f3f6f9;
border-left: 4px solid #5c87b5;
padding: 7px 9px;
white-space: pre-wrap;
overflow-wrap: anywhere;
break-inside: avoid-page;
}
code {
font-family: "DejaVu Sans Mono", monospace;
color: #153f69;
}
a {
color: #1d5f9e;
text-decoration: none;
overflow-wrap: anywhere;
}
blockquote {
margin-left: 0;
padding: 0.2em 0.8em;
border-left: 4px solid #91a9c2;
background: #f6f8fa;
}
#title-block-header {
min-height: 235mm;
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
break-after: page;
}
#title-block-header h1 {
border: 0;
color: #173f6c;
font-size: 25pt;
}
#TOC {
break-after: page;
columns: 2;
column-gap: 12mm;
font-size: 8.7pt;
}
#TOC > h2 {
column-span: all;
font-size: 18pt;
}
#TOC ul {
padding-left: 1.5em;
}
hr {
border: 0;
border-top: 1px solid #8ca0b5;
margin: 1.5em 0;
}
@media print {
a[href^="http"]::after {
content: "";
}
}