summaryrefslogtreecommitdiffstats
path: root/sass/parts
diff options
context:
space:
mode:
authorSkyArrow <tommy351@gmail.com>2012-01-24 18:13:21 +0100
committerSkyArrow <tommy351@gmail.com>2012-01-24 18:13:21 +0100
commit75a81b46429c6a50dddce2208ac11da5428817e3 (patch)
tree2ea693a93b9d33738dd00074efe304589f6b49c7 /sass/parts
parentd4e8b3be358b295d894f902f34206bee9f4b5d1a (diff)
downloadoctopress-theme-jeyzu-75a81b46429c6a50dddce2208ac11da5428817e3.zip
octopress-theme-jeyzu-75a81b46429c6a50dddce2208ac11da5428817e3.tar.gz
syntax overflow
Diffstat (limited to 'sass/parts')
-rw-r--r--sass/parts/_article.scss18
-rw-r--r--sass/parts/_syntax.scss18
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;