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
 
(66 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* =========================================
/* CSS placed here will be applied to all skins */
  1. GLOBAL PAGE & HEADER OVERRIDE
 
  ========================================= */
/* Hide user menu icon for anonymous */
body.page-Main_Page {
.personal-tools-icon {
    background-color: #042037 !important;
display: none !important;
}
 
.infobox-value ul {
  list-style: none;
}
 
#rightMenu #p-contentnavigation.pagetools .tab-group > div#ca-talk {
display: none !important;
}
 
.card.thumbwall {
flex: 1;
}
.card.thumbwall .card-img img {
height: 100% !important;
}
.thumbwall .card-footer {
border-top: 1px solid rgba(255,255,255,0.05);
}
.thumbwall-scroll {
font-size: 2.5rem;
line-height: 0.35;
cursor: pointer;
display: inline-block;
flex: 1;
}
.thumbwall-scroll[data-scroll-dir="1"] {
float: right;
text-align: right;
}
.thumbwall-scroll:disabled,
.thumbwall-scroll.is-inactive {
    opacity: .4;
    cursor: default;
}
 
.collab-icons {
margin-top: .25rem !important;
}
 
.navthumb a:hover {
text-decoration: none !important;
}
 
/** Embed video **/
 
.embedvideo-loader__fakeButton {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  padding: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: transparent;
  font-size: 0;
  line-height: 0;
  place-items: center;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.35);
}
 
.embedvideo-loader__fakeButton::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 0.25rem;
  border-top: 0.75rem solid transparent;
  border-bottom: 0.75rem solid transparent;
  border-left: 1.1rem solid #fff;
}
}


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


/* =========================================
.two-cards > div {
  2. TACTICAL BOXES (The "Original" Style)
flex: 1 1 50%;
  ========================================= */
.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 {
.page-Special_RunQuery_FeaturedLink .pf-runquery-formcontent,
    font-family: 'Segoe UI', Tahoma, sans-serif;
.page-Special_RunQuery_FeaturedLink .dayInput {
    font-size: 1.6em;
display: none;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 8px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
}


/* =========================================
.gap-2 {
  3. THE GRID SYSTEM (Genres & Communities)
gap: .5rem;
  ========================================= */
}
.pcs-grid {
.card .navthumb {
    display: grid;
min-width: 20%;
     grid-template-columns: repeat(3, 1fr);
}
    gap: 12px;
.card-body .navthumb .with-icon a {
display: flex !important;
     height: 100%;
width: 100%;
justify-content: center;
min-height: 45px !important;
align-items: center;
}
}


/* Individual Tile Styling */
#tab-content-smw-property-constraint {
.pcs-tile {
  filter: invert(1) hue-rotate(180deg) contrast(.8);
    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 {
#games > table {
    background: rgba(0, 0, 0, 0.7);
display: none;
    border-color: #ff9900; /* Amber tactical highlight */
    transform: translateY(-2px);
}
}


.pcs-tile-title {
.upcoming-event-row {
    color: #ffffff !important;
  display: flex;
    text-transform: uppercase;
  min-height: 56px;
    font-size: 0.9em;
  gap: 0 1rem;
    font-weight: bold;
  font-weight: 500;
     margin-top: 10px;
  text-shadow: 0 0 10px var(--light);
     letter-spacing: 0.5px;
  line-height: 1.15;
  scroll-snap-align: start;
}
.upcoming-event-row .shelter-stats-item-name {
min-height: 40px;
font-weight: 500;
text-shadow: 0 0 10px var(--light);
}
.upcoming-event-row .shelter-stats-item-name a {
color: var(--light);
}
.upcoming-event-date {
color: var(--shelter-accent-light);
font-size: 1.25rem;
}
.upcoming-event-row .smw-subobject-entity {
  font-style: normal;
}
.to-info-panel {
visibility: hidden;
width: 300px;
}
@media all and ( max-width: 576px ) {
.to-info-panel {
width: 100%;
}
}
#bottom-notice .to-info-panel {
visibility: visible;
}
.stat-badge {
  padding: .125rem .5rem;
  color: #d2a383;
  font-size: 1.25rem;
}
.rss-item .external:visited,
.rss-item .external {
color: #81beff !important;
font-weight: 500;
}
.card-body:has(.rss-item) {
height: 250px;
overflow-y: scroll;
     scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
     scroll-padding-block: 0;
}
 
.thumbwall .rss-item {
    min-height: 64px;
    scroll-snap-align: start;
}
 
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-success {
background-color: #005234;
}
}


/* =========================================
.ns-3002 #mw-content-text > .mw-parser-output:first-of-type {
  4. SIDEBAR & STATS REFINEMENT
display: flex;
  ========================================= */
flex-direction: column;
.pcs-list-item {
}
    background: rgba(0, 0, 0, 0.2);
@media screen and ( min-width: 576px ) {
    margin-bottom: 4px;
.ns-3002 #mw-content-text > .mw-parser-output:first-of-type {
    padding: 10px;
flex-direction: row-reverse;
    border-left: 3px solid #ff9900; /* Tactical orange accent */
gap: 1rem;
    font-size: 0.9em;
}
}
}


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


/* =========================================
/* RESOURCES LIST */
  5. MOBILE & STEAM DECK OPTIMIZATION
.resources-header {
  ========================================= */
background-color: rgba(255,255,255,.1);
@media screen and (max-width: 768px) {
padding: 0 1rem;
    .pcs-main-layout { flex-direction: column; }
}
    .pcs-col-70, .pcs-col-30 { flex: 0 0 100%; max-width: 100%; }
@media screen and ( min-width: 576px ) {
    .pcs-grid { grid-template-columns: repeat(2, 1fr); } /* 2 columns on handheld */
.resources-header {
flex: 0 0 100px;
border-right: 1px solid var(--secondary);
padding: 0 .5rem;
}
}
 
.infoMessage.mainForms,
.infoMessage.otherForms {
background-color: var(--bg-shade-4);
border: 0;
}
.infoMessage.otherForms, .infoMessage ~ p {
display: none;
}
}

Latest revision as of 15:34, 7 August 2026

/* CSS placed here will be applied to all skins */

/* Hide user menu icon for anonymous */
.personal-tools-icon {
	display: none !important;
}

.infobox-value ul {
  list-style: none;
}

#rightMenu #p-contentnavigation.pagetools .tab-group > div#ca-talk {
	display: none !important;
}

.card.thumbwall {
	flex: 1;
}
.card.thumbwall .card-img img {
	height: 100% !important;
}
.thumbwall .card-footer {
	border-top: 1px solid rgba(255,255,255,0.05);
}
.thumbwall-scroll {
	font-size: 2.5rem;
	line-height: 0.35;
	cursor: pointer;
	display: inline-block;
	flex: 1;
}
.thumbwall-scroll[data-scroll-dir="1"] {
	float: right;
	text-align: right;
}
.thumbwall-scroll:disabled,
.thumbwall-scroll.is-inactive {
    opacity: .4;
    cursor: default;
}

.collab-icons {
	margin-top: .25rem !important;
}

.navthumb a:hover {
	text-decoration: none !important;
}

/** Embed video **/

.embedvideo-loader__fakeButton {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  padding: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: transparent;
  font-size: 0;
  line-height: 0;
  place-items: center;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.35);
}

.embedvideo-loader__fakeButton::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 0.25rem;
  border-top: 0.75rem solid transparent;
  border-bottom: 0.75rem solid transparent;
  border-left: 1.1rem solid #fff;
}

.embedvideo-loader:hover .embedvideo-loader__fakeButton {
  background: #e26e1f;
}

.two-cards > div {
	flex: 1 1 50%;
}

.page-Special_RunQuery_FeaturedLink .pf-runquery-formcontent,
.page-Special_RunQuery_FeaturedLink .dayInput {
	display: none;
}

.gap-2 {
	gap: .5rem;
}
.card .navthumb {
	min-width: 20%;
}
.card-body .navthumb .with-icon a {
	display: flex !important;
    height: 100%;
	width: 100%;
	justify-content: center;
	min-height: 45px !important;
	align-items: center;
}

#tab-content-smw-property-constraint {
  filter: invert(1) hue-rotate(180deg) contrast(.8);
}

#games > table {
	display: none;
}

.upcoming-event-row {
  display: flex;
  min-height: 56px;
  gap: 0 1rem;
  font-weight: 500;
  text-shadow: 0 0 10px var(--light);
  line-height: 1.15;
  scroll-snap-align: start;
}
.upcoming-event-row .shelter-stats-item-name {
	min-height: 40px;
	font-weight: 500;
	text-shadow: 0 0 10px var(--light);
}
.upcoming-event-row .shelter-stats-item-name a {
	color: var(--light);
}
.upcoming-event-date {
	color: var(--shelter-accent-light); 
	font-size: 1.25rem;
}
.upcoming-event-row .smw-subobject-entity {
  font-style: normal;
}
.to-info-panel {
	visibility: hidden;
	width: 300px;
}
@media all and ( max-width: 576px ) {
	.to-info-panel {
		width: 100%;
	}	
}
#bottom-notice .to-info-panel {
	visibility: visible;
}
.stat-badge {
  padding: .125rem .5rem;
  color: #d2a383;
  font-size: 1.25rem;
}
.rss-item .external:visited,
.rss-item .external {
	color: #81beff !important;
	font-weight: 500;
}
.card-body:has(.rss-item) {
	height: 250px;
	overflow-y: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    scroll-padding-block: 0;
}

.thumbwall .rss-item {
    min-height: 64px;
    scroll-snap-align: start;
}

.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-success {
	background-color: #005234;
}

.ns-3002 #mw-content-text > .mw-parser-output:first-of-type {
	display: flex;
	flex-direction: column;
}
@media screen and ( min-width: 576px ) {
	.ns-3002 #mw-content-text > .mw-parser-output:first-of-type {
		flex-direction: row-reverse;
		gap: 1rem;
	}	
}

.checkboxSwitches {
	min-height: 49px;
}

/* RESOURCES LIST */
.resources-header {
	background-color: rgba(255,255,255,.1);
	padding: 0 1rem;
}
@media screen and ( min-width: 576px ) {
	.resources-header {
		flex: 0 0 100px;
		border-right: 1px solid var(--secondary);
		padding: 0 .5rem;
	}
}

.infoMessage.mainForms,
.infoMessage.otherForms {
	background-color: var(--bg-shade-4);
	border: 0;
}
.infoMessage.otherForms, .infoMessage ~ p {
	display: none;
}