User:Nineteen Nightmares/monobook.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:Nineteen Nightmares/monobook.js. |
/* <source lang=javascript> */
/* Any JavaScript here will be loaded for users using the MonoBook skin */
/** Topbar content fix with sitenotice / CentralNotice **************************
*
* Description: This fixes the location of topbar content (e.g., featured
* content star) when the sitenotice or CentralNotice is active.
* Maintainers: [[User:TheDJ]], [[User:MZMcBride]]
*/
if((navigator.userAgent.indexOf("MSIE 6")==-1) && (wgAction == 'submit' || wgAction == 'view')) addOnloadHook(function() {
var cnote = document.getElementById('centralNotice');
if( !document.getElementById('mw-dismissible-notice') && !(cnote)) return; // fundraiser: && hasClass(cnote, 'expanded'))) return;
appendCSS('#bodyContent { position:relative; } \n.topicon { position:absolute; top:-2em !important;}\n#coordinates{ position:absolute; top:1px !important; right:0px !important;}');
})
/* </source> */