MediaWiki:CustomDatatable.css

From The Seven Sages of Rome
Revision as of 09:28, 26 February 2026 by Noeth (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
.dt-container:not(.dts) {
	border-radius: 0.75rem !important;
}

.cc-card-body--table .dt-container {
	border: none !important;
}

.cc-card-body--table .dt-container {
  font-size: 0.835rem !important; 
  font-weight: 500 !important;
  color: #555 !important;
  letter-spacing: 0.01em !important;
}

.dt-container input.dt-input,select.dt-input,button.dtsp-showAll,button.dtsp-collapseAll {
	border-radius: 0.5rem !important;
}

.dt-container button.dtsp-showAll,button.dtsp-collapseAll {
	margin-left: 0.5rem !important;
}

dataTable.display > tbody > tr > .sorting_1 {
	background-color: #f8f8f8 !important;
}

.dataTable.display > tbody > tr:nth-child(odd) > * {
	background-color: #f5f5f3 !important;
}