More actions
wp>Izno fix .maptable line |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
.ib-settlement { | .ib-settlement { | ||
width: 23em; | width: 23em; | ||
/* border-collapse: collapse; */ | |||
line-height: 1.2em; | line-height: 1.2em; | ||
} | |||
.ib-settlement .infobox-above { | |||
border-top: none; | |||
} | } | ||
Line 9: | Line 13: | ||
.ib-settlement td, | .ib-settlement td, | ||
.ib-settlement th { | .ib-settlement th { | ||
border-top: 1px solid | 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 22: | ||
.ib-settlement .mergedtoprow .infobox-label, | .ib-settlement .mergedtoprow .infobox-label, | ||
.ib-settlement .mergedtoprow .infobox-below { | .ib-settlement .mergedtoprow .infobox-below { | ||
border-top: 1px solid | 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 37: | ||
.ib-settlement .mergedbottomrow .infobox-label { | .ib-settlement .mergedbottomrow .infobox-label { | ||
border-top: 0; | border-top: 0; | ||
border-bottom: 1px solid | border-bottom: 1px solid; | ||
padding: 0 0.6em 0.4em 0.6em; | padding: 0 0.6em 0.4em 0.6em; | ||
} | } | ||
Line 53: | Line 57: | ||
.ib-settlement .infobox-subheader { | .ib-settlement .infobox-subheader { | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
Line 85: | Line 88: | ||
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; | |||
} | |||
} | } |
Latest revision as of 11:33, 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;
}
}