MediaWiki:Common.css

From AYSO Wiki
Revision as of 22:26, 9 May 2022 by Mywikis (talk | contribs)

Note: After saving, 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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */

body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }

/* Login link */
#mw-navigation .navbar-nav > .nav-item:not(.dropdown) a {
	text-transform: uppercase !important;
	color: var(--red) !important;
}

/* TOC */
#toc, .toc {
	display: block !important;
	padding: 0 !important;
	border: 0;
    background-color: transparent;
    font-size: .9rem;
}
.toc .toctitle {
	text-align: left;
	margin-bottom: 1rem;
}
.toc h2 {
	display: block !important;
	border-bottom: 1px solid #a2a9b1;
	font-size: 170% !important;
	padding: 6px 0;
	font-weight: 300;
	color: #666666;
}
.toc .toctogglespan {
	float: right;
	margin-right: 1rem;
}
.toc a {
	display: flex;
}

/* To make images responsive */
.res-img img {
	max-width: 100%;
	height: auto;
}