MediaWiki:Vector.css: Difference between revisions

From Raythe Wiki
(Created page with "→‎* Typograhy refresh: →‎Test new Helvetica-based body font stack: html, body { font-family: "Nimbus Sans L", "Helvetica Neue", Arial, Helvetica, sans-serif; } /*...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
/*
/* Don't display some stuff on the main page */
* Typograhy refresh
.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;
}


/* Test new Helvetica-based body font stack */
/* Position coordinates */
html,
#coordinates {
body {
    position: absolute;
font-family: "Nimbus Sans L", "Helvetica Neue", Arial, Helvetica, sans-serif;
    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;
}
}
 
/* Force lining numbers in headers (for fonts like Georgia) */
/* FR topicon position */
div#content h1,
div.flaggedrevs_short {
div#content h2,
    position: absolute;
div#content #firstHeading {
    top: -3em;
-moz-font-feature-settings: "lnum";
    right: 100px;
-webkit-font-feature-settings: "lnum";
    z-index: 1;
font-feature-settings: "lnum";
}
}


/* Fix top margin for H1 in content */
/* Menu over FR box */
div#content h1 {
div.vectorMenu div {
margin-top: 1em;
    z-index: 2;
}
}
div#content #firstHeading {
 
margin-top: 0;
/* 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;
}
}

Latest revision as of 21:31, 25 March 2016

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