summaryrefslogtreecommitdiffstats
path: root/sass/base/_layout.scss
diff options
context:
space:
mode:
Diffstat (limited to 'sass/base/_layout.scss')
-rw-r--r--sass/base/_layout.scss20
1 files changed, 7 insertions, 13 deletions
diff --git a/sass/base/_layout.scss b/sass/base/_layout.scss
index 7aaafbb..b50dcbb 100644
--- a/sass/base/_layout.scss
+++ b/sass/base/_layout.scss
@@ -10,6 +10,12 @@ body{
font-size: 14px;
background: $background;
color: $gray01;
+ @media screen and (max-width: 1040px){
+ margin: 0 20px;
+ }
+ @media screen and (max-width: 600px){
+ font-size: 13px;
+ }
}
h1{
font-size: 1.8em;
@@ -37,19 +43,7 @@ a{
.inner{
width: $max-width;
margin: 0 auto;
-}
-
-@media screen and (max-width: 1030px){
- body{
- margin: 0 30px;
- }
- .inner{
+ @media screen and (max-width: 1040px){
width: 100%;
}
-}
-
-@media screen and (max-width: 600px){
- body{
- font-size: 13px;
- }
} \ No newline at end of file