Issues (1)

css/standards-map/sheet.css (1 issue)

1
body {
2
	font-family: sans-serif;
3
	font-size: 10pt;
4
	margin: 0;
5
	padding: 0;
6
}
7
8
#content {
9
	width: 100%;
10
	margin: 0;
11
}
12
13
@media screen {
14
	#content {
15
		margin: 1em;
16
	}
17
18
	/* sticky headers never scroll out of the window */
19
	thead {
20
		position: -webkit-sticky;
21
		position: -moz-sticky;
22
		position: -ms-sticky;
23
		position: -o-sticky;
24
		position: sticky;
25
		top: 0;
26
	}
27
}
28
29
@media print {
30
	
31
	/* request that table headers be reprinted on each page */
32
	thead {
33
		display: table-header-group;
34
	}
35
	
36
	#content {
37
		min-width: 10in;
38
	}
39
	
40
	tr {
41
		break-before: avoid;
42
		page-break-before: avoid;
43
		page-break-inside: avoid;
44
		break-after: avoid;
45
		page-break-after: avoid;
46
	}
47
	
48
	tr.head {
49
		page-break-before: auto;
50
		break-before: auto;
51
	}
52
}
53
54
#content td, #content th {
55
	font-size: 10pt;
56
}
57
58
table {
59
	border-collapse: collapse;
60
}
61
62
63
thead th:nth-child(even) {
64
	background: #ffc;
65
}
66
67
thead th:nth-child(odd) {
68
	background: #fff;
69
}
70
71
thead tr {
72
	border-bottom: solid 1px thin;
73
}
74
75
tr.courses {
76
	border-bottom: solid thin black;
77
}
78
tr:nth-child(odd).standards-group.odd {
79
	background: #fee;
80
}
81
82
tr:nth-child(odd).standards-group.odd td:nth-child(even) {
83
	background: #ffe;
84
}
85
86
tr:nth-child(even).standards-group.odd {
87
	background: #edd;
88
}
89
90
tr:nth-child(even).standards-group.odd td:nth-child(even) {
91
	background: #eed;
92
}
93
94
tr:nth-child(odd).standards-group.even {
95
	background: #eef;
96
}
97
98
tr:nth-child(odd).standards-group.even td:nth-child(even){
99
	background: #eff;
100
}
101
102
tr:nth-child(even).standards-group.even {
103
	background: #dde;
104
}
105
106
tr:nth-child(even).standards-group.even td:nth-child(even){
107
	background: #dee;
108
}
109
110
tr.head {
111
	border-top: solid thin black;
112
}
113
114
td, th {
115
	padding: 0.5em;
116
}
117
118
th {
119
	text-align: left;
120
	font-weight: normal;
121
}
122
123
td {
124
	text-align: center;
125
}
126
127
.standard {
128
	text-indent: -2.5em;
129
	margin-left: 2.5em;
130
}
131
132
.standard .code {
133
	color: #999;
134
	font-size: smaller;
135
}
136
137
.head .standard .description::before {
138
	content: '\00a0'; /*   */
0 ignored issues
show
Unused Code Comprehensibility introduced by
67% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
139
	padding-left: 0.4em;
140
}
141
142
.head .standard .description {
143
	font-weight: bold;
144
	font-size: larger;
145
}
146
147
h1 {
148
	font-size: 14pt;
149
	font-weight: bold;
150
	margin: 0;
151
	margin-bottom: 0.5em;
152
}
153
154
span.marker, td h1 {
155
	position: relative;
156
	top: 50%;
157
	transform: translateY(-50%);
158
}
159
160
span.marker::before {
161
	content: '\2713'; /* check mark */
162
	padding: 0.2em 0.4em;
163
	color: white;
164
	background: black;
165
	border-radius: 1em;
166
}
167
168
.head span.marker::before {
169
	background: red;
170
	border: solid 1px maroon;
171
}