[data-style="Nuit"] { --rv-fond: #0b1b36; --rv-fond-2: #16305e; --rv-texte: #f3ead7; --rv-doux: #cfc5ae; --rv-accent: #d9b76e; --rv-trait: #e2be78; --rv-trait-2: #e2be78; --rv-repere: rgba(226, 190, 120, .4); --rv-astre: #f6e7c4; }
[data-style="Encre"] { --rv-fond: #ffffff; --rv-fond-2: #ffffff; --rv-texte: #161616; --rv-doux: #4f4a44; --rv-accent: #7a5a1e; --rv-trait: #161616; --rv-trait-2: #161616; --rv-repere: rgba(22, 22, 22, .3); --rv-astre: #7a5a1e; }
[data-style="Poudre"] { --rv-fond: #f3dcd6; --rv-fond-2: #f8e9e4; --rv-texte: #5a1f43; --rv-doux: #6e3a55; --rv-accent: #8f3350; --rv-trait: #68244e; --rv-trait-2: #d8664c; --rv-repere: rgba(104, 36, 78, .28); --rv-astre: #68244e; }
[data-style="Cyanotype"] { --rv-fond: #143a66; --rv-fond-2: #1a4a80; --rv-texte: #ffffff; --rv-doux: #d6e1ee; --rv-accent: #ffffff; --rv-trait: #ffffff; --rv-trait-2: #ffffff; --rv-repere: rgba(255, 255, 255, .7); --rv-astre: #ffffff; }
[data-style="Fil tendu"] { --rv-fond: #f6f1e7; --rv-fond-2: #f6f1e7; --rv-texte: #1c2242; --rv-doux: #4a4e66; --rv-accent: #8a6420; --rv-trait: #1c2242; --rv-trait-2: #1c2242; --rv-repere: rgba(28, 34, 66, .3); --rv-astre: #b8862f; }
[data-style="Perles"] { --rv-fond: #35101d; --rv-fond-2: #4a1a2b; --rv-texte: #f8ebdd; --rv-doux: #e2cbbb; --rv-accent: #eab48a; --rv-trait: #f3dcc4; --rv-trait-2: #f3dcc4; --rv-repere: rgba(243, 220, 196, .35); --rv-astre: #eab48a; }
.rv {
--fond: var(--rv-fond); --texte: var(--rv-texte);
background-image: radial-gradient(circle at 50% 38%, var(--rv-fond-2), var(--rv-fond) 62%);
font-family: "Josefin Sans", system-ui, sans-serif; text-align: center;
align-items: center; padding: 6cqw 7cqw 6cqw;
}
.rv__kicker {
margin: 0; flex: none; color: var(--rv-doux); font-weight: 400; text-transform: uppercase;
font-size: 1.9cqw; letter-spacing: .42em; padding-left: .42em; line-height: 1.2;
}
.rv__dessin { flex: none; width: calc(74cqw * var(--rv-echelle, 1)); aspect-ratio: 1; margin: auto 0 0; }
.rv__dessin:empty { border-radius: 50%; border: 1px dashed var(--rv-repere); width: calc(54cqw * var(--rv-echelle, 1)); }
.rv__svg { display: block; width: 100%; height: 100%; overflow: visible; }
.rv__trait { fill: none; stroke: var(--rv-trait); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.rv__cercle { fill: none; stroke: var(--rv-repere); stroke-width: .18; }
.rv__terre { fill: var(--rv-astre); }
.rv__debut { fill: var(--rv-fond); stroke: var(--rv-astre); stroke-width: .45; }
.rv__fin { fill: var(--rv-astre); }
.rv__graduation, .rv__croix { fill: none; stroke: var(--rv-repere); stroke-width: .22; }
.rv__croix { stroke: var(--rv-astre); stroke-width: .3; }
.rv__corde { fill: none; stroke: var(--rv-trait); stroke-width: .13; opacity: .55; }
.rv__soleil, .rv__venus { fill: var(--rv-astre); }
.rv__perle { fill: none; stroke: var(--rv-trait); stroke-width: .7; stroke-linecap: round; }
[data-style="Poudre"] .rv__trait { stroke: color-mix(in srgb, var(--rv-trait), var(--rv-trait-2) calc(var(--t, 0) * 100%)); stroke-width: 8.4; }
[data-style="Poudre"] .rv__fin { fill: var(--rv-trait-2); }
[data-style="Nuit"] .rv__trait { stroke-width: 6.8; }
[data-style="Encre"] .rv__trait { stroke-width: 4.8; }
[data-style="Fil tendu"] .rv__terre { fill: var(--rv-trait); }
.rv__texte { width: 100%; margin: 4.4cqw 0 auto; display: flex; flex-direction: column; align-items: center; }
.rv__texte p { max-width: 100%; }
.rv__nom {
width: 100%; font-weight: 300; text-transform: uppercase; letter-spacing: .3em; padding-left: .3em;
margin: 0; font-size: clamp(3cqw, calc(62cqw / var(--n, 12)), 6cqw); line-height: 1.2; white-space: nowrap;
}
[data-style="Poudre"] .rv__nom, [data-style="Perles"] .rv__nom, [data-style="Encre"] .rv__nom {
font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 500; text-transform: none;
letter-spacing: .01em; padding-left: 0; font-size: clamp(4cqw, calc(96cqw / var(--n, 12)), 8.4cqw); line-height: 1.05;
}
.rv__dates {
margin: 2.6cqw 0 0; font-weight: 400; text-transform: uppercase; font-size: 2.2cqw; letter-spacing: .2em; padding-left: .2em;
font-variant-numeric: lining-nums; overflow-wrap: anywhere;
}
.rv__fait {
margin: 1.6cqw 0 0; color: var(--rv-doux); font-weight: 400; font-size: 2.05cqw; letter-spacing: .06em; line-height: 1.35;
font-variant-numeric: lining-nums; text-wrap: balance;
}
.rv__phrase {
margin: 2.8cqw 0 0; color: var(--rv-accent); font-family: "Cormorant Garamond", Georgia, serif;
font-style: italic; font-size: 4.2cqw; line-height: 1.2; overflow-wrap: anywhere; text-wrap: balance;
}
.rv__filet { display: block; width: 9cqw; height: 0; margin-top: 2.8cqw; border-top: max(1px, .2cqw) solid var(--rv-accent); }
.rv__legende {
margin: 2.2cqw 0 0; color: var(--rv-doux); font-weight: 400; font-size: 1.6cqw; letter-spacing: .12em;
text-transform: uppercase; line-height: 1.4; text-wrap: balance;
}
.rv__phrase:empty, .rv__fait:empty, .rv__legende:empty { display: none; }
.rv-styles { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.rv-styles input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.rv-styles label {
display: flex; flex-direction: column; align-items: center; gap: .5rem; cursor: pointer; min-width: 6.4rem;
font-size: 1.2rem; font-weight: 400; color: rgba(var(--color-foreground), .7);
border: .15rem solid transparent; border-radius: .8rem; padding: .6rem;
}
.rv-styles input:checked + label { border-color: rgb(var(--color-accent)); color: rgb(var(--color-foreground)); }
.rv-styles input:focus-visible + label { outline: .2rem solid rgb(var(--bleu-focus)); outline-offset: .2rem; }
.rv-pastille {
width: 3.8rem; height: 3.8rem; border-radius: 50%; position: relative; overflow: hidden;
background: var(--rv-fond); border: .1rem solid rgba(var(--color-foreground), .2);
}
.rv-pastille::before { content: ""; position: absolute; inset: 16%; border-radius: 50%; border: .12rem solid var(--rv-trait); }
.rv-pastille::after { content: ""; position: absolute; inset: 34%; border-radius: 50%; border: .12rem solid var(--rv-trait-2); }
.rv-passages { font-variant-numeric: lining-nums; }