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
 
(64 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 columns helpers */
.hide-Genre .col-genre,
.hide-Platform .col-platform,
.hide-Mode .col-mode,
.hide-Players .col-players {
    display: none !important;
}
}


/* --- 1. FORM INPUT FIXES (Series & Date) --- */
.infobox-value ul {
/* Force the Series Box (Token Field) to be full width */
  list-style: none;
.select2-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}
.select2-container .select2-selection--multiple {
    min-height: 35px;
    border: 1px solid #ccc !important;
    border-radius: 3px !important;
    background: #fff;
    padding: 4px;
}
}


/* Force the Date Picker to match standard inputs */
#rightMenu #p-contentnavigation.pagetools .tab-group > div#ca-talk {
input.hasDatepicker {
display: none !important;
    width: 100% !important;
    box-sizing: border-box;
    height: 35px;
    padding: 5px 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-family: sans-serif;
}
}


/* Force standard Text Inputs to look uniform */
.card.thumbwall .card-img img {
.game-form input[type="text"] {
height: 100% !important;
    box-sizing: border-box;
    height: 35px;
    padding: 5px 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
}
}


/* --- 2. CHECKBOX GRID (The "Invisible Comma" Fix) --- */
.collab-icons {
 
margin-top: .25rem !important;
.checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    margin-top: 5px;
    /* MAGIC TRICK: Set font size to 0 to hide commas and spaces */
    font-size: 0 !important;
    line-height: 0;
}
}
/* Restore the font size for the actual checkbox box */
.checkbox-grid .checkboxLabel {
    display: flex !important;
    align-items: center;
    background: #fcfcfc;
    border: 1px solid #ccc;
    padding: 4px 8px;
    border-radius: 3px;
    height: 28px;
   
    /* RESTORE TEXT VISIBILITY */
    font-size: 13px !important;
    line-height: normal;
    /* FORCE EXACT WIDTH (The Grid Look) */
    width: 150px;
    box-sizing: border-box;
}
.checkbox-grid .checkboxLabel:hover {
    background: #f0f8ff;
    border-color: #3366cc;
    cursor: pointer;
}
/* Hide 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;
}