MediaWiki:Common.css: Difference between revisions
Appearance
Created page with "→CSS placed here will be applied to all skins: →LumiWiki dark theme: →Overall background: body { background-color: #252a33; color: #e5e7eb; } →Main article content: .mw-page-container, #content, .mw-body { background-color: #303846; color: #e5e7eb; } →Article headings: .mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4 { color: #f5f5f5; } →Article links: .mw-parser-output a:not(.new) { color: #69c9ed; } →Borders: ..." |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* | |||
* 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 */ | ||
.mw- | .skin-vector-2022 .mw-first-heading, | ||
.skin-vector-2022 .mw-parser-output h2, | |||
.mw- | .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 { | ||
.mw- | 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, | ||
.mw- | .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;
}