stupid fuckings shit

This commit is contained in:
Kasper Rynning-Tønnesen
2015-02-16 21:21:03 +01:00
parent a7b4866ed9
commit b696ccf614
2 changed files with 24 additions and 8 deletions

View File

@@ -10,14 +10,7 @@
$i = rand(0, count($bg)-1); // generate random number size of the array
$selectedBg = "$bg[$i]"; // set variable equal to which random filename was chosen
?>
<style type="text/css">
<!--
.bgimage{
background: url(./static/<?php echo $selectedBg; ?>) no-repeat;
opacity:0;
}
-->
</style>
<title>Zöff</title>
<meta name="author" content="Nicolas 'Nixo' Almagro Tonne &amp; Kasper 'KasperRT' Rynning-Tønnesen">
<meta name="description" content="The shared YouTube radio.">

View File

@@ -51,9 +51,32 @@ foreach($fil as $files){
<style>
#change {
opacity:1 !important;
}
</style>
<?php include("header.php"); ?>
<style type="text/css">
.bgimage{
background: url(./static/<?php echo $selectedBg; ?>) no-repeat;
-webkit-transition: opacity 1s;
background-size: 500%;
background-repeat: no-repeat;
background-position: center center;
background-color: #000;
/* background-image: url(bg5.jpg); */
-webkit-filter: blur(50px) brightness(0.8);
-moz-filter: blur(50px) brightness(0.8);
-ms-filter: blur(50px) brightness(0.8);
-o-filter: blur(50px) brightness(0.8);
filter: blur(50px) brightness(0.8);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 1;
}
</style>
</head>
<body>
<div class="bgimage" id="bgimage"></div>