Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
| Line 4: | Line 4: | ||
.infobox { | .infobox { | ||
| − | |||
| − | |||
float: right; | float: right; | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
Revision as of 02:08, 2 November 2019
/* CSS placed here will be applied to all skins */
/* Design for infoboxes */
.infobox {
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;
}