MediaWiki:Common.css

From Flashlight Wiki
Revision as of 11:11, 8 March 2013 by Admin (talk | contribs)
Jump to navigation Jump to search

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* Hide "Main Page" at top of main page */
.page-Main_Page h1.firstHeading { display: none; }
/* Hide subsection edit tags on Main Page */
.page-Main_Page span.editsection {display: none;}

/* Modify all links to be green/brown, then make external links blue/purple */
/* Also need to modify MediaWiki:Vector.css to affect sidebar links */
a:link             {color: #006600;}           /* dark green */
a:visited          {color: #996633;}           /* brown */
a.new              {color: #cc2200;}           /* red */
a.new:visited      {color: #cc6666;}           /* light red */
a.external         {color: #0000ff;}           /* blue */
a.external:visited {color: #800080;}           /* purple */

/* Page background to light yellow */
div#content     {background-color: #ffffdd;}        /* light yellow */

/* Force wrapping of Google Translate branding so it doesn't spill out too far into the page */
a.goog-logo-link img    {display: block;}