From 79f4180d4226e7f3ae5f94e07eeaa9d2a3aa8314 Mon Sep 17 00:00:00 2001 From: SkyArrow Date: Sat, 11 Feb 2012 12:35:11 +0800 Subject: table style --- sass/parts/_article.scss | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) 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; -- cgit v1.1-2-g2b99