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
 
(72 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


/* =========================================
/* Hide user menu icon for anonymous */
  1. TABLE & CORE WIKI FIXES
.personal-tools-icon {
  ========================================= */
display: none !important;
.fullwidth { width: 100% !important; }
}
.nowrap { white-space: nowrap; }


table.wikitable th a,
.infobox-value ul {
table.wikitable th.headerSort a {
  list-style: none;
    pointer-events: none !important;
    cursor: pointer !important;
    color: black !important;
    text-decoration: none !important;
}
}


/* Hide columns helpers */
#rightMenu #p-contentnavigation.pagetools .tab-group > div#ca-talk {
.hide-Genre .col-genre,
display: none !important;
.hide-Platform .col-platform,
.hide-Mode .col-mode,
.hide-Players .col-players {
    display: none !important;
}
}


/* =========================================
.card.thumbwall {
  2. PAGE FORMS: "ONE BOX" & GRID STYLES
flex: 1;
  ========================================= */
}
.one-box-container {
.card.thumbwall .card-img img {
    border: 1px solid #ccc !important;
height: 100% !important;
    background: #f9f9f9;
}
    padding: 15px;
.thumbwall .card-footer {
    border-radius: 4px;
border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 5px;
}
}
.one-box-container br { display: none !important; }
.thumbwall-scroll {
.one-box-container > span {
font-size: 2.5rem;
    display: flex !important;
line-height: 0.35;
    flex-wrap: wrap !important;
cursor: pointer;
    gap: 20px;
display: inline-block;
    align-items: center;
flex: 1;
    width: 100%;
}
}
.one-box-container .checkboxLabel {
.thumbwall-scroll[data-scroll-dir="1"] {
    display: flex !important;
float: right;
    align-items: center !important;
text-align: right;
    width: auto !important;
}
    margin: 0 !important;
.thumbwall-scroll:disabled,
    padding: 0 !important;
.thumbwall-scroll.is-inactive {
     background: transparent !important;
     opacity: .4;
     border: none !important;
     cursor: default;
}
}


/* Game Form Grid */
.collab-icons {
.checkbox-grid > span {
margin-top: .25rem !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
    gap: 8px !important;
    width: 100%;
}
}
.checkbox-grid .checkboxLabel {
 
    display: flex !important;
.navthumb a:hover {
    align-items: center;
text-decoration: none !important;
    background: #f9f9f9;
    border: 1px solid #ccc;
    padding: 6px 10px;
    border-radius: 4px;
    height: 25px;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
}
}


/* =========================================
/** Embed video **/
  3. PC GAMING SHELTER - LAYOUT ENGINE
 
  ========================================= */
.embedvideo-loader__fakeButton {
.pcs-wrapper {
  display: flex;
    background-color: #042037 !important;
  align-items: center;
    padding: 30px;
  justify-content: center;
    font-family: sans-serif;
  width: 4rem;
    color: #ffffff;
  height: 4rem;
    border-radius: 8px;
  padding: 0;
    max-width: 1200px;
  border-radius: 50%;
    margin: 0 auto;
  background: rgba(0, 0, 0, 0.72);
    position: relative;
  color: transparent;
  font-size: 0;
  line-height: 0;
  place-items: center;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.35);
}
}


.pcs-row {
.embedvideo-loader__fakeButton::before {
    display: flex;
  content: "";
    flex-wrap: wrap;
  width: 0;
    gap: 20px;
  height: 0;
    margin-bottom: 20px;
  margin-left: 0.25rem;
  border-top: 0.75rem solid transparent;
  border-bottom: 0.75rem solid transparent;
  border-left: 1.1rem solid #fff;
}
}


.pcs-box {
.embedvideo-loader:hover .embedvideo-loader__fakeButton {
    background-color: #0d5287;
  background: #e26e1f;
    border: 2px solid #011120;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    box-sizing: border-box;
}
}


/* Column Sizes */
.two-cards > div {
.pcs-col-70 { flex: 0 0 calc(70% - 10px); max-width: calc(70% - 10px); }
flex: 1 1 50%;
.pcs-col-30 { flex: 0 0 calc(30% - 10px); max-width: calc(30% - 10px); }
}
.pcs-col-100 { flex: 0 0 100%; max-width: 100%; }
 
.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;
}


/* Typography & Links */
#tab-content-smw-property-constraint {
.pcs-title {
  filter: invert(1) hue-rotate(180deg) contrast(.8);
    font-size: 1.4em;
    font-weight: bold;
    text-align: center;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 5px;
    margin-bottom: 15px;
}
}
.pcs-box a { color: #ffffff; font-weight: bold; text-decoration: none; }
.pcs-box a:hover { color: #ff9900; text-decoration: underline; }


/* =========================================
#games > table {
  4. MAIN PAGE OVERRIDES (CLEAN SLATE)
display: none;
  ========================================= */
body.page-Main_Page,
body.page-Main_Page #content,
body.page-Main_Page .mw-page-container {
    background-color: #042037 !important;
}
}


/* Hide Navigation & UI */
.upcoming-event-row {
body.page-Main_Page #mw-panel,
  display: flex;
body.page-Main_Page #p-logo,
  min-height: 56px;
body.page-Main_Page #left-navigation,
  gap: 0 1rem;
body.page-Main_Page #right-navigation,
  font-weight: 500;
body.page-Main_Page #p-personal,
  text-shadow: 0 0 10px var(--light);
body.page-Main_Page .mw-header,
  line-height: 1.15;
body.page-Main_Page #firstHeading,
  scroll-snap-align: start;
body.page-Main_Page #siteNotice {
}
     display: none !important;
.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;
}
}


/* Kill Margins/Padding for Flush Header */
.thumbwall .rss-item {
body.page-Main_Page #content {
     min-height: 64px;
     margin-left: 0 !important;
     scroll-snap-align: start;
     padding-top: 0 !important;
    border: none !important;
}
}


/* =========================================
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-success {
  5. LOGO & HERO BANNER (FIXED)
background-color: #005234;
  ========================================= */
.pcs-hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}
}


/* Remove White Box from Logo */
.ns-3002 #mw-content-text > .mw-parser-output:first-of-type {
.pcs-hero-logo,
display: flex;
.pcs-hero-logo *,
flex-direction: column;
.pcs-hero-logo a.image,
}
.pcs-hero-logo img {
@media screen and ( min-width: 576px ) {
    background: transparent !important;
.ns-3002 #mw-content-text > .mw-parser-output:first-of-type {
    background-color: transparent !important;
flex-direction: row-reverse;
    border: none !important;
gap: 1rem;
    box-shadow: none !important;
}
}
}


.pcs-hero-text h1 {
.checkboxSwitches {
    color: #ffffff;
min-height: 49px;
    font-size: 2.8em;
    font-weight: bold;
    margin: 0;
    border: none;
    text-transform: uppercase;
}
}


/* =========================================
/* RESOURCES LIST */
  6. SEARCH & TABLES (DARK THEME)
.resources-header {
  ========================================= */
background-color: rgba(255,255,255,.1);
.pcs-search-container { text-align: center; margin-bottom: 35px; }
padding: 0 1rem;
}
@media screen and ( min-width: 576px ) {
.resources-header {
flex: 0 0 100px;
border-right: 1px solid var(--secondary);
padding: 0 .5rem;
}
}


/* Wikitable Overrides */
.infoMessage.mainForms,
.pcs-wrapper table.wikitable {
.infoMessage.otherForms {
    background-color: transparent !important;
background-color: var(--bg-shade-4);
    color: #ffffff !important;
border: 0;
    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;
}