Jump to content

MediaWiki:Common.css: Difference between revisions

From LumiWiki
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:
/* CSS placed here will be applied to all skins */


/*
* 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.
*/


/* LumiWiki dark theme */
/* ==========================================
  1. GLOBAL TYPOGRAPHY
  ========================================== */


/* Overall background */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
body {
 
     background-color: #252a33;
.mw-parser-output {
     color: #e5e7eb;
    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;
}
}


/* Main article content */
/* Article titles and section headings */
.mw-page-container,
.skin-vector-2022 .mw-first-heading,
#content,
.skin-vector-2022 .mw-parser-output h2,
.mw-body {
.skin-vector-2022 .mw-parser-output h3,
     background-color: #303846;
.skin-vector-2022 .mw-parser-output h4 {
     color: #e5e7eb;
     font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
     font-weight: 600;
    letter-spacing: -0.025em;
}
}


/* Article headings */
/* Main page title */
.mw-body h1,
.skin-vector-2022 .mw-first-heading {
.mw-body h2,
    font-weight: 700;
.mw-body h3,
     letter-spacing: -0.035em;
.mw-body h4 {
     color: #f5f5f5;
}
}


/* Article links */
/* Navigation */
.mw-parser-output a:not(.new) {
.skin-vector-2022 .vector-main-menu,
     color: #69c9ed;
.skin-vector-2022 .vector-toc {
     font-size: 0.9rem;
}
}


/* Borders */
/* Preserve monospace for commands and logs */
.mw-body,
.skin-vector-2022 code,
.mw-body h1,
.skin-vector-2022 pre,
.mw-body h2 {
.skin-vector-2022 .mw-highlight {
     border-color: #46515f;
     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;
}