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:
parent
e2b3661686
commit
f77c0cf47e
4 changed files with 16 additions and 7 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
#presse {
|
||||||
|
scroll-margin-top: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
body > footer {
|
body > footer {
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
|
||||||
|
|
@ -537,7 +537,7 @@ section#handles .path .step:not(:last-child) {
|
||||||
section#system {
|
section#system {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 10rem min(15vw, 100%);
|
padding: 10rem 0 10rem min(15vw, 100%);
|
||||||
}
|
}
|
||||||
section#system .text {
|
section#system .text {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -573,12 +573,12 @@ section#system .text .bottom ul:not(:last-child) {
|
||||||
margin-bottom: 3rem;
|
margin-bottom: 3rem;
|
||||||
}
|
}
|
||||||
section#system figure {
|
section#system figure {
|
||||||
width: 55%;
|
width: 70vw;
|
||||||
height: 46vw;
|
height: 40vw;
|
||||||
}
|
}
|
||||||
section#system figure img {
|
section#system figure img {
|
||||||
-o-object-fit: cover;
|
-o-object-fit: contain;
|
||||||
object-fit: cover;
|
object-fit: contain;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
@ -726,6 +726,10 @@ section#buy img {
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#presse {
|
||||||
|
scroll-margin-top: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
body > footer {
|
body > footer {
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -474,8 +474,9 @@
|
||||||
alt="Couverture du livre Le courage du réel"
|
alt="Couverture du livre Le courage du réel"
|
||||||
/>
|
/>
|
||||||
</section>
|
</section>
|
||||||
|
<div id="presse"></div>
|
||||||
</main>
|
</main>
|
||||||
<footer id="presse" class="blue-container">
|
<footer class="blue-container">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="section-title">Contact</h2>
|
<h2 class="section-title">Contact</h2>
|
||||||
<h3 class="title">Presse et médias</h3>
|
<h3 class="title">Presse et médias</h3>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue