MediaWiki:Common.css

From ProgClub
Revision as of 15:53, 11 December 2017 by John (talk | contribs)
Jump to: navigation, search

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

/* fixup the logo positioning... */
#p-logo a { background-position: center center !important; }

/* hide the 'Main Page' heading on the main page */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
body.page-Main_Page .mw-body { padding-top: 0px; }

/* enable right padding for table data... */
.right td { text-align: right; }
.right td:first-child { text-align: left; }

/* setup the home page... */

table.homemain { width: 99%; }
table.homepage { width: 99%; }
.homepage th { text-align: left; padding-left: 1.5em; }
.homepage td { vertical-align: top; }
.homepage ul { list-style: none; }