File tree Expand file tree Collapse file tree 2 files changed +8
-13
lines changed Expand file tree Collapse file tree 2 files changed +8
-13
lines changed Original file line number Diff line number Diff line change 21
21
background : # f39200 ;
22
22
}
23
23
# backtotop a {
24
+ display : flex;
25
+ align-items : center;
24
26
outline : none;
25
27
text-decoration : none;
26
28
border : 0 ;
27
- display : block;
28
29
width : 46px ;
29
30
height : 46px ;
30
31
background-color : var (
35
36
border-radius : 50% ;
36
37
text-align : center;
37
38
font-size : 1.625rem ;
39
+ color : var (--spht-color-light );
38
40
}
39
- body # backtotop a {
40
- outline : none;
41
- color : var (--colorSecondary );
42
- }
43
- # backtotop a : after {
44
- outline : none;
45
- content : "⮝" ;
46
- position : relative;
41
+
42
+ # backtotop svg {
43
+ margin : 0 auto;
47
44
display : block;
48
- top : 50% ;
49
- -webkit-transform : translateY (-55% );
50
- transform : translateY (-55% );
51
45
}
46
+
52
47
# backtotop .visible # backtotop-color : hover {
53
48
background : var (--pst-color-link-hover );
54
49
}
Original file line number Diff line number Diff line change 33
33
{{ end }}
34
34
35
35
<!-- Back To Top Button -->
36
- < div id ="backtotop "> < a href ="# " id ="backtotop-color "> </ a > </ div >
36
+ < div id ="backtotop "> < a href ="# " id ="backtotop-color "> < i class =" fa-solid fa-arrow-up " > </ i > < /a > </ div >
37
37
38
38
{{ if .Site.Params.footer }}
39
39
{{ partial "footer.html" . -}}
You can’t perform that action at this time.
0 commit comments