« Modèle:Infobox/styles.css » : différence entre les versions

De Neylandia - Wiki
Aller à la navigation Aller à la recherche
Infobox:Wikipedia>Jdlrobson
(Fix phab:T281642, a pet peeve of mine. This copies across styles from MediaWiki:Minerva.css)
 
Modèle:Infobox_Pays>Od1n
m (A protégé « Modèle:Infobox/styles.css » : protection a minima (utilisé sur 9 283 pages) ([Modifier = Autoriser uniquement les utilisateurs autoconfirmés] (infini) [Renommer = Autoriser uniquement les utilisateurs autoconfirmés] (infini)))
Ligne 1 : Ligne 1 :
/* {{pp|small=y}} */
@media all and (max-width: 720px) {
/*
body.skin-minerva *[class*="infobox"] table {
* This TemplateStyles sheet deliberately does NOT include the full set of
display: table;
* infobox styles. We are still working to migrate all of the manual
}
* infoboxes. See [[MediaWiki talk:Common.css/to do#Infobox]]
body.skin-minerva *[class*="infobox"] caption {
* DO NOT ADD THEM HERE
display: table-caption;
*/
}
/*
* 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 {
/* [[Catégorie:Sous-page de modèle feuille de style]] */
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;
}

Version du 28 avril 2022 à 12:39

@media all and (max-width: 720px) {
	body.skin-minerva *[class*="infobox"] table {
		display: table;
	}
	body.skin-minerva *[class*="infobox"] caption {
		display: table-caption;
	}
}

/* [[Catégorie:Sous-page de modèle feuille de style]] */