MediaWiki:Common.css

From Wikimedia District of Columbia
Revision as of 23:00, 5 March 2011 by Kirill Lokshin (talk | contribs) (Hide some footers globally)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.
.nav td {
  text-align: center;
  background: #ECECEC;
  font-weight: bold;
  margin: 0 .1em 0 0;
  width: 25%;
  font-size: 0.925em;
  -moz-border-radius: 12px 12px 12px 12px;
}

.nav td a {
  padding: 1em 2em;
  color: #224F82;
  text-decoration: none;
}

.nav td:hover {
  color: #000;
}

/* Hide some unneeded interface elements */

#footer-info-lastmod,
#footer-info-viewcount,
#footer-places-about {
  display: none !important;
}

/* Special display rules for main page */

body.page-Main_Page #deleteconfirm,
body.page-Main_Page #t-cite,
body.page-Main_Page #siteSub,
body.page-Main_Page #contentSub,
body.page-Main_Page h1.firstHeading {
  display: none !important;
}
 
body.page-Main_Page #mp-topbanner {
  margin-top: 0 !important;
}