Module:Historical populations/styles.css
Appearance
/* {{pp-template}} */
/* Don't split header abbreviations when numbers and screen width are narrow. */
.abbr-header {
white-space: nowrap;
}
/* Match colors to infobox. */
.caption-purple {
border: 1px #a2a9b1 solid;
border-bottom: none;
background-color: lavender;
}
/* Not on dark mode. */
@media screen {
html.skin-theme-clientpref-night .caption-purple {
background:none;
}
}
/* Table contents styled below. Top border in .caption-purple. */
.table-pale {
border: 1px #a2a9b1 solid;
border-top: none;
background-color: #f8f9fa;
padding:5px;
}
/* Not on dark mode. */
@media screen {
html.skin-theme-clientpref-night .table-pale {
background: none;
}
}
/* Mobile handles tables differently. Caption in a box. */
@media screen and (max-width:640px) {
.caption-purple, .table-pale {
border-top: 1px #a2a9b1 solid;
border-bottom: 1px #a2a9b1 solid;
border-top-width: 1px !important;
}
}