diff options
author | SkyArrow <tommy351@gmail.com> | 2012-01-24 18:21:35 +0100 |
---|---|---|
committer | SkyArrow <tommy351@gmail.com> | 2012-01-24 18:21:35 +0100 |
commit | 5d6ddc9a053d439b8de02859c311443317a4cc60 (patch) | |
tree | 34340f180c995a9c2f374194b4285c07914c8f73 /sass | |
parent | 0f2144354f833df6f1fcaebf7ea88506df4059dc (diff) | |
download | octopress-theme-jeyzu-5d6ddc9a053d439b8de02859c311443317a4cc60.zip octopress-theme-jeyzu-5d6ddc9a053d439b8de02859c311443317a4cc60.tar.gz |
change font size to relative size
Diffstat (limited to 'sass')
-rw-r--r-- | sass/base/_font.scss | 4 | ||||
-rw-r--r-- | sass/base/_layout.scss | 2 | ||||
-rw-r--r-- | sass/parts/_archive.scss | 4 | ||||
-rw-r--r-- | sass/parts/_article.scss | 6 | ||||
-rw-r--r-- | sass/parts/_footer.scss | 2 | ||||
-rw-r--r-- | sass/parts/_post.scss | 2 |
6 files changed, 7 insertions, 13 deletions
diff --git a/sass/base/_font.scss b/sass/base/_font.scss index 44f829f..dfd091d 100644 --- a/sass/base/_font.scss +++ b/sass/base/_font.scss @@ -1,2 +1,4 @@ $default: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; -$monospace: "Consolas", Monaco, Courier New, Courier, monospace;
\ No newline at end of file +$monospace: "Consolas", Monaco, Courier New, Courier, monospace; + +$meta-size: 0.9em;
\ No newline at end of file diff --git a/sass/base/_layout.scss b/sass/base/_layout.scss index 24c67d8..71cb9f1 100644 --- a/sass/base/_layout.scss +++ b/sass/base/_layout.scss @@ -37,7 +37,7 @@ body{ color: $font-main; } h1{ - font-size: 2em; + font-size: 1.8em; } h2{ font-size: 1.5em; diff --git a/sass/parts/_archive.scss b/sass/parts/_archive.scss index 037e92a..694c0e2 100644 --- a/sass/parts/_archive.scss +++ b/sass/parts/_archive.scss @@ -19,7 +19,6 @@ section.archive{ } } h1.archive-title{ - font-size: 25px; line-height: 35px; width: 200px; position: absolute; @@ -83,9 +82,6 @@ section.archive{ article.archive{ margin-left: 0; padding: 15px 0; - h1{ - font-size: 20px; - } .meta{ display: none; } diff --git a/sass/parts/_article.scss b/sass/parts/_article.scss index 2639aeb..bea6c13 100644 --- a/sass/parts/_article.scss +++ b/sass/parts/_article.scss @@ -4,7 +4,6 @@ article{ padding: 30px 0; position: relative; h1.title{ - font-size: 25px; font-weight: 300; line-height: 35px; margin-bottom: 20px; @@ -90,7 +89,7 @@ article{ .caption{ background: image-url('caption.png') 0 4px no-repeat; display: block; - font-size: 12px; + font-size: $meta-size; color: #999; padding-left: 25px; } @@ -110,8 +109,5 @@ article{ @media screen and (max-width: 600px){ article{ padding: 15px 0; - h1.title{ - font-size: 20px; - } } }
\ No newline at end of file diff --git a/sass/parts/_footer.scss b/sass/parts/_footer.scss index 2df695f..c645a9e 100644 --- a/sass/parts/_footer.scss +++ b/sass/parts/_footer.scss @@ -2,5 +2,5 @@ footer{ padding: 15px 0; border-top: 1px solid $light-shadow; text-align: center; - font-size: 12px; + font-size: $meta-size; }
\ No newline at end of file diff --git a/sass/parts/_post.scss b/sass/parts/_post.scss index aeaa52a..704096b 100644 --- a/sass/parts/_post.scss +++ b/sass/parts/_post.scss @@ -6,7 +6,7 @@ position: absolute; top: 85px; line-height: 2; - font-size: 13px; + font-size: $meta-size; color: $font-meta; width: 170px; a{ |