MediaWiki:Vector.css

From Sciencemadness Wiki
Revision as of 17:50, 4 August 2015 by Zts16 (Talk | contribs) (Created page with "CSS placed here will affect users of the Vector skin: Don't display some stuff on the main page: .page-Main_Page #deleteconfirm, .page-Main_Page #t-cite, .page-Main_...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/* CSS placed here will affect users of the Vector skin */
/* 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 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;
}

/* FR topicon position */
div.flaggedrevs_short {
    position: absolute;
    top: -3em;
    right: 100px;
    z-index: 1;
}

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

/* Display "From Wikipedia, the free encyclopedia" */
#siteSub {
    display: block;
    font-size: 92%;
}

/* Move page status indicators down slightly */
.mw-body .mw-indicators {
    padding-top: 0.4em;
}

/* Make the search field smaller on small screens, but larger if there is space. */
div#simpleSearch {
	width: 20vw;
	min-width: 5em;
	max-width: 20em;
}