Template:Striped table.css

Template page
Revision as of 15:38, 1 October 2023 by Couchor (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.striped-table {
	border: 2px solid #bbbbbb;
}
.headerRow {background-color: #f5f5f5;}
.striped-table tr:nth-child(odd) {
	background-color: #f5f5f5;
}

.striped-table tr:not(:last-child) {border-bottom: 1px solid #a2a9b1;}

.headerRow {
	text-align: center;
}
.headerRow th {
	font-size: 1rem;
	padding: 5px;
}
.headerRow .table-title {
	font-size: 1.1rem;
}
.bodyRow td {
	padding: 5px;
}

.linkID {font-weight: bold;}


/* Darkmode */
html.skin-citizen-dark .headerRow {background-color: #262626;}
html.skin-citizen-dark .striped-table tr:nth-of-type(odd) {
	background-color: #262626;
}
html.skin-citizen-dark .striped-table tr:nth-of-type(even) {
	background-color: #343434
}