.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
gap: 1rem;
margin: 1.5rem 0;
}
.card {
display: flex;
flex-direction: column;
align-items: center;
padding: 1rem;
border: 1px solid var(--ifm-color-emphasis-200);
border-radius: 8px;
text-decoration: none;
transition: all 0.2s ease;
background: var(--ifm-background-surface-color);
}
.card:hover {
border-color: var(--ifm-color-primary);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
text-decoration: none;
transform: translateY(-2px);
}
.icon {
width: 40px;
height: 40px;
object-fit: contain;
margin-bottom: 0.5rem;
border-radius: 0 !important;
background: none !important;
box-shadow: none !important;
}
.name {
font-size: 0.875rem;
font-weight: 500;
color: var(--ifm-font-color-base);
text-align: center;
margin-top: 0.5rem;
}
@media (max-width: 768px) {
.grid {
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
gap: 0.75rem;
}
.card {
padding: 0.75rem;
}
.icon {
width: 32px;
height: 32px;
}
.name {
font-size: 0.8125rem;
}
}