summaryrefslogtreecommitdiffstats
path: root/sass/base/_layout.scss
diff options
context:
space:
mode:
authorSkyArrow <tommy351@gmail.com>2012-03-17 03:32:18 +0100
committerSkyArrow <tommy351@gmail.com>2012-03-17 03:32:18 +0100
commit77881bdaef1f0397e89d7b5ba3b7bbcc1eb868b1 (patch)
tree24218ba7cc7e7bb91f7db44da0b467e6aff8aa7d /sass/base/_layout.scss
parent7fcf57dc01fb1c33aec49bdf3236bd241cc1dbcc (diff)
downloadoctopress-theme-jeyzu-77881bdaef1f0397e89d7b5ba3b7bbcc1eb868b1.zip
octopress-theme-jeyzu-77881bdaef1f0397e89d7b5ba3b7bbcc1eb868b1.tar.gz
move media queries
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