MediaWiki:Common.css: Difference between revisions
Appearance
Lee Miller (talk | contribs) No edit summary |
Lee Miller (talk | contribs) No edit summary |
||
| (4 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 */ | ||
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;700&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;700&display=swap'); | ||
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css'); | @import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css'); | ||
html { font-size: 18px; } | html { font-size: 18px!important; } | ||
body { | body { | ||
| Line 82: | Line 81: | ||
width: auto; | width: auto; | ||
} | } | ||
.fw-bold { font-weight: 700; } | |||
.text-danger { color: #a6192e; } | |||
.text-success { color: #00FF00; } | |||
Latest revision as of 03:44, 15 October 2025
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');
html { font-size: 18px!important; }
body {
font-family: "Comfortaa", cursive;
line-height: 1.6;
color: #111;
margin: 0;
}
/* Headings (classic fixed sizes) */
h1 {
font-family: "Comfortaa", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
font-size: 32px; /* ~2x body */
line-height: 1.2;
margin: 0 0 12px;
font-weight: 700;
}
h2 {
font-family: "Comfortaa", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
font-size: 28px;
line-height: 1.25;
margin: 24px 0 8px;
font-weight: 700;
}
h3 {
font-family: "Comfortaa", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
font-size: 24px;
line-height: 1.3;
margin: 20px 0 6px;
font-weight: 700;
}
h4 {
font-family: "Comfortaa", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
font-size: 20px;
line-height: 1.35;
margin: 16px 0 6px;
font-weight: 700;
}
h5 {
font-family: "Comfortaa", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
font-size: 18px;
line-height: 1.4;
margin: 14px 0 4px;
font-weight: 700;
}
h6 {
font-family: "Comfortaa", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
font-size: 16px; /* same as body */
line-height: 1.45;
margin: 12px 0 4px;
font-weight: 700;
}
code, pre {
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
font-size: 14px;
line-height: 1.5;
}
p { margin: 0 0 0.9em 0;}
.mw-logo-icon img,
.mw-logo-icon svg {
width: 250px;
height: 120px;
object-fit: contain;
}
.mw-logo-wordmark,
.mw-logo-tagline {
display: none !important;
}
.skin-vector-2022 .mw-logo-wordmark img {
height: 32px; /* adjust to taste */
width: auto;
}
.fw-bold { font-weight: 700; }
.text-danger { color: #a6192e; }
.text-success { color: #00FF00; }