zim-table-style.css 1.57 KB
/* Table definition */
table {
border-collapse: collapse;
width: 98%;
margin-left: auto;
margin-right: auto;
}
td,th {
border: 1px solid var(--main-td-th-border-color);
padding: 4px;
}
tr:nth-child(odd){background-color: var(--main-tr-odd-background-color);}
tr:nth-child(even){background-color: var(--main-tr-even-background-color);}
tr:hover {background-color: var(--main-tr-hover-background-color);}
th {
padding-top: 6px;
padding-bottom: 6px;
/*background-color: #4CAF50;*/
/*background-color: #3a853c;*/
/*background-color: #85733a;*/
/*background-color: #3a7685;*/
/*background-color: #295e2a;*/
/*color: white;*/
/*background-color: #d1e1c1;*/
background-color: var(--main-th-background-color);
color: var(--main-th-color);
}
/* Overriding for the navigation table in header */
table.navigation {
border-collapse: collapse;
width: auto;
margin-left: 0;
margin-right: auto;
}
td.navigation, th.navigation {
border: 0;
padding: 0;
}
tr.navigation {
background-color: white;
}
tr.navigation:hover {
background-color: white;
}