Template:Infobox political division/styles.css: Difference between revisions

From TEPwiki, Urth's Encyclopedia
Jump to navigation Jump to search
Content added Content deleted
(start with this)
 
(poke)
Line 1: Line 1:
/* Styles for geography infoboxes, eg countries,
country subdivisions, cities, etc. */
.ib-pol-div {
border-collapse: collapse;
line-height: 1.2em;
}

/* TODO cleanup */
.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 td,
.ib-pol-div .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 */
.ib-pol-div .mergedrow td,
.ib-pol-div .mergedrow th {
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 td,
.ib-pol-div .mergedbottomrow th {
border-top: 0;
border-bottom: 1px solid #a2a9b1;
padding: 0 0.6em 0.4em 0.6em;
}

.ib-pol-div .infobox-header,
.ib-pol-div .infobox-header,
.ib-pol-div .infobox-below {
.ib-pol-div .infobox-below {

Revision as of 18:27, 2 April 2021

/* Styles for geography infoboxes, eg countries,
   country subdivisions, cities, etc.            */
.ib-pol-div {
	border-collapse: collapse;
	line-height: 1.2em;
}

/* TODO cleanup */
.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 td,
.ib-pol-div .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 */
.ib-pol-div .mergedrow td,
.ib-pol-div .mergedrow th {
	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 td,
.ib-pol-div .mergedbottomrow th {
	border-top: 0;
	border-bottom: 1px solid #a2a9b1;
	padding: 0 0.6em 0.4em 0.6em;
}

.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-name {
	font-weight: normal;
	padding-top: 0.25em;
}

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

.ib-pol-div .official-name-data {
	font-weight: bold;
}

.ib-pol-div-caption {
	padding-top: 0.4em;
}

.ib-pol-div-inline {
	display: inline;
}

.ib-pol-div-norm-in {
	font-weight: normal;
	display: inline;
}

.ib-pol-div-normal {
	font-weight: normal;
}

.ib-pol-div-fake-list {
	text-indent: -0.9em;
	margin-left: 1.2em;
	font-weight: normal;
}

.ib-pol-div-fake-list::before {
	content:"•\00A0";
}