Template:Infobox political division/styles.css: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(poke) |
m (4 revisions imported from wikipedia:Template:Infobox_political_division/styles.css) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 4: | Line 4: | ||
border-collapse: collapse; |
border-collapse: collapse; |
||
line-height: 1.2em; |
line-height: 1.2em; |
||
width: 23em; |
|||
} |
} |
||
/* TODO split definitions to appropriate class names when live from HTML element */ |
|||
/* TODO cleanup */ |
|||
.ib-pol-div td, |
.ib-pol-div td, |
||
.ib-pol-div th { |
.ib-pol-div th { |
||
Line 14: | Line 15: | ||
/* TODO split definitions to appropriate class names when live from HTML element */ |
/* TODO split definitions to appropriate class names when live from HTML element */ |
||
.ib-pol-div .mergedtoprow |
.ib-pol-div .mergedtoprow .infobox-full-data, |
||
.ib-pol-div .mergedtoprow |
.ib-pol-div .mergedtoprow .infobox-header, |
||
.ib-pol-div .mergedtoprow .infobox-data, |
|||
.ib-pol-div .mergedtoprow .infobox-label, |
|||
.ib-pol-div .mergedtoprow .infobox-below { |
|||
border-top: 1px solid #a2a9b1; |
border-top: 1px solid #a2a9b1; |
||
padding: 0.4em 0.6em 0.2em 0.6em; |
padding: 0.4em 0.6em 0.2em 0.6em; |
||
Line 21: | Line 25: | ||
/* TODO split definitions to appropriate class names when live from HTML element */ |
/* TODO split definitions to appropriate class names when live from HTML element */ |
||
.ib-pol-div .mergedrow |
.ib-pol-div .mergedrow .infobox-full-data, |
||
.ib-pol-div .mergedrow |
.ib-pol-div .mergedrow .infobox-data, |
||
.ib-pol-div .mergedrow .infobox-label { |
|||
border: 0; |
border: 0; |
||
padding: 0 0.6em 0.2em 0.6em; |
padding: 0 0.6em 0.2em 0.6em; |
||
Line 28: | Line 33: | ||
/* TODO split definitions to appropriate class names when live from HTML element */ |
/* TODO split definitions to appropriate class names when live from HTML element */ |
||
.ib-pol-div .mergedbottomrow |
.ib-pol-div .mergedbottomrow .infobox-header, |
||
.ib-pol-div .mergedbottomrow |
.ib-pol-div .mergedbottomrow .infobox-data, |
||
.ib-pol-div .mergedbottomrow .infobox-label { |
|||
border-top: 0; |
border-top: 0; |
||
border-bottom: 1px solid #a2a9b1; |
border-bottom: 1px solid #a2a9b1; |
||
padding: 0 0.6em 0.4em 0.6em; |
padding: 0 0.6em 0.4em 0.6em; |
||
⚫ | |||
⚫ | |||
border: 0; |
|||
padding: 0; |
|||
} |
} |
||
Line 50: | Line 61: | ||
} |
} |
||
.ib-pol-div |
.ib-pol-div-native { |
||
font-weight: normal; |
font-weight: normal; |
||
padding-top: 0.25em; |
padding-top: 0.25em; |
||
} |
} |
||
.ib-pol-div |
.ib-pol-div-official-below { |
||
font- |
font-weight: bold; |
||
} |
} |
||
.ib-pol-div |
.ib-pol-div-other { |
||
font- |
font-size: 78%; |
||
} |
} |
||
Line 67: | Line 78: | ||
} |
} |
||
.ib-pol-div- |
.ib-pol-div-nick, |
||
.ib-pol-div-motto { |
|||
display: inline; |
display: inline; |
||
} |
} |
||
.ib-pol-div- |
.ib-pol-div-largest, |
||
.ib-pol-div-lang { |
|||
font-weight: normal; |
font-weight: normal; |
||
⚫ | |||
} |
} |
||
.ib-pol-div- |
.ib-pol-div-ethnic, |
||
.ib-pol-div-religion, |
|||
.ib-pol-div-elevation { |
|||
⚫ | |||
font-weight: normal; |
font-weight: normal; |
||
} |
} |
||
.ib-pol-div-fake- |
.ib-pol-div-fake-li { |
||
text-indent: -0.9em; |
text-indent: -0.9em; |
||
margin-left: 1.2em; |
margin-left: 1.2em; |
||
font-weight: normal; |
font-weight: normal; |
||
⚫ | |||
⚫ | |||
content:"•\00A0"; |
|||
} |
} |
Latest revision as of 22:50, 28 December 2022
/* Styles for geography infoboxes, eg countries,
country subdivisions, cities, etc. */
.ib-pol-div {
border-collapse: collapse;
line-height: 1.2em;
width: 23em;
}
/* TODO split definitions to appropriate class names when live from HTML element */
.ib-pol-div td,
.ib-pol-div 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 */
.ib-pol-div .mergedtoprow .infobox-full-data,
.ib-pol-div .mergedtoprow .infobox-header,
.ib-pol-div .mergedtoprow .infobox-data,
.ib-pol-div .mergedtoprow .infobox-label,
.ib-pol-div .mergedtoprow .infobox-below {
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 */
.ib-pol-div .mergedrow .infobox-full-data,
.ib-pol-div .mergedrow .infobox-data,
.ib-pol-div .mergedrow .infobox-label {
border: 0;
padding: 0 0.6em 0.2em 0.6em;
}
/* TODO split definitions to appropriate class names when live from HTML element */
.ib-pol-div .mergedbottomrow .infobox-header,
.ib-pol-div .mergedbottomrow .infobox-data,
.ib-pol-div .mergedbottomrow .infobox-label {
border-top: 0;
border-bottom: 1px solid #a2a9b1;
padding: 0 0.6em 0.4em 0.6em;
}
.ib-pol-div .maptable {
border: 0;
padding: 0;
}
.ib-pol-div .infobox-header,
.ib-pol-div .infobox-below {
text-align: left;
}
.ib-pol-div .infobox-above {
font-size: 1.25em;
line-height: 1.2em;
}
.ib-pol-div .infobox-subheader {
background-color: #cddeff;
font-weight: bold;
}
.ib-pol-div-native {
font-weight: normal;
padding-top: 0.25em;
}
.ib-pol-div-official-below {
font-weight: bold;
}
.ib-pol-div-other {
font-size: 78%;
}
.ib-pol-div-caption {
padding-top: 0.4em;
}
.ib-pol-div-nick,
.ib-pol-div-motto {
display: inline;
}
.ib-pol-div-largest,
.ib-pol-div-lang {
font-weight: normal;
}
.ib-pol-div-ethnic,
.ib-pol-div-religion,
.ib-pol-div-elevation {
display: inline;
font-weight: normal;
}
.ib-pol-div-fake-li {
text-indent: -0.9em;
margin-left: 1.2em;
font-weight: normal;
}