From 75a81b46429c6a50dddce2208ac11da5428817e3 Mon Sep 17 00:00:00 2001 From: SkyArrow Date: Wed, 25 Jan 2012 01:13:21 +0800 Subject: syntax overflow --- sass/parts/_article.scss | 18 ------------------ sass/parts/_syntax.scss | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/sass/parts/_article.scss b/sass/parts/_article.scss index f4b6e62..73ab149 100644 --- a/sass/parts/_article.scss +++ b/sass/parts/_article.scss @@ -84,24 +84,6 @@ article{ pre{ line-height: 1.5; } - figure.code{ - background: $border; - padding: 5px 15px; - margin-top: 10px; - border: 1px solid #ccc; - border-radius: 5px; - .line-numbers{ - border-right: 1px solid #ccc; - color: #000; - font-family: $monospace; - padding-right: 15px; - } - td.code{ - padding-left: 15px; - font-size: 13px; - overflow-x: auto; - } - } } .meta{ position: absolute; diff --git a/sass/parts/_syntax.scss b/sass/parts/_syntax.scss index 18df546..f3e493a 100644 --- a/sass/parts/_syntax.scss +++ b/sass/parts/_syntax.scss @@ -44,6 +44,24 @@ $pre-border: darken($base02, 5) !default; $pre-color: $base1 !default; figure.code{ + background: $border; + padding: 5px 15px; + margin-top: 10px; + border: 1px solid #ccc; + border-radius: 5px; + overflow-x: auto; + .line-numbers{ + border-right: 1px solid #ccc; + color: #000; + font-family: $monospace; + padding-right: 15px; + } + td.code{ + padding-left: 15px; + font-size: 13px; + overflow-x: auto; + } + /* Style */ .c { color:$base01 !important; font-style: italic !important; -- cgit v1.1-2-g2b99