Module:Infobox/styles.css: Difference between revisions

Jump to navigation Jump to search
m (1 revision imported)
No edit summary
 
Line 1: Line 1:
/* {{pp|small=y}} */
.infobox {
/*
border: 1px solid #a2a9b1;
* This TemplateStyles sheet deliberately does NOT include the full set of
border-spacing: 3px;
* infobox styles. We are still working to migrate all of the manual
background-color: #f8f9fa;
* infoboxes. See [[MediaWiki talk:Common.css/to do#Infobox]]
color: black;
* DO NOT ADD THEM HERE
/* @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 since the modules now
  * not strictly certain .infobox-subbox styles are necessary since the modules
  * exclusively output infobox-subbox or infobox, not both
  * now exclusively output infobox-subbox or infobox, not both
  * just replicating the module faithfully
  * just replicating the module faithfully
  */
  */
Line 23: Line 33:
}
}


.infobox-3cols-child {
.infobox-header,
margin: auto;
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar {
vertical-align: top;
}
 
.infobox-label,
.infobox-data {
/* @noflip */
text-align: left;
}
 
.infobox-above,
.infobox-title {
font-size: 125%;
font-weight: bold;
text-align: center;
}
 
.infobox-title {
padding: 0.2em;
}
 
.infobox-header,
.infobox-subheader,
.infobox-image,
.infobox-full-data,
.infobox-below {
text-align: center;
}
 
.infobox-navbar {
/* @noflip */
text-align: right;
}
}


Line 31: Line 79:
}
}


/* T281642 */
.infobox-3cols-child {
body.skin-minerva .infobox-header,
margin: auto;
body.skin-minerva .infobox-subheader,
body.skin-minerva  .infobox-above,
body.skin-minerva .infobox-title,
body.skin-minerva  .infobox-image,
body.skin-minerva  .infobox-full-data,
body.skin-minerva .infobox-below {
text-align: center;
}
}

Latest revision as of 21:19, 30 September 2023

.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 .infobox-subbox styles are necessary since the modules
 * now exclusively output infobox-subbox or infobox, not both
 * 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 {
	vertical-align: top;
}

.infobox-label,
.infobox-data {
	/* @noflip */
	text-align: left;
}

.infobox-above,
.infobox-title {
	font-size: 125%;
	font-weight: bold;
	text-align: center;
}

.infobox-title {
	padding: 0.2em;
}

.infobox-header,
.infobox-subheader,
.infobox-image,
.infobox-full-data,
.infobox-below {
	text-align: center;
}

.infobox-navbar {
	/* @noflip */
	text-align: right;
}

.infobox .navbar {
	font-size: 100%;
}

.infobox-3cols-child {
	margin: auto;
}