diff options
author | Brandon Mathis <brandon@imathis.com> | 2011-07-18 15:33:11 -0400 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2011-07-18 15:33:11 -0400 |
commit | 0f2686eff7f23a996a2a35f712079ea3ac971cd9 (patch) | |
tree | 7b5508ebb8c05fb162b10e3c379239aa9e127d8f /.themes/classic/sass/partials/_blog.scss | |
parent | 4dfc5c1d67ab50752a38a69949f546475d1b3e7e (diff) | |
download | my_new_personal_website-0f2686eff7f23a996a2a35f712079ea3ac971cd9.tar.xz my_new_personal_website-0f2686eff7f23a996a2a35f712079ea3ac971cd9.zip |
Refactored layout styles:
1. Now iPad vertical gets a collapsed sidebar with columns
2. Moved sidebar toggler styles from layout to sidebar/base
3. Added body class .sidebar-footer to support an always collapsed sidebar
4. Added $indented-lists (bool) for easily setting list indent preferences
5. Removed no-sidebar checking from sidebar-toggler, handled it through css.
Diffstat (limited to '.themes/classic/sass/partials/_blog.scss')
-rw-r--r-- | .themes/classic/sass/partials/_blog.scss | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/.themes/classic/sass/partials/_blog.scss b/.themes/classic/sass/partials/_blog.scss index 8894755c..26ad19b4 100644 --- a/.themes/classic/sass/partials/_blog.scss +++ b/.themes/classic/sass/partials/_blog.scss @@ -1,10 +1,6 @@ article { overflow: hidden; padding-top: 1em; - ul, ol { margin-left: 1.4em; } - @media only screen and (min-width: 768px) { - ul, ol { margin-left: 0; } - } header { position: relative; padding-top: 2em; @@ -35,9 +31,9 @@ article { h2 { padding-top: 0.8em; background: $img-border top left repeat-x; - .entry-content &:first-child { padding-top: 0; } - &:first-child { background: none; } } + .entry-content & h2:first-child, header + h2 { padding-top: 0; } + h2:first-child, header + h2 { background: none; } .feature { padding-top: .5em; margin-bottom: 1em; @@ -90,7 +86,9 @@ article { } article + article { - background: $img-border top left repeat-x; + .blog-index & { + background: $img-border top left repeat-x; + } } #content .blog-index { padding: { top: 0; bottom: 0; } |