Module:Infobox/styles.css: Difference between revisions

From WIDEVERSE Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
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: 100%;
width: 450px;
min-width: 100%;
font-size: 100%;
clear: none;
float: none;
background-color: transparent;
}
}


.infobox-3cols-child {
.infobox td,
margin: auto;
.infobox th {
vertical-align: top;
}
}


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


/* T281642 */
.infobox image {
body.skin-minerva .infobox-header,
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;
text-align: center;
    word-spacing: 0;
}
.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;
}
}

Latest revision as of 02:26, 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;
	width: 450px;
}

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

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

.infobox image {
	text-align: center;
    word-spacing: 0;
}
.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;
}