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
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 */
.mw-parser-output {
body {
     line-height: 1.65;
     background-color: #252a33;
    color: #e5e7eb;
}
}


/* Main article content */
.mw-parser-output p {
.mw-page-container,
     margin-bottom: 1em;
#content,
.mw-body {
     background-color: #303846;
    color: #e5e7eb;
}
}


/* Article headings */
.mw-parser-output h2 {
.mw-body h1,
     margin-top: 1.6em;
.mw-body h2,
.mw-body h3,
.mw-body h4 {
     color: #f5f5f5;
}
}


/* Article links */
.mw-parser-output h3 {
.mw-parser-output a:not(.new) {
     margin-top: 1.3em;
     color: #69c9ed;
}
}


/* Borders */
/* ==========================================
.mw-body,
  2. LINKS
.mw-body h1,
  ========================================== */
.mw-body h2 {
 
     border-color: #46515f;
/* 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;
    }
}
}

Revision as of 22:31, 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
   ========================================== */

.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;
    }
}