summaryrefslogtreecommitdiff
path: root/clams-server/src/main/resources/public/css/article.css
blob: 318df6244aa0b6cc8570d2238ee8ab4e9630223e (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
.article-header {
    display: flex;
    justify-content: space-between;
    margin-top: 2.8rem;
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.6rem;
}

h1 {
    text-align: left;
}

blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
    margin-left: 0;
    font-style: italic;
}

.article-content {
    line-height: 1.8;
    font-size: var(--font-size-body);
    margin-bottom: 5rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    font-size: inherit;
}

.article-content p:has(img) {
    margin: 2.4rem 0;
    text-align: center;
}

.article-content img {
    width: 100%;
    max-width: 34.4rem;
    height: auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: inline-block;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 3.8rem;
    padding-top: 1.8rem;
    border-top: 1px dashed var(--border-color);
}

@media (max-width: 768px) {
    .article-header {
        margin-top: 10px;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}