Template:Team:KIT-Kyoto/MaxImage

From 2014.igem.org

(Difference between revisions)
Line 701: Line 701:
</script>
</script>
-
<script type="text/javascript">
+
<script>
$(function(){
$(function(){
-
     $('#maximage').maximage({
+
     $('#bg').maximage({
-
        isBackground: true,
+
overflow:'hidden',
-
        overflow: 'auto',
+
         verticalAlign:'top'
         verticalAlign:'top'
     });
     });
});
});
</script>
</script>
 +
<style>
 +
body{
 +
background:#000;
 +
}
 +
 +
div#description{
 +
position:fixed;
 +
top:10px;
 +
left:20px;
 +
color:#fff;
 +
text-shadow: 0 0 3px #000;
 +
}
 +
 +
div#description h1{
 +
font-size:18px;
 +
}
-
<style type="text/css" media="screen">
+
div#description p{
-
#maximage {
+
font-size:14px;
-
position:fixed !important;
+
}
}
 +
</style>
/*Set my logo in bottom left*/
/*Set my logo in bottom left*/

Revision as of 09:13, 19 May 2014

/*Set my logo in bottom left*/ #logo { bottom:30px; height:auto; left:30px; position:absolute; width:34%; z-index:1000; } #logo img { width:100%; }