MediaWiki:Common.css
From PC Gaming Shelter
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* =========================================
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 */
}
