+ style .content-full, + mobile style content

This commit is contained in:
tmshv committed 2016-02-27 16:11:22 +03:00
1 parent 994c7f0602
commit 009211e13c
1 file changed
+27 -1
+27 -1
View File
@@ -1,7 +1,11 @@
@import "variables"; @import "variables";
.content { .content {
margin: $single-margin auto 0; margin: 0 auto;
&.content_full{
width: $content-full;
}
&.content_wide{ &.content_wide{
width: $content-wide; width: $content-wide;
@@ -15,3 +19,25 @@
width: $content-thin; width: $content-thin;
} }
} }
@media (max-width: $mobile-width) {
$content-mobile: 95%;
.content {
&.content_full{
width: $content-mobile;
}
&.content_wide{
width: $content-mobile;
}
&.content_semi-wide{
width: $content-mobile;
}
&.content_thin{
width: $content-mobile;
}
}
}