forked from drowl87/hextra_mirror

* feat: configurable cols for feature-grid shortcode * chore: update css files * chore: add hextra prefix to cards css var * chore: rebuild css
30 lines
475 B
CSS
30 lines
475 B
CSS
.hextra-cards {
|
|
grid-template-columns: repeat(auto-fill, minmax(max(250px, calc((100% - 1rem * 2) / var(--hextra-cards-grid-cols))), 1fr));
|
|
}
|
|
|
|
.hextra-card img {
|
|
user-select: none;
|
|
}
|
|
|
|
.hextra-card:hover svg {
|
|
color: currentColor;
|
|
}
|
|
|
|
.hextra-card svg {
|
|
width: 1.5rem;
|
|
color: #00000033;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.hextra-card p {
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.dark .hextra-card svg {
|
|
color: #ffffff66;
|
|
}
|
|
|
|
.dark .hextra-card:hover svg {
|
|
color: currentColor;
|
|
}
|