aboutsummaryrefslogtreecommitdiff
path: root/src/styles/cards.css
blob: 12e5a3f4a416ccf8f06a40db691abbca0eeefb70 (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
25
26
27
28
29
30
31
32
33
.card h1 {
    margin-top: 2px;
    margin-bottom: 2px;
}

.card h2 {
    margin-top: 2px;
}

.card p {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

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

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

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