summaryrefslogtreecommitdiffstats
path: root/sass/parts
diff options
context:
space:
mode:
authorSkyArrow <tommy351@gmail.com>2012-01-24 18:25:42 +0100
committerSkyArrow <tommy351@gmail.com>2012-01-24 18:25:42 +0100
commitba90fa20614edb6a22fc3050fb41fd13a0b60087 (patch)
treebe84d438bc0b8a9fdcd0727754184bd980111aae /sass/parts
parentd894d4434c59381cc3fb834ac8ddccf9120b4ac2 (diff)
downloadoctopress-theme-jeyzu-ba90fa20614edb6a22fc3050fb41fd13a0b60087.zip
octopress-theme-jeyzu-ba90fa20614edb6a22fc3050fb41fd13a0b60087.tar.gz
syntax caption
Diffstat (limited to 'sass/parts')
-rw-r--r--sass/parts/_syntax.scss17
1 files changed, 13 insertions, 4 deletions
diff --git a/sass/parts/_syntax.scss b/sass/parts/_syntax.scss
index 15632dc..d99bb54 100644
--- a/sass/parts/_syntax.scss
+++ b/sass/parts/_syntax.scss
@@ -53,11 +53,20 @@ figure.code{
@include border-radius(5px);
figcaption{
font-size: $meta-size;
- margin: -10px -15px 0;
- padding: 10px 15px;
- @include background(linear-gradient(top, #ccc, #ddd));
+ position: relative;
+ span{
+ margin: -10px -15px 0;
+ padding: 10px 15px 5px;
+ display: block;
+ @include background(linear-gradient(top, #ccc, #ddd));
+ &:empty{
+ display: none;
+ }
+ }
a{
- float: right;
+ position: absolute;
+ top: $meta-size;
+ right: 0;
}
}
.line-numbers{