MediaWiki:Common.css: Difference between revisions
From PC Gaming Shelter
No edit summary Tag: Manual revert |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ========================================= | /* ========================================= | ||
1. | 1. GLOBAL PAGE & HEADER OVERRIDE | ||
========================================= */ | ========================================= */ | ||
body.page-Main_Page | body.page-Main_Page { | ||
background-color: #042037 !important; | background-color: #042037 !important; | ||
} | } | ||
/* Ensure the wrapper matches the deep navy background */ | |||
/* | |||
.pcs-wrapper { | .pcs-wrapper { | ||
background-color: #042037 !important; | background-color: #042037 !important; | ||
padding: | padding: 20px; | ||
max-width: 1200px; | max-width: 1200px; | ||
margin: 0 auto; | margin: 0 auto; | ||
color: #ffffff; | |||
} | } | ||
/* | /* ========================================= | ||
. | 2. TACTICAL BOXES (The "Original" Style) | ||
========================================= */ | |||
.pcs-box { | .pcs-box { | ||
background- | background: linear-gradient(180deg, #0d5287 0%, #063152 100%); | ||
border: 2px solid #011120; | border: 2px solid #011120; | ||
border-radius: | border-radius: 4px; /* Sharper corners for tactical look */ | ||
padding: | padding: 15px; | ||
margin-bottom: 20px; | 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 { | .pcs-title { | ||
font-size: 1. | font-family: 'Segoe UI', Tahoma, sans-serif; | ||
font-weight: | 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: | padding-bottom: 8px; | ||
margin-bottom: | margin-bottom: 20px; | ||
letter-spacing: 1px; | |||
} | } | ||
/* ========================================= | /* ========================================= | ||
3. THE GRID SYSTEM (Genres & Communities) | |||
========================================= */ | ========================================= */ | ||
.pcs-grid { | .pcs-grid { | ||
display: | display: grid; | ||
grid-template-columns: repeat(3, 1fr); | |||
gap: | gap: 12px; | ||
} | } | ||
/* Individual | /* Individual Tile Styling */ | ||
.pcs-tile { | .pcs-tile { | ||
background: rgba(0, 0, 0, 0.45); /* Darker overlay for better icon contrast */ | |||
background: rgba(0, 0, 0, 0. | |||
border: 1px solid #011120; | border: 1px solid #011120; | ||
border-radius: | border-radius: 4px; | ||
padding: 15px 5px; | |||
text-align: center; | text-align: center; | ||
transition: all 0.3s ease; | |||
cursor: pointer; | |||
} | } | ||
.pcs-tile:hover { | .pcs-tile:hover { | ||
background: rgba(0, 0, 0, 0. | 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; | ||
margin-top: 10px; | |||
margin-top: | letter-spacing: 0.5px; | ||
} | } | ||
/* | /* ========================================= | ||
4. SIDEBAR & STATS REFINEMENT | |||
========================================= */ | |||
.pcs-list-item { | .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- | .pcs-stat-val { | ||
color: # | color: #ff9900; | ||
font-weight: bold | font-weight: bold; | ||
} | } | ||
.pcs- | /* ========================================= | ||
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 */ | |||
} | } | ||
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 */
}
