Jump to content

Module:Historical populations/styles.css

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Rjjiii (talk | contribs) at 23:59, 23 July 2024 (Per talk discussion and recent "dark mode" changes). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
/* {{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;
 }
}