Difference between revisions of "MediaWiki:Common.css"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Hide redundant "about" link)
(Hide some footers globally)
Line 19: Line 19:
 
}
 
}
   
/* Don't display some stuff on the main page */
+
/* 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 #deleteconfirm,
 
body.page-Main_Page #t-cite,
 
body.page-Main_Page #t-cite,
body.page-Main_Page #footer-info-lastmod,
 
 
body.page-Main_Page #siteSub,
 
body.page-Main_Page #siteSub,
 
body.page-Main_Page #contentSub,
 
body.page-Main_Page #contentSub,
Line 32: Line 39:
 
body.page-Main_Page #mp-topbanner {
 
body.page-Main_Page #mp-topbanner {
 
margin-top: 0 !important;
 
margin-top: 0 !important;
}
 
 
/* Hide redundant "about" link */
 
 
#footer-places-about {
 
display: none !important;
 
 
}
 
}

Revision as of 23:00, 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;
}

/* 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;
}