summaryrefslogtreecommitdiffstats
path: root/sass/parts/_syntax.scss
diff options
context:
space:
mode:
authorSkyArrow <tommy351@gmail.com>2012-01-24 18:25:14 +0100
committerSkyArrow <tommy351@gmail.com>2012-01-24 18:25:14 +0100
commitd894d4434c59381cc3fb834ac8ddccf9120b4ac2 (patch)
tree053ae6b361acacdac55db429a410bcc13b3dc2ea /sass/parts/_syntax.scss
parentee892b908a7e1b3b8c1fccb1c4d8b8d54c94f174 (diff)
downloadoctopress-theme-jeyzu-d894d4434c59381cc3fb834ac8ddccf9120b4ac2.zip
octopress-theme-jeyzu-d894d4434c59381cc3fb834ac8ddccf9120b4ac2.tar.gz
syntax highlight
Diffstat (limited to 'sass/parts/_syntax.scss')
-rw-r--r--sass/parts/_syntax.scss9
1 files changed, 9 insertions, 0 deletions
diff --git a/sass/parts/_syntax.scss b/sass/parts/_syntax.scss
index 54f5242..15632dc 100644
--- a/sass/parts/_syntax.scss
+++ b/sass/parts/_syntax.scss
@@ -51,6 +51,15 @@ figure.code{
line-height: 1.5;
overflow-x: auto;
@include border-radius(5px);
+ figcaption{
+ font-size: $meta-size;
+ margin: -10px -15px 0;
+ padding: 10px 15px;
+ @include background(linear-gradient(top, #ccc, #ddd));
+ a{
+ float: right;
+ }
+ }
.line-numbers{
border-right: 1px solid #ccc;
color: #000;