Module:Infobox/styles.css: Difference between revisions

From Progressbar95 Wiki
Content added Content deleted
(5jiji changed the content model of the page Module:Infobox/styles.css from "plain text" to "Sanitized CSS": CSS page)
Tag: content model change
No edit summary
 
Line 1: Line 1:
.infobox {
/* {{pp|small=y}} */
border-spacing: 3px;
/*
box-shadow: inset -1px -1px #0a0a0a,
* This TemplateStyles sheet deliberately does NOT include the full set of
inset 1px 1px #dfdfdf,
* infobox styles. We are still working to migrate all of the manual
inset -2px -2px #808080,
* infoboxes. See [[MediaWiki talk:Common.css/to do#Infobox]]
inset 2px 2px #ffffff;
* DO NOT ADD THEM HERE
background-color: #c0c0c0;
*/
color: black;
/*
/* @noflip */
* not strictly certain these styles are necessary since the modules now
margin: 0.5em 0 0.5em 1em;
* exclusively output infobox-subbox or infobox, not both
padding: 3px;
* just replicating the module faithfully
*/
/* @noflip */
float: right;
.infobox-subbox {
/* @noflip */
padding: 0;
border: none;
clear: right;
margin: -3px;
font-size: 88%;
line-height: 1.5em;
width: auto;
min-width: 100%;
width: 22em;
font-size: 100%;
clear: none;
float: none;
background-color: transparent;
}
}


.infobox-3cols-child {
.infobox-header,
.infobox-label,
margin: auto;
.infobox-title,
.infobox-full-data,
.infobox-data,
.infobox-footer,
.infobox-image {
vertical-align: top;
}
}


.infobox .navbar {
.infobox-label,
.infobox-data {
font-size: 100%;
/* @noflip */
text-align: left;
}

.infobox-title {
text-align: center;
background: #000080;
color: white;
font-size: 125%;
font-weight: bold;
padding: 3px 2px 3px 3px;
}

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


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

Latest revision as of 18:43, 26 April 2024

.infobox {
	border-spacing: 3px;
	box-shadow: inset -1px -1px #0a0a0a,
		inset 1px 1px #dfdfdf,
		inset -2px -2px #808080,
		inset 2px 2px #ffffff;
	background-color: #c0c0c0;
	color: black;
	/* @noflip */
	margin: 0.5em 0 0.5em 1em;
	padding: 3px;
	/* @noflip */
	float: right;
	/* @noflip */
	clear: right;
	font-size: 88%;
	line-height: 1.5em;
	width: 22em;
}

.infobox-header,
.infobox-label,
.infobox-title,
.infobox-full-data,
.infobox-data,
.infobox-footer,
.infobox-image {
	vertical-align: top;
}

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

.infobox-title {
	text-align: center;
	background: #000080;
	color: white;
	font-size: 125%;
	font-weight: bold;
	padding: 3px 2px 3px 3px;
}

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

/* T281642 */
body.skin-minerva .infobox-title,
body.skin-minerva .infobox-image,
body.skin-minerva .infobox-header,
body.skin-minerva .infobox-full-data,
body.skin-minerva .infobox-footer {
	text-align: center;
}