download pdf aside

This commit is contained in:
Julie Blanc 2026-01-09 14:37:44 +01:00
parent 5f4783f0b6
commit 3ea41b5cf0
5 changed files with 62 additions and 40 deletions

View file

@ -1776,7 +1776,8 @@ body main {
cursor: pointer;
}
[data-template=investigation-summary] main #hero {
margin: calc(var(--spacing) * 3) 0;
margin-top: calc(var(--spacing) * 1);
margin-bottom: calc(var(--spacing) * 3);
}
[data-template=investigation-summary] main .section__article {
margin-left: var(--banner-medium);
@ -1808,7 +1809,8 @@ body main {
width: calc((100% - var(--max-w-content)) / 2);
}
[data-template=investigation-summary] main #hero {
margin: calc(var(--spacing) * 3) 0;
margin-top: 0;
margin-bottom: calc(var(--spacing) * 3);
}
[data-template=investigation-summary] main #hero figcaption {
max-width: var(--max-w-content);
@ -1857,9 +1859,9 @@ body main {
font-weight: normal;
}
#rapport .rapport__header .rapport__figure {
display: none;
width: 100%;
aspect-ratio: 2/1;
margin-top: calc(var(--spacing) * 2);
}
#rapport .rapport__header .rapport__figure img {
width: 100%;
@ -1873,7 +1875,7 @@ body main {
border-bottom: var(--border-light);
flex-grow: 2;
align-items: flex-start;
margin-top: calc(var(--spacing) * 2);
margin-top: calc(var(--spacing) * 0.5);
}
#rapport .rapport__header .rapport__dl .dl__group {
display: grid;
@ -1962,12 +1964,11 @@ body main {
position: fixed;
top: calc(var(--header-h) + var(--padding-body));
left: var(--padding-body);
border: var(--border-light);
height: calc(100vh - var(--header-h) - var(--padding-body) * 2);
height: calc(100vh - var(--header-h) - var(--padding-body) * 4);
}
#rapport__aside .tabs {
display: flex;
border-bottom: var(--border-light);
border: var(--border-light);
height: calc(var(--h-block) * 1.25);
}
#rapport__aside .tabs .tab {
@ -1992,6 +1993,8 @@ body main {
padding: var(--padding-body);
height: calc(100% - var(--h-block) * 1.25);
overflow: scroll;
border: var(--border-light);
border-top: none;
}
#rapport__aside #toc ul {
list-style: none;
@ -2015,6 +2018,10 @@ body main {
#rapport__aside #toc a {
text-decoration: none;
}
#rapport__aside #download-pdf {
margin: 0 auto;
margin-top: calc(var(--spacing) * 0.5);
}
#tab-print, #tab-toc {
display: none;