MediaWiki:Common.css: Difference between revisions
From PC Gaming Shelter
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
1. CORE UI & WHITE HEADER REMOVAL | 1. CORE UI & WHITE HEADER REMOVAL | ||
========================================= */ | ========================================= */ | ||
body.page-Main_Page, | body.page-Main_Page, | ||
body.page-Main_Page #content, | body.page-Main_Page #content, | ||
| Line 15: | Line 14: | ||
} | } | ||
body.page-Main_Page #mw-panel, | body.page-Main_Page #mw-panel, | ||
body.page-Main_Page #p-logo, | body.page-Main_Page #p-logo, | ||
| Line 26: | Line 24: | ||
} | } | ||
body.page-Main_Page #content { | body.page-Main_Page #content { | ||
margin-left: 0 !important; | margin-left: 0 !important; | ||
| Line 40: | Line 37: | ||
justify-content: flex-start; | justify-content: flex-start; | ||
gap: 20px; | gap: 20px; | ||
margin-bottom: | margin-bottom: 30px; | ||
} | } | ||
.pcs-hero-logo, | .pcs-hero-logo, | ||
.pcs-hero-logo *, | .pcs-hero-logo *, | ||
| Line 55: | Line 51: | ||
/* ========================================= | /* ========================================= | ||
3. LANDING PAGE | 3. LANDING PAGE LAYOUT SYSTEM | ||
========================================= */ | ========================================= */ | ||
.pcs-wrapper { | .pcs-wrapper { | ||
| Line 66: | Line 62: | ||
} | } | ||
.pcs- | /* Main Two-Column Split */ | ||
.pcs-main-layout { | |||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: 20px; | 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-color: #0d5287; | ||
| Line 79: | Line 80: | ||
padding: 20px; | padding: 20px; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
margin-bottom: 20px; | |||
width: 100%; | |||
} | } | ||
.pcs-title { | .pcs-title { | ||
| Line 109: | Line 91: | ||
padding-bottom: 5px; | padding-bottom: 5px; | ||
margin-bottom: 15px; | margin-bottom: 15px; | ||
color: #ffffff; | |||
} | } | ||
/* ========================================= | /* ========================================= | ||
4. | 4. TACTICAL GRIDS & LISTS (NEW) | ||
========================================= */ | ========================================= */ | ||
.pcs- | /* 2x3 Grid Container for Genres/Communities */ | ||
background-color: | .pcs-grid { | ||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 15px; | |||
justify-content: space-between; | |||
} | |||
/* Individual Grid Tile */ | |||
.pcs-tile { | |||
flex: 0 0 calc(33.333% - 10px); | |||
background: rgba(0, 0, 0, 0.2); | |||
border: 1px solid #011120; | |||
border-radius: 6px; | |||
text-align: center; | |||
padding: 10px; | |||
box-sizing: border-box; | |||
transition: background 0.2s, border-color 0.2s; | |||
} | |||
.pcs-tile:hover { | |||
background: rgba(0, 0, 0, 0.4); | |||
border-color: #ff9900; | |||
} | |||
.pcs-tile-title { | |||
font-weight: bold; | |||
color: #fff; | |||
margin-top: 8px; | |||
font-size: 1em; | |||
} | |||
/* Sidebar List Styling */ | |||
.pcs-list-item { | |||
padding: 8px 0; | |||
border-bottom: 1px solid rgba(255, 255, 255, 0.1); | |||
font-size: 0.95em; | |||
display: flex; | |||
align-items: center; | |||
gap: 10px; | |||
} | |||
.pcs-list-item:last-child { | |||
border-bottom: none; | |||
} | |||
/* --- TEXT & LINK VISIBILITY FIX --- */ | |||
.pcs-box a { | |||
color: #ffffff !important; | color: #ffffff !important; | ||
font-weight: bold !important; | |||
text-decoration: none; | |||
} | } | ||
.pcs- | |||
.pcs-box a:hover { | |||
color: #ff9900 !important; | color: #ff9900 !important; | ||
} | } | ||
.pcs-box span { color: #ffffff !important; } | |||
Revision as of 14:03, 21 February 2026
/* =========================================
1. CORE UI & WHITE HEADER REMOVAL
========================================= */
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;
}
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;
}
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 {
background-color: #042037 !important;
padding: 30px;
font-family: sans-serif;
color: #ffffff;
max-width: 1200px;
margin: 0 auto;
}
/* Main Two-Column Split */
.pcs-main-layout {
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 {
background-color: #0d5287;
border: 2px solid #011120;
border-radius: 8px;
padding: 20px;
box-sizing: border-box;
margin-bottom: 20px;
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;
color: #ffffff;
}
/* =========================================
4. TACTICAL GRIDS & LISTS (NEW)
========================================= */
/* 2x3 Grid Container for Genres/Communities */
.pcs-grid {
display: flex;
flex-wrap: wrap;
gap: 15px;
justify-content: space-between;
}
/* Individual Grid Tile */
.pcs-tile {
flex: 0 0 calc(33.333% - 10px);
background: rgba(0, 0, 0, 0.2);
border: 1px solid #011120;
border-radius: 6px;
text-align: center;
padding: 10px;
box-sizing: border-box;
transition: background 0.2s, border-color 0.2s;
}
.pcs-tile:hover {
background: rgba(0, 0, 0, 0.4);
border-color: #ff9900;
}
.pcs-tile-title {
font-weight: bold;
color: #fff;
margin-top: 8px;
font-size: 1em;
}
/* Sidebar List Styling */
.pcs-list-item {
padding: 8px 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
font-size: 0.95em;
display: flex;
align-items: center;
gap: 10px;
}
.pcs-list-item:last-child {
border-bottom: none;
}
/* --- TEXT & LINK VISIBILITY FIX --- */
.pcs-box a {
color: #ffffff !important;
font-weight: bold !important;
text-decoration: none;
}
.pcs-box a:hover {
color: #ff9900 !important;
}
.pcs-box span { color: #ffffff !important; }
