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;
}
body {
main {
font: 14px/16px $font-family;
color: $default-text;
background-color: $body-bg;
}
.blur-theme {
@at-root body {
&.blur-theme {
@include main-background();
}
}
.mobile {
@at-root body {
background: none;
.body-bg {
display: block;
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
background-attachment: inherit;
background-color: $body-bg;
}
main.mobile{
background: none;
.body-bg{
display: block;
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
background-attachment: inherit;
background-color: $body-bg;
}
&.blur-theme {
@include main-background();
}
}

View file

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