aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/sass
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-09-28 14:51:24 -0500
committerBrandon Mathis <brandon@imathis.com>2011-09-28 14:51:24 -0500
commit3bd4ed026eab04b5c560ca85317c982ab0679369 (patch)
tree652b5d0663331f1561b4d98f98ab5654366a78ed /.themes/classic/sass
parent3ad7715901414e9bdb7fb150cb4074f1bfa8c74c (diff)
parent9cf956cc96d0a337562a46bb1e695c4da31c88c4 (diff)
downloadmy_new_personal_website-3bd4ed026eab04b5c560ca85317c982ab0679369.tar.xz
my_new_personal_website-3bd4ed026eab04b5c560ca85317c982ab0679369.zip
Merge branch 'master' of github.com:imathis/octopress into compass
Diffstat (limited to '.themes/classic/sass')
-rw-r--r--.themes/classic/sass/partials/_syntax.scss31
1 files changed, 18 insertions, 13 deletions
diff --git a/.themes/classic/sass/partials/_syntax.scss b/.themes/classic/sass/partials/_syntax.scss
index 713d46e5..2ae61643 100644
--- a/.themes/classic/sass/partials/_syntax.scss
+++ b/.themes/classic/sass/partials/_syntax.scss
@@ -1,4 +1,5 @@
.highlight, html .gist .gist-file .gist-syntax .gist-highlight {
+ table td.code { width: 100%; }
.line-numbers {
text-align: right;
font-size: 13px;
@@ -85,19 +86,21 @@ h3.filename {
+ pre { @include border-top-radius(0px); }
}
-p code,
-li code {
- @extend .mono;
- display: inline-block;
- white-space: no-wrap;
- background: #fff;
- font-size: .8em;
- line-height: 1.5em;
- color: #555;
- border: 1px solid #ddd;
- @include border-radius(.4em);
- padding: 0 .3em;
- margin: -1px 0;
+p, li {
+ code {
+ @extend .mono;
+ display: inline-block;
+ white-space: no-wrap;
+ background: #fff;
+ font-size: .8em;
+ line-height: 1.5em;
+ color: #555;
+ border: 1px solid #ddd;
+ @include border-radius(.4em);
+ padding: 0 .3em;
+ margin: -1px 0;
+ }
+ pre code { font-size: 1em !important; background: none; border: none; }
}
.pre-code {
@@ -216,6 +219,7 @@ figure.code {
margin-bottom: 0;
}
}
+
.code-title {
text-align: center;
font-size: 13px;
@@ -243,3 +247,4 @@ figure.code {
text-shadow: #cbcccc 0 1px 0;
padding-left: 3em;
}
+