MediaWiki:Common.css

From Wikimedia District of Columbia
Revision as of 20:30, 18 May 2011 by Kirill Lokshin (talk | contribs) (Testing)
Jump to navigation Jump 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 / 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 th {
  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 th a {
  padding: 1em 2em;
  color: #224F82;
  text-decoration: none;
}

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

/* Hide some unneeded interface elements */

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

#p-navigation h5 { 
   display: none !important;
}

#p-navigation div.body {
   background-image: none;
}

/* Special display rules for main page */

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