mon-site-perso/frontend/app/css/links.css
2025-09-20 14:16:14 +02:00

31 lines
No EOL
736 B
CSS

/* Liens minimaux et professionnels (underline animé) */
a {
color: inherit;
text-decoration: none;
background-image: linear-gradient(var(--color-accent, #ff6b35), var(--color-accent, #ff6b35));
background-position: 0 100%;
background-size: 0% 2px;
background-repeat: no-repeat;
transition: background-size 0.25s ease, color 0.2s ease, opacity 0.2s ease;
}
a:hover {
color: var(--color-accent-700, #c74d25);
background-size: 100% 2px;
}
a:active {
opacity: 0.9;
}
a:focus-visible {
outline: 2px solid var(--color-accent, #ff6b35);
outline-offset: 2px;
border-radius: var(--radius-sm, 6px);
}
/* Variante de lien "bouton texte" */
.link-button {
color: var(--color-accent, #ff6b35);
font-weight: 600;
}