MediaWiki:Common.css

From MoiWiki
Jump to navigationJump to 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: 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 */

/* Disable "Main page" h1 element. */
body.page-Main_Page h1.firstHeading { display:none; }

/* Disable footer. */
#footer { display:none; }

/* Increase height and center upper-left logo. */
#p-logo, #p-logo a, #p-logo a:hover { height:238px; width:117px; }
#p-logo { left:49px; top:10px; }
#column-one { padding-top:260px; }

/* Disable external link marker. */
/* #bodyContent a.external { background:none; padding:0px; } */

/* Apply different background image */
body { background:#E0F5FA url(/images/header_background.png); }

/* 1 more em space for left column to allow additional padding */
#column-content { margin-left:-13.2em; }
#content { margin-left:13.2em; }
#column-one { padding-left:0.8em; }

/* adjust spacing and border for left-side toolboxes */
.portlet { margin-bottom:0.75em; }
.pBody {
    border-radius:0.5em;
    -moz-border-radius:0.5em;
    -webkit-border-radius:0.5em;
}