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.
.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 10px 10px;
overflow: hidden;
background: #ffffff;
box-shadow: 0 3px 8px rgba(0,0,0,0.18);
font-size: 90%;
}
/* Title/Header */
.character-infobox-title {
background: var(--infobox-color);
color: var(--infobox-text);
text-align: center;
font-size: 130%;
font-weight: bold;
padding: 10px;
border-radius: 0;
}
/* Image Area */
.character-infobox-image {
text-align: center;
padding: 12px;
background: #f7f7f7;
}
/* Labels */
.character-infobox th {
width: 35%;
text-align: left;
vertical-align: top;
padding: 7px;
background: #eeeeee;
border-top: 1px solid #d5d5d5;
font-weight: bold;
}
/* Values */
.character-infobox td {
padding: 7px;
border-top: 1px solid #d5d5d5;
background: #ffffff;
}
/* Remove first row borders */
.character-infobox tr:first-of-type th,
.character-infobox tr:first-of-type td {
border-top: none;
}
/* Hover effect */
.character-infobox tr:hover th,
.character-infobox tr:hover td {
background: rgba(0,0,0,0.04);
}
/* Bottom rounded corners */
.character-infobox tr:last-child th {
border-radius: 0 0 0 8px;
}
.character-infobox tr:last-child td {
border-radius: 0 0 8px 0;
}
/* Image rounding */
.character-infobox-image img {
max-width: 100%;
height: auto;
}
/* Links inside infobox */
.character-infobox a {
color: inherit;
}
/* Mobile support */
@media screen and (max-width: 700px) {
.character-infobox {
float: none;
width: 100%;
margin: 1em 0;
}
}
.wiki-welcome {
display: flex;
gap: 25px;
padding: 25px;
margin: 20px auto;
max-width: 1200px;
background: #f8f9fa;
border: 1px solid #c8ccd1;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
font-family: sans-serif;
}
/* Columns */
.wiki-welcome-left,
.wiki-welcome-right {
flex: 1;
min-width: 220px;
}
.wiki-welcome-center {
flex: 1.2;
text-align: center;
padding: 10px;
}
/* ===========================
Titles
=========================== */
.wiki-welcome h2 {
margin-top: 0;
padding-bottom: 8px;
border-bottom: 2px solid #54595d;
font-size: 1.4em;
color: #202122;
}
.wiki-welcome h3 {
margin-top: 25px;
font-size: 1.15em;
color: #54595d;
}
/* ===========================
Lists
=========================== */
.wiki-welcome ul {
list-style: none;
padding-left: 0;
}
.wiki-welcome li {
margin: 8px 0;
padding: 6px 10px;
background: white;
border-radius: 6px;
border: 1px solid #eaecf0;
transition: 0.2s ease;
}
.wiki-welcome li:hover {
background: #eaecf0;
transform: translateX(3px);
}
.wiki-welcome li ul {
margin-top: 8px;
margin-left: 15px;
}
.wiki-welcome li ul li {
background: #f8f9fa;
}
/* ===========================
Center Welcome Section
=========================== */
.wiki-welcome-title {
font-size: 2em;
font-weight: bold;
line-height: 1.2;
color: #202122;
margin-bottom: 20px;
}
.wiki-welcome-title span {
font-size: 1.3em;
color: #3366cc;
}
.wiki-welcome-logo img {
max-width: 250px;
height: auto;
margin: 15px auto;
display: block;
}
.wiki-welcome-description {
margin-top: 20px;
padding: 15px;
background: white;
border-radius: 8px;
border: 1px solid #eaecf0;
font-size: 1.05em;
line-height: 1.5;
}
/* Links */
.wiki-welcome a {
color: #3366cc;
text-decoration: none;
}
.wiki-welcome a:hover {
text-decoration: underline;
}
/* Statistics */
.wiki-welcome-left b {
color: #202122;
}
@media screen and (max-width: 900px) {
.wiki-welcome {
flex-direction: column;
}
.wiki-welcome-center {
order: -1;
}
}