double thumbnail

This commit is contained in:
Julie Blanc 2026-01-09 13:43:25 +01:00
parent 610bee465c
commit 90aa3babd6
5 changed files with 31 additions and 11 deletions

View file

@ -1845,7 +1845,7 @@ body main {
font-weight: normal;
}
#rapport .rapport__header dl {
align-self: end;
align-self: start;
font-size: var(--fs-small);
border-bottom: var(--border-light);
flex-grow: 2;
@ -1863,14 +1863,19 @@ body main {
color: var(--color-txt-light);
padding-right: 1ch;
}
#rapport .rapport__header .thumbnail-pdf {
#rapport .rapport__header .thumbnail--group {
display: flex;
flex-direction: column;
gap: calc(var(--spacing) * 0.5);
}
#rapport .rapport__header .thumbnail {
width: 140px;
}
#rapport .rapport__header .thumbnail-pdf figure {
#rapport .rapport__header .thumbnail figure {
border: var(--border-medium);
display: flex;
}
#rapport .rapport__header .thumbnail-pdf .btn--small {
#rapport .rapport__header .thumbnail .btn--small {
width: 100%;
margin-top: calc(var(--spacing) * 0.25);
}

File diff suppressed because one or more lines are too long

View file

@ -34,6 +34,6 @@
@import 'template/investigations';
@import 'template/investigation-summary';
@import 'template/investigation';
@import 'template/rapport';

View file

@ -46,7 +46,7 @@
dl{
align-self: end;
align-self: start;
font-size: var(--fs-small);
border-bottom: var(--border-light);
flex-grow: 2;
@ -63,7 +63,14 @@
}
}
.thumbnail-pdf{
.thumbnail--group{
display: flex;
flex-direction: column;
gap: calc(var(--spacing)*0.5);
}
.thumbnail{
width: 140px;
figure{
border: var(--border-medium);

View file

@ -65,9 +65,17 @@
</dl>
<div class="thumbnail-pdf">
<figure><img src="/assets/images/cover-rapport.png"></figure>
<button class="btn--small"><a href="#">Télégarcher le PDF</a></button>
<div class="thumbnail--group">
<div class="thumbnail thumbnail-pdf">
<figure><img src="/assets/images/cover-rapport.png"></figure>
<button class="btn--small"><a href="#">Télégarcher le PDF</a></button>
<a class="link-block" href="#"></a>
</div>
<div class="thumbnail thumbnail-summary">
<figure><img src="/assets/images/Nidal-Khaled-Amirah.png"></figure>
<button class="btn--small"><a href="#">Voir la synthèse</a></button>
<a class="link-block" href="/enquetes/l-execution-de-nidal-et-khaled-amirah-a-naplouse"></a>
</div>
</div>
</header>