MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Silverpg017 (talk | contribs) mNo edit summary |
Silverpg017 (talk | contribs) mNo edit summary |
||
| (28 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.infobox { | .infobox { | ||
| Line 8: | Line 7: | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
border: 2px solid #0059a6; | border: 2px solid #0059a6; | ||
border-collapse: | border-collapse: separate; | ||
border-radius: 5px; | |||
table-layout: fixed; | table-layout: fixed; | ||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
.infobox-label { | .infobox-label { | ||
| Line 29: | Line 28: | ||
.infobox-header, | .infobox-header, | ||
.infobox-above { | .infobox-above { | ||
background-color: # | 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; | |||
} | |||
#ca-talk { display: none !important; } | |||
Latest revision as of 11:15, 30 March 2026
/* CSS placed here will be applied to all skins */
.infobox {
float: right;
clear: right;
width: 22em;
margin: 0 0 1em 1em;
border: 2px solid #0059a6;
border-collapse: separate;
border-radius: 5px;
table-layout: fixed;
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;
}
#ca-talk { display: none !important; }