mirror of
https://github.com/R0m1k3/Menu.git
synced 2026-10-11 17:28:28 +02:00
38 lines
681 B
CSS
38 lines
681 B
CSS
.menuButton {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 2.5rem;
|
|
text-decoration: none;
|
|
text-align: center;
|
|
color: var(--foreground);
|
|
gap: 1.5rem;
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
aspect-ratio: 1 / 1;
|
|
}
|
|
|
|
.iconWrapper {
|
|
background: var(--accent);
|
|
color: white;
|
|
padding: 1rem;
|
|
border-radius: 18px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 64px;
|
|
height: 64px;
|
|
transition: var(--transition-smooth);
|
|
}
|
|
|
|
.menuButton:hover .iconWrapper {
|
|
transform: scale(1.1);
|
|
box-shadow: 0 0 20px var(--accent);
|
|
}
|
|
|
|
.label {
|
|
letter-spacing: -0.01em;
|
|
}
|