User:Hb1290/cologneblue.js

// 'Wetpaint' modification for 'Cologne Blue' MediaWiki theme // intended for use on the CLG wiki // --	// copy and paste all of this into your custom javascript for the 'cologne blue' theme, available under 'user preferences > theme'. // make sure you also have the custom CSS set or else it might not look right. // adds extra CSS into the header $('head').append(' #linkcollection{margin-bottom:10px}#p-search{padding:5px;display:inline-block!important;margin-top:5px}#linkcollection,#p-search{visibility:visible}#p-search br,#p-search h3,#searchButton{display:none}#footer form{display:none}#ca-cb-edit{font-size:inherit;padding:0;margin:0;height:1.5em}#ca-cb-edit a{background:#a9ceee url(https://i.imgur.com/feC4z6s.png) repeat-x top left;background-color:#a9ceee;border:solid 1px #979797;color:#333;padding:.3em 1em .3em 1em;margin:0 0 0 .5em;cursor:pointer;font-weight:700;font-size:12px;overflow:visible;width:auto;text-decoration:none;font-family:Tahoma} ');

// moves the categories into the article container document.getElementById('article').appendChild(       document.getElementById('catlinks')    ); // checks for 'Edit source' on a page, if it finds it, then it moves it above the article heading if (document.contains(document.getElementById('ca-cb-edit'))) { document.getElementById('firstHeading').prepend(document.getElementById('ca-cb-edit')); }	// moves the search box from the sidebar to above the article container document.getElementById('linkcollection').appendChild(       document.getElementById('p-search')    );

// TBD. document.getElementById('footer-navigation').appendChild(       document.getElementById('titlelinks')    );