style: use a fixed backgruond

This commit is contained in:
Kazhnuz 2018-10-15 11:42:58 +02:00
parent 0a45e899ad
commit aa728b64f7
2 changed files with 3 additions and 1 deletions

View file

@ -1,7 +1,8 @@
/* ------------------ CUSTOM STYLE ------------------- */ /* ------------------ CUSTOM STYLE ------------------- */
body { body {
background: #666 url("../img/background.png"); background: #666 url("../img/background.png");
padding: 30px; } padding: 30px;
background-attachment: fixed; }
@media (max-width: 767.98px) { @media (max-width: 767.98px) {
body { body {

View file

@ -28,6 +28,7 @@ $color-mark: $color-yellow;
body { body {
background: #666 url('../img/background.png'); background: #666 url('../img/background.png');
padding: 30px; padding: 30px;
background-attachment: fixed;
} }
@media (max-width: 767.98px) { @media (max-width: 767.98px) {