MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 14: | Line 14: | ||
1. GLOBAL TYPOGRAPHY | 1. GLOBAL TYPOGRAPHY | ||
========================================== */ | ========================================== */ | ||
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap'); | |||
.mw-parser-output { | .mw-parser-output { | ||
| Line 95: | Line 97: | ||
padding: 8px; | padding: 8px; | ||
} | } | ||
} | |||
/* ========================================== | |||
LumiWiki - Modern Typography | |||
Vector 2022 | |||
========================================== */ | |||
.skin-vector-2022, | |||
.skin-vector-2022 .mw-body, | |||
.skin-vector-2022 .mw-parser-output, | |||
.skin-vector-2022 .vector-header, | |||
.skin-vector-2022 .vector-main-menu, | |||
.skin-vector-2022 .vector-toc { | |||
font-family: 'Inter', 'Segoe UI', Arial, sans-serif; | |||
} | |||
/* Article titles and section headings */ | |||
.skin-vector-2022 .mw-first-heading, | |||
.skin-vector-2022 .mw-parser-output h2, | |||
.skin-vector-2022 .mw-parser-output h3, | |||
.skin-vector-2022 .mw-parser-output h4 { | |||
font-family: 'Inter', 'Segoe UI', Arial, sans-serif; | |||
font-weight: 600; | |||
letter-spacing: -0.025em; | |||
} | |||
/* Main page title */ | |||
.skin-vector-2022 .mw-first-heading { | |||
font-weight: 700; | |||
letter-spacing: -0.035em; | |||
} | |||
/* Navigation */ | |||
.skin-vector-2022 .vector-main-menu, | |||
.skin-vector-2022 .vector-toc { | |||
font-size: 0.9rem; | |||
} | |||
/* Preserve monospace for commands and logs */ | |||
.skin-vector-2022 code, | |||
.skin-vector-2022 pre, | |||
.skin-vector-2022 .mw-highlight { | |||
font-family: 'Cascadia Code', Consolas, monospace; | |||
} | } | ||
Latest revision as of 22:38, 13 November 2026
/*
* LumiWiki - Global Stylesheet
* MediaWiki 1.46 / Vector 2022
*
* Site-wide enhancements that respect the
* user's selected light or dark appearance.
*
* Component-specific styles are maintained
* separately through TemplateStyles.
*/
/* ==========================================
1. GLOBAL TYPOGRAPHY
========================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
.mw-parser-output {
line-height: 1.65;
}
.mw-parser-output p {
margin-bottom: 1em;
}
.mw-parser-output h2 {
margin-top: 1.6em;
}
.mw-parser-output h3 {
margin-top: 1.3em;
}
/* ==========================================
2. LINKS
========================================== */
/* Use native MediaWiki theme colors.
Do not override global link colors here. */
.mw-parser-output a {
text-underline-offset: 2px;
}
/* ==========================================
3. IMAGES
========================================== */
.mw-parser-output img {
max-width: 100%;
}
/* ==========================================
4. TABLES
========================================== */
.mw-parser-output .wikitable {
border-collapse: collapse;
margin: 1em 0;
}
.mw-parser-output .wikitable th,
.mw-parser-output .wikitable td {
padding: 10px 14px;
}
/* ==========================================
5. DOCUMENTATION LISTS
========================================== */
.mw-parser-output ul,
.mw-parser-output ol {
line-height: 1.7;
}
.mw-parser-output li {
margin-bottom: 0.3em;
}
/* ==========================================
6. RESPONSIVE CONTENT
========================================== */
@media screen and (max-width: 600px) {
.mw-parser-output {
line-height: 1.55;
}
.mw-parser-output .wikitable {
font-size: 0.9em;
}
.mw-parser-output .wikitable th,
.mw-parser-output .wikitable td {
padding: 8px;
}
}
/* ==========================================
LumiWiki - Modern Typography
Vector 2022
========================================== */
.skin-vector-2022,
.skin-vector-2022 .mw-body,
.skin-vector-2022 .mw-parser-output,
.skin-vector-2022 .vector-header,
.skin-vector-2022 .vector-main-menu,
.skin-vector-2022 .vector-toc {
font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}
/* Article titles and section headings */
.skin-vector-2022 .mw-first-heading,
.skin-vector-2022 .mw-parser-output h2,
.skin-vector-2022 .mw-parser-output h3,
.skin-vector-2022 .mw-parser-output h4 {
font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
font-weight: 600;
letter-spacing: -0.025em;
}
/* Main page title */
.skin-vector-2022 .mw-first-heading {
font-weight: 700;
letter-spacing: -0.035em;
}
/* Navigation */
.skin-vector-2022 .vector-main-menu,
.skin-vector-2022 .vector-toc {
font-size: 0.9rem;
}
/* Preserve monospace for commands and logs */
.skin-vector-2022 code,
.skin-vector-2022 pre,
.skin-vector-2022 .mw-highlight {
font-family: 'Cascadia Code', Consolas, monospace;
}