MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Esportsamaze (talk | contribs) No edit summary |
Esportsamaze (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* Table-based Infobox */ | ||
table.infobox { | |||
.infobox { | |||
float: right; | float: right; | ||
width: 300px; | width: 300px; | ||
background: #f8f9fa; | background: #f8f9fa; | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
border-collapse: collapse; | |||
margin-left: 1em; | margin-left: 1em; | ||
} | } | ||
.infobox-header { | .infobox th.infobox-header { | ||
background: #eaecf0; | background: #eaecf0; | ||
text-align: center; | text-align: center; | ||
padding: 10px; | |||
padding: | |||
font-size: 1.2em; | font-size: 1.2em; | ||
} | } | ||
.infobox | .infobox td { | ||
padding: 6px 10px; | padding: 6px 10px; | ||
border-bottom: 1px solid #eaecf0; | border-bottom: 1px solid #eaecf0; | ||
} | } | ||
.infobox-label { | .infobox-label { | ||
width: | width: 35%; | ||
font-weight: bold; | font-weight: bold; | ||
color: #54595d; | color: #54595d; | ||
background-color: #f0f0f0; /* Optional: adds a slight color to the label column */ | |||
} | |||
.infobox-image { | |||
text-align: center; | |||
padding: 10px 0; | |||
background: #fff; | |||
} | } | ||
Revision as of 01:29, 29 December 2025
/* Table-based Infobox */
table.infobox {
float: right;
width: 300px;
background: #f8f9fa;
border: 1px solid #a2a9b1;
border-collapse: collapse;
margin-left: 1em;
}
.infobox th.infobox-header {
background: #eaecf0;
text-align: center;
padding: 10px;
font-size: 1.2em;
}
.infobox td {
padding: 6px 10px;
border-bottom: 1px solid #eaecf0;
}
.infobox-label {
width: 35%;
font-weight: bold;
color: #54595d;
background-color: #f0f0f0; /* Optional: adds a slight color to the label column */
}
.infobox-image {
text-align: center;
padding: 10px 0;
background: #fff;
}