Update noscript.styl and @keyframes

This commit is contained in:
Mimi 2022-11-14 14:14:06 +08:00
parent 0e0ebc0723
commit 5165b3e8b6
3 changed files with 16 additions and 14 deletions

View File

@ -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 'reading-progress';

View File

@ -1,5 +1,7 @@
// CSS Style Guide: https://codeguide.co/#css
// https://stylus-lang.com/docs/keyframes.html
vendors = official
$scheme = hexo-config('scheme') ? hexo-config('scheme') : 'Muse';

View File

@ -28,3 +28,17 @@ body { margin-top: 2rem; }
.search-pop-overlay, .sidebar-nav { display: none; }
.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;
}