diff options
author | SkyArrow <tommy351@gmail.com> | 2012-03-17 03:32:18 +0100 |
---|---|---|
committer | SkyArrow <tommy351@gmail.com> | 2012-03-17 03:32:18 +0100 |
commit | 77881bdaef1f0397e89d7b5ba3b7bbcc1eb868b1 (patch) | |
tree | 24218ba7cc7e7bb91f7db44da0b467e6aff8aa7d /sass/parts/_article.scss | |
parent | 7fcf57dc01fb1c33aec49bdf3236bd241cc1dbcc (diff) | |
download | octopress-theme-jeyzu-77881bdaef1f0397e89d7b5ba3b7bbcc1eb868b1.zip octopress-theme-jeyzu-77881bdaef1f0397e89d7b5ba3b7bbcc1eb868b1.tar.gz |
move media queries
Diffstat (limited to 'sass/parts/_article.scss')
-rw-r--r-- | sass/parts/_article.scss | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/sass/parts/_article.scss b/sass/parts/_article.scss index 4a7ba6b..ba14807 100644 --- a/sass/parts/_article.scss +++ b/sass/parts/_article.scss @@ -3,6 +3,12 @@ article{ border-top: 1px solid $gray05; padding: 30px 0; position: relative; + @media screen and (max-width: 800px){ + padding-bottom: 15px; + } + @media screen and (max-width: 600px){ + padding: 15px 0; + } h1.title{ font-weight: 300; line-height: 35px; @@ -115,16 +121,4 @@ article{ .share{ padding: 15px 0; @include border-shadow(); -} - -@media screen and (max-width: 800px){ - article{ - padding-bottom: 15px; - } -} - -@media screen and (max-width: 600px){ - article{ - padding: 15px 0; - } }
\ No newline at end of file |