Module:Infobox/styles.css: Difference between revisions
From Research Realm
No edit summary |
(ok) |
||
Line 4: | Line 4: | ||
* infobox styles. We are still working to migrate all of the manual | * infobox styles. We are still working to migrate all of the manual | ||
* infoboxes. See [[MediaWiki talk:Common.css/to do#Infobox]] | * infoboxes. See [[MediaWiki talk:Common.css/to do#Infobox]] | ||
*/ | */ | ||
.infobox { | .infobox { | ||
Line 32: | Line 31: | ||
.infobox-image, | .infobox-image, | ||
.infobox-navbar, | .infobox-navbar, | ||
.infobox-label, | .infobox-label, | ||
.infobox-data, | .infobox-data, | ||
.infobox-above, | |||
.infobox-title, | |||
.infobox-title, | .infobox-title, | ||
.infobox-header, | |||
.infobox-subheader, | |||
.infobox-image, | |||
.infobox-full-data, | |||
.infobox-below { | |||
text-align: center; | text-align: center; | ||
} | } | ||
.infobox-navbar { | |||
/* @noflip */ | /* @noflip */ | ||
text-align: right; | text-align: right; |
Revision as of 07:22, 11 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]]
*/
.infobox {
border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 22em;
}
.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
.infobox-label,
.infobox-data,
.infobox-above,
.infobox-title,
.infobox-title,
.infobox-header,
.infobox-subheader,
.infobox-image,
.infobox-full-data,
.infobox-below {
text-align: center;
}
.infobox-navbar {
/* @noflip */
text-align: right;
}
/*
* 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;
}