Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
TheSevenSins (talk | contribs) |
|||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* 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 { | ||
| + | font-size: 2em; | ||
| + | text-align: center; | ||
| + | } | ||
| + | .infobox-image { | ||
| + | text-align: center; | ||
| + | } | ||
| + | .infobox th { | ||
| + | text-align: right; | ||
| + | vertical-align: top; | ||
| + | width: 120px; | ||
| + | } | ||
| + | .infobox td { | ||
| + | vertical-align: top; | ||
| + | } | ||
| + | |||
| + | /* Design tools */ | ||
.shadow | .shadow | ||
Revision as of 03:05, 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 {
font-size: 2em;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox th {
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;
}