Module:Infobox/sandbox/styles.css: Difference between revisions
From Progressbar95 Wiki
< Module:Infobox | sandbox
Content added Content deleted
m (Xemonix moved page Template:Infobox/sandbox/styles.css to Module:Infobox/sandbox/styles.css without leaving a redirect: revert) |
No edit summary |
||
Line 1: | Line 1: | ||
⚫ | |||
/* {{pp|small=y}} */ |
|||
border: 1px solid #a2a9b1; |
|||
/* |
|||
border-spacing: 3px; |
|||
* This TemplateStyles sheet deliberately does NOT include the full set of |
|||
⚫ | |||
* infobox styles. We are still working to migrate all of the manual |
|||
color: black; |
|||
* infoboxes. See [[MediaWiki talk:Common.css/to do#Infobox]] |
|||
/* @noflip */ |
|||
* DO NOT ADD THEM HERE |
|||
margin: 0.5em 0 0.5em 1em; |
|||
*/ |
|||
⚫ | |||
/* |
|||
/* @noflip */ |
|||
* not strictly certain these styles are necessary since the modules now |
|||
⚫ | |||
* exclusively output infobox-subbox or infobox, not both |
|||
/* @noflip */ |
|||
* just replicating the module faithfully |
|||
⚫ | |||
*/ |
|||
⚫ | |||
⚫ | |||
line-height: 1.5em; |
|||
⚫ | |||
width: 22em; |
|||
margin: -3px; |
|||
width: auto; |
|||
min-width: 100%; |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
} |
} |
||
.infobox- |
.infobox-header, |
||
.infobox-label, |
|||
margin: auto; |
|||
.infobox-title, |
|||
.infobox-full-data, |
|||
.infobox-data, |
|||
.infobox-footer, |
|||
.infobox-image { |
|||
vertical-align: top; |
|||
} |
} |
||
.infobox |
.infobox-label, |
||
.infobox-data { |
|||
⚫ | |||
/* @noflip */ |
|||
text-align: left; |
|||
} |
|||
.infobox-title { |
|||
⚫ | |||
font-weight: bold; |
|||
text-align: center; |
|||
} |
|||
⚫ | |||
.infobox-image, |
|||
.infobox-full-data, |
|||
.infobox-footer { |
|||
text-align: center; |
|||
} |
} |
||
/* T281642 */ |
/* T281642 */ |
||
⚫ | |||
⚫ | |||
body.skin-minerva .infobox-above, |
|||
body.skin-minerva .infobox-title, |
body.skin-minerva .infobox-title, |
||
body.skin-minerva |
body.skin-minerva .infobox-image, |
||
body.skin-minerva |
body.skin-minerva .infobox-header, |
||
body.skin-minerva .infobox- |
body.skin-minerva .infobox-full-data, |
||
⚫ | |||
text-align: center; |
text-align: center; |
||
} |
} |
Revision as of 17:50, 26 April 2024
.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-title,
.infobox-full-data,
.infobox-data,
.infobox-footer,
.infobox-image {
vertical-align: top;
}
.infobox-label,
.infobox-data {
/* @noflip */
text-align: left;
}
.infobox-title {
font-size: 125%;
font-weight: bold;
text-align: center;
}
.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;
}