mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-17 18:22:33 +00:00
34 lines
653 B
Stylus
34 lines
653 B
Stylus
if (hexo-config('back2top.enable')) {
|
|
.back-to-top {
|
|
font-size: $b2t-font-size;
|
|
|
|
if (!hexo-config('back2top.scrollpercent')) {
|
|
span {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
@import (hexo-config('back2top.sidebar') ? 'back-to-top-sidebar' : 'back-to-top');
|
|
}
|
|
|
|
.noscript-warning {
|
|
background-color: lighten($red, 20%);
|
|
color: #fff;
|
|
font-family: sans-serif;
|
|
font-size: 1rem;
|
|
font-weight: bold;
|
|
left: 0;
|
|
position: fixed;
|
|
text-align: center;
|
|
top: 0;
|
|
width: 100%;
|
|
z-index: $zindex-5;
|
|
}
|
|
|
|
@import 'reading-progress' if (hexo-config('reading_progress.enable'));
|
|
|
|
@import 'post';
|
|
@import 'pages';
|
|
@import 'third-party';
|