Jump to content

User:Smalljim/vector.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* Customise popups*/
.navpopup { 
  font: 9px arial !important;
}

/* keep superscript and subscript text from breaking the line-spacing (from Mzajac/monobook.css/Superscript fix):*/

#bodyContent sup {
    font-size: smaller;
    vertical-align: baseline;
    position: relative;
    bottom: 0.33em;
}
#bodyContent sub {
    font-size: smaller;
    vertical-align: baseline;
    position: relative;
    bottom: -0.25em;
}

/*More optimisations from WP:VPT#New_edit_tools_enabled_for_everyone dated 080821*/
/* Turn off several things for faster page rendering. (User:Davidgothberg)*/
#footer {   /* Turn off the page footer. */
    display: none;
}

.templatesUsed {/*put content into a scrollable box*/
    display:block;
    height:30px;
    overflow:auto;
    width:90%;
    padding:2px;
    border:1px solid gray;
    margin:5px;
}


/*rm animated ads - ugh! */
.qxz-ads {display: none;}

/* enhanced diffs - from [[MediaWiki_talk:Monobook.css/Archive_4#Better_rendering_for_.diffchange_in_diff.27s...]]: remmed 111011*/
.diffchange {padding: 0px 2px 0px 2px; border: 1px solid silver; margin: 0px 1px 0px 0px}

/*Kill highlighting in watchlist
Watchlist change markers are misleading. If there have been two (or more) changes to an article and I click on 
diff, I see the latest change. But if I then go back and refresh the watchlist the highlight is gone, yet there 
is still at least one edit that I haven't looked at. Better that there's no indicator than one that's faulty. 
It's useless when one uses popups to review diffs too.*/
.mw-watched { font-weight: normal !important }

/*and rm the "Mark all pages visited" button */
#mw-watchlist-resetbutton { display: none !important }

/*More related junk to kill*/
/*1. The green "updated since last visit" text on history pages*/
span.updatedmarker { display: none !important }

/*2. Help:user contributions link on contribs pages*/
#mw-sp-contributions-explain { display: none !important }

/* make edit links small again */
span.mw-editsection { font-size:60%; }

/* from User:Rezonansowy/FloatHead.css */
div#mw-head {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 11em;
    right: 0;
    width: auto;
    background-color: white;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAsCAIAAAArRUU2AAAAOklEQVR42lWNWwoAQAgCde9/59mgF30EOmgKeJLmUHjGpzbBdXnl6F5oV5/J9e/tr/czydmt7RT33floBCM5ZQLqdwAAAABJRU5ErkJggg=="); /*copy Vector skin background*/
    background-position: left bottom;
    background-size: auto;
    background-repeat: repeat-x;
    box-shadow: 15px 5px 20px 5px #FFF;
}
#mw-head:before {
     z-index: -1;
     content: ''; /*further hacks...*/
     position:absolute;
     top: -1px;
     left: 0;
     width: 100%;
     height: 100%;
     border-bottom: 1px solid #A7D7F9;
}
#left-navigation {
    margin-left: 0;
}
/*Keep left sidebar in view*/
div#mw-panel {
  position: fixed;
}