Template:Infobox element/sandbox/styles.css

.ib-element-periodic-table {
	background-color: var(--background-color-neutral-subtle, #f8f9fa);
    border: 1px solid var(--border-color-base, #a2a9b1);
	text-align: center;
	padding: 0.4em;
	display: grid;
	justify-content: center;
	align-items: center;
	grid-template-columns: min-content min-content;
	gap: 0.2em;
}

.ib-element-periodic-table-symbol,
.ib-element-periodic-table-name {
	font-size: 90%; /* 90 * 88 < 85% */
	line-height: 100%;
}

.ib-element-periodic-table-name {
	grid-column: 1 / 3;
}

.ib-element-vapor-pressure {
	text-align: center;
	font-size: 90%; /* because it spanned the infobox out of mobile screen. Nov 2018 */
	border-collapse: collapse;
	margin: 0 auto;
}

/*
 * 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.2em matches Minerva's normal .wikitable padding
 */
body.skin--responsive.skin-minerva .ib-element-vapor-pressure th,
body.skin--responsive.skin-minerva .ib-element-vapor-pressure td {
	padding: 0.2em;
}