Template:Feature/styles.css
Template page
More actions
.loka-feature-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: .8em;
margin: 1em 0;
}
.loka-feature-grid--compact {
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.loka-feature-card {
background: rgba(255, 255, 255, .035);
border: 1px solid rgba(255, 255, 255, .1);
border-radius: 6px;
padding: .6em .8em;
}
@media (prefers-color-scheme: light) {
.loka-feature-card {
background: rgba(0, 0, 0, .02);
border-color: rgba(0, 0, 0, .1);
}
}
.loka-feature-name {
font-weight: 700;
font-size: .95em;
}
/* Only present when a card has one -- no margin left dangling above
nothing on a name-only card. */
.loka-feature-text {
margin-top: .35em;
font-size: .86em;
line-height: 1.4;
opacity: .92;
}