diff options
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; } |