Template:Striped table.css: Difference between revisions
From TwogPedia
            No edit summary  | 
				No edit summary  | 
				||
| Line 33: | Line 33: | ||
/* Darkmode */  | /* Darkmode */  | ||
html.skin-citizen-dark .striped-table > tbody > tr:nth-of-type(2n + 1) {  | |||
	background-color: #262626;  | 	background-color: #262626;  | ||
}  | }  | ||
html.skin-citizen-dark .striped-table > tbody > tr:nth-of-type(2n + 2) {  | |||
	background-color: #343434  | 	background-color: #343434  | ||
}  | }  | ||
Revision as of 10:17, 28 September 2022
.striped-table {
	border: 2px solid #bbbbbb;
}
.striped-table > tbody > tr:nth-of-type(2n + 1) {
	background-color: #f5f5f5;
}
.headerRow {
	text-align: center;
}
.headerRow th {
	font-size: 1rem;
}
.bodyRow td {
	border-top: 1px solid #a2a9b1;
	padding: 5px;
}
.linkID {
	padding: 0 10px 0 5px;
	font-weight: bold;
}
.linkID .icon {
	display: inline-flex;
	padding-right: 5px;
}
.linkID a {display: inline-block;}
.captain img {
	vertical-align: text-top;
	padding: 0 5px;
}
/* Darkmode */
html.skin-citizen-dark .striped-table > tbody > tr:nth-of-type(2n + 1) {
	background-color: #262626;
}
html.skin-citizen-dark .striped-table > tbody > tr:nth-of-type(2n + 2) {
	background-color: #343434
}
No categories