aboutsummaryrefslogtreecommitdiff
path: root/src/web/components/posts/Posts.css
blob: 1bee23acbe28f9b48675f98f200ce09e21fe16c5 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
.container {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: stretch;

    width: 100%;
}
.containerPadding {
    padding: 1rem 1rem 0 1rem;
    overflow: scroll;
}
.postContainer {
    flex-basis: 100%;
    transition: opacity var(--transition-time) ease-in-out;
}
.postContainerActive {
    cursor: pointer;
    opacity: 50%;
}
.blockEvents {
    pointer-events: none;
}

.container > h1 {
    font-size: 1.8em;

    margin-top: 1rem;
    margin-bottom: 1rem;

    color: white;
    font-weight: bolder;
    text-align: center;
}
.container > h2 {
    color: var(--black-95);
    text-align: center;
}
.container > h3 {
    margin-top: 1em;
    padding: 1.5em 2em;

    color: var(--brand-100);
    opacity: 0.5;
    background-color: var(--black-5);
    border-radius: 1em;
}
.container > button {
    align-self: center;

    margin-top: 1.5em;

    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
}

.containerFade {
    animation: containerFade var(--transition-time) linear;
}
@keyframes containerFade {
    0% {
        opacity: 0%;
    }
    100% {
        opacity: 100%;
    }
}

.containerLoading {
    filter: blur(1px);
    pointer-events: none;
    animation: containerLoading 0.6s infinite;
    mask-image: linear-gradient(to bottom, black 0%, transparent 22em);
}
@keyframes containerLoading {
    0%, 100% {
        opacity: 100%;
    }
    50% {
        opacity: 80%;
    }
}