MediaWiki:Common.css: Difference between revisions
IssuePress (talk | contribs) No edit summary |
IssuePress (talk | contribs) No edit summary |
||
Line 27: | Line 27: | ||
th.infobox-title { | th.infobox-title { | ||
font-size: | font-size: 1rem; | ||
font-weight: bold; | font-weight: bold; | ||
text-align: center; | text-align: center; | ||
Line 33: | Line 33: | ||
.infobox .infobox-header { | .infobox .infobox-header { | ||
font-size: | font-size: .875rem; | ||
font-weight: bold; | font-weight: bold; | ||
text-align: center; | text-align: center; | ||
Line 40: | Line 40: | ||
.infobox .infobox-subheader { | .infobox .infobox-subheader { | ||
font-size: . | font-size: .75rem; | ||
font-weight: 600; | font-weight: 600; | ||
text-align: center; | text-align: center; | ||
} | } |
Revision as of 04:18, 1 December 2024
/* CSS placed here will be applied to all skins */
.infobox {
font-size: .875rem;
background: #f2f2f2;
float: right;
margin: 0 0 1rem 1rem;
padding: 1.375rem 1rem;
max-width: 350px;
width: auto;
border-radius: 1rem;
}
.infobox-image {
text-align: center;
}
.infobox th {
text-align: left;
vertical-align: top;
padding: .125rem .5rem;
}
.infobox td {
vertical-align: top;
padding: .125rem .5rem;
}
th.infobox-title {
font-size: 1rem;
font-weight: bold;
text-align: center;
}
.infobox .infobox-header {
font-size: .875rem;
font-weight: bold;
text-align: center;
padding-top:.5rem;
}
.infobox .infobox-subheader {
font-size: .75rem;
font-weight: 600;
text-align: center;
}