File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 background : # f39200 ;
2222}
2323# backtotop a {
24+ display : flex;
25+ align-items : center;
2426 outline : none;
2527 text-decoration : none;
2628 border : 0 ;
27- display : block;
2829 width : 46px ;
2930 height : 46px ;
3031 background-color : var (
3536 border-radius : 50% ;
3637 text-align : center;
3738 font-size : 1.625rem ;
39+ color : var (--spht-color-light );
3840}
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;
4744 display : block;
48- top : 50% ;
49- -webkit-transform : translateY (-55% );
50- transform : translateY (-55% );
5145}
46+
5247# backtotop .visible # backtotop-color : hover {
5348 background : var (--pst-color-link-hover );
5449}
Original file line number Diff line number Diff line change 3333 {{ end }}
3434
3535 <!-- 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 >
3737
3838 {{ if .Site.Params.footer }}
3939 {{ partial "footer.html" . -}}
You can’t perform that action at this time.
0 commit comments