50 lines
755 B
CSS
50 lines
755 B
CSS
.grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 1.25rem 0.75rem;
|
|
padding: 1.5rem 1rem;
|
|
}
|
|
|
|
.tile {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
background: none;
|
|
border: none;
|
|
font: inherit;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
padding: 0.25rem;
|
|
}
|
|
|
|
.tile:focus-visible {
|
|
outline: 2px solid #1677ff;
|
|
outline-offset: 2px;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 56px;
|
|
height: 56px;
|
|
border-radius: 16px;
|
|
background: #f2f5ff;
|
|
font-size: 28px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.label {
|
|
font-size: 0.75rem;
|
|
text-align: center;
|
|
color: #1f2430;
|
|
}
|
|
|
|
.iconImage {
|
|
width: 32px;
|
|
height: 32px;
|
|
object-fit: contain;
|
|
}
|