summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkyArrow <tommy351@gmail.com>2012-01-24 18:13:49 +0100
committerSkyArrow <tommy351@gmail.com>2012-01-24 18:13:49 +0100
commit3e2c0885ac494bab9778a8b48ed0e7788a6c3ece (patch)
tree47e9ac7aaf12ca36a16ff022ba325cc1331447a0
parent75a81b46429c6a50dddce2208ac11da5428817e3 (diff)
downloadoctopress-theme-jeyzu-3e2c0885ac494bab9778a8b48ed0e7788a6c3ece.zip
octopress-theme-jeyzu-3e2c0885ac494bab9778a8b48ed0e7788a6c3ece.tar.gz
also highlight code in list, blockquote
-rw-r--r--sass/parts/_article.scss19
1 files changed, 11 insertions, 8 deletions
diff --git a/sass/parts/_article.scss b/sass/parts/_article.scss
index 73ab149..6d880ce 100644
--- a/sass/parts/_article.scss
+++ b/sass/parts/_article.scss
@@ -36,15 +36,9 @@ article{
margin-top: 0;
}
}
+
p{
- margin-top: 10px;
- code{
- background: $border;
- border: 1px solid #ccc;
- padding: 1px 3px;
- border-radius: 5px;
- margin: 0 3px;
- }
+ margin-top: 10px;
}
h2{
font-weight: 300;
@@ -78,6 +72,15 @@ article{
iframe[src*="youtube"]{
margin-top: 10px;
}
+ ol, ul, p, blockquote{
+ code{
+ background: $border;
+ border: 1px solid #ccc;
+ padding: 1px 3px;
+ border-radius: 5px;
+ margin: 0 3px;
+ }
+ }
code{
font-family: $monospace;
}