MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Silverpg017 (talk | contribs) mNo edit summary |
Silverpg017 (talk | contribs) No edit summary |
||
| Line 32: | Line 32: | ||
background-color: #0059a6 !important; /* #409bf5 is lighter */ | background-color: #0059a6 !important; /* #409bf5 is lighter */ | ||
color: white; | color: white; | ||
} | |||
.infobox td, | |||
.infobox th { | |||
word-wrap: break-word; | |||
overflow-wrap: break-word; /* modern CSS */ | |||
} | |||
.infobox .summary { | |||
text-align: center; | |||
} | |||
.infobox th.summary { | |||
border-top-left-radius: 5px; | |||
border-top-right-radius: 5px; | |||
} | } | ||
Revision as of 15:15, 21 March 2026
/* CSS placed here will be applied to all skins */
.infobox {
float: right;
clear: right;
width: 22em;
margin: 0 0 1em 1em;
border: 1px solid #0059a6;
border-collapse: separate;
border-radius: 5px;
table-layout: fixed;
box-shadow: 0 0 0 2px #0059a6;
overflow: hidden;
}
.infobox-label {
padding-left: 0.3em;
vertical-align: top;
padding-right: 1em;
width: 35%;
white-space: normal;
word-wrap: break-word;
}
.infobox-data {
vertical-align: top;
}
.infobox-header,
.infobox-above {
background-color: #0059a6 !important; /* #409bf5 is lighter */
color: white;
}
.infobox td,
.infobox th {
word-wrap: break-word;
overflow-wrap: break-word; /* modern CSS */
}
.infobox .summary {
text-align: center;
}
.infobox th.summary {
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}