Open main menu

UESPWiki β

User:Kiz/vecfloat.css

< User:Kiz

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* This style sheet mimics both functions in the sheets mentioned below, which fixes both the sidebar and caction/personal toolbars (located above the page) in place on the page as you scroll. */
/* Inspiration and code snippets from both WP:User:Rezonansowy/FloatHead.css and WP:User:BrandonXLF/FloatSide.css */
/* Only extensively tested in uespvector - not in uespmonobook */
/* NOT compatible with the gadget: Drop Down Menus (due to the moving UI) */
/*NOTE: CSS3 support needed*/

div#mw-head {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 11em;
    right: 0;
    width: auto;
    background-color: papayawhip;
    background-image: url(https://dev.uesp.net/w/extensions/UespCustomCode/files/Parchment_bg.jpg); /*copy Vector skin background*/
    background-position: left bottom;
    background-size: auto;
    background-repeat: repeat-x;
    box-shadow: 10px 5px 15px 5px papayawhip;
}

div#mw-panel {
    font-size: inherit;
    position: fixed !important;
    top: 140px;
    padding-top: 1em;
    width: 10em;
    left: 0;
}

div#p-logo {
     padding-top: 20px;
}

#mw-head:before {
     z-index: -1;
     content: ''; /*further hacks...*/
     position:fixed;
     top: -1px;
     left: 0;
     width: 0%;
     height: 0%;
     border-bottom: 1px solid #A7D7F9;
}

#left-navigation {
    margin-left: 0;
}

/*FIX for Visual Editor toolbar*/
.oo-ui-toolbar-bar {
    top: 80px !important;
    position: static;
}
   
#p-sections li2.plainlinks {
     display: block;
     font-size: 0.9em;
     text-indent: 1.25em;
     padding-top: 0.2em;
}

#p-community li2.plainlinks {
     display: inline-block;
     font-size: 0.9em;
     right: 2em;
     padding: 0.25em 0.25em 0.25em 0.25em;
}