Difference between revisions of "MediaWiki:Common.css"

From Wikimedia District of Columbia
Jump to navigation Jump to search
(Add collapsible box code)
(Allow nowrap)
Line 101: Line 101:
 
font-weight: normal;
 
font-weight: normal;
 
font-size: 90%;
 
font-size: 90%;
  +
}
  +
  +
.nowrap {
  +
white-space: nowrap;
 
}
 
}

Revision as of 19:54, 3 June 2012

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

.main-page-header {
  background-image:url("//upload.wikimedia.org/wikipedia/commons/7/7d/Wikimedia-logo-200px-transparent.png")
}

li#footer-info-lastmod,
li#footer-info-viewcount,
li#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.page-Home #contentSub,
body.page-Home h1.firstHeading {
  display: none !important;
}

#firstHeading {
  margin-bottom: .5em;
}
 
body #topbanner {
  margin-top: 0 !important;
}

div.mw-collapsible,
div.NavFrame {
    margin: 0;
    padding: 4px;
    border: 1px solid #aaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}
div.mw-collapsible + div.mw-collapsible,
div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
}
div.NavPic {
    background-color: #fff;
    margin: 0;
    padding: 2px;
    /* @noflip */
    float: left;
}
div.mw-collapsible div.NavHead,
div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
    background-color: #ccf;
    position: relative;
}
div.mw-collapsible p,
div.mw-collapsible div.NavContent,
div.mw-collapsible div.NavContent p,
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
    font-size: 100%;
}
div.NavEnd {
    margin: 0;
    padding: 0;
    line-height: 1px;
    clear: both;
}
a.NavToggle {
    position: absolute;
    top: 0;
    /* @noflip */
    right: 3px;
    font-weight: normal;
    font-size: 90%;
}

.nowrap { 
    white-space: nowrap;
}