Page semi-protected

Template:Isotopes/main/table/styles.css

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
/* {{pp-protected|small=yes}} */
.isotopes-table {
	text-align: center;
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	padding: 0;
}

.isotopes-table-headers > :not(:first-child) {
	padding: 0.1em;
}

.isotopes-table-footnote {
	text-align: left;
	padding-left: 0.5em;
	background: var(--background-color-neutral-subtle, #f8f9fa);color:inherit;
}

/*
 * override Minerva's infobox padding which causes the table to be too big
 * Probably merits an upstream task to tighten their selector to just the infobox
 * th/tds and not any old th/td internal to the infobox
 * 0.1em does not match Minerva's normal .wikitable padding since we can't fit
 * 0.2em (which is)
 */
body.skin--responsive.skin-minerva .isotopes-table th,
body.skin--responsive.skin-minerva .isotopes-table td {
	padding: 0.1em;
}