MediaWiki:Common.css

From Encyclopedia of Des Plaines
Revision as of 16:04, 16 July 2025 by John Lavalie (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
.CategoryTreeNotice { display: none; }

/* tabs */
#ca-talk { display: none !important; } 
#ca-watch { display: none !important; } 
/*#ca-move { display: none !important; } */
#ca-protect { display: none !important; } 
#ca-watch { display: none !important; } 
#ca-unwatch { display: none !important; } 

/* categories */
.mw-redirect { font-style: normal; }
#catlinks-sidebar { background-color: #FFFF00; }
#p-normal-catlinks-label { background-color: #FFFF00; font-weight: bolder !important; }
.catlinks { font-weight: bold; )

/* sidebar */
#t-info { display: none }
#t-pagelog { display: none }
#t-recentchangeslinked { display: none }

/* images */
.thumbcaption { text-align:center; }

/* tables */
.jquery-tablesorter > tfoot,
.mw-sticky-header > tfoot {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
}

/* sortable tables and JS enhanced wikitables with thead, works with Safari. This is ideal. */
/* But borders are broken: https://bugs.webkit.org/show_bug.cgi?id=128486 */
.jquery-tablesorter > thead,
.mw-sticky-header > thead {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

/* This does not seem to work, possibly due to the absolute/relative hacking mess of timeless */
@media screen and (max-width: 1099px) and (min-width: 851px) {
	.skin-timeless .jquery-tablesorter > thead,
	.skin-timeless .mw-sticky-header > thead {
		top: 3.125em;
	}
}