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
Tag: Manual revert
No edit summary
Line 1: Line 1:
/* =========================================
/* =========================================
   1. CORE UI & WHITE HEADER REMOVAL
   1. GLOBAL PAGE & HEADER OVERRIDE
   ========================================= */
   ========================================= */
body.page-Main_Page,
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-color: #042037 !important;
    background-image: none !important;
    border: none !important;
}
}


body.page-Main_Page #mw-panel,
/* Ensure the wrapper matches the deep navy background */
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;
}
 
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: 30px;
}
 
.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 LAYOUT SYSTEM
  ========================================= */
.pcs-wrapper {
.pcs-wrapper {
     background-color: #042037 !important;
     background-color: #042037 !important;
     padding: 30px;
     padding: 20px;
    font-family: sans-serif;
    color: #ffffff;
     max-width: 1200px;
     max-width: 1200px;
     margin: 0 auto;
     margin: 0 auto;
    color: #ffffff;
}
}


/* Main Two-Column Split */
/* =========================================
.pcs-main-layout {
  2. TACTICAL BOXES (The "Original" Style)
    display: flex;
  ========================================= */
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}
 
.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); }
 
/* Standard Box */
.pcs-box {
.pcs-box {
     background-color: #0d5287;
     background: linear-gradient(180deg, #0d5287 0%, #063152 100%);
     border: 2px solid #011120;
     border: 2px solid #011120;
     border-radius: 8px;
     border-radius: 4px; /* Sharper corners for tactical look */
     padding: 20px;
     padding: 15px;
    box-sizing: border-box;
     margin-bottom: 20px;
     margin-bottom: 20px;
     width: 100%;
     box-shadow: inset 0 0 10px rgba(0,0,0,0.5), 0 4px 8px rgba(0,0,0,0.4);
}
}


.pcs-title {
.pcs-title {
     font-size: 1.4em;
    font-family: 'Segoe UI', Tahoma, sans-serif;
     font-weight: bold;
     font-size: 1.6em;
     font-weight: 800;
    text-transform: uppercase;
     text-align: center;
     text-align: center;
     border-bottom: 2px solid #ffffff;
     border-bottom: 2px solid #ffffff;
     padding-bottom: 5px;
     padding-bottom: 8px;
     margin-bottom: 15px;
     margin-bottom: 20px;
     color: #ffffff;
     letter-spacing: 1px;
}
}


/* =========================================
/* =========================================
   4. TACTICAL GRIDS & LISTS (NEW)
   3. THE GRID SYSTEM (Genres & Communities)
   ========================================= */
   ========================================= */
/* 2x3 Grid Container for Genres/Communities */
.pcs-grid {
.pcs-grid {
     display: flex;
     display: grid;
     flex-wrap: wrap;
     grid-template-columns: repeat(3, 1fr);
     gap: 15px;
     gap: 12px;
    justify-content: space-between;
}
}


/* Individual Grid Tile */
/* Individual Tile Styling */
.pcs-tile {
.pcs-tile {
    flex: 0 0 calc(33.333% - 10px);
     background: rgba(0, 0, 0, 0.45); /* Darker overlay for better icon contrast */
     background: rgba(0, 0, 0, 0.2);
     border: 1px solid #011120;
     border: 1px solid #011120;
     border-radius: 6px;
     border-radius: 4px;
    padding: 15px 5px;
     text-align: center;
     text-align: center;
     padding: 10px;
     transition: all 0.3s ease;
    box-sizing: border-box;
     cursor: pointer;
     transition: background 0.2s, border-color 0.2s;
}
}


.pcs-tile:hover {
.pcs-tile:hover {
     background: rgba(0, 0, 0, 0.4);
     background: rgba(0, 0, 0, 0.7);
     border-color: #ff9900;
     border-color: #ff9900; /* Amber tactical highlight */
    transform: translateY(-2px);
}
}


.pcs-tile-title {
.pcs-tile-title {
    color: #ffffff !important;
    text-transform: uppercase;
    font-size: 0.9em;
     font-weight: bold;
     font-weight: bold;
    color: #fff;
     margin-top: 10px;
     margin-top: 8px;
     letter-spacing: 0.5px;
     font-size: 1em;
}
}


/* Sidebar List Styling */
/* =========================================
  4. SIDEBAR & STATS REFINEMENT
  ========================================= */
.pcs-list-item {
.pcs-list-item {
     padding: 8px 0;
     background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
     margin-bottom: 4px;
     font-size: 0.95em;
     padding: 10px;
     display: flex;
     border-left: 3px solid #ff9900; /* Tactical orange accent */
     align-items: center;
     font-size: 0.9em;
     gap: 10px;
}
.pcs-list-item:last-child {
    border-bottom: none;
}
}


/* --- TEXT & LINK VISIBILITY FIX --- */
/* Highlight for Statistics Numbers */
.pcs-box a {
.pcs-stat-val {
     color: #ffffff !important;
     color: #ff9900;
     font-weight: bold !important;
     font-weight: bold;
    text-decoration: none;
}
}


.pcs-box a:hover {
/* =========================================
     color: #ff9900 !important;
  5. MOBILE & STEAM DECK OPTIMIZATION
  ========================================= */
@media screen and (max-width: 768px) {
    .pcs-main-layout { flex-direction: column; }
    .pcs-col-70, .pcs-col-30 { flex: 0 0 100%; max-width: 100%; }
     .pcs-grid { grid-template-columns: repeat(2, 1fr); } /* 2 columns on handheld */
}
}
.pcs-box span { color: #ffffff !important; }

Revision as of 22:17, 10 March 2026

/* =========================================
   1. GLOBAL PAGE & HEADER OVERRIDE
   ========================================= */
body.page-Main_Page {
    background-color: #042037 !important;
}

/* Ensure the wrapper matches the deep navy background */
.pcs-wrapper {
    background-color: #042037 !important;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    color: #ffffff;
}

/* =========================================
   2. TACTICAL BOXES (The "Original" Style)
   ========================================= */
.pcs-box {
    background: linear-gradient(180deg, #0d5287 0%, #063152 100%);
    border: 2px solid #011120;
    border-radius: 4px; /* Sharper corners for tactical look */
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5), 0 4px 8px rgba(0,0,0,0.4);
}

.pcs-title {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-size: 1.6em;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 8px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* =========================================
   3. THE GRID SYSTEM (Genres & Communities)
   ========================================= */
.pcs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* Individual Tile Styling */
.pcs-tile {
    background: rgba(0, 0, 0, 0.45); /* Darker overlay for better icon contrast */
    border: 1px solid #011120;
    border-radius: 4px;
    padding: 15px 5px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pcs-tile:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: #ff9900; /* Amber tactical highlight */
    transform: translateY(-2px);
}

.pcs-tile-title {
    color: #ffffff !important;
    text-transform: uppercase;
    font-size: 0.9em;
    font-weight: bold;
    margin-top: 10px;
    letter-spacing: 0.5px;
}

/* =========================================
   4. SIDEBAR & STATS REFINEMENT
   ========================================= */
.pcs-list-item {
    background: rgba(0, 0, 0, 0.2);
    margin-bottom: 4px;
    padding: 10px;
    border-left: 3px solid #ff9900; /* Tactical orange accent */
    font-size: 0.9em;
}

/* Highlight for Statistics Numbers */
.pcs-stat-val {
    color: #ff9900;
    font-weight: bold;
}

/* =========================================
   5. MOBILE & STEAM DECK OPTIMIZATION
   ========================================= */
@media screen and (max-width: 768px) {
    .pcs-main-layout { flex-direction: column; }
    .pcs-col-70, .pcs-col-30 { flex: 0 0 100%; max-width: 100%; }
    .pcs-grid { grid-template-columns: repeat(2, 1fr); } /* 2 columns on handheld */
}