Difference between revisions of "MediaWiki:Common.css"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Update)
(Testing)
Line 37: Line 37:
 
/* Special display rules for main page */
 
/* Special display rules for main page */
   
body.page-Home #deleteconfirm,
+
body.page #deleteconfirm,
body.page-Home #t-cite,
+
body.page #t-cite,
body.page-Home #siteSub,
+
body.page #siteSub,
body.page-Home #contentSub,
+
body.page #contentSub,
body.page-Home h1.firstHeading {
+
body.page h1.firstHeading {
 
display: none !important;
 
display: none !important;
 
}
 
}
 
 
body.page-Home #mp-topbanner {
+
body.page #topbanner {
 
margin-top: 0 !important;
 
margin-top: 0 !important;
 
}
 
}

Revision as of 11:32, 26 May 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 {
  display: none !important;
}

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

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

/* Special display rules for main page */

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