Template:Infobox craft type/styles.css: Difference between revisions

From BBBBT
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
/* {{pp|small=y}} */
/* {{pp|small=y}} */
.ib-settlement {
.ib-craft-type {
width: 23em;
width: 23em;
border-collapse: collapse;
border-collapse: collapse;
Line 7: Line 7:


/* 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-settlement td,
.ib-craft-type td,
.ib-settlement th {
.ib-craft-type th {
border-top: 1px solid #a2a9b1;
border-top: 1px solid #a2a9b1;
padding: 0.4em 0.6em 0.4em 0.6em;
padding: 0.4em 0.6em 0.4em 0.6em;
}
}


.ib-settlement .mergedtoprow .infobox-full-data,
.ib-craft-type .mergedtoprow .infobox-full-data,
.ib-settlement .mergedtoprow .infobox-data,
.ib-craft-type .mergedtoprow .infobox-data,
.ib-settlement .mergedtoprow .infobox-label,
.ib-craft-type .mergedtoprow .infobox-label,
.ib-settlement .mergedtoprow .infobox-below {
.ib-craft-type .mergedtoprow .infobox-below {
border-top: 1px solid #a2a9b1;
border-top: 1px solid #a2a9b1;
padding: 0.6em 0.6em 0.2em 0.6em;
padding: 0.6em 0.6em 0.2em 0.6em;
}
}


.ib-settlement .mergedrow .infobox-full-data,
.ib-craft-type .mergedrow .infobox-full-data,
.ib-settlement .mergedrow .infobox-data,
.ib-craft-type .mergedrow .infobox-data,
.ib-settlement .mergedrow .infobox-label {
.ib-craft-type .mergedrow .infobox-label {
border: 0;
border: 0;
padding: 0.2em 0.6em 0.2em 0.6em;
padding: 0.2em 0.6em 0.2em 0.6em;
}
}


.ib-settlement .mergedbottomrow .infobox-full-data,
.ib-craft-type .infobox-below {
.ib-settlement .mergedbottomrow .infobox-data,
.ib-settlement .mergedbottomrow .infobox-label {
border-top: 0;
border-bottom: 1px solid #a2a9b1;
padding: 0.2em 0.6em 0.6em 0.6em;
}
 
.ib-settlement .maptable {
border: 0;
padding: 0;
}
 
.ib-settlement .infobox-below {
text-align: left;
text-align: left;
}
}


.ib-settlement .infobox-above {
.ib-craft-type .infobox-above {
font-size: 125%;
font-size: 125%;
line-height: 1.3em;
line-height: 1.3em;
}
}


.ib-settlement .infobox-subheader {
.ib-craft-type .infobox-subheader {
background-color: #cddeff;
background-color: #cddeff;
font-weight: bold;
font-weight: bold;
}
}


.ib-settlement .infobox-header {
.ib-craft-type .infobox-header {
background-color: #cddeff;
background-color: #cddeff;
font-weight: bold;
font-weight: bold;
}
}


.ib-settlement-native {
.ib-craft-type-caption {
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;
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;
}
}

Revision as of 20:57, 21 August 2022

/* {{pp|small=y}} */
.ib-craft-type {
	width: 23em;
	border-collapse: collapse;
	line-height: 1.2em;
}

/* TODO split definitions to appropriate class names when live from HTML element */
.ib-craft-type td,
.ib-craft-type th {
	border-top: 1px solid #a2a9b1;
	padding: 0.4em 0.6em 0.4em 0.6em;
}

.ib-craft-type .mergedtoprow .infobox-full-data,
.ib-craft-type .mergedtoprow .infobox-data,
.ib-craft-type .mergedtoprow .infobox-label,
.ib-craft-type .mergedtoprow .infobox-below {
	border-top: 1px solid #a2a9b1;
	padding: 0.6em 0.6em 0.2em 0.6em;
}

.ib-craft-type .mergedrow .infobox-full-data,
.ib-craft-type .mergedrow .infobox-data,
.ib-craft-type .mergedrow .infobox-label {
	border: 0;
	padding: 0.2em 0.6em 0.2em 0.6em;
}

.ib-craft-type .infobox-below {
	text-align: left;
}

.ib-craft-type .infobox-above {
	font-size: 125%;
	line-height: 1.3em;
}

.ib-craft-type .infobox-subheader {
	background-color: #cddeff;
	font-weight: bold;
}

.ib-craft-type .infobox-header {
	background-color: #cddeff;
	font-weight: bold;
}

.ib-craft-type-caption {
	padding: 0.3em 0 0 0;
}