diff options
Diffstat (limited to '.themes/classic/sass/partials/_blog.scss')
-rw-r--r-- | .themes/classic/sass/partials/_blog.scss | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/.themes/classic/sass/partials/_blog.scss b/.themes/classic/sass/partials/_blog.scss index 39dcecd8..ab9033f3 100644 --- a/.themes/classic/sass/partials/_blog.scss +++ b/.themes/classic/sass/partials/_blog.scss @@ -1,21 +1,10 @@ -#content { - article { ul, ol { margin-left: 1.4em; }} +article { + overflow: hidden; + padding-top: 1em; + ul, ol { margin-left: 1.4em; } @media only screen and (min-width: 768px) { ul, ol { margin-left: 0; } } - > article, > div > article { - overflow: hidden; - padding-top: 1em; - h2 { - padding-top: 0.8em; - background: $img-border top left repeat-x; - .entry-content &:first-child { padding-top: 0; } - &:first-child { background: none; } - } - .byline + time:before, time +time:before, .comments:before, .byline ~ .categories:before { - @extend .separator; - } - } header { position: relative; padding-top: 2em; @@ -43,6 +32,12 @@ background: $img-border bottom left repeat-x; } } + h2 { + padding-top: 0.8em; + background: $img-border top left repeat-x; + .entry-content &:first-child { padding-top: 0; } + &:first-child { background: none; } + } .feature { padding-top: .5em; margin-bottom: 1em; @@ -80,7 +75,7 @@ } } } - > div > article > footer { + > footer { padding-bottom: 2.5em; margin-top: 2em; @extend .sans; @@ -88,6 +83,9 @@ margin-bottom: .8em; font-size: .85em; } + .byline + time:before, time +time:before, .comments:before, .byline ~ .categories:before { + @extend .separator; + } } } @@ -129,7 +127,7 @@ article + article { display: inline-block; } -nav[role=pagination] { +#content nav[role=pagination] { text-align: center; font-size: .95em; div { |