This commit is contained in:
NaBian committed 2019-04-10 22:28:09 +08:00
1 parent 16ef430a39
commit 792897291b
445 files changed
+30584 -5

No files matched your search

@@ -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: 0.8; }
+tablet-mobile() {
hexo-config('sidebar.onmobile') ? fixbutton() : hide();
}
&.back-to-top-on {
visibility: visible;
the-transition();
}
}