main element is 'main' now, instead of body

This commit is contained in:
nixa 2016-05-17 14:31:36 +03:00
parent 9d0fef1dd3
commit fffe24d7aa
2 changed files with 17 additions and 19 deletions

View file

@ -12,31 +12,29 @@ html, body {
min-width: $resMin; min-width: $resMin;
} }
body { main {
font: 14px/16px $font-family; font: 14px/16px $font-family;
color: $default-text; color: $default-text;
background-color: $body-bg; background-color: $body-bg;
} &.blur-theme {
.blur-theme {
@at-root body {
@include main-background(); @include main-background();
} }
} }
.mobile { main.mobile{
@at-root body { background: none;
background: none; .body-bg{
.body-bg { display: block;
display: block; position: fixed;
position: fixed; top: 0;
top: 0; left: 0;
left: 0; bottom: 0;
bottom: 0; right: 0;
right: 0; background-attachment: inherit;
background-attachment: inherit; background-color: $body-bg;
background-color: $body-bg; }
} &.blur-theme {
@include main-background();
} }
} }

View file

@ -62,7 +62,7 @@
background: url($mainBgUrl) no-repeat center center; background: url($mainBgUrl) no-repeat center center;
background-size: cover; background-size: cover;
will-change: transform; will-change: transform;
z-index: -1; z-index: 0;
} }
} }