Change title and spacing in 404.php

This commit is contained in:
Michael Walker 2014-11-12 23:59:40 +00:00
parent 08ad292ae0
commit 15dc235a66

17
404.php
View File

@ -30,14 +30,14 @@
border-radius: 50px; border-radius: 50px;
padding: 25px; padding: 25px;
position: relative; position: relative;
top: calc(50% - .75em); top: calc(50% - .6em);
display: block; display: inline-block;
width: 2em; width: 2em;
margin: 0 auto; margin: 0 auto;
height: 0.9em; height: 0.9em;
animation: spin 3.2s infinite linear, flash 0.4s infinite linear; animation: spin 3.2s infinite linear, flash 0.4s infinite linear;
-webkit-animation: spin 3.2s infinite linear, flash 0.4s infinite linear; -webkit-animation: spin 3.2s infinite linear, flash 0.4s infinite linear;
box-shadow: 0px 0px 10px black; box-shadow: 0px 0px 10px black;
} }
@keyframes spin { @keyframes spin {
0% {-moz-transform: rotate(0deg);} 0% {-moz-transform: rotate(0deg);}
@ -51,6 +51,11 @@
0% {width: 5em;} 0% {width: 5em;}
100% {width: 2em;} 100% {width: 2em;}
} }
#head span
{
position: relative;
bottom: 30%;
}
.blink { .blink {
animation: blink 0.4s linear infinite; animation: blink 0.4s linear infinite;
@ -87,9 +92,9 @@
<script type="text/javascript"> <script type="text/javascript">
var colors = ["rgb(255, 0, 0)","rgb(255, 0, 255)","rgb(0, 0, 255)","rgb(0, 255, 255)","rgb(0, 255, 0)","rgb(255, 255, 0)"]; var colors = ["rgb(255, 0, 0)","rgb(255, 0, 255)","rgb(0, 0, 255)","rgb(0, 255, 255)","rgb(0, 255, 0)","rgb(255, 255, 0)"];
function seizure(){ function seizure(){
if (document.title == "404") if (document.title == "404 | PARTY")
document.title = "PARTY HARD NIGGERS"; document.title = "404 | HARD";
else document.title = "404"; else document.title = "404 | PARTY";
var i = colors[Math.floor(Math.random()*colors.length)]; var i = colors[Math.floor(Math.random()*colors.length)];
while(i == document.getElementById("head").style.color) while(i == document.getElementById("head").style.color)
{ {