summaryrefslogtreecommitdiff
path: root/clams-server/src/main/resources/public/css/blog.css
blob: 86eb0edde440ab635f70728ce7eb3257983c9c80 (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
/* blog.css - page specific styles */

.intro-text {
    margin-bottom: 60px;
}

section {
    margin-bottom: 60px;
}

.search-form {
    position: absolute;
    top: 20px;
    right: 20px;
}

.search-form input {
    font-family: var(--font-serif), serif;
    padding: 6px 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: transparent;
    color: var(--text-color);
    width: 180px;
    font-size: 0.8rem;
}

.search-form button {
    font-family: var(--font-serif), serif;
    padding: 6px 12px;
    background: #e8e8e4;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.8rem;
}

.search-form button:hover {
    background: #ddd;
}

@media (max-width: 850px) {
    .search-form {
        position: static;
        text-align: center;
        margin-bottom: 40px;
    }
    .search-form input {
        width: 250px;
    }
}

/* Specific spacing for blog lists */
.content-grid li {
    margin-bottom: 0.8rem;
}