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
 
(70 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* =========================================
/* CSS placed here will be applied to all skins */
  1. CORE UI & WHITE HEADER REMOVAL
 
  ========================================= */
/* Hide user menu icon for anonymous */
/* Kill the white background on all potential header containers */
.personal-tools-icon {
body.page-Main_Page,
display: none !important;
body.page-Main_Page #content,
}
body.page-Main_Page #mw-page-base,
 
body.page-Main_Page #mw-head-base,
.infobox-value ul {
body.page-Main_Page .mw-page-container,
  list-style: none;
body.page-Main_Page .mw-header,
}
body.page-Main_Page .vector-header-container {
 
    background-color: #042037 !important;
#rightMenu #p-contentnavigation.pagetools .tab-group > div#ca-talk {
    background-image: none !important;
display: none !important;
    border: 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);
}
}


/* Hide all top navigation and sidebar elements */
.embedvideo-loader__fakeButton::before {
body.page-Main_Page #mw-panel,
  content: "";
body.page-Main_Page #p-logo,
  width: 0;
body.page-Main_Page #left-navigation,
  height: 0;
body.page-Main_Page #right-navigation,
  margin-left: 0.25rem;
body.page-Main_Page #p-personal,
  border-top: 0.75rem solid transparent;
body.page-Main_Page #firstHeading,
  border-bottom: 0.75rem solid transparent;
body.page-Main_Page #siteNotice {
  border-left: 1.1rem solid #fff;
    display: none !important;
}
}


/* Collapse top padding */
.embedvideo-loader:hover .embedvideo-loader__fakeButton {
body.page-Main_Page #content {
  background: #e26e1f;
    margin-left: 0 !important;
    padding-top: 0 !important;
}
}


/* =========================================
.two-cards > div {
  2. HERO BANNER & LOGO TRANSPARENCY
flex: 1 1 50%;
  ========================================= */
.pcs-hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}
}


/* Targeted kill for the white box behind the gear */
.page-Special_RunQuery_FeaturedLink .pf-runquery-formcontent,
.pcs-hero-logo,
.page-Special_RunQuery_FeaturedLink .dayInput {
.pcs-hero-logo *,  
display: none;
.pcs-hero-logo a.image,
.pcs-hero-logo img {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
}


/* =========================================
.gap-2 {
  3. LANDING PAGE GRID SYSTEM
gap: .5rem;
  ========================================= */
}
.pcs-wrapper {
.card .navthumb {
    background-color: #042037 !important;
min-width: 20%;
     padding: 30px;
}
    font-family: sans-serif;
.card-body .navthumb .with-icon a {
    color: #ffffff;
display: flex !important;
    max-width: 1200px;
     height: 100%;
    margin: 0 auto;
width: 100%;
justify-content: center;
min-height: 45px !important;
align-items: center;
}
}


.pcs-row {
#tab-content-smw-property-constraint {
    display: flex;
  filter: invert(1) hue-rotate(180deg) contrast(.8);
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}
}


.pcs-box {
#games > table {
    background-color: #0d5287;
display: none;
    border: 2px solid #011120;
}
     border-radius: 8px;
 
     padding: 20px;
.upcoming-event-row {
     box-sizing: border-box;
  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;
}
}


/* --- TEXT & LINK VISIBILITY FIX --- */
.thumbwall .rss-item {
.pcs-box a {
     min-height: 64px;
     color: #ffffff !important;
     scroll-snap-align: start;
     font-weight: bold !important;
    text-decoration: none;
}
}


.pcs-box a:hover {
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-success {
    color: #ff9900 !important;
background-color: #005234;
    text-decoration: underline;
}
}


.pcs-box span {
.ns-3002 #mw-content-text > .mw-parser-output:first-of-type {
    color: #ffffff !important;
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;
}
}
}
/* ---------------------------------- */


.pcs-col-70 { flex: 0 0 calc(70% - 10px); max-width: calc(70% - 10px); }
.checkboxSwitches {
.pcs-col-30 { flex: 0 0 calc(30% - 10px); max-width: calc(30% - 10px); }
min-height: 49px;
.pcs-col-100 { flex: 0 0 100%; max-width: 100%; }
}


.pcs-title {
/* RESOURCES LIST */
    font-size: 1.4em;
.resources-header {
    font-weight: bold;
background-color: rgba(255,255,255,.1);
    text-align: center;
padding: 0 1rem;
    border-bottom: 2px solid #ffffff;
}
    padding-bottom: 5px;
@media screen and ( min-width: 576px ) {
    margin-bottom: 15px;
.resources-header {
flex: 0 0 100px;
border-right: 1px solid var(--secondary);
padding: 0 .5rem;
}
}
}


/* =========================================
.infoMessage.mainForms,
  4. FORM & WIKITABLE STYLING
.infoMessage.otherForms {
  ========================================= */
background-color: var(--bg-shade-4);
.pcs-wrapper table.wikitable {
border: 0;
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid #011120 !important;
}
}
.pcs-wrapper table.wikitable th {
.infoMessage.otherForms, .infoMessage ~ p {
    background-color: #011120 !important;
display: none;
    color: #ff9900 !important;
}
}

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;
}