style.css 43 lignes · 2449 octets
/* Mise en page du PDF de présentation (docs/presentation/pdf.mjs), aux couleurs de design.md. */

@page { size: A4; }

html { font-family: "Open Sans", system-ui, sans-serif; font-size: 10pt; color: #262626; line-height: 1.5; }
body { margin: 0; }

.couverture {
  height: 250mm; display: flex; flex-direction: column; justify-content: center;
  border-left: 6px solid #0070d5; padding-left: 14mm; break-after: page;
}
.couverture .logo { width: 18mm; margin-bottom: 18mm; }
.couverture .surtitre { color: #be4e04; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin: 0; }
.couverture .titre { font-size: 30pt; font-weight: 600; line-height: 1.15; margin: 4mm 0 6mm; color: #333333; }
.couverture .sous-titre { font-size: 13pt; color: #595959; max-width: 140mm; margin: 0; }
.couverture .date { margin-top: 24mm; color: #8c8c8c; }

h2 { font-size: 18pt; font-weight: 600; color: #333333; break-before: page; margin: 0 0 4mm; padding-bottom: 2mm; border-bottom: 2px solid #0070d5; }
h3 { font-size: 12.5pt; font-weight: 600; color: #333333; margin: 6mm 0 2mm; break-after: avoid; }
h4 { font-size: 10.5pt; font-weight: 600; margin: 4mm 0 1mm; break-after: avoid; }
p, ul, ol { margin: 0 0 2.5mm; }
li { margin-bottom: 1mm; }
a { color: #0070d5; text-decoration: none; }
strong { font-weight: 600; }
em { color: #3b3e40; }

code { font-family: "JetBrains Mono", monospace; font-size: 8.5pt; background: #f5f5f5; padding: 0 1mm; border-radius: 2px; }
pre { background: #f7f9fa; border: 1px solid #e8e8e8; padding: 3mm; font-size: 8.5pt; white-space: pre-wrap; break-inside: avoid; }
pre code { background: none; padding: 0; }

table { width: 100%; border-collapse: collapse; margin: 2mm 0 4mm; font-size: 8.8pt; break-inside: auto; }
thead { display: table-header-group; }
tr { break-inside: avoid; }
th { background: #f7f9fa; text-align: left; font-weight: 600; color: #3b3e40; }
th, td { border: 1px solid #e8e8e8; padding: 1.5mm 2mm; vertical-align: top; }

blockquote { margin: 3mm 0; padding: 2mm 4mm; border-left: 4px solid #0070d5; background: #deeafd; color: #262626; }
blockquote p { margin: 0; }

figure.schema { margin: 3mm 0 1mm; text-align: center; break-inside: avoid; break-after: avoid; }
figure.schema + p { break-before: avoid; }
figure.schema svg { max-width: 100%; height: auto; max-height: 200mm; }
figure.schema + p em:only-child { display: block; text-align: center; font-size: 8.5pt; color: #595959; }