summaryrefslogtreecommitdiffstats
path: root/assets/common.css
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-04-08 01:00:39 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2014-04-08 02:46:55 (GMT)
commit32cecfa37cec5c9935e10aac074f0c320914f226 (patch)
tree5d69272f5d23e89acad7035c4ca8772027b0e1c4 /assets/common.css
parent4400a8c287a20d83cc87079b0d6f43bc6cbc2a31 (diff)
downloadmxe-32cecfa37cec5c9935e10aac074f0c320914f226.zip
mxe-32cecfa37cec5c9935e10aac074f0c320914f226.tar.gz
mxe-32cecfa37cec5c9935e10aac074f0c320914f226.tar.bz2
Adopt a Wikipedia-like theme for tables
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'assets/common.css')
-rw-r--r--assets/common.css17
1 files changed, 15 insertions, 2 deletions
diff --git a/assets/common.css b/assets/common.css
index d72463d..328ca2d 100644
--- a/assets/common.css
+++ b/assets/common.css
@@ -33,15 +33,28 @@
margin-bottom: 1em;
}
table {
+ border-collapse: collapse;
+ }
+ table.old {
border-collapse: separate;
- border-spacing: 1px;
}
table.translation td {
padding-left: 0.5em;
padding-right: 0.5em;
}
- td, dt {
+ td, th {
+ background-color: #f9f9f9;
+ border: 1px solid #aaa;
+ padding: 0.2em;
+ }
+ dt, .old td {
background-color: #eee;
+ padding: 0.2em;
+ border: 0px;
+ }
+ th {
+ background-color: #f2f2f2;
+ text-align: center;
}
pre {
font-size: 8pt;