Module:Infobox/styles.css: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported) |
No edit summary |
||
Line 37: | Line 37: | ||
} | } | ||
.infobox { | |||
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 th { | |||
text-align: left; | |||
vertical-align: top; | |||
padding-right: 0.5em; | |||
} | |||
.infobox td { | |||
vertical-align: top; | |||
} | |||
.infobox .infobox-header { | |||
font-weight: bold; | |||
text-align: left; | |||
padding-top: 0.5em; | |||
padding-bottom: 0.2em; | |||
} | } |
Revision as of 21:32, 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
*/
/*
* If we wished to have a "shadow" effect
.infobox {
box-shadow: 0.2em 0.2em 1em 0 black;
}
*/
.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 {
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 th {
text-align: left;
vertical-align: top;
padding-right: 0.5em;
}
.infobox td {
vertical-align: top;
}
.infobox .infobox-header {
font-weight: bold;
text-align: left;
padding-top: 0.5em;
padding-bottom: 0.2em;
}