projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8bf1799
)
Styles for tables.
author
Mike Taylor
<mike@indexdata.com>
Wed, 2 Oct 2013 15:57:40 +0000
(16:57 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 2 Oct 2013 15:57:40 +0000
(16:57 +0100)
tools/htdocs/mkws-doc.css
patch
|
blob
|
history
diff --git
a/tools/htdocs/mkws-doc.css
b/tools/htdocs/mkws-doc.css
index
2a34a60
..
891f1c7
100644
(file)
--- a/
tools/htdocs/mkws-doc.css
+++ b/
tools/htdocs/mkws-doc.css
@@
-34,7
+34,7
@@
h3.date {
color: black
}
color: black
}
-body > p, ul, pre {
+body > p, ul, pre, table {
margin-left: 10%;
}
margin-left: 10%;
}
@@
-46,6
+46,25
@@
pre {
background: #eee;
}
background: #eee;
}
+table tr th {
+ color: white;
+ background: #68a;
+ font-family: Gill Sans, "Gillius ADF", Gillius, GilliusADF, Verdana, Sans-Serif;
+}
+
+th, td {
+ padding: 0.2em 0.5em;
+ vertical-align: top;
+}
+
+table tr:nth-child(odd) {
+ background: #a9c6e3;
+}
+
+table tr:nth-child(even) {
+ background: #b9d4f0;
+}
+
/*
* Works with the HTML emitted by pandoc. It would better if pandoc
* were to emit class names that we can use. But it doesn't.
/*
* Works with the HTML emitted by pandoc. It would better if pandoc
* were to emit class names that we can use. But it doesn't.