chore(clean): remove dead CSS + normalize whitespace (tour CLN)
index.html: drop unused .reveal.d6 rule (markup uses d1-d5 only).
CV_Bastien_Chanot.html:
- remove dead `position: running(siteFooter)` — no `element()` consumer,
and .footer-bar is `display:none` in @media print (the @page
auto-numbered footer replaces it); on screen running() is an invalid
position value, ignored.
- remove no-op `box-shadow: none` on .page (weasyprint ignores box-shadow;
.page sets a shadow nowhere).
- remove dead `.skills-grid { font-size: 8.4pt }` (every direct child is a
.skill-label/.skill-values div that sets its own size; no bare text).
- normalize stray blank lines.
Behavior-preserving: PDF regenerated from the edited HTML is byte-identical
to the pre-edit baseline (text sha256 + per-page PNG render hash match),
so CV_Bastien_Chanot.pdf is unchanged and the PDF=HTML invariant holds.
This commit is contained in:
@@ -44,14 +44,11 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.page {
|
.page {
|
||||||
width: 210mm;
|
width: 210mm;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
background: var(--page);
|
background: var(--page);
|
||||||
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -312,8 +309,6 @@
|
|||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 115px 1fr;
|
grid-template-columns: 115px 1fr;
|
||||||
gap: 1px 10px;
|
gap: 1px 10px;
|
||||||
font-size: 8.4pt;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.skill-label {
|
.skill-label {
|
||||||
@@ -405,7 +400,6 @@
|
|||||||
|
|
||||||
/* ── FOOTER ── */
|
/* ── FOOTER ── */
|
||||||
.footer-bar {
|
.footer-bar {
|
||||||
position: running(siteFooter);
|
|
||||||
background: var(--dark);
|
background: var(--dark);
|
||||||
padding: 5px 20mm;
|
padding: 5px 20mm;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -435,7 +429,7 @@
|
|||||||
linear-gradient(160deg, #f5f3ec 0%, #edeadf 55%, #f2efe6 100%);
|
linear-gradient(160deg, #f5f3ec 0%, #edeadf 55%, #f2efe6 100%);
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
.page { box-shadow: none; background: transparent; }
|
.page { background: transparent; }
|
||||||
.cv-header { padding: 18px 14mm 14px; }
|
.cv-header { padding: 18px 14mm 14px; }
|
||||||
.cv-body { padding: 10px 14mm 12px; background: transparent; }
|
.cv-body { padding: 10px 14mm 12px; background: transparent; }
|
||||||
|
|
||||||
|
|||||||
@@ -344,7 +344,6 @@
|
|||||||
.reveal.d3 { animation-delay: .30s; }
|
.reveal.d3 { animation-delay: .30s; }
|
||||||
.reveal.d4 { animation-delay: .42s; }
|
.reveal.d4 { animation-delay: .42s; }
|
||||||
.reveal.d5 { animation-delay: .55s; }
|
.reveal.d5 { animation-delay: .55s; }
|
||||||
.reveal.d6 { animation-delay: .68s; }
|
|
||||||
@keyframes rise {
|
@keyframes rise {
|
||||||
to { opacity: 1; transform: translateY(0); }
|
to { opacity: 1; transform: translateY(0); }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user