on master help sign in
doc: improved HTML table layout (CSS)
5bdca1aMarkus Heiser
docs/_themes/searx/static/searx.css+32
@@ -89,3 +89,35 @@ div.rst-example {
89 display: none;
89 display: none;
90 }
90 }
91}
91}
92+
93+/* Table theme
94+*/
95+
96+
97+thead, tfoot {
98+ background-color: #fff;
99+}
100+
101+th:hover, td:hover {
102+ background-color: #ffc;
103+}
104+
105+thead th, tfoot th, tfoot td, tbody th {
106+ background-color: #fffaef;
107+}
108+
109+tbody tr:nth-child(odd) {
110+ background-color: #fff;
111+}
112+
113+tbody tr:nth-child(even) {
114+ background-color: #fafafa;
115+}
116+
117+caption {
118+ font-family: Sans Serif;
119+ padding: 0.5em;
120+ margin: 0.5em 0 0.5em 0;
121+ caption-side: top;
122+ text-align: left;
123+}