More actions
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
border-collapse: collapse; | border-collapse: collapse; | ||
line-height: 1.2em; | line-height: 1.2em; | ||
} | |||
.ib-settlement .infobox-above { | |||
border-top: none; | |||
} | } | ||
Revision as of 11:32, 21 October 2024
/* {{pp|small=y}} */
.ib-settlement {
width: 23em;
border-collapse: collapse;
line-height: 1.2em;
}
.ib-settlement .infobox-above {
border-top: none;
}
/* 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;
}
}