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/_post.scss | |
parent | 7fcf57dc01fb1c33aec49bdf3236bd241cc1dbcc (diff) | |
download | octopress-theme-jeyzu-77881bdaef1f0397e89d7b5ba3b7bbcc1eb868b1.zip octopress-theme-jeyzu-77881bdaef1f0397e89d7b5ba3b7bbcc1eb868b1.tar.gz |
move media queries
Diffstat (limited to 'sass/parts/_post.scss')
-rw-r--r-- | sass/parts/_post.scss | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/sass/parts/_post.scss b/sass/parts/_post.scss index 1b5f554..de9c78c 100644 --- a/sass/parts/_post.scss +++ b/sass/parts/_post.scss @@ -1,6 +1,9 @@ .post{ h1.title, .entry{ margin-left: 200px; + @media screen and (max-width: 800px){ + margin-left: 0; + } } .meta{ position: absolute; @@ -9,12 +12,21 @@ font-size: $meta-size; color: $gray02; width: 170px; + @media screen and (max-width: 800px){ + margin-top: 15px; + position: static; + width: auto; + } a{ @include link-colors($gray02, $gray01); @include transition(0.3s); } .date, .tags, .comments{ padding-left: 30px; + @media screen and (max-width: 800px){ + @include inline-block; + margin-right: 30px; + } } .date{ background: image-url('date.png') 0 center no-repeat; @@ -26,21 +38,4 @@ background: image-url('comments.png') 0 center no-repeat; } } -} - -@media screen and (max-width: 800px){ - .post{ - h1.title, .entry{ - margin-left: 0; - } - .meta{ - margin-top: 15px; - position: static; - width: auto; - .date, .tags, .comments{ - @include inline-block; - margin-right: 30px; - } - } - } }
\ No newline at end of file |