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/_archive.scss | |
parent | 7fcf57dc01fb1c33aec49bdf3236bd241cc1dbcc (diff) | |
download | octopress-theme-jeyzu-77881bdaef1f0397e89d7b5ba3b7bbcc1eb868b1.zip octopress-theme-jeyzu-77881bdaef1f0397e89d7b5ba3b7bbcc1eb868b1.tar.gz |
move media queries
Diffstat (limited to 'sass/parts/_archive.scss')
-rw-r--r-- | sass/parts/_archive.scss | 39 |
1 files changed, 17 insertions, 22 deletions
diff --git a/sass/parts/_archive.scss b/sass/parts/_archive.scss index e2e3aea..6b5ee75 100644 --- a/sass/parts/_archive.scss +++ b/sass/parts/_archive.scss @@ -32,9 +32,23 @@ section.archive{ width: 100%; border-top: 1px solid $gray04; } + @media screen and (max-width: 600px){ + position: relative; + width: 100%; + & + article.archive{ + border-top: none; + h1{ + padding-top: 15px; + } + } + } } article.archive{ margin-left: 200px; + @media screen and (max-width: 600px){ + margin-left: 0; + padding: 15px 0; + } h1{ margin-bottom: 0; } @@ -42,6 +56,9 @@ section.archive{ color: $gray02; line-height: 2; margin-top: 15px; + @media screen and (max-width: 600px){ + display: none; + } span{ margin-right: 30px; padding-left: 30px; @@ -65,26 +82,4 @@ section.archive{ } } } -} - -@media screen and (max-width: 600px){ - section.archive{ - h1.archive-title{ - position: relative; - width: 100%; - & + article.archive{ - border-top: none; - h1{ - padding-top: 15px; - } - } - } - article.archive{ - margin-left: 0; - padding: 15px 0; - .meta{ - display: none; - } - } - } }
\ No newline at end of file |