summaryrefslogtreecommitdiffstats
path: root/sass/parts/_article.scss
diff options
context:
space:
mode:
authorSkyArrow <tommy351@gmail.com>2012-02-11 05:35:11 +0100
committerSkyArrow <tommy351@gmail.com>2012-02-11 05:35:11 +0100
commit79f4180d4226e7f3ae5f94e07eeaa9d2a3aa8314 (patch)
tree653168ef6b1526add77ad4db0b7381d362c1a0d5 /sass/parts/_article.scss
parent0bfcad3ebc7ea5a919ce399385c3461616a433ba (diff)
downloadoctopress-theme-jeyzu-79f4180d4226e7f3ae5f94e07eeaa9d2a3aa8314.zip
octopress-theme-jeyzu-79f4180d4226e7f3ae5f94e07eeaa9d2a3aa8314.tar.gz
table style
Diffstat (limited to 'sass/parts/_article.scss')
-rw-r--r--sass/parts/_article.scss19
1 files changed, 18 insertions, 1 deletions
diff --git a/sass/parts/_article.scss b/sass/parts/_article.scss
index 5754fd1..79553f4 100644
--- a/sass/parts/_article.scss
+++ b/sass/parts/_article.scss
@@ -35,7 +35,6 @@ article{
margin-top: 0;
}
}
-
p{
margin-top: 10px;
}
@@ -93,6 +92,24 @@ article{
overflow-x: auto;
@include border-radius(5px);
}
+ table{
+ background: $gray04;
+ border: 1px solid $gray03;
+ border-spacing: 0;
+ margin-top: 10px;
+ th{
+ background: $gray03;
+ padding: 0 15px;
+ }
+ td{
+ text-align: center;
+ }
+ tr{
+ &:nth-of-type(2n){
+ background: #d5d5d5;
+ }
+ }
+ }
.caption{
background: image-url('caption.png') 0 4px no-repeat;
display: block;