test_gpu_scripts/reports_gpu_Test_pdf.css

103 lines
1.3 KiB
CSS

@page {
size: A4 landscape;
margin: 13mm;
}
body {
color: #111827;
font-family: "PingFang SC", "Heiti SC", "Arial Unicode MS", sans-serif;
font-size: 11px;
line-height: 1.45;
}
h1 {
color: #0f172a;
font-size: 24px;
margin: 0 0 14px;
}
h2 {
border-bottom: 1px solid #cbd5e1;
color: #0f172a;
font-size: 17px;
margin: 24px 0 10px;
padding-bottom: 4px;
}
h3 {
color: #1f2937;
font-size: 13px;
margin: 16px 0 8px;
}
p {
margin: 7px 0;
}
code {
background: #f1f5f9;
border-radius: 3px;
color: #0f172a;
font-family: Menlo, Consolas, monospace;
font-size: 10px;
padding: 1px 3px;
}
pre {
background: #f8fafc;
border: 1px solid #e2e8f0;
border-radius: 4px;
padding: 8px;
white-space: pre-wrap;
}
table {
border-collapse: collapse;
margin: 8px 0 14px;
page-break-inside: auto;
width: 100%;
}
thead {
display: table-header-group;
}
tr {
page-break-inside: avoid;
}
th,
td {
border: 1px solid #cbd5e1;
padding: 5px 6px;
text-align: left;
vertical-align: middle;
word-break: break-word;
}
th {
background: #e2e8f0;
color: #0f172a;
font-weight: 700;
}
tbody tr:nth-child(even) td {
background: #f8fafc;
}
a {
color: #2563eb;
text-decoration: none;
}
ul,
ol {
margin: 6px 0 10px 20px;
padding: 0;
}
li {
margin: 3px 0;
}