mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-20 19:02:33 +00:00
Update noscript.styl and @keyframes
This commit is contained in:
parent
0e0ebc0723
commit
5165b3e8b6
@ -1,17 +1,3 @@
|
|||||||
.noscript-warning {
|
|
||||||
background-color: lighten($red, 20%);
|
|
||||||
color: white;
|
|
||||||
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 'back-to-top';
|
@import 'back-to-top';
|
||||||
@import 'reading-progress';
|
@import 'reading-progress';
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
// CSS Style Guide: https://codeguide.co/#css
|
// CSS Style Guide: https://codeguide.co/#css
|
||||||
|
|
||||||
|
// https://stylus-lang.com/docs/keyframes.html
|
||||||
|
vendors = official
|
||||||
|
|
||||||
$scheme = hexo-config('scheme') ? hexo-config('scheme') : 'Muse';
|
$scheme = hexo-config('scheme') ? hexo-config('scheme') : 'Muse';
|
||||||
|
|
||||||
|
|||||||
@ -28,3 +28,17 @@ body { margin-top: 2rem; }
|
|||||||
|
|
||||||
.search-pop-overlay, .sidebar-nav { display: none; }
|
.search-pop-overlay, .sidebar-nav { display: none; }
|
||||||
.sidebar-panel { display: block; }
|
.sidebar-panel { display: block; }
|
||||||
|
|
||||||
|
.noscript-warning {
|
||||||
|
background-color: lighten($red, 20%);
|
||||||
|
color: white;
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user