MediaWiki

Difference between revisions of "Gadget-skinsandbox.js"

From Dogcraft Wiki

Line 2: Line 2:
 
 
 
var wikiskinsandbox = document.getElementsByClassName("title-area")[0];
 
var wikiskinsandbox = document.getElementsByClassName("title-area")[0];
wikiskinsandbox.innerHTML='<li class="namee"><div class="title-name" style=""><div style="display: inline-block;width: 47px;height: 45px;background: var(--main-color);vertical-align: top;"><div style="display: inline-block;width: 47px;clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);background: #41bd1e;height: 47px;line-height: 2em;padding-left: 2px;"><a href="//dogcraft.net" style=""><img alt="Dogcraft.net" src="https://dogcraft.net/wiki/images/f/f1/Dogcraft_Logo_White.png" style="width: 85%;vertical-align: bottom;" class="top-bar-logo"></a></div></div><div style="display: inline-block;background: var(--main-color);padding-right: 2em;"><a href="/wiki/Main_Page"><img alt="Dogcraft Wiki" class="top-bar-logo" src="/wiki/resources/assets/logo.png"><div class="title-name" style="display: inline-block;">Dogcraft Wiki</div></a></div><div></div></div></li><li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>';
+
wikiskinsandbox.innerHTML='<li class="namee"><div class="title-name" style="margin:0;"><div style="display: inline-block;width: 47px;height: 45px;background: var(--main-color);vertical-align: top;"><div style="display: inline-block;width: 47px;clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);background: #41bd1e;height: 47px;line-height: 2em;padding-left: 2px;"><a href="//dogcraft.net" style=""><img alt="Dogcraft.net" src="https://dogcraft.net/wiki/images/f/f1/Dogcraft_Logo_White.png" style="width: 85%;vertical-align: bottom;" class="top-bar-logo"></a></div></div><div style="display: inline-block;background: var(--main-color);padding-right: 2em;"><a href="/wiki/Main_Page"><img alt="Dogcraft Wiki" class="top-bar-logo" src="/wiki/resources/assets/logo.png"><div class="title-name" style="display: inline-block;">Dogcraft Wiki</div></a></div><div></div></div></li><li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>';
 
 
 
});
 
});

Revision as of 23:35, 26 July 2020

$(document.getElementsByClassName("page-Dogcraft_Wiki_Skin_sandbox")).ready(function() {
	
	var wikiskinsandbox = document.getElementsByClassName("title-area")[0];
	wikiskinsandbox.innerHTML='<li class="namee"><div class="title-name" style="margin:0;"><div style="display: inline-block;width: 47px;height: 45px;background: var(--main-color);vertical-align: top;"><div style="display: inline-block;width: 47px;clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);background: #41bd1e;height: 47px;line-height: 2em;padding-left: 2px;"><a href="//dogcraft.net" style=""><img alt="Dogcraft.net" src="https://dogcraft.net/wiki/images/f/f1/Dogcraft_Logo_White.png" style="width: 85%;vertical-align: bottom;" class="top-bar-logo"></a></div></div><div style="display: inline-block;background: var(--main-color);padding-right: 2em;"><a href="/wiki/Main_Page"><img alt="Dogcraft Wiki" class="top-bar-logo" src="/wiki/resources/assets/logo.png"><div class="title-name" style="display: inline-block;">Dogcraft Wiki</div></a></div><div></div></div></li><li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>';
	
});