Files
eisterman 84673c573d Add the Italian playtest edition (7.2.0, D53)
RULES.it.md translates RULES.md v0.9. edition/build.py renders a
printable A4 HTML (edition/it/playtest.html): quick reference, rules,
belt track, board overview and four board tiles drawn from the board
model (Tunnel pairs numbered, Dojo entrances marked), and the 22 Nebbia
cards. Adds markdown as a dev dependency.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-27 19:06:09 +02:00

246 lines
3.3 KiB
CSS

@page {
size: A4;
margin: 10mm;
}
:root {
--ink: #1c1917;
--muted: #57534e;
--line: #d6d3d1;
--paper: #ffffff;
--desk: #e7e5e4;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: var(--desk);
color: var(--ink);
font: 10.5pt/1.4 Georgia, "Times New Roman", serif;
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}
.page {
width: 210mm;
min-height: 297mm;
margin: 8mm auto;
padding: 10mm;
background: var(--paper);
box-shadow: 0 1px 4px rgb(0 0 0 / 0.2);
}
h1 {
margin: 0;
font-size: 24pt;
}
h2 {
margin: 1.2em 0 0.4em;
font-size: 15pt;
border-bottom: 1px solid var(--line);
}
h3 {
margin: 1em 0 0.3em;
font-size: 12pt;
}
.edition {
margin: 0 0 4mm;
color: var(--muted);
font-style: italic;
}
table {
border-collapse: collapse;
margin: 2mm 0 3mm;
width: 100%;
}
th,
td {
border: 1px solid var(--line);
padding: 1mm 2mm;
text-align: left;
vertical-align: top;
}
th {
background: #f5f5f4;
}
ol,
ul {
margin: 1mm 0 2mm;
padding-left: 6mm;
}
.cover {
font-size: 10pt;
}
.cover h2 {
margin-top: 3mm;
}
.board {
display: block;
margin: 0 auto;
font-family: Helvetica, Arial, sans-serif;
}
.legend {
display: flex;
flex-wrap: wrap;
gap: 2mm 5mm;
margin: 4mm 0 2mm;
font-family: Helvetica, Arial, sans-serif;
font-size: 9pt;
}
.key {
display: inline-flex;
align-items: center;
gap: 1.5mm;
}
.swatch {
display: inline-block;
width: 7mm;
height: 7mm;
border: 1px solid #a8a29e;
font-weight: 700;
line-height: 7mm;
text-align: center;
}
.tile-name {
margin: 0 0 4mm;
color: var(--muted);
font-size: 9pt;
}
.track {
width: auto;
margin: 6mm auto;
font-family: Helvetica, Arial, sans-serif;
}
.track th {
width: 32mm;
font-size: 13pt;
vertical-align: middle;
}
.track td {
width: 32mm;
height: 30mm;
border: 2px solid var(--ink);
font-size: 20pt;
font-weight: 700;
text-align: center;
vertical-align: middle;
}
.track .black th,
.track .black td {
background: var(--ink);
color: var(--paper);
font-size: 12pt;
}
.cards {
display: grid;
grid-template-columns: repeat(3, 63mm);
grid-auto-rows: 88mm;
gap: 0;
align-content: start;
justify-content: center;
padding-top: 8mm;
}
.card {
display: flex;
flex-direction: column;
padding: 4mm;
border: 0.3mm dashed #78716c;
font-family: Helvetica, Arial, sans-serif;
}
.card .kind {
margin: 0;
color: var(--muted);
font-size: 8pt;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.card h3 {
margin: 1mm 0 3mm;
font-size: 13pt;
}
.card .text {
flex: 1;
margin: 0;
font-size: 10pt;
}
.card .note {
margin: 0 0 2mm;
font-size: 8pt;
font-style: italic;
}
.card .deck {
margin: 0;
padding-top: 1.5mm;
border-top: 1px solid var(--line);
color: var(--muted);
font-size: 7.5pt;
text-align: center;
}
.card.tecnica {
background: #eef2ff;
}
.card.movimento {
background: #ecfeff;
}
.card.interazione {
background: #fff7ed;
}
.card.evento {
background: #f7fee7;
}
@media print {
body {
background: none;
}
.page {
width: auto;
min-height: 0;
margin: 0;
padding: 0;
box-shadow: none;
break-after: page;
}
.page:last-child {
break-after: auto;
}
.cards {
padding-top: 4mm;
}
}