Module:Infobox/styles.css: Difference between revisions
Jump to navigation
Jump to search
m (Updating) |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
* just replicating the module faithfully | * just replicating the module faithfully | ||
*/ | */ | ||
.infobox { | .infobox { | ||
box-shadow: 0.2em 0.2em 1em 0 black; | |||
float: right; | |||
clear: right; | |||
margin: 0 0 1em 1em; | |||
padding: 0.5em; | |||
width: 280px; | |||
background-color: #f9f9f9; | |||
color: #000; | |||
border: 1px solid #aaa; | |||
font-size: 90%; | |||
} | } | ||
.infobox-subbox { | .infobox-subbox { | ||
padding: 0; | padding: 0; | ||
Line 37: | Line 43: | ||
} | } | ||
.infobox th { | |||
text-align: left; | |||
vertical-align: top; | |||
padding-right: 0.5em; | |||
} | |||
.infobox td { | |||
vertical-align: top; | |||
} | |||
.infobox .infobox-header { | |||
background-color: #e0e0e0; /* Light gray shading */ | |||
font-weight: bold; | |||
text-align: center; | |||
padding: 0.4em 0; | |||
font-size: 105%; | |||
border-bottom: 1px solid #aaa; | |||
} | } |
Latest revision as of 21:49, 26 May 2025
/* {{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 {
box-shadow: 0.2em 0.2em 1em 0 black;
float: right;
clear: right;
margin: 0 0 1em 1em;
padding: 0.5em;
width: 280px;
background-color: #f9f9f9;
color: #000;
border: 1px solid #aaa;
font-size: 90%;
}
.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%;
}
.infobox th {
text-align: left;
vertical-align: top;
padding-right: 0.5em;
}
.infobox td {
vertical-align: top;
}
.infobox .infobox-header {
background-color: #e0e0e0; /* Light gray shading */
font-weight: bold;
text-align: center;
padding: 0.4em 0;
font-size: 105%;
border-bottom: 1px solid #aaa;
}