style: delete invalid CSS in first screen

This commit is contained in:
XPoet 2021-01-08 16:22:13 +08:00
parent 83c6af4438
commit d563822005
1 changed files with 3 additions and 3 deletions

View File

@ -10,14 +10,14 @@ $first-screen-img = $temp-img ? $temp-img:'/images/bg.svg';
width: 100%;
overflow: hidden;
background: url($first-screen-img) center center / cover no-repeat;
background-position-y: $header-height - $scroll-progress-bar-height;
background-position-y: $header-height;
+keep-tablet() {
background-position-y: $header-height * 0.9 - $scroll-progress-bar-height;
background-position-y: $header-height * 0.9;
}
+keep-mobile() {
background-position-y: $header-height * 0.8 - $scroll-progress-bar-height;
background-position-y: $header-height * 0.8;
}
.content {