summaryrefslogtreecommitdiff
path: root/assets/css/search.css
blob: 4ae0d1f8c66efd800d6c49d031e71b22315907e2 (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
/* Search */
.search-form__input {
    font-size: var(--font-size-default);
    border: 2px solid var(--bg-special);
    border-radius: var(--border-radius-minimal);
    margin-right: var(--gap-small);
    padding: 0.2rem;
    height: var(--font-size-h1);
    width: 50%;

    &:focus {
        border-color: var(--link-color);
        box-shadow: var(--glow);
        outline: none;
    }

    @media (max-width: 768px) {
        width: 90%;
    }
}

.search-form__reset {
    background-color: var(--bg-special);
    border: none;
    border-radius: var(--border-radius-max);
    box-shadow: var(--shadow-default);
    color: var(--text-color);
    font-size: var(--font-size-default);
    font-weight: bold;
    height: 2rem;
    width: 2rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    &:hover {
        background-color: var(--link-hover);
        color: var(--bg-main);
        cursor: pointer;
    }
}

.search-input {
    width: 30vw;

    @media (max-width: 768px) {
        width: 100vw;
    }
}

.search-results__count {
    font-weight: bold;
    margin: var(--margin-padding-Y-default);
}