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
 
(69 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 */


/* --- TABLE FIXES --- */
/* Hide user menu icon for anonymous */
 
.personal-tools-icon {
/* Force tables to use 100% width when this class is used */
display: none !important;
.fullwidth {
    width: 100% !important;
}
}


/* Optional: Prevent Game Mode from wrapping onto two lines */
.infobox-value ul {
.nowrap {
  list-style: none;
    white-space: nowrap;
}
}


/* STRONG FIX: Disable links in ALL sortable table headers */
#rightMenu #p-contentnavigation.pagetools .tab-group > div#ca-talk {
table.wikitable th a,
display: none !important;
table.wikitable th.headerSort a {
    pointer-events: none !important; /* Makes clicks pass through to the sort button */
    cursor: pointer !important;      /* Shows the hand cursor for sorting */
    color: black !important;        /* Forces text to look black, not blue */
    text-decoration: none !important; /* Removes the underline */
}
}


/* Hide columns based on the 'hide' parameter */
.card.thumbwall .card-img img {
.hide-Genre .col-genre,
height: 100% !important;
.hide-Platform .col-platform,
.hide-Mode .col-mode,
.hide-Players .col-players {
    display: none !important;
}
}


/* --- NEW COMPACT CHECKBOX GRID --- */
.collab-icons {
/* This forces Page Forms checkboxes into a strict Excel-like grid */
margin-top: .25rem !important;
 
.checkbox-grid {
    display: grid;
    /* This creates columns that are min 140px wide but stretch to fill space */
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 6px;
    width: 100%;
    margin-top: 5px;
}
}
/* Style the individual checkbox items as clean boxes */
.checkbox-grid span {
    display: flex !important;
    align-items: center;
    background: #fcfcfc;
    border: 1px solid #eee; /* Subtle border */

Latest revision as of 08:08, 25 April 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 .card-img img {
	height: 100% !important;
}

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