site-mariage/_byan-output/skills-test/laurel-vow/switcher.css
Corentin Joguet bff653acd6 first commit
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 10:30:37 +02:00

48 lines
1.2 KiB
CSS

/* Variant switcher - fixed top, sobre */
.variant-switcher {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 100;
display: flex;
align-items: center;
justify-content: center;
gap: 0.75rem 1.25rem;
flex-wrap: wrap;
padding: 0.625rem 1rem;
background: rgba(0, 0, 0, 0.82);
color: #f3eee2;
font-family: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, monospace;
font-size: 0.6875rem;
letter-spacing: 0.16em;
text-transform: uppercase;
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
}
.variant-switcher__label { opacity: 0.55; }
.variant-switcher__link {
color: rgba(243, 238, 226, 0.55);
text-decoration: none;
padding: 0.25rem 0.5rem;
border: 1px solid transparent;
border-radius: 1px;
transition: color 0.2s, border-color 0.2s;
}
.variant-switcher__link:hover { color: #f3eee2; }
.variant-switcher__link.is-active {
color: #f3eee2;
border-color: rgba(243, 238, 226, 0.4);
}
/* Decale le contenu sous la barre fixe */
body { padding-top: 38px; }
@media (max-width: 560px) {
.variant-switcher {
font-size: 0.625rem;
gap: 0.5rem;
padding: 0.5rem 0.5rem;
}
body { padding-top: 52px; }
}