style: use a fixed backgruond
This commit is contained in:
parent
0a45e899ad
commit
aa728b64f7
2 changed files with 3 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Reference in a new issue