diff options
author | Brandon Mathis <brandon@imathis.com> | 2011-07-13 11:57:44 -0400 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2011-07-13 11:57:44 -0400 |
commit | b0a610095fd80f51c21ff49ddbe7aa98ea434ebc (patch) | |
tree | 03ea1be4a83165c886d5f5812dab25db59755da9 /.themes/classic/sass | |
parent | eba8e7f5f7db9e1fa47cd5e415efe7aec61610cd (diff) | |
download | my_new_personal_website-b0a610095fd80f51c21ff49ddbe7aa98ea434ebc.tar.xz my_new_personal_website-b0a610095fd80f51c21ff49ddbe7aa98ea434ebc.zip |
fixed sidebar columnization
Diffstat (limited to '.themes/classic/sass')
-rw-r--r-- | .themes/classic/sass/base/_layout.scss | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/.themes/classic/sass/base/_layout.scss b/.themes/classic/sass/base/_layout.scss index b1b44738..64344c82 100644 --- a/.themes/classic/sass/base/_layout.scss +++ b/.themes/classic/sass/base/_layout.scss @@ -19,7 +19,7 @@ body { max-width: $max-width; position: relative; margin: 0 auto; - > header, > nav, > footer, #content > article, #content > div > article { + > header, > nav, > footer, #content > article, #content > div > article, #content > div > nav { @extend .group; padding-left: $pad-min; padding-right: $pad-min; @@ -60,10 +60,10 @@ body { #content aside { @extend .group; section { - &.odd, &.even { float: left; width: 48%; } - &.odd { margin-left: 0; } - &.even { margin-left: 4%; } - } + &.odd, &.even { float: left; width: 48%; } + &.odd { margin-left: 0; } + &.even { margin-left: 4%; } + } } } @media only screen and (min-width: 768px) { @@ -89,7 +89,10 @@ body { background: none; float: left; margin: 0 -100% 0 0; - section, section.even { width: auto; margin: 0; } + section { + width: auto; margin-left: 0; + &.odd, &.even { float: none; width: auto; margin-left: 0; } + } } .collapse-sidebar & { margin-right: 10px; |