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
 
(62 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,
.hide-Platform .col-platform,
.hide-Mode .col-mode,
.hide-Players .col-players {
    display: none !important;
}
}


/* --- FORM FIXES --- */
.infobox-value ul {
 
  list-style: none;
/* 1. Force Inputs to fill their container (Fixes Date & Version) */
.game-form input[type="text"],
.game-form .full-width-input {
    width: 100% !important;
    box-sizing: border-box;
    height: 30px;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 3px;
}
}


/* 2. Specific fix for the Date Picker */
#rightMenu #p-contentnavigation.pagetools .tab-group > div#ca-talk {
.game-form input.hasDatepicker {
display: none !important;
    width: 100% !important;
    box-sizing: border-box;
    height: 30px;
    font-family: sans-serif;
}
}


/* 3. Specific fix for the Series (Token) Box */
.card.thumbwall .card-img img {
.select2-container {
height: 100% !important;
    width: 100% !important;
    display: block !important;
}
.select2-selection--multiple {
    min-height: 30px;
    border: 1px solid #ccc !important;
    padding: 2px !important;
}
}


/* --- CHECKBOX GRID SYSTEM --- */
.collab-icons {
 
margin-top: .25rem !important;
/* The Container */
.checkbox-grid {
    font-size: 0; /* Hides the commas between items */
}
}
/* The Individual Items */
.checkbox-grid span.checkboxLabel {
    display: inline-flex; /* Sit next to each other */
    align-items: center;
   
    /* Fixed width for perfect alignment */
    width: 145px;
   
    font-size: 13px; /* Restore text size */
    background: #fcfcfc;
    border: 1px solid #eee;
    margin: 0 5px 5px 0; /* Tiny gap between boxes */
    padding: 3px 6px;
    border-radius: 3px;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    height: 26px;
}
.checkbox-grid span.checkboxLabel:hover {
    background: #f0f8ff;
    border-color: #3366cc;
    cursor: pointer;
}
/* Hide line breaks */
.checkbox-grid br { display: none; }

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