User:Shahadat/FloatHead
Jump to navigation
Jump to search
![](https://upload.wikimedia.org/wikipedia/commons/thumb/f/f3/FloatHead_screenshot.png/300px-FloatHead_screenshot.png)
FloatHead on Flower article
FloatHead - makes the Justapedia head navigation floating.
Install
To use this script place the following line in your common.js page:
importStylesheet('User:Shahadat/FloatHead.css');
/*NOTE: CSS3 support needed*/
/*
BROKENNN
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;
}
/*FIX for Visual Editor toolbar*/ /*
.oo-ui-toolbar-bar {
top: 80px !important;
position: static;
}
*/
Script Attribution
![]() | This script was manually imported from Wikipedia in compliance with their CC-BY-SA license. This script is utilized either partially or in full, incorporating corrections, modifications, or imported from the original script. For details regarding the original script and its creator, please refer to the following link: https://en.wikipedia.org/wiki/User:Rezonansowy/scripts/FloatHead |