File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # backtotop {
2+ position : fixed;
3+ right : 0 ;
4+ opacity : 0 ;
5+ visibility : hidden;
6+ bottom : 25px ;
7+ margin : 0 25px 0 0 ;
8+ z-index : 9999 ;
9+ transition : 0.35s ;
10+ transform : scale (0.7 );
11+ transition : all 0.5s ;
12+ }
13+ # backtotop .visible {
14+ opacity : 1 ;
15+ visibility : visible;
16+ transform : scale (1 );
17+ }
18+ # backtotop .visible a : hover {
19+ outline : none;
20+ opacity : 0.9 ;
21+ background : # f39200 ;
22+ }
23+ # backtotop a {
24+ outline : none;
25+ text-decoration : none;
26+ border : 0 ;
27+ display : block;
28+ width : 46px ;
29+ height : 46px ;
30+ background-color : # 66676b ;
31+ opacity : 1 ;
32+ transition : all 0.3s ;
33+ border-radius : 50% ;
34+ text-align : center;
35+ font-size : 26px ;
36+ }
37+ body # backtotop a {
38+ outline : none;
39+ color : # fff ;
40+ }
41+ # backtotop a : after {
42+ outline : none;
43+ content : "⮝" ;
44+ position : relative;
45+ display : block;
46+ top : 50% ;
47+ -webkit-transform : translateY (-55% );
48+ transform : translateY (-55% );
49+ }
50+ # backtotop .visible # backtotop-color : hover {
51+ background : var (--colorYellow );
52+ }
Original file line number Diff line number Diff line change 1717 background-position : 50% ;
1818 margin : -100px 0 0 -100px ;
1919}
20- # backtotop {
21- position : fixed;
22- right : 0 ;
23- opacity : 0 ;
24- visibility : hidden;
25- bottom : 25px ;
26- margin : 0 25px 0 0 ;
27- z-index : 9999 ;
28- transition : 0.35s ;
29- transform : scale (0.7 );
30- transition : all 0.5s ;
31- }
32- # backtotop .visible {
33- opacity : 1 ;
34- visibility : visible;
35- transform : scale (1 );
36- }
37- # backtotop .visible a : hover {
38- outline : none;
39- opacity : 0.9 ;
40- background : # f39200 ;
41- }
42- # backtotop a {
43- outline : none;
44- text-decoration : none;
45- border : 0 ;
46- display : block;
47- width : 46px ;
48- height : 46px ;
49- background-color : # 66676b ;
50- opacity : 1 ;
51- transition : all 0.3s ;
52- border-radius : 50% ;
53- text-align : center;
54- font-size : 26px ;
55- }
56- body # backtotop a {
57- outline : none;
58- color : # fff ;
59- }
60- # backtotop a : after {
61- outline : none;
62- content : "⮝" ;
63- position : relative;
64- display : block;
65- top : 50% ;
66- -webkit-transform : translateY (-55% );
67- transform : translateY (-55% );
68- }
6920.stuck {
7021 position : fixed !important ;
7122 top : 0 !important ;
Original file line number Diff line number Diff line change @@ -96,10 +96,6 @@ a > code {
9696 margin-left : 0.5em ;
9797}
9898
99- # backtotop .visible # backtotop-color : hover {
100- background : var (--colorYellow );
101- }
102-
10399@media only screen and (max-width : 600px ) {
104100 .flex-column {
105101 margin : 0 30px ;
You can’t perform that action at this time.
0 commit comments