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
 
(58 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 (Keep these) --- */
/* 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-Genre .col-genre,
.infobox-value ul {
.hide-Platform .col-platform,
  list-style: none;
.hide-Mode .col-mode,
.hide-Players .col-players {
    display: none !important;
}
}


/* --- FORM INPUT FIXES (The "Strange Box" Fix) --- */
#rightMenu #p-contentnavigation.pagetools .tab-group > div#ca-talk {
 
display: none !important;
/* 1. Force Text Inputs and Date Pickers to be 100% Width */
.game-form input[type="text"],
.game-form input.hasDatepicker {
    width: 100% !important;
    box-sizing: border-box !important;
    height: 34px !important;
    padding: 5px 8px !important;
    border: 1px solid #ccc !important;
    border-radius: 3px !important;
    font-family: sans-serif !important;
    font-size: 13px !important;
    margin: 0 !important;
    box-shadow: none !important;
}
}


/* 2. Fix Series/Token Box (The "Select2" Script) */
.card.thumbwall .card-img img {
/* This forces the token box to expand fully */
height: 100% !important;
.select2-container {
    width: 100% !important;
    display: block !important;
}
.select2-container .select2-selection--multiple {
    min-height: 34px !important;
    border: 1px solid #ccc !important;
    border-radius: 3px !important;
    background: #fff;
    padding: 2px !important;
}
}


/* --- THE CHECKBOX FIX (The "Invisible Comma" Method) --- */
.collab-icons {
 
margin-top: .25rem !important;
/* 1. The Container: Hide the commas using font-size 0 */
.checkbox-grid {
    width: 100%;
    font-size: 0 !important; /* This hides the text commas */
    line-height: 0 !important;
    margin-top: 5px;
}
}
/* 2. The Items: Make them visible blocks again */
/* We target 'span' because Page Forms wraps every checkbox in a span */
.checkbox-grid span {
    display: inline-block !important;
    width: 32%; /* 3 Columns (32% * 3 approx 96%) */
    vertical-align: top;
   
    margin-right: 1%;
    margin-bottom: 6px;
   
    /* RESTORE TEXT VISIBILITY */
    font-size: 13px !important;
    line-height: 1.4 !important;
   
    /* Box Look */
    background: #fcfcfc;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 6px;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* 3. Hover Effect */
.checkbox-grid span:hover {
    background: #f0f8ff;
    border-color: #3366cc;
    cursor: pointer;
}
/* 4. Hide invisible line breaks */
.checkbox-grid br { 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;
}