aboutsummaryrefslogtreecommitdiff
path: root/src/styles/cards.css
blob: 192335dab9962118020e0c31d13741170d6b9840 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
h1 {
    margin-top: 2px;
    margin-bottom: 2px;
}

article {
    background-color: #3B513B;
    padding: 1.2em;
    border-radius: 20px;
    gap: 0.5em;
    margin: 0.5em;
}

main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

/* Mobile view */
@media (max-width: 992px) {
    main {
        grid-template-columns: 1fr;
    }
}