Difference between revisions of "MediaWiki:Common.css"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Fix syntax)
(hide h1 on home page only)
Line 39: Line 39:
 
body #siteSub,
 
body #siteSub,
 
body #contentSub,
 
body #contentSub,
body.ns-0 h1.firstHeading {
+
body.page-Home h1.firstHeading {
 
display: none !important;
 
display: none !important;
 
}
 
}

Revision as of 19:35, 12 July 2011

.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,
#footer-places-disclaimer {
  display: none !important;
}

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

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

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