MediaWiki:Common.css

From Encyclopedia of Des Plaines
Revision as of 11:30, 6 March 2026 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; }
.mw-editsection { display: none; }

/* main page */
.page-Main_Page h1.firstHeading { display: none; !important }
body.page-Main_Page h1.firstHeading { display: none; }

/* site colors */
:root {
   --siteGreen: #025F69; /*02828D;*/
   --siteBrown: #973600;
}

/* colors to match logo */
.color-middle, .color-left, .color-right { background-color: var(--siteGreen) ; }
h1#firstHeading.firstHeading.mw-first-heading { border-bottom-color: var(--siteBrown) ; }
a:link, a:visited { color: var(--siteGreen); }
h3#p-tb-label, h3#p-navigation-label, h3#p-pagemisc-label, h3#p-cactions-label, h3#p-normal-catlinks-label { color: var(--siteBrown); }
body { background-image: none !important; }
#p-banner, .mw-wiki-title long { color: var(--siteBrown) !important; font-weight:600; }

/* 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; } 
#selected mw-list-item { display: none !important; } 
#ca-nstab-main { display: none !important; }

/* categories */
.mw-redirect { font-style: normal; }
.mw-category-group h3 { display: !important; } 
#p-normal-catlinks-label { font-weight: bolder !important; }
#catlinks-sidebar { border:.2em solid var(--siteBrown) !important; }

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

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

/* other */
#mw-allpages-nav { display: none; }
@media print { .NoPrint { display: none !important; visibility: hidden !important; } }
body { background-image:unset !important; }

/* 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;
	}
}

/* YouTube */
.embedvideo-privacyNotice hidden { display: none; visibility: hidden; }

/* footer */
#footer-places-privacy, #footer-places-disclaimers { display: none; visibility:collapse; !important; }