MediaWiki:Common.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* Character Infobox */
.character-infobox {
float: right;
width: 300px;
margin: 0 0 1em 1em;
border-collapse: separate;
border-spacing: 0;
border: 2px solid var(--infobox-color);
border-radius: 0 0 8px 8px;
overflow: hidden;
background: #ffffff;
box-shadow: 0 2px 6px rgba(0,0,0,0.15);
font-size: 90%;
}
.character-infobox-title {
background: var(--infobox-color);
color: var(--infobox-text);
text-align: center;
font-size: 130%;
font-weight: bold;
padding: 8px;
border-radius: 0;
}
.character-infobox-image {
text-align: center;
padding: 10px;
background: #f8f8f8;
}
.character-infobox th {
width: 35%;
text-align: left;
background: #eeeeee;
padding: 6px;
border-top: 1px solid #ddd;
font-weight: bold;
}
.character-infobox td {
padding: 6px;
border-top: 1px solid #ddd;
}
.character-infobox tr:first-of-type th,
.character-infobox tr:first-of-type td {
border-top: none;
}
.character-infobox tr:hover th,
.character-infobox tr:hover td {
background: rgba(0,0,0,0.03);
}
/* Mobile support */
@media (max-width: 700px) {
.character-infobox {
float: none;
width: 100%;
margin: 1em 0;
}
}
.character-infobox tr:last-child td:last-child {
border-radius: 0 0 6px 0;
}
.character-infobox tr:last-child th:first-child {
border-radius: 0 0 0 6px;
}