User:Opabinia externa/vector.css

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Opabinia externa (talk | contribs) at 04:56, 9 June 2015 (test). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
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.
/* Fix sidebar */
div#mw-panel { 
  position: fixed;
  overflow: auto;
  top: 0px;
  bottom: 0px;
  height: 100%;
  /* Prevent content overlay when sidewards scrolling */
  background-color: #F6F6F6;
}
/* Prevent sidewards scrolling in pre elements */
pre {
  overflow: auto;
  max-height: 25em;
}
 
/* Float headers */
/* Stolen from User:Rezonansowy/scripts/FloatHead */
div#mw-head {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 11em; 
    right: 0;
    width: auto;
    background-color: white;
    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;
}
 
/*FIX for Visual Editor toolbar*/
.oo-ui-toolbar-bar {
    top: 80px !important;
    position: static;
}
 
/* tweak for internal jumps with floating header */
.mw-headline {
    padding-top: 100px;
    margin-top: -100px;
    -webkit-background-clip: content-box;
    background-clip: content-box;
}

/* tweak test for echo */
.mw-echo-overlay {
	position: fixed;	
}