From e13d32a05e27e9e69104982da2c4c8021cc5bc0b Mon Sep 17 00:00:00 2001 From: Boris Kubiak Date: Tue, 31 Jul 2018 07:58:26 +0200 Subject: [PATCH] Use fixed background-attachment --- index.html | 4 ++-- src/App.vue | 7 +------ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index 02171f9..74c28ad 100644 --- a/index.html +++ b/index.html @@ -14,8 +14,8 @@ - - + + diff --git a/src/App.vue b/src/App.vue index 653b6ef..ac6041a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -238,12 +238,7 @@ font-family: 'Lato', sans-serif background: $bg-fallback background: linear-gradient(140deg, $bg-2 0%, $bg-1 100%) - @media screen and (max-width: 1200px) - background: linear-gradient(130deg, $bg-2 0%, $bg-1 100%) - @media screen and (max-width: 768px) - background: linear-gradient(120deg, $bg-2 0%, $bg-1 100%) - @media screen and (max-width: 480px) - background: linear-gradient(110deg, $bg-2 0%, $bg-1 100%) + background-attachment: fixed h1, h2, h3, h4, h5, h6, p, label margin: 0