From 2450661f9696729ef77cb649ad20c3aec4978028 Mon Sep 17 00:00:00 2001 From: ordinarthur <@arthurbarre.js@gmail.com> Date: Wed, 13 May 2026 05:55:13 +0200 Subject: [PATCH] Make CV pages fill A4 edge-to-edge in print Drop the 8mm page padding and extend frame to full 297mm in @media print so the footer is no longer clipped on the short CV and the white band around each page disappears. Co-Authored-By: Claude Opus 4.7 --- Resume-Arthur-barre-fr.html | 3 ++- cv-short.html | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Resume-Arthur-barre-fr.html b/Resume-Arthur-barre-fr.html index 26ec001..3730408 100644 --- a/Resume-Arthur-barre-fr.html +++ b/Resume-Arthur-barre-fr.html @@ -463,7 +463,8 @@ overflow: hidden; } .page:last-child { page-break-after: auto; break-after: auto; } - .frame { height: calc(297mm - 16mm); } + .page { padding: 0; } + .frame { height: 297mm; border: none; } .row, article, .section-header, .topbar, .hero { page-break-inside: avoid; break-inside: avoid; } /* Global print compaction — all pages */ diff --git a/cv-short.html b/cv-short.html index 12ea737..8e1f771 100644 --- a/cv-short.html +++ b/cv-short.html @@ -355,11 +355,13 @@ .page { width: 210mm; height: 297mm; + padding: 0; page-break-after: auto; break-after: auto; margin: 0; overflow: hidden; } + .frame { height: 297mm; border: none; } .print-btn, .switch-btn, .lang-toggle { display: none !important; } a { color: inherit; } }