fix: make press nav anchor work with fixed footer

- Move id="presse" from footer to empty div at end of main
- Add scroll-margin-top: 100vh to force max scroll and reveal footer

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
isUnknown 2026-02-23 19:23:35 +01:00
parent e2b3661686
commit f77c0cf47e
4 changed files with 16 additions and 7 deletions

View file

@ -537,7 +537,7 @@ section#handles .path .step:not(:last-child) {
section#system {
display: flex;
justify-content: space-between;
padding: 10rem min(15vw, 100%);
padding: 10rem 0 10rem min(15vw, 100%);
}
section#system .text {
display: flex;
@ -573,12 +573,12 @@ section#system .text .bottom ul:not(:last-child) {
margin-bottom: 3rem;
}
section#system figure {
width: 55%;
height: 46vw;
width: 70vw;
height: 40vw;
}
section#system figure img {
-o-object-fit: cover;
object-fit: cover;
-o-object-fit: contain;
object-fit: contain;
width: 100%;
height: 100%;
}
@ -726,6 +726,10 @@ section#buy img {
object-fit: cover;
}
#presse {
scroll-margin-top: 100vh;
}
body > footer {
width: 100vw;
box-sizing: border-box;