Difference between revisions of "MediaWiki:Common.css"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(save)
(Add main page CSS)
Line 17: Line 17:
 
.nav td:hover {
 
.nav td:hover {
 
color: #000;
 
color: #000;
  +
}
  +
  +
/* Don't display some stuff on the main page */
  +
  +
body.page-Main_Page #deleteconfirm,
  +
body.page-Main_Page #t-cite,
  +
body.page-Main_Page #footer-info-lastmod,
  +
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;
 
}
 
}

Revision as of 22:54, 5 March 2011

.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;
}

/* Don't display some stuff on the main page */

body.page-Main_Page #deleteconfirm,
body.page-Main_Page #t-cite,
body.page-Main_Page #footer-info-lastmod,
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;
}