refactor(css): ♻️ merge cta
class declarations
This commit is contained in:
parent
9456d42bff
commit
fd6ee1832d
|
@ -22,26 +22,3 @@
|
|||
max-width: 800px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.components__heros__cta {
|
||||
text-decoration: none;
|
||||
background-color: var(--_accent-color);
|
||||
color: var(--sand-0);
|
||||
width: fit-content;
|
||||
height: fit-content;
|
||||
padding: 1rem 2rem;
|
||||
font-size: 150%;
|
||||
font-family: var(--_font-family-accent);
|
||||
border: var(--_border-size) solid var(--_accent-color);
|
||||
transition: all var(--_transition-delay) ease;
|
||||
}
|
||||
|
||||
.components__heros__cta:hover {
|
||||
background-color: var(--lime-1);
|
||||
color: var(--_accent-color);
|
||||
box-shadow: 0 0 0 0 var(--_accent-color);
|
||||
}
|
||||
|
||||
.components__heros__cta:active {
|
||||
box-shadow: 0 0 180px 20px var(--_accent-color);
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ export function Heros() {
|
|||
projet, rencontrer des passionnés apprendre et développer votre savoir
|
||||
faire, dans l'entraide et le partage.
|
||||
</p>
|
||||
<a class='components__heros__cta' href='#first-section'>Participer</a>
|
||||
<a class='cta' href='#first-section'>Participer</a>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue