Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox settlement/styles.css: Difference between revisions

Template page
m 1 revision imported
No edit summary
Line 9: Line 9:
.ib-settlement td,
.ib-settlement td,
.ib-settlement th {
.ib-settlement th {
border-top: 1px solid #a2a9b1;
border-top: 1px solid;
padding: 0.4em 0.6em 0.4em 0.6em;
padding: 0.4em 0.6em 0.4em 0.6em;
}
}
Line 18: Line 18:
.ib-settlement .mergedtoprow .infobox-label,
.ib-settlement .mergedtoprow .infobox-label,
.ib-settlement .mergedtoprow .infobox-below {
.ib-settlement .mergedtoprow .infobox-below {
border-top: 1px solid #a2a9b1;
border-top: 1px solid;
padding: 0.4em 0.6em 0.2em 0.6em;
padding: 0.4em 0.6em 0.2em 0.6em;
}
}
Line 33: Line 33:
.ib-settlement .mergedbottomrow .infobox-label {
.ib-settlement .mergedbottomrow .infobox-label {
border-top: 0;
border-top: 0;
border-bottom: 1px solid #a2a9b1;
border-bottom: 1px solid;
padding: 0 0.6em 0.4em 0.6em;
padding: 0 0.6em 0.4em 0.6em;
}
}
Line 53: Line 53:


.ib-settlement .infobox-subheader {
.ib-settlement .infobox-subheader {
background-color: #cddeff;
font-weight: bold;
font-weight: bold;
}
}
Line 85: Line 84:
font-weight: normal;
font-weight: normal;
display: inline;
display: inline;
}
@media screen {
/* Light */
.ib-settlement td,
.ib-settlement th {
border-top-color: #a2a9b1;
}
.ib-settlement .mergedtoprow .infobox-full-data,
.ib-settlement .mergedtoprow .infobox-header,
.ib-settlement .mergedtoprow .infobox-data,
.ib-settlement .mergedtoprow .infobox-label,
.ib-settlement .mergedtoprow .infobox-below {
border-top-color: #a2a9b1;
}
.ib-settlement .mergedbottomrow .infobox-full-data,
.ib-settlement .mergedbottomrow .infobox-data,
.ib-settlement .mergedbottomrow .infobox-label {
border-bottom-color: #a2a9b1;
}
.ib-settlement .infobox-subheader {
background-color: #cddeff;
}
/* Prefer dark */
html.skin-theme-clientpref-night .ib-settlement td,
html.skin-theme-clientpref-night .ib-settlement th {
border-top-color: #5d564e;
}
html.skin-theme-clientpref-night .ib-settlement .mergedtoprow .infobox-full-data,
html.skin-theme-clientpref-night .ib-settlement .mergedtoprow .infobox-header,
html.skin-theme-clientpref-night .ib-settlement .mergedtoprow .infobox-data,
html.skin-theme-clientpref-night .ib-settlement .mergedtoprow .infobox-label,
html.skin-theme-clientpref-night .ib-settlement .mergedtoprow .infobox-below {
border-top-color: #5d564e;
}
html.skin-theme-clientpref-night .ib-settlement .mergedbottomrow .infobox-full-data,
html.skin-theme-clientpref-night .ib-settlement .mergedbottomrow .infobox-data,
html.skin-theme-clientpref-night .ib-settlement .mergedbottomrow .infobox-label {
border-bottom-color: #5d564e;
}
html.skin-theme-clientpref-night .ib-settlement .infobox-subheader {
background-color: #322100;
}
}
/* OS night mode */
@media screen and ( prefers-color-scheme: dark ) {
/* Prefer dark */
html.skin-theme-clientpref-os .ib-settlement td,
html.skin-theme-clientpref-os .ib-settlement th {
border-top-color: #5d564e;
}
html.skin-theme-clientpref-os .ib-settlement .mergedtoprow .infobox-full-data,
html.skin-theme-clientpref-os .ib-settlement .mergedtoprow .infobox-header,
html.skin-theme-clientpref-os .ib-settlement .mergedtoprow .infobox-data,
html.skin-theme-clientpref-os .ib-settlement .mergedtoprow .infobox-label,
html.skin-theme-clientpref-os .ib-settlement .mergedtoprow .infobox-below {
border-top-color: #5d564e;
}
html.skin-theme-clientpref-os .ib-settlement .mergedbottomrow .infobox-full-data,
html.skin-theme-clientpref-os .ib-settlement .mergedbottomrow .infobox-data,
html.skin-theme-clientpref-os .ib-settlement .mergedbottomrow .infobox-label {
border-bottom-color: #5d564e;
}
html.skin-theme-clientpref-os .ib-settlement .infobox-subheader {
background-color: #322100;
}
}
}

Revision as of 11:28, 21 October 2024

/* {{pp|small=y}} */
.ib-settlement {
	width: 23em;
	border-collapse: collapse;
	line-height: 1.2em;
}

/* TODO split definitions to appropriate class names when live from HTML element */
.ib-settlement td,
.ib-settlement th {
	border-top: 1px solid;
	padding: 0.4em 0.6em 0.4em 0.6em;
}

.ib-settlement .mergedtoprow .infobox-full-data,
.ib-settlement .mergedtoprow .infobox-header,
.ib-settlement .mergedtoprow .infobox-data,
.ib-settlement .mergedtoprow .infobox-label,
.ib-settlement .mergedtoprow .infobox-below {
	border-top: 1px solid;
	padding: 0.4em 0.6em 0.2em 0.6em;
}

.ib-settlement .mergedrow .infobox-full-data,
.ib-settlement .mergedrow .infobox-data,
.ib-settlement .mergedrow .infobox-label {
	border: 0;
	padding: 0 0.6em 0.2em 0.6em;
}

.ib-settlement .mergedbottomrow .infobox-full-data,
.ib-settlement .mergedbottomrow .infobox-data,
.ib-settlement .mergedbottomrow .infobox-label {
	border-top: 0;
	border-bottom: 1px solid;
	padding: 0 0.6em 0.4em 0.6em;
}

.ib-settlement .maptable {
	border: 0;
	padding: 0;
}

.ib-settlement .infobox-header,
.ib-settlement .infobox-below {
	text-align: left;
}

.ib-settlement .infobox-above {
	font-size: 125%;
	line-height: 1.3em;
}

.ib-settlement .infobox-subheader {
	font-weight: bold;
}

.ib-settlement-native {
	font-weight: normal;
	padding-top: 0.2em;
}

.ib-settlement-other-name {
	font-size: 78%;
}

.ib-settlement-official {
	font-weight: bold;
}

.ib-settlement-caption {
	padding: 0.3em 0 0 0;
}

.ib-settlement-caption-link {
	padding: 0.2em 0;
}

.ib-settlement-nickname {
	display: inline;
}

.ib-settlement-fn {
	font-weight: normal;
	display: inline;
}

@media screen {
	/* Light */
	.ib-settlement td,
	.ib-settlement th {
		border-top-color: #a2a9b1;
	}
	
	.ib-settlement .mergedtoprow .infobox-full-data,
	.ib-settlement .mergedtoprow .infobox-header,
	.ib-settlement .mergedtoprow .infobox-data,
	.ib-settlement .mergedtoprow .infobox-label,
	.ib-settlement .mergedtoprow .infobox-below {
		border-top-color: #a2a9b1;
	}
	
	.ib-settlement .mergedbottomrow .infobox-full-data,
	.ib-settlement .mergedbottomrow .infobox-data,
	.ib-settlement .mergedbottomrow .infobox-label {
		border-bottom-color: #a2a9b1;
	}
	
	.ib-settlement .infobox-subheader {
		background-color: #cddeff;
	}
	
	/* Prefer dark */
	html.skin-theme-clientpref-night .ib-settlement td,
	html.skin-theme-clientpref-night .ib-settlement th {
		border-top-color: #5d564e;
	}
	
	html.skin-theme-clientpref-night .ib-settlement .mergedtoprow .infobox-full-data,
	html.skin-theme-clientpref-night .ib-settlement .mergedtoprow .infobox-header,
	html.skin-theme-clientpref-night .ib-settlement .mergedtoprow .infobox-data,
	html.skin-theme-clientpref-night .ib-settlement .mergedtoprow .infobox-label,
	html.skin-theme-clientpref-night .ib-settlement .mergedtoprow .infobox-below {
		border-top-color: #5d564e;
	}
	
	html.skin-theme-clientpref-night .ib-settlement .mergedbottomrow .infobox-full-data,
	html.skin-theme-clientpref-night .ib-settlement .mergedbottomrow .infobox-data,
	html.skin-theme-clientpref-night .ib-settlement .mergedbottomrow .infobox-label {
		border-bottom-color: #5d564e;
	}
	
	html.skin-theme-clientpref-night .ib-settlement .infobox-subheader {
		background-color: #322100;
	}
}

/* OS night mode */
@media screen and ( prefers-color-scheme: dark ) {
/* Prefer dark */
	html.skin-theme-clientpref-os .ib-settlement td,
	html.skin-theme-clientpref-os .ib-settlement th {
		border-top-color: #5d564e;
	}
	
	html.skin-theme-clientpref-os .ib-settlement .mergedtoprow .infobox-full-data,
	html.skin-theme-clientpref-os .ib-settlement .mergedtoprow .infobox-header,
	html.skin-theme-clientpref-os .ib-settlement .mergedtoprow .infobox-data,
	html.skin-theme-clientpref-os .ib-settlement .mergedtoprow .infobox-label,
	html.skin-theme-clientpref-os .ib-settlement .mergedtoprow .infobox-below {
		border-top-color: #5d564e;
	}
	
	html.skin-theme-clientpref-os .ib-settlement .mergedbottomrow .infobox-full-data,
	html.skin-theme-clientpref-os .ib-settlement .mergedbottomrow .infobox-data,
	html.skin-theme-clientpref-os .ib-settlement .mergedbottomrow .infobox-label {
		border-bottom-color: #5d564e;
	}
	
	html.skin-theme-clientpref-os .ib-settlement .infobox-subheader {
		background-color: #322100;
	}
}