diff options
author | rekado <rekado@elephly.net> | 2013-08-17 16:56:40 +0800 |
---|---|---|
committer | rekado <rekado@elephly.net> | 2013-08-17 16:56:40 +0800 |
commit | 611a99d205172a90d53a16de656642e3c5b8fcbc (patch) | |
tree | daec11a27cb20f0c5e2712c11b9298b22ef88c38 /css/screen.css | |
parent | af640a8ca86a0288ccdd80c32f5f6bf980df96e8 (diff) |
new style for tables
Diffstat (limited to 'css/screen.css')
-rw-r--r-- | css/screen.css | 49 |
1 files changed, 30 insertions, 19 deletions
diff --git a/css/screen.css b/css/screen.css index d6cde8a..13479a1 100644 --- a/css/screen.css +++ b/css/screen.css @@ -244,25 +244,6 @@ ul.list { ul.list li .description { font-size: .8em; } -table { - font-size: .8em; - line-height: 1em; - border-collapse: collapse; - margin-bottom: 1em; - clear: both; } - table th { - color: #999; - font-weight: 400; - padding-right: 1em; - border-right: 1px solid #ffaa00; - text-align: right; } - table td { - color: #777; - margin: 0; - padding: 0; - padding-left: 1em; - text-align: left; } - div.download { float: left; width: 35%; @@ -281,6 +262,36 @@ div.download { div.download a:hover { background: #888; color: #fff; } + div.download table { + font-size: .8em; + line-height: 1em; + border-collapse: collapse; + margin-bottom: 1em; + clear: both; } + div.download table th { + color: #999; + font-weight: 400; + padding-right: 1em; + border-right: 1px solid #ffaa00; + text-align: right; } + div.download table td { + color: #777; + margin: 0; + padding: 0; + padding-left: 1em; + text-align: left; } + +table { + margin-top: 0.5em; + margin-bottom: 0.5em; } + table thead { + border-bottom: 2px solid #ffaa00; } + table thead tr.header { + font-weight: bold; } + table tr.odd { + background-color: #fafafa; } + table th + th, table td + td { + padding-left: 1em; } h1.year { border-bottom: 4px solid #eeede5; |