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
27e3d8e45b
commit
fafec880af
@@ -56,6 +56,8 @@ useHead({
|
||||
--evt-papier: color-mix(in srgb, var(--surface) 60%, var(--bg));
|
||||
--evt-courbes: color-mix(in srgb, var(--text) 9%, transparent);
|
||||
--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;
|
||||
isolation: isolate;
|
||||
min-height: 100%;
|
||||
@@ -65,7 +67,7 @@ useHead({
|
||||
line-height: 1.6;
|
||||
}
|
||||
.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 {
|
||||
position: absolute;
|
||||
|
||||
@@ -199,8 +199,7 @@ seo({
|
||||
margin: var(--space-xl) 0;
|
||||
}
|
||||
.arbre { margin: 0; }
|
||||
.arbre img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
|
||||
:global(.dark) .arbre img { mix-blend-mode: normal; border-radius: var(--radius-md); }
|
||||
.arbre img { display: block; width: 100%; height: auto; mix-blend-mode: var(--evt-fusion-dessin); border-radius: var(--radius-sm); }
|
||||
.arbre figcaption { margin-top: var(--space-2xs); font-size: var(--fs-sm); font-style: italic; color: var(--evt-attenue); text-align: center; }
|
||||
.accroche {
|
||||
margin: 0;
|
||||
|
||||
Reference in New Issue
Block a user