$(`<style>@keyframes spinner {
100% {
transform: rotate(3600deg);
}
}
.loading-container {
margin: 0 auto;
text-align: center;
position: relative;
top: 50vh;
transform: translateY(-50%);
}
.spinner {
display: inline-block;
width: 300px;
height: 300px;
background: url('http://i.imgur.com/1V1UQWC.png') center center;
background-size: contain;
transition-origin: 50% 50%;
animation: spinner 3s infinite alternate ease-in-out;
}
.spinner-center {
display: inline-block;
position: absolute;
margin-left: -300px;
width: 300px;
height: 300px;
background: url('http://i.imgur.com/u0BC2ZR.png') center center;
background-size: contain;
content: '';
}
.loading-text {
position: relative;
z-index: 1;
font-size: 1.5rem;
font-family: "Comic Sans MS", cursive, sans-serif;
margin-left: 0.5em;
}
#_t1{
margin-top: 300px !important;
}
#loading{
background: black !important;
}
</style>`).appendTo("head");
$("#loading").prepend(`<div class="loading-container">
<div class="spinner"></div>
<div class="spinner-center"></div>
</div>`);
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}