Commit 5bdca1a5 authored by Markus Heiser's avatar Markus Heiser

doc: improved HTML table layout (CSS)

Signed-off-by: 's avatarMarkus Heiser <markus.heiser@darmarit.de>
parent aea4667f
...@@ -89,3 +89,35 @@ div.rst-example { ...@@ -89,3 +89,35 @@ div.rst-example {
display: none; display: none;
} }
} }
/* Table theme
*/
thead, tfoot {
background-color: #fff;
}
th:hover, td:hover {
background-color: #ffc;
}
thead th, tfoot th, tfoot td, tbody th {
background-color: #fffaef;
}
tbody tr:nth-child(odd) {
background-color: #fff;
}
tbody tr:nth-child(even) {
background-color: #fafafa;
}
caption {
font-family: Sans Serif;
padding: 0.5em;
margin: 0.5em 0 0.5em 0;
caption-side: top;
text-align: left;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment