MediaWiki:Vector.css

From Ava Zinn Wiki
Jump to: navigation, search
/* Fixes for Typography refresh, see also [[Bugzilla:64653]] */

/* Consistent size for sub/sup */
.mw-body sub,
.mw-body sup,
span.reference /* for Parsoid */ {
    font-size: 80%;
}

/* margin for H1 (in talk pages) */
.mw-body-content h1 {
    margin-top: 1em;
}

/* lists line-height */
.mw-body dd,
.mw-body ol,
.mw-body ul {
    line-height: 1.6;
}

/* Fix for changelist legend due to above fix (which will probably be merged at some point,
   so this should be scoped in mediawiki.special.changeslist.legend.css) */
.mw-body-content .mw-changeslist-legend dd {
	line-height: 1.3em;
}

/* End of Typography Refresh section */

/* Don't display some stuff on the main page */
.page-Main_Page #deleteconfirm,
.page-Main_Page #t-cite,
.page-Main_Page #footer-info-lastmod,
.action-view.page-Main_Page #siteSub,
.action-view.page-Main_Page #contentSub,
.action-view.page-Main_Page .firstHeading {
    display: none !important;
}

/* Position Main Page top banner */
.page-Main_Page #mp-topbanner {
  margin-top: 0 !important;
}

/* Position coordinates */
#coordinates {
    position: absolute;
    top: 0;
    right: 0;
    float: right;
    margin: 0;
    padding: 0;
    line-height: 1.5em;
    text-align: right;
    text-indent: 0;
    font-size: 85%;
    text-transform: none;
    white-space: nowrap;
}

/* For positioning icons at top-right, used in Templates
   "Spoken Article" and "Featured Article" */
div.topicon {
    position: absolute;
    top: -2.3em;
    margin-right: -10px;
    display: block !important;
}

/* FR topicon position */
div.flaggedrevs_short {
    position: absolute;
    top: -3em;
    right: 100px;
    z-index: 1;
    margin-left: 0;
    /* Because this is not yet a topicon, we emulate its behavior,
       this ensures compatibility with edit lead section gadget. */
    margin-right: -10px;
}

/* On rtl interfaces, we need to override the defaults.
   It is content included (so ltr), but positioned in part of the rtl interface. */
body.rtl #protected-icon {
    /* @noflip */
    left: 55px;
}
body.rtl #spoken-icon,
body.rtl #commons-icon {
    /* @noflip */
    left: 30px;
}
body.rtl #featured-star {
    /* @noflip */
    left: 10px;
}

/* Menu over FR box */
div.vectorMenu div {
    z-index: 2;
}

/* Display "From Vote for the Girls Wiki" */
#siteSub {
    display: inline;
    font-size: 92%;
}

/* Styling for updated markers on watchlist, history and recent/related changes */
li.mw-changeslist-line-watched,
li.mw-history-line-updated {
    list-style-image: url(//upload.wikimedia.org/wikipedia/commons/c/c2/ChangedBulletVector.png);
}