-
Notifications
You must be signed in to change notification settings - Fork 1
/
scrollup.css
54 lines (53 loc) · 1.04 KB
/
scrollup.css
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
.back-to-top-btn {
text-decoration: none;
background: none;
border-bottom: none;
color: #333333;
padding: 14px 22px;
line-height: 15px;
position: fixed;
top: 0;
bottom: 0;
font-size: 12px;
font-family: pt sans;
-webkit-transition: .1s linear;
-moz-transition: .1s linear;
-ms-transition: .1s linear;
transition: .1s linear;
opacity: 1;
cursor: pointer;
text-align: center;
white-space: nowrap;
display: inline-block;
z-index: 1000;
}
@media (max-width: 1490px) {
.back-to-top-btn {
display: none!important;
}
}
.back-to-top-btn > span {
text-decoration: none;
color: #2f3235;
border-bottom: 1px solid rgba(47, 50, 53, 0.25);
}
.back-to-top-btn:visited > span {
border-bottom-color: #2f3235;
}
.back-to-top-btn:hover > span {
color: #000000;
border-bottom-color: #000000;
}
.back-to-top-btn:hover {
background-color: rgba(255, 255, 255, .45);
}
.back-to-top-btn > span {
-webkit-transition: .1s linear;
-moz-transition: .1s linear;
-ms-transition: .1s linear;
transition: .1s linear;
}
.hidden,
[hidden] {
display: none!important;
}