summaryrefslogtreecommitdiff
path: root/assets/css/src/views.css
blob: b8bb1e691d35ca2e3b514b9fcbfa51f005c0263b (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
.views {
    margin-right: 10px;
    margin-top: 1px;
    font-size: 0.9em
}

@media (max-width: 560px) {
    .views {
        width: 100%
    }
}

@media (max-width: 768px) {
    .views {
        margin-top: 10px;
        font-size: 1em
    }
}

@media (max-width: 480px) {
    .views {
        margin-top: 5px
    }
}

.views li {
    white-space: nowrap;
    background: #fafafa;
    border: 1px solid #ddd;
    border-right: none;
    padding: 4px 8px;
    display: inline
}

@media (max-width: 560px) {
    .views li {
        display: block;
        margin-top: 5px;
        border-radius: 5px;
        border: 1px solid #ddd
    }
}

.views li.active a {
    font-weight: bold;
    color: #000;
    text-decoration: none
}

.views li:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px
}

.views li:last-child {
    border-right: 1px solid #ddd;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px
}

.views a {
    color: var(--color-medium);
    text-decoration: none
}

.views a:hover {
    color: var(--color-primary);
    text-decoration: underline
}