images modifs

This commit is contained in:
sarahgarcin1 2026-04-09 18:19:19 +02:00
parent 0545b131de
commit 714f0a12f8
20 changed files with 134 additions and 22 deletions

View file

@ -30,4 +30,16 @@ figure[data-crop="false"] img {
width: 100%;
height: auto;
object-fit: contain;
}
/* --- INTERPAGE ---- */
.interpage figure {
/*background-color: var(--copper);*/
background-color: var(--silver);
}
.interpage figure img {
filter: grayscale(100%);
mix-blend-mode: screen;
}

View file

@ -226,10 +226,10 @@ figure img.cover{ object-fit: cover; max-width: none; width:100%; height:100%;}
height: auto;
}
.full-bleed-image figure img{
object-fit: cover;
max-width: none;
width:100%;
.full-bleed-image figure img{
object-fit: cover;
max-width: none;
width:100%;
height:100%;
}

View file

@ -29,9 +29,9 @@
--green: #000;
--blue: #000;
--silver: #8A8D8F;
--copper: #a8923f;
/* PANTONE 8642 C */
--silver: rgb(138, 131, 124);
--copper: rgb(147, 121, 118);
/* PANTONE 10444 C ou 8002 C */
--border: 4mm; /* à enlever */

View file

@ -0,0 +1,17 @@
Caption:
----
Taille:
----
Alt:
----
Sort: 17
----
Uuid: euna8zgkvjtl8d6b

View file

@ -10,7 +10,7 @@ Typeof: essai
----
Cover: - file://etrhupihgpfizstq
Cover: - file://zq17yj6hqwsimj2b
----

Binary file not shown.

After

Width:  |  Height:  |  Size: 804 KiB

View file

@ -0,0 +1,17 @@
Caption:
----
Taille:
----
Alt:
----
Sort: 6
----
Uuid: zq17yj6hqwsimj2b

View file

@ -10,7 +10,7 @@ Typeof: essai
----
Cover: - file://qrvv3ph5la8ywppy
Cover: - file://h0w2gkaqujygdpdw
----
@ -22,6 +22,10 @@ Text: [{"content":{"level":"h3","text":"Introduction"},"id":"362d22b4-107e-48cf-
----
Portfolio:
----
Chapeau:
----

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

View file

@ -0,0 +1,17 @@
Caption:
----
Taille:
----
Alt:
----
Sort: 11
----
Uuid: h0w2gkaqujygdpdw

View file

@ -10,7 +10,7 @@ Typeof: essai
----
Cover: - file://ktfsuc0az4cfej77
Cover: - file://tvzxrh3kd5corz0q
----
@ -22,6 +22,10 @@ Text: [{"content":{"text":"<p>On peut distinguer deux types denseignements de
----
Portfolio:
----
Chapeau:
----

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

View file

@ -0,0 +1,17 @@
Caption:
----
Taille:
----
Alt:
----
Sort: 4
----
Uuid: tvzxrh3kd5corz0q

View file

@ -10,7 +10,7 @@ Typeof: essai
----
Cover: - file://iyqivumhpfpbpftz
Cover: - file://8gga1ud2ebyzo6yr
----
@ -22,4 +22,8 @@ Text: [{"content":{"text":"<p>Aux extrémités de deux tubes de laiton courbés
----
Portfolio:
----
Uuid: 7bciwiablkwyweyb

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 KiB

View file

@ -0,0 +1,17 @@
Caption:
----
Taille:
----
Alt:
----
Sort: 17
----
Uuid: 8gga1ud2ebyzo6yr

View file

@ -1,7 +1,9 @@
# JOB LOB
## TO DO
- clean css
- cleaner l'intégration des images (enlever le système de couche dans le blueprint)
- enlever le block image flottante
- clean portfolio
- mettre la liste des images en taille réelle sur fond blanc à la fin de portfolio
- générer le sommaire => auteur·ice / type
- intégration biographie

View file

@ -8,13 +8,14 @@ $src = $block->image()->toFile()->url();
?>
<?php if ($src): ?>
<figure class="print-image full-page <?= $block->taille()->esc() ?>">
<figure class="print-image full-page <?= $block->taille()->esc() ?>">
<img src="<?= $src ?>" alt="<?= $alt->esc() ?>">
<img src="<?= $src ?>" alt="<?= $alt->esc() ?>">
<?php if ($caption->isNotEmpty()): ?>
<figcaption>
<?= $caption->kt() ?>
</figcaption>
<?php endif ?>
</figure>
<?php if ($caption->isNotEmpty()): ?>
<figcaption>
<?= $caption->kt() ?>
</figcaption>
<?php endif ?>
</figure>
<?php endif ?>