Difference between revisions of "Team:CPU CHINA/Team"

Line 177: Line 177:
 
</video>
 
</video>
  
<div id="photo1" style="position:relative;top:100px;background:url(https://static.igem.org/mediawiki/2018/2/2e/T--CPU_CHINA--team-DSC00332.png);background-repeat:no-repeat;background-size:cover;">
+
<div id="photo1" style="position:relative;top:100px;margin-left:5%;background:url(https://static.igem.org/mediawiki/2018/2/2e/T--CPU_CHINA--team-DSC00332.png);background-repeat:no-repeat;background-size:cover;">
 
</body>
 
</body>
  
Line 201: Line 201:
 
function setPhoto(){
 
function setPhoto(){
 
   $("#photo1").css("height",$(window).height()+"px");
 
   $("#photo1").css("height",$(window).height()+"px");
   $("#photo1").css("width",$(window).width()+"px");
+
   $("#photo1").css("width",$(window).width()*0.9+"px");
 
   var parent=document.getElementById("mw-content-text");
 
   var parent=document.getElementById("mw-content-text");
 
   var child=document.getElementById("photo1");
 
   var child=document.getElementById("photo1");

Revision as of 07:05, 24 August 2018