hexo-theme-next/source/css/_common/components/back-to-top-sidebar.styl
2020-06-20 12:50:51 +08:00

15 lines
247 B
Stylus

.back-to-top {
margin: 20px - $sidebar-offset -10px -20px;
opacity: 0;
transition: opacity $transition-ease;
&.back-to-top-on {
cursor: pointer;
opacity: $b2t-opacity;
&:hover {
opacity: $b2t-opacity-hover;
}
}
}