From 009211e13c40bb5023253e7618278b9be1f5e8f3 Mon Sep 17 00:00:00 2001 From: Roman Timashev Date: Sat, 27 Feb 2016 16:11:22 +0300 Subject: [PATCH] + style .content-full, + mobile style content --- src/style/content.scss | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/src/style/content.scss b/src/style/content.scss index 87e5a6eb..6fb7aa9e 100644 --- a/src/style/content.scss +++ b/src/style/content.scss @@ -1,7 +1,11 @@ @import "variables"; .content { - margin: $single-margin auto 0; + margin: 0 auto; + + &.content_full{ + width: $content-full; + } &.content_wide{ width: $content-wide; @@ -14,4 +18,26 @@ &.content_thin{ width: $content-thin; } -} \ No newline at end of file +} + +@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; + } + } +}