MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 101: | Line 101: | ||
} | } | ||
/* Main container */ | |||
.wiki-welcome { | .wiki-welcome { | ||
display: flex; | display: flex; | ||
gap: | justify-content: space-between; | ||
padding: | align-items: flex-start; | ||
margin: | gap: 50px; | ||
max-width: | |||
background: # | padding: 35px 40px; | ||
margin: 10px auto; | |||
max-width: 1150px; | |||
background: #ffffff; | |||
border: 1px solid #c8ccd1; | border: 1px solid #c8ccd1; | ||
border-radius: | border-radius: 18px; | ||
font-family: | font-family: Georgia, "Times New Roman", serif; | ||
} | } | ||
/* | /* Column sizes */ | ||
.wiki-welcome-left, | .wiki-welcome-left, | ||
.wiki-welcome-right { | .wiki-welcome-right { | ||
width: 28%; | |||
font-family: Arial, sans-serif; | |||
} | } | ||
.wiki-welcome-center { | .wiki-welcome-center { | ||
width: 40%; | |||
text-align: center; | text-align: center; | ||
} | } | ||
/* | /* Headings */ | ||
.wiki-welcome h2 { | .wiki-welcome h2 { | ||
font-size: 28px; | |||
font-weight: bold; | |||
border-bottom: | |||
margin: 10px 0 15px; | |||
color: # | |||
border-bottom: 3px solid #b8d4d4; | |||
padding-bottom: 10px; | |||
color: #111; | |||
} | } | ||
.wiki-welcome h3 { | .wiki-welcome h3 { | ||
font-size: 18px; | |||
margin-top: 22px; | |||
margin-bottom: 8px; | |||
} | } | ||
/* | /* Lists */ | ||
.wiki-welcome ul { | .wiki-welcome ul { | ||
margin: 8px 0 15px; | |||
padding-left: | padding-left: 30px; | ||
} | } | ||
.wiki-welcome li { | .wiki-welcome li { | ||
margin: 8px 0; | margin: 8px 0; | ||
font-size: 17px; | |||
line-height: 1.35; | |||
} | } | ||
.wiki-welcome li | .wiki-welcome li ul { | ||
margin-top: 5px; | |||
} | } | ||
.wiki-welcome | |||
/* Links */ | |||
.wiki-welcome a { | |||
color: #0645ad; | |||
font-weight: bold; | |||
text-decoration: none; | |||
} | } | ||
.wiki-welcome | .wiki-welcome a:hover { | ||
text-decoration: underline; | |||
} | } | ||
/* | /* Title */ | ||
.wiki-welcome-title { | .wiki-welcome-title { | ||
font-size: | font-size: 30px; | ||
line-height: 1.25; | |||
line-height: 1. | |||
margin-bottom: 15px; | |||
color: #111; | |||
} | } | ||
.wiki-welcome-title span { | .wiki-welcome-title span { | ||
font-size: | display: inline-block; | ||
font-size: 38px; | |||
font-weight: bold; | |||
margin-top: 8px; | |||
} | } | ||
/* Logo */ | |||
.wiki-welcome-logo img { | .wiki-welcome-logo img { | ||
width: 250px; | |||
max-width: 100%; | |||
margin: 15px | |||
margin: 10px auto 15px; | |||
display: block; | display: block; | ||
} | } | ||
/* Description */ | |||
.wiki-welcome-description { | .wiki-welcome-description { | ||
font-size: 20px; | |||
font-size: | |||
line-height: 1.35; | |||
margin-top: 10px; | |||
color: #333; | |||
} | } | ||
| Line 235: | Line 238: | ||
.wiki-welcome-left b { | .wiki-welcome-left b { | ||
font-weight: bold; | |||
} | } | ||
/* Mobile layout */ | |||
@media | @media(max-width:900px) { | ||
.wiki-welcome { | .wiki-welcome { | ||
flex-direction: column; | flex-direction: column; | ||
gap: 20px; | |||
} | |||
.wiki-welcome-left, | |||
.wiki-welcome-center, | |||
.wiki-welcome-right { | |||
width: 100%; | |||
} | } | ||
Revision as of 10:41, 21 July 2026
.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;
}
}
/* Main container */
.wiki-welcome {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 50px;
padding: 35px 40px;
margin: 10px auto;
max-width: 1150px;
background: #ffffff;
border: 1px solid #c8ccd1;
border-radius: 18px;
font-family: Georgia, "Times New Roman", serif;
}
/* Column sizes */
.wiki-welcome-left,
.wiki-welcome-right {
width: 28%;
font-family: Arial, sans-serif;
}
.wiki-welcome-center {
width: 40%;
text-align: center;
}
/* Headings */
.wiki-welcome h2 {
font-size: 28px;
font-weight: bold;
margin: 10px 0 15px;
border-bottom: 3px solid #b8d4d4;
padding-bottom: 10px;
color: #111;
}
.wiki-welcome h3 {
font-size: 18px;
margin-top: 22px;
margin-bottom: 8px;
}
/* Lists */
.wiki-welcome ul {
margin: 8px 0 15px;
padding-left: 30px;
}
.wiki-welcome li {
margin: 8px 0;
font-size: 17px;
line-height: 1.35;
}
.wiki-welcome li ul {
margin-top: 5px;
}
/* Links */
.wiki-welcome a {
color: #0645ad;
font-weight: bold;
text-decoration: none;
}
.wiki-welcome a:hover {
text-decoration: underline;
}
/* Title */
.wiki-welcome-title {
font-size: 30px;
line-height: 1.25;
margin-bottom: 15px;
color: #111;
}
.wiki-welcome-title span {
display: inline-block;
font-size: 38px;
font-weight: bold;
margin-top: 8px;
}
/* Logo */
.wiki-welcome-logo img {
width: 250px;
max-width: 100%;
margin: 10px auto 15px;
display: block;
}
/* Description */
.wiki-welcome-description {
font-size: 20px;
line-height: 1.35;
margin-top: 10px;
color: #333;
}
/* Statistics */
.wiki-welcome-left b {
font-weight: bold;
}
/* Mobile layout */
@media(max-width:900px) {
.wiki-welcome {
flex-direction: column;
gap: 20px;
}
.wiki-welcome-left,
.wiki-welcome-center,
.wiki-welcome-right {
width: 100%;
}
.wiki-welcome-center {
order: -1;
}
}