pagination.css (1752B)


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
.pagination {

    @media print {
        display: none;
    }

    > .title {
        display: flex;
        text-align: center;
        position: relative;
        margin: 3rem 0 1rem;

        > span {
            text-align: center;
            margin: 0 auto;
            padding: 5px 10px;
            background: var(--bg-color);
            color: var(--greyed-out);
            font-size: .8rem;
            text-transform: uppercase;
            text-decoration: none;
            letter-spacing: .1em;
            z-index: 1;
        }

        > hr {
            position: absolute;
            left: 0;
            right: 0;
            width: 100%;
            margin-top: 15px;
            z-index: 0;
        }
    }

    > .buttons {

        align-items: center;
        justify-content: center;
        flex-flow: row wrap;

        a.button {

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

            text-decoration: none;
            text-overflow: ellipsis;
            max-width: 85vw;
            overflow: hidden;
            white-space: nowrap;
            flex: 1;
            
            position: relative;
            font-size: 1rem;
            appearance: none;

            padding: 0;
            margin: 1rem;

            @media(var(--phone-width)) {
                flex: 1;
            }
            
            & .button_text {
                text-overflow: ellipsis;
                white-space: nowrap;
                overflow: hidden;
            }
            
            &.next .button_icon {
                margin-left: 8px;
            }

            &.previous .button_icon {
                margin-right: 8px;
            }
        }
    }
}