Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Added Infobox styles.) |
(More infobox styles.) |
||
| Line 3: | Line 3: | ||
.infobox | .infobox | ||
{ | { | ||
| − | + | position: relative; | |
| − | + | float: right; | |
| − | + | clear: right; | |
| − | + | margin-left: 1em; | |
| − | + | margin-bottom: 0.5em; | |
| − | + | border: 1px solid #A0A0A0; | |
| − | + | font-size: smaller; | |
| − | + | line-height: 1.5; | |
| − | + | width: 250px; | |
| + | } | ||
| + | |||
| + | .infoboxtable | ||
| + | { | ||
| + | width: 100%; | ||
| + | } | ||
| + | |||
| + | .infoboximage | ||
| + | { | ||
| + | padding: 0; | ||
| + | text-align: center; | ||
| + | } | ||
| + | |||
| + | .infoboxheading | ||
| + | { | ||
| + | font-size: larger; | ||
| + | font-weight: bold; | ||
| + | color: white; | ||
| + | } | ||
| + | |||
| + | .infoboxsubheading | ||
| + | { | ||
| + | text-align: left; | ||
| + | font-weight: normal; | ||
| + | } | ||
| + | |||
| + | .infoboxlabel, .infoboxcell | ||
| + | { | ||
| + | vertical-align: top; | ||
| + | } | ||
| + | |||
| + | .infoboxcell p, .infoboxcell ul | ||
| + | { | ||
| + | margin-top: 0; | ||
| + | margin-bottom: 0; | ||
} | } | ||
Revision as of 21:07, 14 September 2018
/* Infobox */
.infobox
{
position: relative;
float: right;
clear: right;
margin-left: 1em;
margin-bottom: 0.5em;
border: 1px solid #A0A0A0;
font-size: smaller;
line-height: 1.5;
width: 250px;
}
.infoboxtable
{
width: 100%;
}
.infoboximage
{
padding: 0;
text-align: center;
}
.infoboxheading
{
font-size: larger;
font-weight: bold;
color: white;
}
.infoboxsubheading
{
text-align: left;
font-weight: normal;
}
.infoboxlabel, .infoboxcell
{
vertical-align: top;
}
.infoboxcell p, .infoboxcell ul
{
margin-top: 0;
margin-bottom: 0;
}