forked from d101tm/tmstats
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdsstable.css
More file actions
84 lines (83 loc) · 2.19 KB
/
dsstable.css
File metadata and controls
84 lines (83 loc) · 2.19 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
/* Declarations to make the tables come out nicely. The "DSS" is to ensure uniqueness,not ego. */
.DSShidden {
visibility: hidden;
border-color: transparent !important;
}
.DSSctable {/* 3 columns per item,2 items per row */
border-collapse:collapse;
width: 96%;
table-layout: fixed;
}
.DSSctable thead tr th {
background-color: #004165;
color: white;
border: 1px solid black;
}
.DSSctable tbody tr:nth-child(odd) {
background-color: #F2DF74;
border: 1px solid black;
}
.DSSctable tbody tr:nth-child(even) {
background-color: white;
border: 1px solid black;
}
.DSSctable tr th:nth-child(4n+1),.DSSctable tr td:nth-child(4n+1) {
width: 6%;
text-align: left;
border-left: 1px solid black;
border-right: 1px solid black;
}
.DSSctable tr th:nth-child(4n+2),.DSSctable tr td:nth-child(4n+2) {
width: 34%;
text-align: left;
border-left: 1px solid black;
border-right: 1px solid black;
}
.DSSctable tr th:nth-child(4n+3),.DSSctable tr td:nth-child(4n+3) {
width: 10%;
text-align: right;
border-left: 1px solid black;
border-right: 1px solid black;
}
.DSSctable tr th:nth-child(4),.DSSctable tr td:nth-child(4) {
border-top: hidden;
border-bottom: hidden;
background-color: white;
width: 2%;
}
.DSSbtable {/* 2 columns per item,2 items per row */
border-collapse:collapse;
width: 96%;
table-layout: fixed;
}
.DSSbtable thead tr th {
background-color: #004165;
color: white;
border: 1px solid black;
}
.DSSbtable tbody tr:nth-child(odd) {
background-color: #F2DF74;
border: 1px solid black;
}
.DSSbtable tbody tr:nth-child(even) {
background-color: white;
border: 1px solid black;
}
.DSSbtable tr th:nth-child(3n+1),.DSSbtable tr td:nth-child(3n+1) {
width: 6%;
text-align: left;
border-left: 1px solid black;
border-right: 1px solid black;
}
.DSSbtable tr th:nth-child(3n+2),.DSSbtable tr td:nth-child(3n+2) {
width: 44%;
text-align: left;
border-left: 1px solid black;
border-right: 1px solid black;
}
.DSSbtable tr th:nth-child(3),.DSSbtable tr td:nth-child(3) {
border-top: hidden;
border-bottom: hidden;
background-color: white;
width: 2%;
}