fix(evenements): le pastel reste visible en sombre, fusion par variable du gabarit (B26, commit J)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PfxSWhRoYNsTevCYLkCTJp
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
af0796f5b6
commit
70df383a34
@@ -56,6 +56,8 @@ useHead({
|
|||||||
--evt-papier: color-mix(in srgb, var(--surface) 60%, var(--bg));
|
--evt-papier: color-mix(in srgb, var(--surface) 60%, var(--bg));
|
||||||
--evt-courbes: color-mix(in srgb, var(--text) 9%, transparent);
|
--evt-courbes: color-mix(in srgb, var(--text) 9%, transparent);
|
||||||
--evt-titre: 'Fraunces', Georgia, 'Times New Roman', serif;
|
--evt-titre: 'Fraunces', Georgia, 'Times New Roman', serif;
|
||||||
|
/* Un dessin sur papier blanc se fond dans la crème ; en sombre, il reste une feuille (B26) */
|
||||||
|
--evt-fusion-dessin: multiply;
|
||||||
position: relative;
|
position: relative;
|
||||||
isolation: isolate;
|
isolation: isolate;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
@@ -65,7 +67,7 @@ useHead({
|
|||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
}
|
}
|
||||||
.evt--foret { --evt-teinte: var(--evt-sauge); --evt-courbes: color-mix(in srgb, var(--evt-sauge) 15%, transparent); }
|
.evt--foret { --evt-teinte: var(--evt-sauge); --evt-courbes: color-mix(in srgb, var(--evt-sauge) 15%, transparent); }
|
||||||
.dark .evt { --evt-ocre: #e3a95c; --evt-sauge: #8fc09e; }
|
.dark .evt { --evt-ocre: #e3a95c; --evt-sauge: #8fc09e; --evt-fusion-dessin: normal; }
|
||||||
|
|
||||||
.evt-fond {
|
.evt-fond {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
@@ -199,8 +199,7 @@ seo({
|
|||||||
margin: var(--space-xl) 0;
|
margin: var(--space-xl) 0;
|
||||||
}
|
}
|
||||||
.arbre { margin: 0; }
|
.arbre { margin: 0; }
|
||||||
.arbre img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
|
.arbre img { display: block; width: 100%; height: auto; mix-blend-mode: var(--evt-fusion-dessin); border-radius: var(--radius-sm); }
|
||||||
:global(.dark) .arbre img { mix-blend-mode: normal; border-radius: var(--radius-md); }
|
|
||||||
.arbre figcaption { margin-top: var(--space-2xs); font-size: var(--fs-sm); font-style: italic; color: var(--evt-attenue); text-align: center; }
|
.arbre figcaption { margin-top: var(--space-2xs); font-size: var(--fs-sm); font-style: italic; color: var(--evt-attenue); text-align: center; }
|
||||||
.accroche {
|
.accroche {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user