summaryrefslogtreecommitdiffstats
path: root/sass/parts/_article.scss
diff options
context:
space:
mode:
authorSkyArrow <tommy351@gmail.com>2012-01-24 14:54:41 +0100
committerSkyArrow <tommy351@gmail.com>2012-01-24 14:54:41 +0100
commit809cdc967baa241b6d67ba836d68af9f46f5d502 (patch)
tree7c5b79de6fa372bfc229ede971a76a99e41dd058 /sass/parts/_article.scss
parent2d0d5648dfabe4f178736ba512efc5b7e3b3cd94 (diff)
downloadoctopress-theme-jeyzu-809cdc967baa241b6d67ba836d68af9f46f5d502.zip
octopress-theme-jeyzu-809cdc967baa241b6d67ba836d68af9f46f5d502.tar.gz
syntax highlight
Diffstat (limited to 'sass/parts/_article.scss')
-rw-r--r--sass/parts/_article.scss32
1 files changed, 31 insertions, 1 deletions
diff --git a/sass/parts/_article.scss b/sass/parts/_article.scss
index d4157fe..8403ec1 100644
--- a/sass/parts/_article.scss
+++ b/sass/parts/_article.scss
@@ -27,11 +27,25 @@ article{
display: block;
margin-top: 20px;
}
+ strong{
+ font-weight: bold;
+ }
ol, ul{
margin-left: 20px;
+ margin-top: 10px;
+ ol, ul{
+ margin-top: 0;
+ }
}
p{
margin-top: 10px;
+ code{
+ background: #ddd;
+ border: 1px solid #ccc;
+ padding: 1px 3px;
+ border-radius: 5px;
+ margin: 0 3px;
+ }
}
h2{
font-weight: 300;
@@ -53,9 +67,25 @@ article{
font-family: $monospace;
}
pre{
- margin-top: 10px;
line-height: 1.5;
}
+ figure.code{
+ background: #ddd;
+ 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;
+ }
+ }
}
.meta{
position: absolute;