summaryrefslogtreecommitdiffstats
path: root/sass
diff options
context:
space:
mode:
Diffstat (limited to 'sass')
-rw-r--r--sass/parts/_article.scss9
-rw-r--r--sass/parts/_syntax.scss9
2 files changed, 18 insertions, 0 deletions
diff --git a/sass/parts/_article.scss b/sass/parts/_article.scss
index 29355ba..953a337 100644
--- a/sass/parts/_article.scss
+++ b/sass/parts/_article.scss
@@ -83,6 +83,15 @@ article{
code{
font: $meta-size $monospace;
}
+ >pre{
+ background: $border;
+ padding: 5px 15px;
+ margin-top: 10px;
+ border: 1px solid #ccc;
+ line-height: 1.5;
+ overflow-x: auto;
+ @include border-radius(5px);
+ }
.caption{
background: image-url('caption.png') 0 4px no-repeat;
display: block;
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;