fixed stupid mobile dick

This commit is contained in:
Kasper Rynning-Tønnesen
2015-02-16 21:36:50 +01:00
parent fe3dc40495
commit 764b4788ee
4 changed files with 15 additions and 27 deletions

View File

@@ -16,7 +16,7 @@
<div id="pBar"></div>
<div id="sBar"></div>
<div id="eBar"></div>
<div class="bgimage" id="bgimage"></div>
<div class="bgimage chp" id="bgimage"></div>
<div class="top vcent centered">
<div id="change" class="small">
<div id="mobile-banner">

View File

@@ -10,7 +10,14 @@
$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,32 +51,9 @@ 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>

View File

@@ -645,14 +645,18 @@ input[type="radio"] {
}
.bgimage {
background-image: url(bg6.jpg);
position:fixed;
background-size:500%;
background-color:#FFF;
background-color:#000;
-webkit-filter:brightness(80%);
filter:brightness(90%);
}
.chp {
background-image: url(bg6.jpg);
background-color:#FFF;
}
#player {
width:100%;
height:45%;