Template:Country infobox/styles.css
Jump to navigation
Jump to search
/* {{pp|small=y}} */
.ib-country {
border-collapse: collapse;
line-height: 1.2em;
}
/* TODO split definitions to appropriate class names when live from HTML element */
.ib-country td,
.ib-country th {
/* border-top: 1px solid #a2a9b1;*/
padding: 0.4em 0.6em 0.4em 0.6em;
}
.ib-country .mergedtoprow .infobox-header,
.ib-country .mergedtoprow .infobox-label,
.ib-country .mergedtoprow .infobox-data,
.ib-country .mergedtoprow .infobox-full-data,
.ib-country .mergedtoprow .infobox-below {
/* border-top: 1px solid #a2a9b1;*/
padding: 0.4em 0.6em 0.2em 0.6em;
}
.ib-country .mergedrow .infobox-label,
.ib-country .mergedrow .infobox-data,
.ib-country .mergedrow .infobox-full-data {
border: 0;
padding: 0 0.6em 0.2em 0.6em;
}
.ib-country .mergedbottomrow .infobox-label,
.ib-country .mergedbottomrow .infobox-data,
.ib-country .mergedbottomrow .infobox-full-data {
border-top: 0;
/* border-bottom: 1px solid #a2a9b1;*/
padding: 0 0.6em 0.4em 0.6em;
}
.ib-country .infobox-header {
text-align: left;
}
.ib-country .infobox-above {
font-size: 125%;
line-height: 1.2;
}
.ib-country-names {
padding-top: 0.25em;
font-weight: normal;
}
.ib-country-name-style {
display: inline;
}
.ib-country .infobox-image {
padding: 0.5em 0;
}
.ib-country-anthem {
/* border-top: 1px solid #a2a9b1;*/
padding-top: 0.5em;
margin-top: 0.5em;
}
.ib-country-map-caption {
position: relative;
top: 0.3em;
}
.ib-country-largest,
.ib-country-lang {
font-weight: normal;
}
.ib-country-ethnic,
.ib-country-religion,
.ib-country-sovereignty {
font-weight: normal;
display: inline;
}
.ib-country-fake-li {
text-indent: -0.9em;
margin-left: 1.2em;
font-weight: normal;
}
.ib-country-fake-li2 {
text-indent: 0.5em;
margin-left: 1em;
font-weight: normal;
}
.ib-country-website {
line-height: 11pt;
}
.ib-country-map-caption3 {
position: relative;
top: 0.3em;
}
.ib-country-fn {
text-align: left;
margin: 0 auto;
}
.ib-country-fn-alpha {
list-style-type: lower-alpha;
margin-left: 1em;
}
.ib-country-fn-num {
margin-left: 1em;
}
/**** Infobox template style ****/
.infobox {
/* border: 1px solid #a2a9b1;*/
border-spacing: 3px;
/* background-color: #f8f9fa;*/
/* color: black;*/
/* @noflip */
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 22em;
}
/* not strictly certain these styles are necessary
* just replicating the module faithfully
*/
.infobox-subbox {
padding: 0;
border: none;
margin: -3px;
width: auto;
min-width: 100%;
font-size: 100%;
clear: none;
float: none;
background-color: transparent;
}
.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element declaration when both a) infobox3cols is migrated and
* b) when every .infobox thing is using the standard module/templates */
.infobox th,
.infobox td {
vertical-align: top;
}
.infobox-label,
.infobox-data,
/* Remove element declaration when both a) infobox3cols is migrated and
* b) when every .infobox thing is using the standard module/templates */
.infobox th,
.infobox td {
/* @noflip */
text-align: left;
}
/* remove .infobox when th, td above are removed */
.infobox .infobox-above,
.infobox .infobox-title,
/* Remove element declaration when both a) infobox3cols is migrated and
* b) when every .infobox thing is using the standard module/templates */
.infobox caption {
font-size: 125%;
font-weight: bold;
text-align: center;
}
.infobox-title,
/* Remove element declaration when both a) infobox3cols is migrated and
* b) when every .infobox thing is using the standard module/templates */
.infobox caption {
padding: 0.2em;
}
/* remove .infobox when th, td above are removed */
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
/* remove .infobox when th, td above are removed */
.infobox .infobox-navbar {
/* @noflip */
text-align: right;
}
.infobox.bordered {
border-collapse: collapse;
}
/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.bordered td,
.infobox.bordered th {
/* border: 1px solid #a2a9b1;*/
}
/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
/* styles for bordered infobox with merged rows */
/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
border: 0;
/* border-top: 1px solid #a2a9b1;*/
/* @noflip */
/* border-right: 1px solid #a2a9b1;*/
}
/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
border: 0;
/* @noflip */
/* border-right: 1px solid #a2a9b1;*/
}
/* Styles for geography infoboxes, eg countries,
country subdivisions, cities, etc. */
.infobox.geography {
border-collapse: collapse;
line-height: 1.2em;
font-size: 90%;
}
/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.geography td,
.infobox.geography th {
/* border-top: 1px solid #a2a9b1;*/
padding: 0.4em 0.6em 0.4em 0.6em;
}
/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
/* border-top: 1px solid #a2a9b1;*/
padding: 0.4em 0.6em 0.2em 0.6em;
}
/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
border: 0;
padding: 0 0.6em 0.2em 0.6em;
}
/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
border-top: 0;
/* border-bottom: 1px solid #a2a9b1;*/
padding: 0 0.6em 0.4em 0.6em;
}
/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.geography .maptable td,
.infobox.geography .maptable th {
border: 0;
padding: 0;
}
Category:
- Wikipedia pages with incorrect protection templates