-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpager.scss
More file actions
65 lines (59 loc) · 1.01 KB
/
pager.scss
File metadata and controls
65 lines (59 loc) · 1.01 KB
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
$bg: #fff;
$a: #333;
$bordr: #e7e7e7;
$hoverbg: #337ab7;
$hovera: #e7e7e7;
.pager,
.prev,
.page-number,
.next,
.space {
display: flex;
}
.prev,
.page-number,
.next {
padding: 10px 25px;
}
a.page-number:hover,
a.next:hover,
a.prev:hover {
transition: background-color .2s, color .2s;
background-color: $hoverbg;
color: $hovera;
}
.pager {
flex-direction: row;
justify-content: space-between;
background-color: $bg;
border: $bordr solid 2px;
a {
color: $a;
}
}
.space {
padding: 10px 0;
}
@media screen and (max-width:782px) {
.pager {
font-size: 26px;
line-height: 35px;
position: relative;
bottom: 0;
left: 0;
margin-bottom: 30px;
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
text-align: center;
letter-spacing: 1px;
}
.prev,
.page-number,
.next {
padding: 10px;
}
.space {
padding: 10px 0;
}
}