aboutsummaryrefslogtreecommitdiff
path: root/themes/classic/sass/default/partials
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-06-20 16:44:04 -0400
committerBrandon Mathis <brandon@imathis.com>2011-06-20 16:44:04 -0400
commit5d61b463580584755bc6a45ac3212b3b08409dda (patch)
tree9e112de3ce71622e339f497a76ff8c606551cafd /themes/classic/sass/default/partials
parentf77db80077d739077becc1618b87818ea42f145c (diff)
downloadmy_new_personal_website-5d61b463580584755bc6a45ac3212b3b08409dda.tar.xz
my_new_personal_website-5d61b463580584755bc6a45ac3212b3b08409dda.zip
1. Updated readme
2. Improved blog typography 3. Improved support for Disqus 4. Removed unnecessary page layout
Diffstat (limited to 'themes/classic/sass/default/partials')
-rw-r--r--themes/classic/sass/default/partials/_blog.scss39
-rw-r--r--themes/classic/sass/default/partials/_syntax.scss2
2 files changed, 33 insertions, 8 deletions
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 {