User:Opabinia externa/vector.css: Difference between revisions
Content deleted Content added
test |
test |
||
Line 52: | Line 52: | ||
/* tweak for internal jumps with floating header */ |
/* tweak for internal jumps with floating header */ |
||
.mw-headline { |
.mw-headline { |
||
padding-top: 100px; |
|||
margin-top: -100px; |
|||
-webkit-background-clip: content-box; |
|||
background-clip: content-box; |
|||
} |
|||
.mw-cite-backlink { |
|||
padding-top: 100px; |
padding-top: 100px; |
||
margin-top: -100px; |
margin-top: -100px; |
Revision as of 05:00, 9 June 2015
/* 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;
}
.mw-cite-backlink {
padding-top: 100px;
margin-top: -100px;
-webkit-background-clip: content-box;
background-clip: content-box;
}
/* tweak test for echo */
.mw-echo-overlay {
position: fixed;
}