initial
This commit is contained in:
@ -0,0 +1,19 @@
|
||||
.back-to-top {
|
||||
visibility: hidden;
|
||||
margin: (20px - $sidebar-offset) -10px -20px;
|
||||
background: $b2t-sidebar-bg-color;
|
||||
font-size: $b2t-font-size;
|
||||
opacity: $b2t-opacity;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
&:hover { opacity: $b2t-opacity-hover; }
|
||||
|
||||
+tablet-mobile() {
|
||||
hide() if not hexo-config('sidebar.onmobile');
|
||||
}
|
||||
|
||||
&.back-to-top-on {
|
||||
visibility: visible;
|
||||
the-transition();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user