summaryrefslogtreecommitdiffstats
path: root/assets/css/layouts/_card-grid.scss
blob: cbc438865cb4d4fbbaa987e8e1c5957bb8dba113 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
@include namespace('card-grid') {
    @include store((
        --dims: (
            --card-width: 17em
        )
    ));

    @include layout(namespace()) {
        display:               grid;
        grid-template-columns: repeat(auto-fit, minmax(#{prop(--dims --card-width)}, 1fr));
        gap:                   .6rem;
    }
}