Module:Hatnote/styles.css: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
m (1 revision imported: Import of Version of infobox television as of 18 August 2023)
(Copied current version of the Module:Hatnote/styles.css from Wikipedia)
Tag: Reverted
Line 1: Line 1:
/* {{pp|small=y}} */
/* {{pp|small=y}} */
.hatnote {
/*
font-style: italic;
* 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
*/
/*
* not strictly certain these 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;
}
}


/* Limit structure CSS to divs because of [[Module:Hatnote inline]] */
.infobox-3cols-child {
div.hatnote {
margin: auto;
/* @noflip */
padding-left: 1.6em;
margin-bottom: 0.5em;
}
}


.hatnote i {
.infobox .navbar {
font-style: normal;
font-size: 100%;
}
}


/* The templatestyles element inserts a link element before hatnotes.
/* T281642 */
  * TODO: Remove link if/when WMF resolves T200206 */
body.skin-minerva .infobox-header,
.hatnote + link + .hatnote {
body.skin-minerva .infobox-subheader,
margin-top: -0.5em;
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 21:40, 20 August 2023

/* {{pp|small=y}} */
/*
 * 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
 */
/*
 * not strictly certain these 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-3cols-child {
	margin: auto;
}

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

/* 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-image,
body.skin-minerva  .infobox-full-data,
body.skin-minerva .infobox-below {
	text-align: center;
}