MediaWiki:Common.css: Difference between revisions
(Created page with "→CSS placed here will be applied to all skins: .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; }") |
No edit summary |
||
| Line 1: | Line 1: | ||
.infobox { | .infobox { | ||
background: #eee; | background: #eee; | ||
| Line 7: | Line 6: | ||
padding: 1em; | padding: 1em; | ||
width: 400px; | width: 400px; | ||
} | |||
table{ | |||
width: 100%; | |||
} | } | ||
.infobox-title { | .infobox-title { | ||
| Line 14: | Line 16: | ||
.infobox-image { | .infobox-image { | ||
text-align: center; | text-align: center; | ||
} | |||
.inside-title { | |||
background-color: rgb(218, 218, 255); | |||
text-align: center; | |||
font-size: 1.2em; | |||
font-weight: bold; | |||
} | } | ||
.infobox th { | .infobox th { | ||
text-align: | text-align: left; | ||
vertical-align: top; | vertical-align: top; | ||
width: | width: 50%; | ||
padding: 5px; | |||
} | } | ||
.infobox td { | .infobox td { | ||
vertical-align: top; | vertical-align: top; | ||
width: 50%; | |||
padding: 5px; | |||
} | } | ||
Revision as of 14:52, 19 January 2023
.infobox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 400px;
}
table{
width: 100%;
}
.infobox-title {
font-size: 2em;
text-align: center;
}
.infobox-image {
text-align: center;
}
.inside-title {
background-color: rgb(218, 218, 255);
text-align: center;
font-size: 1.2em;
font-weight: bold;
}
.infobox th {
text-align: left;
vertical-align: top;
width: 50%;
padding: 5px;
}
.infobox td {
vertical-align: top;
width: 50%;
padding: 5px;
}