From 5d61b463580584755bc6a45ac3212b3b08409dda Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Mon, 20 Jun 2011 16:44:04 -0400 Subject: 1. Updated readme 2. Improved blog typography 3. Improved support for Disqus 4. Removed unnecessary page layout --- themes/classic/sass/default/partials/_blog.scss | 39 ++++++++++++++++++----- themes/classic/sass/default/partials/_syntax.scss | 2 ++ 2 files changed, 33 insertions(+), 8 deletions(-) (limited to 'themes/classic/sass/default/partials') diff --git a/themes/classic/sass/default/partials/_blog.scss b/themes/classic/sass/default/partials/_blog.scss index be6239af..aafdf20c 100644 --- a/themes/classic/sass/default/partials/_blog.scss +++ b/themes/classic/sass/default/partials/_blog.scss @@ -14,11 +14,8 @@ $border: inline-image('dotted-border.png'); padding-top: 0; } } - time + .byline:before, .byline + time +time:before { - content: "\2022 "; - padding: 0 .3em 0 .2em; - display: inline-block; - @include opacity(.5); + .byline + time:before, time +time:before, .comments:before { + @extend .separator; } header { position: relative; @@ -33,7 +30,7 @@ $border: inline-image('dotted-border.png'); } p { font-size: .9em; - color: $type-color-light; + color: $text-color-light; margin: 0; @extend .sans; &.meta { @@ -82,9 +79,20 @@ $border: inline-image('dotted-border.png'); } #disqus_thread { } + iframe.twitter-share-button { + //display: block; + //margin-top: .5em; + //padding: .2em 0; + position: relative; + top: .3em; + padding-left: .5em; + } footer { - padding-top: 15px; - time, .author { color: $light-text; } + margin-top: 2em; + padding-top: 1em; + margin-bottom: 1.5em; + background: $border top left repeat-x; + time, .author { color: $text-color-light; @extend .sans; } } } } @@ -103,10 +111,25 @@ article + article { padding: .4em .8em; margin-right: .5em; text-decoration: none; + color: mix($text-color, $text-color-light); + @extend .serif; @include transition(background-color, .5s); &:hover { background: $link-color-hover; + text-shadow: none; color: $main-bg; } } + footer { + @extend .sans; + margin-top: 1em; + p.meta { color: $text-color-light; } + a { color: inherit; &:hover{ color: $link-color-hover;} } + } +} + +.separator { + content: "\2022 "; + padding: 0 .4em 0 .2em; + display: inline-block; } diff --git a/themes/classic/sass/default/partials/_syntax.scss b/themes/classic/sass/default/partials/_syntax.scss index 05a97082..cf012555 100644 --- a/themes/classic/sass/default/partials/_syntax.scss +++ b/themes/classic/sass/default/partials/_syntax.scss @@ -69,10 +69,12 @@ p code { white-space: no-wrap; background: #fff; font-size: .9em; + line-height: 1.5em; color: #555; border: 1px solid #ddd; @include border-radius(.4em); padding: 0 .3em; + margin: -1px 0; } .pre-code { -- cgit v1.2.1