diff --git a/source/css/layout/_partial/first-screen.styl b/source/css/layout/_partial/first-screen.styl index e6d725a..3d33f4d 100644 --- a/source/css/layout/_partial/first-screen.styl +++ b/source/css/layout/_partial/first-screen.styl @@ -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 {