diff options
author | Brandon Mathis <brandon@imathis.com> | 2011-06-08 14:18:37 -0400 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2011-06-08 14:18:37 -0400 |
commit | 7957858bc6ed36c9a27e9aec35646239f905303a (patch) | |
tree | ac39d0fc12c6f658add23c6ab2fa8acbbfe19ce3 /themes/classic/sass/default | |
parent | aa230616241321ca9c4b8f4202d045c829527618 (diff) | |
download | my_new_personal_website-7957858bc6ed36c9a27e9aec35646239f905303a.tar.xz my_new_personal_website-7957858bc6ed36c9a27e9aec35646239f905303a.zip |
Typographic trying out some webfonts
Media query layout improvements
Twitter now splits tweets with <br> and </p><p> on \n and \n\n
RSS icon made a bit smaller
Diffstat (limited to 'themes/classic/sass/default')
-rw-r--r-- | themes/classic/sass/default/core/_layout.scss | 3 | ||||
-rw-r--r-- | themes/classic/sass/default/core/_theme.scss | 2 | ||||
-rw-r--r-- | themes/classic/sass/default/core/_typography.scss | 12 | ||||
-rw-r--r-- | themes/classic/sass/default/partials/_blog.scss | 9 | ||||
-rw-r--r-- | themes/classic/sass/default/partials/_navigation.scss | 2 |
5 files changed, 13 insertions, 15 deletions
diff --git a/themes/classic/sass/default/core/_layout.scss b/themes/classic/sass/default/core/_layout.scss index 0fdb235c..21f728de 100644 --- a/themes/classic/sass/default/core/_layout.scss +++ b/themes/classic/sass/default/core/_layout.scss @@ -14,7 +14,7 @@ $sidebar-width-wide: 300px; //html { } body { -webkit-text-size-adjust: none; - max-width: 1400px; + max-width: 1350px; position: relative; margin: 0 auto; > header, > nav, > footer, #articles > article { @@ -112,7 +112,6 @@ body { } @media only screen and (min-width: 992px) { - body > * { font-size: 1.1em; } body > header { font-size: 1.3em; } diff --git a/themes/classic/sass/default/core/_theme.scss b/themes/classic/sass/default/core/_theme.scss index a38f9127..62b1a007 100644 --- a/themes/classic/sass/default/core/_theme.scss +++ b/themes/classic/sass/default/core/_theme.scss @@ -25,7 +25,7 @@ $sidebar-border: darken($sidebar-bg, 7); // Blog $article-border: #eeeeee; -$main-bg: #f7f7f7; +$main-bg: #f9f8f6; $footer-color: #999999; //$footer-bg: #444444; diff --git a/themes/classic/sass/default/core/_typography.scss b/themes/classic/sass/default/core/_typography.scss index 67cc76ec..13103378 100644 --- a/themes/classic/sass/default/core/_typography.scss +++ b/themes/classic/sass/default/core/_typography.scss @@ -7,11 +7,10 @@ $mono: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace; // Fonts //@include font-face("Adelle", font-files("adellebasic_bold-webfont.woff", woff, "adellebasic_bold-webfont.ttf", truetype, "adellebasic_bold-webfont.svg#webfontKykxqSyz", svg), $eot: "adellebasic_bold-webfont.eot" ); .heading { - font-family: "Georgia", "PT Sans", "Helvetica Neue", Arial, sans-serif; - font-weight: bold; + font-family: "PT Serif", "Georgia", "Helvetica Neue", Arial, sans-serif; } -.sans { font-family: "Helvetica Neue", Arial, sans-serif; } -.serif { font-family: Georgia, Times, "Times New Roman", serif; } +.sans { font-family: "PT Sans", "Helvetica Neue", Arial, sans-serif; } +.serif { font-family: "PT Serif", Georgia, Times, "Times New Roman", serif; } .mono { font-family: $mono; } body > header h1 { @@ -28,7 +27,6 @@ body { @extend .serif; } - #{headings()}{ @extend .heading; text-rendering: optimizelegibility; @@ -36,8 +34,8 @@ body { font-weight: normal; } h1 { - font-size: 2em; - line-height: 1.3334em + font-size: 2.4em; + line-height: 1.2em } h2, section h1 { font-size: 1.5em; diff --git a/themes/classic/sass/default/partials/_blog.scss b/themes/classic/sass/default/partials/_blog.scss index 4a3312b5..07cba020 100644 --- a/themes/classic/sass/default/partials/_blog.scss +++ b/themes/classic/sass/default/partials/_blog.scss @@ -1,11 +1,11 @@ +$border: inline-image('dotted-border.png'); #articles { > article { padding-bottom: 1em; &:last-child { margin-bottom: 0; border-bottom: none; } h2 { padding-top: 0.8em; - //border-top: 3px double $type-border; - background: inline-image('dotted-border.png') top left repeat-x; + background: $border top left repeat-x; } .byline + time:before, .byline + time +time:before { content: "\2022 "; @@ -17,7 +17,7 @@ padding-top: 2em; margin-bottom: 1.5em; padding-bottom: 1.5em; - background: inline-image('dotted-border.png') bottom left repeat-x; + background: $border bottom left repeat-x; h1 { margin: 0; a { text-decoration: none; @@ -30,7 +30,8 @@ padding-top: 0; margin: 0; font-style: italic; - font-family: "Georgia", Palatino, Times, "Times New Roman"; + @extend .sans; + //font-family: "Georgia", Palatino, Times, "Times New Roman"; } } .entry-content { diff --git a/themes/classic/sass/default/partials/_navigation.scss b/themes/classic/sass/default/partials/_navigation.scss index ecc29e4e..eeafb928 100644 --- a/themes/classic/sass/default/partials/_navigation.scss +++ b/themes/classic/sass/default/partials/_navigation.scss @@ -95,7 +95,7 @@ body > nav { .maskImage { ul[role=subscription] { li, a { border: 0; padding: 0; }} a[rel=subscribe-rss]{ - position: relative; top: -2px; + position: relative; top: 0px; width: image-width('rss.png'); height: image-height('rss.png'); @include mask-image('rss.png'); |