User:Waldyrious/modern.css
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
The accompanying .js page for this skin is at User:Waldyrious/modern.js. |
/********************************************
* Make the navigation links fixed in place *
********************************************/
#mw_header,
#p-personal,
#p-cactions,
#mw_portlets {
position: fixed;
z-index: 1;
}
/* Give the actions tabs a background */
#p-cactions {
background: white;
width: 100%;
border-bottom: 1px solid grey;
height: 16px;
font-size: 75%;
padding-left: 4.5em;
}
/* Do not let the language toolbar get too tall */
#p-lang {
max-height:250px;
overflow: auto;
}
/* Prevent having stuff hidden behind the title/actions bar */
#mw_contentholder {
position:relative;
top: 1.7em;
}
/* Fix bottom margin */
#mw_content { padding:0 1em 3em; }
/* Remove some gaps */
div.mw-topboxes { margin: -1em -1em 0; }
/* Fix anchor navigation */
span.mw-headline { padding-top:70px; }
/********************************************
* Other fixes *
********************************************/
/* Make new messages notice orange again */
/*.usermessage { background-color: orange; }*/
/* Tweak display of navigation popups */
.navpopup {
border: 1px solid SteelBlue;
box-shadow: 10px 10px 10px #c0c0c0;
border-radius: 10px;
border-top-left-radius: 0;
background-color: #ffffee;
}