User:Opabinia externa/vector.css: Difference between revisions
Content deleted Content added
meh |
This is actually kind of annoying on a phone |
||
Line 1: | Line 1: | ||
/* 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; |
|||
} |