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

Line 120: Line 120:
 
   width:17%;
 
   width:17%;
 
   margin-left:2%;
 
   margin-left:2%;
 +
}
 +
.pi-photo{
 +
  width:17%;
 +
  margin-left:2%;
 +
  float:left;
 
}
 
}
 
.member-text{
 
.member-text{
Line 359: Line 364:
  
 
<div class="member-block" id="Hong Tian-p">
 
<div class="member-block" id="Hong Tian-p">
   <div class="member-photo">
+
   <div class="pi-photo">
       <img class="member-img" src="https://static.igem.org/mediawiki/2018/7/70/T--CPU_CHINA--team-Hong_Tian.png">
+
       <img id="hongtian" class="member-img" src="https://static.igem.org/mediawiki/2018/7/70/T--CPU_CHINA--team-Hong_Tian.png">
 +
      <h3>Hong Tian</h3>
 +
      <h4>School of Life Science and Technology</h4>
 +
      <h4>China Pharmaceutical University</h4>
 
   </div>
 
   </div>
  
   <div class="member-photo">
+
   <div class="pi-photo">
       <img class="member-img" src="https://static.igem.org/mediawiki/2018/9/9d/T--CPU_CHINA--team-Xiaoda_Song.png">
+
       <img id="xiaodasong" class="member-img" src="https://static.igem.org/mediawiki/2018/9/9d/T--CPU_CHINA--team-Xiaoda_Song.png">
 +
      <h3>Xiaoda Song</h3>
 +
      <h4>School of Life Science and Technology</h4>
 +
      <h4>China Pharmaceutical University</h4>
 
   </div>
 
   </div>
  
   <div class="member-photo">
+
   <div class="pi-photo">
 
       <img class="member-img" src="https://static.igem.org/mediawiki/2017/7/70/T--CPU_CHINA--member_HH.png">
 
       <img class="member-img" src="https://static.igem.org/mediawiki/2017/7/70/T--CPU_CHINA--member_HH.png">
 +
      <h3>Hui Huang</h3>
 +
      <h4>School of Science</h4>
 +
      <h4>China Pharmaceutical University</h4>
 
   </div>
 
   </div>
  
   <div class="member-photo">
+
   <div class="pi-photo">
 
       <img class="member-img" src="https://static.igem.org/mediawiki/2018/8/8c/T--CPU_CHINA--team-Yan_Huang.png">
 
       <img class="member-img" src="https://static.igem.org/mediawiki/2018/8/8c/T--CPU_CHINA--team-Yan_Huang.png">
 +
      <h3>Yan Huang</h3>
 +
      <h4>School of Pharmacy</h4>
 +
      <h4>China Pharmaceutical University</h4>
 
   </div>
 
   </div>
 
</div>
 
</div>
Line 496: Line 513:
 
   $(".mw-content-ltr").css("height",document.body.scrollHeight+"px");
 
   $(".mw-content-ltr").css("height",document.body.scrollHeight+"px");
 
}
 
}
 +
 +
$(this).scroll(function(){
 +
  $("#xiaodasong").css("height",$("#hongtian").height()+"px");
 +
})
 
</script>
 
</script>
  

Revision as of 15:26, 7 December 2018