Difference between revisions of "Template:COVID-19 testing by country subdivision/styles.css"

From blackwiki
Jump to navigation Jump to search
imported>UnladenSwallow
(Created to contain CSS styles for the {{COVID-19 testing by country subdivision}} template.)
 
imported>UnladenSwallow
(Updated styles after a column was added to the table.)
Line 15: Line 15:
 
}
 
}
  
th:nth-child(6),
+
th:nth-child(7),
th:nth-child(7) {
+
th:nth-child(8) {
 
text-align: left;
 
text-align: left;
 
}
 
}
  
td:nth-child(3),
 
 
td:nth-child(4),
 
td:nth-child(4),
 
td:nth-child(5),
 
td:nth-child(5),
 
td:nth-child(6),
 
td:nth-child(6),
td:nth-child(7) {
+
td:nth-child(7),
 +
td:nth-child(8) {
 
text-align: right;
 
text-align: right;
 
}
 
}

Revision as of 02:11, 17 April 2020

table {
	font-size: 85%;
	border-top: none;
}

caption {
	background: #eaecf0;
	border: 1px solid darkgrey;
	padding: 2px 6px;
	white-space: nowrap;
}

th {
	border-top: none;
}

th:nth-child(7),
th:nth-child(8) {
	text-align: left;
}

td:nth-child(4),
td:nth-child(5),
td:nth-child(6),
td:nth-child(7),
td:nth-child(8) {
	text-align: right;
}