User:Opabinia regalis/vector.css

/* 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; }    z-index: -1; content: ''; /*further hacks...*/ position:absolute; top: -1px; left: 0; width: 100%; height: 100%; /*    border-bottom: 1px solid #A7D7F9; */ }   margin-left: 0; } /*FIX for Visual Editor toolbar*/ .oo-ui-toolbar-bar { top: 80px !important; position: static; }
 * 1) mw-head::before {
 * 1) left-navigation {

/* 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 for echo */ .mw-echo-overlay { position: fixed; }