Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
| Line 12: | Line 12: | ||
} | } | ||
.infobox-title { | .infobox-title { | ||
| + | background: #800080; | ||
font-size: 2em; | font-size: 2em; | ||
text-align: center; | text-align: center; | ||
| Line 19: | Line 20: | ||
} | } | ||
.infobox th { | .infobox th { | ||
| + | background: #808080; | ||
text-align: right; | text-align: right; | ||
vertical-align: top; | vertical-align: top; | ||
Revision as of 02:08, 2 November 2019
/* CSS placed here will be applied to all skins */
/* Design for infoboxes */
.infobox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 400px;
}
.infobox-title {
background: #800080;
font-size: 2em;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox th {
background: #808080;
text-align: right;
vertical-align: top;
width: 120px;
}
.infobox td {
vertical-align: top;
}
/* Design tools */
.shadow
{
text-shadow: 0 0 7px black;
}
.box
{
border:1px solid black;
}
.box_shadow
{
box-shadow: 5px 5px 10px black;
}
.centered_text
{
text-align: center;
}
.round_box
{
border:1px solid black;
border-radius:10px;
}
.inverted
{
color: white;
background-color: black;
}