PC Gaming Shelter
An archive dedicated to preserving PC Gaming history and more

MediaWiki:Common.css: Difference between revisions

From PC Gaming Shelter
No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* =========================================
/* =========================================
   1. TABLE & CORE WIKI FIXES
   1. CORE UI & WHITE HEADER REMOVAL
   ========================================= */
   ========================================= */
.fullwidth { width: 100% !important; }
/* Kill the white background on all potential header containers */
.nowrap { white-space: nowrap; }
body.page-Main_Page,
body.page-Main_Page #content,
body.page-Main_Page #mw-page-base,
body.page-Main_Page #mw-head-base,
body.page-Main_Page .mw-page-container,
body.page-Main_Page .mw-header,
body.page-Main_Page .vector-header-container {
    background-color: #042037 !important;
    background-image: none !important;
    border: none !important;
}


table.wikitable th a,
/* Hide all top navigation and sidebar elements */
table.wikitable th.headerSort a {
body.page-Main_Page #mw-panel,
    pointer-events: none !important;
body.page-Main_Page #p-logo,
    cursor: pointer !important;
body.page-Main_Page #left-navigation,
    color: black !important;
body.page-Main_Page #right-navigation,
     text-decoration: none !important;
body.page-Main_Page #p-personal,
body.page-Main_Page #firstHeading,
body.page-Main_Page #siteNotice {
     display: none !important;
}
}


/* Hide columns helpers */
/* Collapse top padding */
.hide-Genre .col-genre,
body.page-Main_Page #content {
.hide-Platform .col-platform,
    margin-left: 0 !important;
.hide-Mode .col-mode,
    padding-top: 0 !important;
.hide-Players .col-players {
    display: none !important;
}
}


/* =========================================
/* =========================================
   2. PAGE FORMS: "ONE BOX" & GRID STYLES
   2. HERO BANNER & LOGO TRANSPARENCY
   ========================================= */
   ========================================= */
.one-box-container {
.pcs-hero {
     border: 1px solid #ccc !important;
     display: flex;
     background: #f9f9f9;
     align-items: center;
    padding: 15px;
     justify-content: flex-start;
    border-radius: 4px;
     margin-top: 5px;
}
.one-box-container br { display: none !important; }
.one-box-container > span {
    display: flex !important;
    flex-wrap: wrap !important;
     gap: 20px;
     gap: 20px;
     align-items: center;
     margin-bottom: 40px;
    width: 100%;
}
}
.one-box-container .checkboxLabel {
 
    display: flex !important;
/* Targeted kill for the white box behind the gear */
    align-items: center !important;
.pcs-hero-logo,
    width: auto !important;
.pcs-hero-logo *,
    margin: 0 !important;
.pcs-hero-logo a.image,
    padding: 0 !important;
.pcs-hero-logo img {
     background: transparent !important;
     background: transparent !important;
    background-color: transparent !important;
     border: none !important;
     border: none !important;
}
     box-shadow: none !important;
 
/* Game Form Grid */
.checkbox-grid > span {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
    gap: 8px !important;
     width: 100%;
}
.checkbox-grid .checkboxLabel {
    display: flex !important;
    align-items: center;
    background: #f9f9f9;
    border: 1px solid #ccc;
    padding: 6px 10px;
    border-radius: 4px;
    height: 25px;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
}
}


/* =========================================
/* =========================================
   3. PC GAMING SHELTER - LAYOUT ENGINE
   3. LANDING PAGE GRID SYSTEM
   ========================================= */
   ========================================= */
.pcs-wrapper {
.pcs-wrapper {
Line 79: Line 62:
     font-family: sans-serif;
     font-family: sans-serif;
     color: #ffffff;
     color: #ffffff;
    border-radius: 8px;
     max-width: 1200px;
     max-width: 1200px;
     margin: 0 auto;
     margin: 0 auto;
    position: relative;
}
}


Line 97: Line 78:
     border-radius: 8px;
     border-radius: 8px;
     padding: 20px;
     padding: 20px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
     box-sizing: border-box;
     box-sizing: border-box;
}
}


/* Column Sizes */
.pcs-col-70 { flex: 0 0 calc(70% - 10px); max-width: calc(70% - 10px); }
.pcs-col-70 { flex: 0 0 calc(70% - 10px); max-width: calc(70% - 10px); }
.pcs-col-30 { flex: 0 0 calc(30% - 10px); max-width: calc(30% - 10px); }
.pcs-col-30 { flex: 0 0 calc(30% - 10px); max-width: calc(30% - 10px); }
.pcs-col-100 { flex: 0 0 100%; max-width: 100%; }
.pcs-col-100 { flex: 0 0 100%; max-width: 100%; }


/* Typography & Links */
.pcs-title {
.pcs-title {
     font-size: 1.4em;
     font-size: 1.4em;
Line 115: Line 93:
     margin-bottom: 15px;
     margin-bottom: 15px;
}
}
.pcs-box a { color: #ffffff; font-weight: bold; text-decoration: none; }
.pcs-box a:hover { color: #ff9900; text-decoration: underline; }


/* =========================================
/* =========================================
   4. MAIN PAGE OVERRIDES (CLEAN SLATE)
   4. FORM & WIKITABLE STYLING
   ========================================= */
   ========================================= */
body.page-Main_Page,
body.page-Main_Page #content,
body.page-Main_Page .mw-page-container {
    background-color: #042037 !important;
}
/* Hide Navigation & UI */
body.page-Main_Page #mw-panel,
body.page-Main_Page #p-logo,
body.page-Main_Page #left-navigation,
body.page-Main_Page #right-navigation,
body.page-Main_Page #p-personal,
body.page-Main_Page .mw-header,
body.page-Main_Page #firstHeading,
body.page-Main_Page #siteNotice {
    display: none !important;
}
/* Kill Margins/Padding for Flush Header */
body.page-Main_Page #content {
    margin-left: 0 !important;
    padding-top: 0 !important;
    border: none !important;
}
/* =========================================
  5. LOGO & HERO BANNER (FIXED)
  ========================================= */
.pcs-hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}
/* Remove White Box from Logo */
.pcs-hero-logo,
.pcs-hero-logo *,
.pcs-hero-logo a.image,
.pcs-hero-logo img {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.pcs-hero-text h1 {
    color: #ffffff;
    font-size: 2.8em;
    font-weight: bold;
    margin: 0;
    border: none;
    text-transform: uppercase;
}
/* =========================================
  6. SEARCH & TABLES (DARK THEME)
  ========================================= */
.pcs-search-container { text-align: center; margin-bottom: 35px; }
/* Wikitable Overrides */
.pcs-wrapper table.wikitable {
.pcs-wrapper table.wikitable {
     background-color: transparent !important;
     background-color: transparent !important;

Revision as of 18:01, 19 February 2026

/* =========================================
   1. CORE UI & WHITE HEADER REMOVAL
   ========================================= */
/* Kill the white background on all potential header containers */
body.page-Main_Page,
body.page-Main_Page #content,
body.page-Main_Page #mw-page-base,
body.page-Main_Page #mw-head-base,
body.page-Main_Page .mw-page-container,
body.page-Main_Page .mw-header,
body.page-Main_Page .vector-header-container {
    background-color: #042037 !important;
    background-image: none !important;
    border: none !important;
}

/* Hide all top navigation and sidebar elements */
body.page-Main_Page #mw-panel,
body.page-Main_Page #p-logo,
body.page-Main_Page #left-navigation,
body.page-Main_Page #right-navigation,
body.page-Main_Page #p-personal,
body.page-Main_Page #firstHeading,
body.page-Main_Page #siteNotice {
    display: none !important;
}

/* Collapse top padding */
body.page-Main_Page #content {
    margin-left: 0 !important;
    padding-top: 0 !important;
}

/* =========================================
   2. HERO BANNER & LOGO TRANSPARENCY
   ========================================= */
.pcs-hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

/* Targeted kill for the white box behind the gear */
.pcs-hero-logo, 
.pcs-hero-logo *, 
.pcs-hero-logo a.image, 
.pcs-hero-logo img {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* =========================================
   3. LANDING PAGE GRID SYSTEM
   ========================================= */
.pcs-wrapper {
    background-color: #042037 !important;
    padding: 30px;
    font-family: sans-serif;
    color: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
}

.pcs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.pcs-box {
    background-color: #0d5287;
    border: 2px solid #011120;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
}

.pcs-col-70 { flex: 0 0 calc(70% - 10px); max-width: calc(70% - 10px); }
.pcs-col-30 { flex: 0 0 calc(30% - 10px); max-width: calc(30% - 10px); }
.pcs-col-100 { flex: 0 0 100%; max-width: 100%; }

.pcs-title {
    font-size: 1.4em;
    font-weight: bold;
    text-align: center;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

/* =========================================
   4. FORM & WIKITABLE STYLING
   ========================================= */
.pcs-wrapper table.wikitable {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid #011120 !important;
}
.pcs-wrapper table.wikitable th {
    background-color: #011120 !important;
    color: #ff9900 !important;
}