Module:Infobox/styles.css: Difference between revisions

From WIDEVERSE Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/* {{pp|small=y}} */
/**
/*
  * Infoboxes
* This TemplateStyles sheet deliberately does NOT include the full set of
* infobox styles. We are still working to migrate all of the manual
* infoboxes. See [[MediaWiki talk:Common.css/to do#Infobox]]
  * DO NOT ADD THEM HERE
  */
  */
/*
.infobox {
* not strictly certain these styles are necessary since the modules now
float: right;
* exclusively output infobox-subbox or infobox, not both
clear: right;
* just replicating the module faithfully
margin-bottom: 0.5em;
*/
margin-left: 1em;
.infobox-subbox {
padding: 0.2em;
padding: 0;
border: 1px solid #A2A9B1;
border: none;
background: #F8F9FA;
margin: -3px;
color: black;
width: 100px;
}
min-width: 100%;
 
font-size: 100%;
.infobox td,
clear: none;
.infobox th {
float: none;
vertical-align: top;
background-color: transparent;
}
 
.infobox caption {
margin-left: inherit;
font-size: larger;
}
}


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


.infobox .navbar {
.infobox.bordered td,
font-size: 100%;
.infobox.bordered th {
border: 1px solid #A2A9B1;
}
}


/* T281642 */
.infobox.bordered .borderless td,
body.skin-minerva .infobox-header,
.infobox.bordered .borderless th {
body.skin-minerva .infobox-subheader,
border: 0;
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;
}
}

Revision as of 02:08, 23 June 2022

/**
 * Infoboxes
 */
.infobox {
	float: right;
	clear: right;
	margin-bottom: 0.5em;
	margin-left: 1em;
	padding: 0.2em;
	border: 1px solid #A2A9B1;
	background: #F8F9FA;
	color: black;
}

.infobox td,
.infobox th {
	vertical-align: top;
}

.infobox caption {
	margin-left: inherit;
	font-size: larger;
}

.infobox.bordered {
	border-collapse: collapse;
}

.infobox.bordered td,
.infobox.bordered th {
	border: 1px solid #A2A9B1;
}

.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
	border: 0;
}