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
Replaced content with "CSS placed here will be applied to all skins: Hide user menu icon for anonymous: .personal-tools-icon { display: none !important; }"
Tag: Replaced
 
(55 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 --- */
/* 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 */
.game-form input.hasDatepicker {
    width: 100% !important;
    box-sizing: border-box;
    height: 30px;
    font-family: sans-serif;
}
/* 3. Specific fix for the Series (Token) Box */
.select2-container {
    width: 100% !important;
    display: block !important;
}
.select2-selection--multiple {
    min-height: 30px;
    border: 1px solid #ccc !important;
    padding: 2px !important;
}
/* --- CHECKBOX GRID SYSTEM --- */
/* 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 00:04, 19 March 2026

/* CSS placed here will be applied to all skins */

/* Hide user menu icon for anonymous */
.personal-tools-icon {
	display: none !important;
}