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
Line 8: Line 8:
.nowrap {
.nowrap {
     white-space: nowrap;
     white-space: nowrap;
}
/* Disable links in table headers but keep sorting */
table.smwtable th.headerSort a,
table.smwtable th a {
    pointer-events: none;
    cursor: default;
    color: black; /* Optional: makes it look like normal text */
    text-decoration: none;
}
/* Re-enable pointer events for the sort icon if needed,
  but usually clicking the TH cell handles the sort. */
table.smwtable th {
    cursor: pointer;
}
}

Revision as of 22:48, 3 February 2026

/* CSS placed here will be applied to all skins */
/* Force tables to use 100% width when this class is used */
.fullwidth {
    width: 100% !important;
}

/* Optional: Prevent Game Mode from wrapping onto two lines */
.nowrap {
    white-space: nowrap;
}

/* Disable links in table headers but keep sorting */
table.smwtable th.headerSort a, 
table.smwtable th a {
    pointer-events: none;
    cursor: default;
    color: black; /* Optional: makes it look like normal text */
    text-decoration: none;
}
/* Re-enable pointer events for the sort icon if needed, 
   but usually clicking the TH cell handles the sort. */
table.smwtable th {
    cursor: pointer;
}