diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2019-12-22 11:46:03 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2019-12-22 11:46:03 +0100 |
commit | 5bdca1a5bfeb825dd1efab426a6f5ec31efba7d0 (patch) | |
tree | 8dc69857021bae19e708988db5be0d70653b1ab5 /docs/_themes | |
parent | aea4667fbc0ab33cd1981bc66d1cf1c9a9768023 (diff) | |
download | searxng-5bdca1a5bfeb825dd1efab426a6f5ec31efba7d0.tar.gz searxng-5bdca1a5bfeb825dd1efab426a6f5ec31efba7d0.zip |
doc: improved HTML table layout (CSS)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs/_themes')
-rw-r--r-- | docs/_themes/searx/static/searx.css | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/docs/_themes/searx/static/searx.css b/docs/_themes/searx/static/searx.css index 10cfc413e..347fc71ab 100644 --- a/docs/_themes/searx/static/searx.css +++ b/docs/_themes/searx/static/searx.css @@ -89,3 +89,35 @@ div.rst-example { 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; +} |