zim-table-style.css
1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/* 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;
}