Master-Brent (talk | contribs) (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-table th { text-align: right; vertical-align: top; width: 120px; } .infobox-table td { vertical-align: top; }") |
Master-Brent (talk | contribs) No edit summary |
||
Line 22: | Line 22: | ||
.infobox-table td { | .infobox-table td { | ||
vertical-align: top; | vertical-align: top; | ||
} | |||
/* Infobox Custom*/ | |||
.infobox-custom { | |||
background-color: black; | |||
border: 2px solid red; | |||
color: white; | |||
padding: 10px; | |||
width: 250px; | |||
} | |||
.infobox-custom th, | |||
.infobox-custom td { | |||
border: none; | |||
padding: 5px; | |||
} | |||
.infobox-custom th { | |||
text-align: left; | |||
font-weight: bold; | |||
} | |||
.infobox-custom caption { | |||
text-align: left; | |||
font-weight: bold; | |||
padding-bottom: 10px; | |||
} | } |
Revision as of 20:45, 5 June 2024
/* 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-table th {
text-align: right;
vertical-align: top;
width: 120px;
}
.infobox-table td {
vertical-align: top;
}
/* Infobox Custom*/
.infobox-custom {
background-color: black;
border: 2px solid red;
color: white;
padding: 10px;
width: 250px;
}
.infobox-custom th,
.infobox-custom td {
border: none;
padding: 5px;
}
.infobox-custom th {
text-align: left;
font-weight: bold;
}
.infobox-custom caption {
text-align: left;
font-weight: bold;
padding-bottom: 10px;
}