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
 
(63 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 LAYOUT FIXES --- */
 
/* 1. INPUTS: Force ALL inputs (Text, Date, Version) to fill their box */
.game-form input[type="text"],
.game-form input.hasDatepicker,
.game-form .pf-form-field input {
    width: 100% !important;
    box-sizing: border-box !important;
    height: 38px !important;
    padding: 8px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    font-family: sans-serif;
}
}


/* 2. SERIES BOX: Fix the Token input */
.infobox-value ul {
.select2-container {
  list-style: none;
    width: 100% !important;
    box-sizing: border-box !important;
}
.select2-container .select2-selection--multiple {
    min-height: 38px !important;
    border: 1px solid #ccc !important;
    padding: 5px !important;
}
}


/* 3. CHECKBOX GRID (The "Hammer" Fix) */
#rightMenu #p-contentnavigation.pagetools .tab-group > div#ca-talk {
/* Hide the commas and line breaks */
display: none !important;
.checkbox-grid {
    font-size: 0 !important; /* Hides the commas */
    line-height: 0 !important;
}
}


/* Force the items to show up as text again and float side-by-side */
.card.thumbwall .card-img img {
.checkbox-grid span.checkboxLabel {
height: 100% !important;
    display: inline-flex !important; /* Sit next to each other */
    align-items: center;
   
    /* WIDTH: This sets how many per row. 32% = 3 per row. 24% = 4 per row. */
    width: 32% !important;
   
    margin-right: 1% !important; /* Small gap */
    margin-bottom: 8px !important; /* Space between rows */
   
    /* Restore text look */
    font-size: 13px !important;
    line-height: normal !important;
   
    /* Box Styling */
    background: #fff;
    border: 1px solid #ddd;
    padding: 6px 10px;
    box-sizing: border-box !important;
    border-radius: 3px;
    height: 32px;
}
}


.checkbox-grid span.checkboxLabel:hover {
.collab-icons {
    background: #f0f8ff;
margin-top: .25rem !important;
    border-color: #3366cc;
    cursor: pointer;
}
}
/* Kill the invisible line breaks completely */
.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;
}