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
 
(67 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 */
.fullwidth { width: 100% !important; }
.personal-tools-icon {
.nowrap { white-space: nowrap; }
display: none !important;
 
table.wikitable th a,
table.wikitable th.headerSort a {
    pointer-events: none !important;
    cursor: pointer !important;
    color: black !important;
    text-decoration: none !important;
}
 
/* Hide columns helpers */
.hide-Genre .col-genre,
.hide-Platform .col-platform,
.hide-Mode .col-mode,
.hide-Players .col-players {
    display: none !important;
}
}


/* --- RIGID CHECKBOX GRID (The Fix) --- */
.infobox-value ul {
.checkbox-grid {
  list-style: none;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important; /* Tighter gap */
    width: 100%;
    margin-top: 5px;
}
}


/* The individual checkbox item */
#rightMenu #p-contentnavigation.pagetools .tab-group > div#ca-talk {
.checkbox-grid span {
display: none !important;
    display: inline-flex !important;
    align-items: center;
   
    /* FORCE EXACT WIDTH: This aligns the columns */
    flex: 0 0 160px !important;
    width: 160px !important;
    max-width: 160px !important;
 
    height: 28px; /* Consistent height */
    background: #ffffff;
    border: 1px solid #dcdcdc;
    padding: 0 8px;
    border-radius: 3px;
    font-size: 13px;
    box-sizing: border-box; /* vital for alignment */
    white-space: nowrap;
    overflow: hidden;
}
}


/* Hover effect */
.card.thumbwall .card-img img {
.checkbox-grid span:hover {
height: 100% !important;
    background: #f0f8ff;
    border-color: #3366cc;
    cursor: pointer;
}
}


/* Kill the invisible line breaks */
.collab-icons {
.checkbox-grid br,
margin-top: .25rem !important;
.checkbox-grid p {
    display: none !important;
}
}

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