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
Tag: Reverted
No edit summary
 
(57 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* =========================================================
/* CSS placed here will be applied to all skins */
  PC GAMING SHELTER — MAIN PAGE DARK UI (scoped)
  ========================================================= */


body.page-Main_Page {
/* Hide user menu icon for anonymous */
  /* Base */
.personal-tools-icon {
  background: #14181d !important;
display: none !important;
  color: #e6edf3;
}
}


/* Remove default white header areas on Main Page */
.infobox-value ul {
body.page-Main_Page #mw-page-base,
   list-style: none;
body.page-Main_Page #mw-head-base,
body.page-Main_Page .mw-page-container,
body.page-Main_Page .vector-header-container,
body.page-Main_Page .mw-header,
body.page-Main_Page #content {
   background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
}


/* Hide default wiki chrome ONLY on Main Page */
#rightMenu #p-contentnavigation.pagetools .tab-group > div#ca-talk {
body.page-Main_Page #mw-panel,
display: none !important;
body.page-Main_Page #p-logo,
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;
}
}


/* Remove content left offset from hidden sidebar */
.card.thumbwall {
body.page-Main_Page #content {
flex: 1;
  margin-left: 0 !important;
  padding-top: 0 !important;
}
}
 
.card.thumbwall .card-img img {
body.page-Main_Page .mw-body {
height: 100% !important;
  background: transparent !important;
  padding: 0 !important;
}
 
/* ---------- Variables (easy to tweak) ---------- */
body.page-Main_Page .pcs-wrapper {
  --bg: #14181d;
  --panel: #1b222a;
  --panel2: #202833;
  --border: #2a323c;
  --text: #e6edf3;
  --muted: #9aa7b3;
  --accent: #e0a85a;
  --link: #7dc2ff;
 
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 22px 40px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
}
 
/* ---------- Links ---------- */
body.page-Main_Page .pcs-wrapper a {
  color: var(--link);
  text-decoration: none;
}
body.page-Main_Page .pcs-wrapper a:hover {
  text-decoration: underline;
}
}
 
.thumbwall .card-footer {
/* ---------- Layout grid ---------- */
border-top: 1px solid rgba(255,255,255,0.05);
body.page-Main_Page .pcs-row {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
}
 
.thumbwall-scroll {
body.page-Main_Page .pcs-col-70 {
font-size: 2.5rem;
  flex: 0 0 calc(70% - 9px);
line-height: 0.35;
  max-width: calc(70% - 9px);
cursor: pointer;
display: inline-block;
flex: 1;
}
}
body.page-Main_Page .pcs-col-30 {
.thumbwall-scroll[data-scroll-dir="1"] {
  flex: 0 0 calc(30% - 9px);
float: right;
  max-width: calc(30% - 9px);
text-align: right;
}
}
body.page-Main_Page .pcs-col-100 {
.thumbwall-scroll:disabled,
  flex: 0 0 100%;
.thumbwall-scroll.is-inactive {
  max-width: 100%;
    opacity: .4;
    cursor: default;
}
}


/* Responsive */
.collab-icons {
@media (max-width: 960px) {
margin-top: .25rem !important;
  body.page-Main_Page .pcs-col-70,
  body.page-Main_Page .pcs-col-30 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
}


/* ---------- Panels ---------- */
.navthumb a:hover {
body.page-Main_Page .pcs-panel {
text-decoration: none !important;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  overflow: hidden;
}
}


body.page-Main_Page .pcs-panel-inner {
/** Embed video **/
  padding: 16px 16px 14px;
}


body.page-Main_Page .pcs-panel-title {
.embedvideo-loader__fakeButton {
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
   justify-content: space-between;
   justify-content: center;
   gap: 12px;
  width: 4rem;
   padding: 14px 16px;
   height: 4rem;
   border-bottom: 1px solid var(--border);
   padding: 0;
   background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,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);
}
}


body.page-Main_Page .pcs-panel-title h2 {
.embedvideo-loader__fakeButton::before {
   margin: 0;
   content: "";
   font-size: 18px;
  width: 0;
   font-weight: 700;
  height: 0;
   letter-spacing: .02em;
   margin-left: 0.25rem;
   color: var(--accent);
   border-top: 0.75rem solid transparent;
   border-bottom: 0.75rem solid transparent;
   border-left: 1.1rem solid #fff;
}
}


body.page-Main_Page .pcs-subtitle {
.embedvideo-loader:hover .embedvideo-loader__fakeButton {
   margin-top: 4px;
   background: #e26e1f;
  font-size: 12.5px;
  color: var(--muted);
}
}


/* ---------- Hero ---------- */
.two-cards > div {
body.page-Main_Page .pcs-hero {
flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
}


body.page-Main_Page .pcs-brand {
.page-Special_RunQuery_FeaturedLink .pf-runquery-formcontent,
  display: flex;
.page-Special_RunQuery_FeaturedLink .dayInput {
  align-items: center;
display: none;
  gap: 14px;
}
}


body.page-Main_Page .pcs-hero-logo img {
.gap-2 {
  width: 80px;
gap: .5rem;
  height: auto;
  display: block;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
}
 
.card .navthumb {
body.page-Main_Page .pcs-hero-text h1 {
min-width: 20%;
  margin: 0;
  font-size: 28px;
  letter-spacing: .04em;
  color: var(--text);
}
}
 
.card-body .navthumb .with-icon a {
body.page-Main_Page .pcs-hero-text p {
display: flex !important;
  margin: 4px 0 0;
    height: 100%;
  color: var(--muted);
width: 100%;
  max-width: 560px;
justify-content: center;
  line-height: 1.35;
min-height: 45px !important;
align-items: center;
}
}


body.page-Main_Page .pcs-social {
#tab-content-smw-property-constraint {
   display: flex;
   filter: invert(1) hue-rotate(180deg) contrast(.8);
  gap: 8px;
  align-items: center;
}
}


/* Optional: make your social icons sit in a small “chip” */
#games > table {
body.page-Main_Page .pcs-social a {
display: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 26px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255,255,255,.03);
}
body.page-Main_Page .pcs-social a:hover {
  background: rgba(255,255,255,.06);
  text-decoration: none;
}
}


/* ---------- Search ---------- */
.upcoming-event-row {
body.page-Main_Page .pcs-search {
  margin-bottom: 18px;
   display: flex;
   display: flex;
   justify-content: center;
   min-height: 56px;
}
   gap: 0 1rem;
 
   font-weight: 500;
body.page-Main_Page .pcs-search .mw-inputbox-centered {
   text-shadow: 0 0 10px var(--light);
  width: min(720px, 100%);
   line-height: 1.15;
}
   scroll-snap-align: start;
 
body.page-Main_Page .pcs-search input[type="search"],
body.page-Main_Page .pcs-search input[type="text"] {
  width: 100% !important;
   background: #0f141a !important;
   border: 1px solid var(--border) !important;
  border-radius: 10px !important;
   padding: 10px 12px !important;
  color: var(--text) !important;
  outline: none !important;
}
 
body.page-Main_Page .pcs-search input::placeholder {
  color: rgba(154,167,179,.8);
}
 
body.page-Main_Page .pcs-search input:focus {
  border-color: rgba(224,168,90,.55) !important;
  box-shadow: 0 0 0 3px rgba(224,168,90,.15) !important;
}
 
/* ---------- Feature block ---------- */
body.page-Main_Page .pcs-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
 
body.page-Main_Page .pcs-feature-media {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #0f141a;
}
 
body.page-Main_Page .pcs-feature-media img,
body.page-Main_Page .pcs-feature-media iframe {
  display: block;
  width: 100%;
}
 
body.page-Main_Page .pcs-feature-caption {
  color: var(--muted);
   font-size: 12.5px;
}
 
/* ---------- Tiles (Genres / Communities) ---------- */
body.page-Main_Page .pcs-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
 
@media (max-width: 960px) {
  body.page-Main_Page .pcs-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  body.page-Main_Page .pcs-tiles {
    grid-template-columns: 1fr;
  }
}
 
body.page-Main_Page .pcs-tile {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,.02);
   overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
 
body.page-Main_Page .pcs-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
  background: rgba(255,255,255,.04);
}
 
body.page-Main_Page .pcs-tile a {
  display: block;
  text-decoration: none;
  color: var(--text);
}
}
 
.upcoming-event-row .shelter-stats-item-name {
body.page-Main_Page .pcs-tile-thumb {
min-height: 40px;
  height: 112px;
font-weight: 500;
  display: grid;
text-shadow: 0 0 10px var(--light);
  place-items: center;
  background: #0f141a;
}
}
 
.upcoming-event-row .shelter-stats-item-name a {
body.page-Main_Page .pcs-tile-thumb img {
color: var(--light);
  max-height: 92px;
  width: auto;
  display: block;
}
}
 
.upcoming-event-date {
body.page-Main_Page .pcs-tile-label {
color: var(--shelter-accent-light);  
  padding: 10px 12px 12px;
font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-align: center;
}
}
 
.upcoming-event-row .smw-subobject-entity {
/* ---------- Sidebar lists with icons ---------- */
   font-style: normal;
body.page-Main_Page .pcs-list {
   display: grid;
  gap: 10px;
}
}
 
.to-info-panel {
body.page-Main_Page .pcs-list-item {
visibility: hidden;
  display: grid;
width: 300px;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: center;
  color: var(--text);
}
}
 
@media all and ( max-width: 576px ) {
body.page-Main_Page .pcs-list-item img {
.to-info-panel {
  width: 22px;
width: 100%;
  height: 22px;
}
  object-fit: contain;
  display: block;
}
}
 
#bottom-notice .to-info-panel {
body.page-Main_Page .pcs-list-item span {
visibility: visible;
  color: var(--text);
}
}
 
.stat-badge {
body.page-Main_Page .pcs-divider {
   padding: .125rem .5rem;
   height: 1px;
   color: #d2a383;
   background: var(--border);
   font-size: 1.25rem;
   margin: 12px 0;
}
}
 
.rss-item .external:visited,
/* ---------- SMW list inside panels ---------- */
.rss-item .external {
body.page-Main_Page .pcs-panel .smw-format,
color: #81beff !important;
body.page-Main_Page .pcs-panel ul {
font-weight: 500;
  margin: 0;
  padding-left: 18px;
}
}
body.page-Main_Page .pcs-panel li {
.card-body:has(.rss-item) {
  margin: 6px 0;
height: 250px;
  color: var(--text);
overflow-y: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    scroll-padding-block: 0;
}
}


/* ---------- Make wikitables readable if any appear ---------- */
.thumbwall .rss-item {
body.page-Main_Page .pcs-wrapper table.wikitable {
    min-height: 64px;
  background: transparent !important;
    scroll-snap-align: start;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
}
body.page-Main_Page .pcs-wrapper table.wikitable th {
  background: #0f141a !important;
  color: var(--accent) !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;
}