diff options
author | SkyArrow <tommy351@gmail.com> | 2012-01-24 18:22:08 +0100 |
---|---|---|
committer | SkyArrow <tommy351@gmail.com> | 2012-01-24 18:22:08 +0100 |
commit | 265323688de85cd50b655b61da913e6c340f27f3 (patch) | |
tree | 9b2a776395e7293a1161eb62ee1108817dc8094f /sass | |
parent | 5d6ddc9a053d439b8de02859c311443317a4cc60 (diff) | |
download | octopress-theme-jeyzu-265323688de85cd50b655b61da913e6c340f27f3.zip octopress-theme-jeyzu-265323688de85cd50b655b61da913e6c340f27f3.tar.gz |
syntax highlight
Diffstat (limited to 'sass')
-rw-r--r-- | sass/parts/_article.scss | 7 | ||||
-rw-r--r-- | sass/parts/_syntax.scss | 3 |
2 files changed, 4 insertions, 6 deletions
diff --git a/sass/parts/_article.scss b/sass/parts/_article.scss index bea6c13..b0f49ab 100644 --- a/sass/parts/_article.scss +++ b/sass/parts/_article.scss @@ -76,15 +76,12 @@ article{ background: $border; border: 1px solid #ccc; padding: 1px 3px; - @include border-radius(5px); margin: 0 3px; + @include border-radius(5px); } } code{ - font-family: $monospace; - } - pre{ - line-height: 1.5; + font: $meta-size $monospace; } .caption{ background: image-url('caption.png') 0 4px no-repeat; diff --git a/sass/parts/_syntax.scss b/sass/parts/_syntax.scss index 0ae39ad..54f5242 100644 --- a/sass/parts/_syntax.scss +++ b/sass/parts/_syntax.scss @@ -48,15 +48,16 @@ figure.code{ padding: 5px 15px; margin-top: 10px; border: 1px solid #ccc; + line-height: 1.5; overflow-x: auto; @include border-radius(5px); .line-numbers{ border-right: 1px solid #ccc; color: #000; - font-family: $monospace; padding-right: 15px; } td.code{ + width: 100%; padding-left: 15px; overflow-x: auto; } |