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
 
(58 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 */
body.page-Main_Page,
.personal-tools-icon {
body.page-Main_Page #content,
display: none !important;
body.page-Main_Page #mw-page-base,
body.page-Main_Page #mw-head-base,
body.page-Main_Page .mw-page-container,
body.page-Main_Page .mw-header,
body.page-Main_Page .vector-header-container {
    background-color: #042037 !important;
    background-image: none !important;
    border: none !important;
}
}


body.page-Main_Page #mw-panel,
.infobox-value ul {
body.page-Main_Page #p-logo,
  list-style: none;
body.page-Main_Page #left-navigation,
body.page-Main_Page #right-navigation,
body.page-Main_Page #p-personal,
body.page-Main_Page #firstHeading,
body.page-Main_Page #siteNotice {
    display: none !important;
}
}


body.page-Main_Page #content {
#rightMenu #p-contentnavigation.pagetools .tab-group > div#ca-talk {
    margin-left: 0 !important;
display: none !important;
    padding-top: 0 !important;
}
}


/* =========================================
.card.thumbwall {
  2. HERO BANNER & LOGO TRANSPARENCY
flex: 1;
  ========================================= */
}
.pcs-hero {
.card.thumbwall .card-img img {
    display: flex;
height: 100% !important;
    align-items: center;
}
    justify-content: flex-start;
.thumbwall .card-footer {
     gap: 20px;
border-top: 1px solid rgba(255,255,255,0.05);
     margin-bottom: 30px;
}
.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;
}
}


.pcs-hero-logo,
.collab-icons {
.pcs-hero-logo *,
margin-top: .25rem !important;
.pcs-hero-logo a.image,
.pcs-hero-logo img {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
}


/* =========================================
.navthumb a:hover {
  3. LANDING PAGE LAYOUT SYSTEM
text-decoration: none !important;
  ========================================= */
.pcs-wrapper {
    background-color: #042037 !important;
    padding: 30px;
    font-family: sans-serif;
    color: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
}
}


/* Main Two-Column Split */
/** Embed video **/
.pcs-main-layout {
 
    display: flex;
.embedvideo-loader__fakeButton {
    flex-wrap: wrap;
  display: flex;
    gap: 20px;
  align-items: center;
    align-items: flex-start;
  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);
}
}


.pcs-col-70 { flex: 0 0 calc(70% - 10px); max-width: calc(70% - 10px); }
.embedvideo-loader__fakeButton::before {
.pcs-col-30 { flex: 0 0 calc(30% - 10px); max-width: calc(30% - 10px); }
  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;
}


/* Standard Box */
.embedvideo-loader:hover .embedvideo-loader__fakeButton {
.pcs-box {
  background: #e26e1f;
    background-color: #0d5287;
    border: 2px solid #011120;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    margin-bottom: 20px;
    width: 100%;
}
}


.pcs-title {
.two-cards > div {
    font-size: 1.4em;
flex: 1 1 50%;
    font-weight: bold;
    text-align: center;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 5px;
    margin-bottom: 15px;
    color: #ffffff;
}
}


/* =========================================
.page-Special_RunQuery_FeaturedLink .pf-runquery-formcontent,
  4. TACTICAL GRIDS & LISTS (NEW)
.page-Special_RunQuery_FeaturedLink .dayInput {
  ========================================= */
display: none;
/* 2x3 Grid Container for Genres/Communities */
.pcs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
}
}


/* Individual Grid Tile */
.gap-2 {
.pcs-tile {
gap: .5rem;
    flex: 0 0 calc(33.333% - 10px);
}
    background: rgba(0, 0, 0, 0.2);
.card .navthumb {
    border: 1px solid #011120;
min-width: 20%;
    border-radius: 6px;
}
     text-align: center;
.card-body .navthumb .with-icon a {
    padding: 10px;
display: flex !important;
    box-sizing: border-box;
     height: 100%;
    transition: background 0.2s, border-color 0.2s;
width: 100%;
justify-content: center;
min-height: 45px !important;
align-items: center;
}
}


.pcs-tile:hover {
#tab-content-smw-property-constraint {
    background: rgba(0, 0, 0, 0.4);
  filter: invert(1) hue-rotate(180deg) contrast(.8);
    border-color: #ff9900;
}
}


.pcs-tile-title {
#games > table {
    font-weight: bold;
display: none;
    color: #fff;
    margin-top: 8px;
    font-size: 1em;
}
}


/* Sidebar List Styling */
.upcoming-event-row {
.pcs-list-item {
  display: flex;
    padding: 8px 0;
  min-height: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 0 1rem;
    font-size: 0.95em;
  font-weight: 500;
    display: flex;
  text-shadow: 0 0 10px var(--light);
    align-items: center;
  line-height: 1.15;
    gap: 10px;
  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%;
}
}
}
.pcs-list-item:last-child {
#bottom-notice .to-info-panel {
    border-bottom: none;
visibility: visible;
}
}
 
.stat-badge {
/* --- TEXT & LINK VISIBILITY FIX --- */
  padding: .125rem .5rem;
.pcs-box a {
  color: #d2a383;
    color: #ffffff !important;
  font-size: 1.25rem;
    font-weight: bold !important;
}
     text-decoration: none;
.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;
}
}


.pcs-box a:hover {
.thumbwall .rss-item {
     color: #ff9900 !important;
    min-height: 64px;
     scroll-snap-align: start;
}
}
.pcs-box span { color: #ffffff !important; }

Latest revision as of 14:07, 19 June 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;
}