diff options
Diffstat (limited to 'static/scroll.css')
-rw-r--r-- | static/scroll.css | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/static/scroll.css b/static/scroll.css new file mode 100644 index 00000000..b36c841f --- /dev/null +++ b/static/scroll.css | |||
@@ -0,0 +1,49 @@ | |||
1 | #jump-top { | ||
2 | position: fixed; | ||
3 | bottom: 20px; | ||
4 | right: 20px; | ||
5 | background: rgb(0, 0, 0); | ||
6 | background: rgba(0, 0, 0, 0.7); | ||
7 | width: 50px; | ||
8 | height: 50px; | ||
9 | display: block; | ||
10 | text-decoration: none; | ||
11 | -webkit-border-radius: 35px; | ||
12 | -moz-border-radius: 35px; | ||
13 | border-radius: 35px; | ||
14 | display: none; | ||
15 | -webkit-transition: all 0.3s linear; | ||
16 | -moz-transition: all 0.3s ease; | ||
17 | -ms-transition: all 0.3s ease; | ||
18 | -o-transition: all 0.3s ease; | ||
19 | transition: all 0.3s ease; | ||
20 | } | ||
21 | #jump-top i { | ||
22 | color: #fff; | ||
23 | margin: 0; | ||
24 | position: relative; | ||
25 | left: 16px; | ||
26 | top: 13px; | ||
27 | font-size: 19px; | ||
28 | -webkit-transition: all 0.3s ease; | ||
29 | -moz-transition: all 0.3s ease; | ||
30 | -ms-transition: all 0.3s ease; | ||
31 | -o-transition: all 0.3s ease; | ||
32 | transition: all 0.3s ease; | ||
33 | } | ||
34 | |||
35 | #jump-top:hover { | ||
36 | background: rgba(0, 0, 0, 0.9); | ||
37 | } | ||
38 | #jump-top:hover i { | ||
39 | color: #fff; | ||
40 | top: 5px; | ||
41 | } | ||
42 | /* | ||
43 | .jump-top { | ||
44 | position: fixed; | ||
45 | bottom: 35px; | ||
46 | right: 35px; | ||
47 | display: none; | ||
48 | } | ||
49 | */ | ||