summaryrefslogtreecommitdiff
path: root/app/static/index.css
blob: 25367be8f52994e6ea35fedbe7c93439ed4016fa (plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
* {
    box-sizing: content-box;
    font-family: 'Source Code Pro';
}

.container {
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery {
    padding-top: 20px;
    column-count: 1;
    column-gap: 1.25rem;
    width: 100%;
}

@media (min-width: 640px) {
    .gallery {
        column-count: 2;
    }
}

@media (min-width: 1024px) {
    .gallery {
        column-count: 3;
    }
}

@media (min-width: 1280px) {
    .gallery {
        column-count: 4;
    }
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    break-inside: avoid;
    display: inline-block;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}