Module:Hatnote/styles.css: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
(Copied current version of the Module:Hatnote/styles.css from Wikipedia)
Tag: Reverted
(Undo revision 24215 by LordGianni (talk))
Tag: Undo
 
Line 1: Line 1:
/* {{pp|small=y}} */
/* {{pp|small=y}} */
/*
.hatnote {
* This TemplateStyles sheet deliberately does NOT include the full set of
font-style: italic;
* 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 {
/* Limit structure CSS to divs because of [[Module:Hatnote inline]] */
margin: auto;
div.hatnote {
/* @noflip */
padding-left: 1.6em;
margin-bottom: 0.5em;
}
}


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


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

/* {{pp|small=y}} */
.hatnote {
	font-style: italic;
}

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

.hatnote i {
	font-style: normal;
}

/* The templatestyles element inserts a link element before hatnotes.
 * TODO: Remove link if/when WMF resolves T200206 */
.hatnote + link + .hatnote {
	margin-top: -0.5em;
}