Difference between revisions of "Team:HZAU-China"

 
(44 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{HZAU-China}}
 
<html>
 
<html>
<meta charset="UTF-8">
 
  
 
<head>
 
<head>
    <title>Team:HZAU-China</title>
+
  <meta charset="UTF-8">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+
  <style>
    <!-- HZAU-navigation's style -->
+
     body {
     <style type="text/css">
+
      background-color: rgb(249, 228, 137);
        ul#HZAU-navigation {
+
    }
            position: fixed;
+
            padding: 0px;
+
            top: 0px;
+
            right: 100px;
+
            list-style: none;
+
            z-index: 999999;
+
            width: 824px;
+
        }
+
  
        ul#HZAU-navigation li {
+
    #content {
            width: 103px;
+
      background-color: rgb(249, 228, 137);
            display: inline;
+
    }
            float: left;
+
        }
+
  
        ul#HZAU-navigation li a {
+
    div.background_page {
            display: block;
+
      transition: opacity 1s;
            float: left;
+
      -webkit-transition: opacity 1s;
            margin-top: -2px;
+
    }
            width: 100px;
+
            height: 25px;
+
            background-color: #E7F2F9;
+
            background-repeat: no-repeat;
+
            background-position: 50% 10px;
+
            background-size: 100px 100px;
+
            border: 1px solid #BDDCEF;
+
            -moz-border-radius: 0px 0px 10px 10px;
+
            -webkit-border-bottom-right-radius: 10px;
+
            -webkit-border-bottom-left-radius: 10px;
+
            -khtml-border-bottom-right-radius: 10px;
+
            -khtml-border-bottom-left-radius: 10px;
+
            text-decoration: none;
+
            text-align: center;
+
            padding-top: 80px;
+
            opacity: 0.7;
+
            filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);
+
        }
+
  
        ul#HZAU-navigation li a:hover {
+
    .fourC_div {
            background-color: #CAE3F2;
+
      width: 100%;
        }
+
      margin: 48px auto 0 auto;
 +
    }
  
        ul#HZAU-navigation li a span {
+
    .fourC {
            letter-spacing: 2px;
+
      width: 100%;
            font-size: 11px;
+
      height: auto;
            color: #60ACD8;
+
    }
            text-shadow: 0 -1px 1px #fff;
+
        }
+
  
        ul#HZAU-navigation .Home a {
 
            background-image: url();
 
        }
 
  
        ul#HZAU-navigation .Team a {
+
    #anniu {
            background-image: url();
+
      position: relative;
        }
+
      top: 70px;
 +
      transition: top 0.2s;
 +
      left: 50%;
 +
      margin: 0 0 0 -50px;
 +
    }
  
        ul#HZAU-navigation .Project a {
+
    #anniu>img {
            background-image: url();
+
      height: 100px;
        }
+
    }
  
        ul#HZAU-navigation .Parts a {
+
    #anniu:hover {
            background-image: url();
+
      top: 90px;
        }
+
    }
  
        ul#HZAU-navigation .Safety a {
+
    .di {
            background-image: url();
+
      width: 100%;
        }
+
      position: relative;
 +
      top: 600px;
 +
      margin: -350px auto 0 auto;
 +
      vertical-align: middle;
 +
    }
  
        ul#HZAU-navigation .HP a {
+
    #rongqi p {
            background-image: url();
+
      padding: 0;
        }
+
      margin: 0;
 +
    }
  
        ul#HZAU-navigation .Award a {
+
    /*-- 轮播图整体样式-- */
            background-image: url();
+
        }
+
  
        ul#HZAU-navigation .JudgingForm a {
+
    .zhanshiqu {
            background-image: url();
+
      position: relative;
        }
+
    }
  
        a.dry {
+
     /*-- 轮播图主体样式-- */
            position: absolute;
+
            bottom: 15px;
+
            left: 15px;
+
            text-align: left;
+
            font-size: 12px;
+
            color: #ccc;
+
            text-transform: uppercase;
+
            text-decoration: none;
+
        }
+
     </style>
+
    <!-- go to top'style -->
+
    <style type="text/css">
+
        a.GoTop {
+
            position: fixed;
+
            bottom: 20px;
+
            right: 20px;
+
            z-index: 999;
+
        }
+
    </style>
+
    <!-- content of body'style -->
+
    <style type="text/css">
+
        .maindiv {
+
            position: relative;
+
            top: 16px;
+
            margin: 0 auto;
+
            width: 1366px;
+
            height: 1000px;
+
            background-color: #fff;
+
            background-color: #60ACD8;
+
        }
+
  
        a.HZAU-logo {
+
    .bianda {
            position: fixed;
+
      width: 1200px;
            top: 20px;
+
      margin: 300px auto 0 auto;
            left: 5px;
+
    }
            z-index: 30;
+
        }
+
  
        h1 {
+
    #rongqi {
            font-size: 200%;
+
      width: 950px;
            color: #3399ff;
+
      height: 570px;
            position: absolute;
+
      margin: 0 auto;
            top: 50px;
+
      border-radius: 5px;
            left: 140px;
+
      overflow: hidden;
        }
+
      position: relative;
 +
    }
  
        ul.content li {
+
    /*-- 图片样式 --*/
            list-style: none;
+
        }
+
  
        ul.content {
+
    .shiying {
            position: absolute;
+
      width: 950px;
            top: 100px;
+
      height: 570px;
            left: 100px;
+
     }
        }
+
     </style>
+
    <!--hide some useless element-->
+
    <style type="text/css">
+
        #sideMenu,
+
        #top_title,
+
        #team_submenu {
+
            display: none;
+
        }
+
  
        #bodyContent h1,
+
    #rongqi img {
        #bodyContent h2,
+
      position: absolute;
        #bodyContent h3,
+
      top: 0;
        #bodyContent h4,
+
      left: 950px;
        #bodyContent h5 {
+
      /*图片均位于右侧*/
            margin-bottom: 0px;
+
      transition: left 0.3s linear;
        }
+
      /*改变left值实现动画*/
 +
    }
  
        #team_name {
+
    #rongqi img.yundong {
            display: none
+
      left: 0;
        }
+
    }
  
        .global_wrapper {
+
    #rongqi img.left {
            padding: 0px 0px 0px 0px;
+
      left: -950px;
        }
+
    }
  
        #top_menu_14 {
+
    /*-- 页码样式 --*/
            height: 16px;
+
 
         }
+
    #rongqi div {
     </style>
+
      position: absolute;
 +
      bottom: 0;
 +
      width: 100%;
 +
      line-height: 0;
 +
      text-align: center;
 +
      padding: 5px 0;
 +
      z-index: 2;
 +
    }
 +
 
 +
    #rongqi span {
 +
      display: inline-block;
 +
      width: 50px;
 +
      height: 22px;
 +
      margin: 0 10px;
 +
      border-radius: 11px;
 +
      background: white;
 +
      transition: width 0.3s;
 +
    }
 +
 
 +
    #rongqi span.yundong {
 +
      width: 78px;
 +
      background: #A08989;
 +
    }
 +
 
 +
    /*-- 图片描述的样式 --*/
 +
 
 +
    #rongqi p {
 +
      position: absolute;
 +
      bottom: 20px;
 +
      width: 100%;
 +
      line-height: 20px;
 +
      font-size: 14px;
 +
      text-indent: 5px;
 +
      color: white;
 +
      cursor: default;
 +
      opacity: 0;
 +
      transition: opacity 0.3s linear;
 +
    }
 +
 
 +
    #rongqi p.yundong {
 +
      opacity: 1;
 +
    }
 +
 
 +
    /*--齿轮样式--*/
 +
 
 +
    .hezi {
 +
      position: absolute;
 +
      top: 20px;
 +
      margin: 0 50%;
 +
      width: 950px;
 +
      height: 600px;
 +
      left: -475px;
 +
      opacity: 1;
 +
      transition: opacity 1s;
 +
    }
 +
 
 +
    @keyframes mymove {
 +
      from {}
 +
      to {
 +
         transform: rotate(360deg);
 +
      }
 +
     }
 +
 
 +
    @-moz-keyframes mymove {
 +
      from {}
 +
      to {
 +
        transform: rotate(360deg);
 +
      }
 +
    }
 +
 
 +
    @-webkit-keyframes mymove {
 +
      from {}
 +
      to {
 +
        transform: rotate(360deg);
 +
      }
 +
    }
 +
 
 +
    @-o-keyframes mymove {
 +
      from {}
 +
      to {
 +
        transform: rotate(360deg);
 +
      }
 +
    }
 +
 
 +
    @keyframes mymove_2 {
 +
      from {}
 +
      to {
 +
        transform: rotate(-360deg);
 +
      }
 +
    }
 +
 
 +
    @-moz-keyframes mymove_2 {
 +
      from {}
 +
      to {
 +
        transform: rotate(-360deg);
 +
      }
 +
    }
 +
 
 +
    @-webkit-keyframes mymove_2 {
 +
      from {}
 +
      to {
 +
        transform: rotate(-360deg);
 +
      }
 +
    }
 +
 
 +
    @-o-keyframes mymove_2 {
 +
      from {}
 +
      to {
 +
        transform: rotate(-360deg);
 +
      }
 +
    }
 +
 
 +
    .chilun_1 {
 +
      position: absolute;
 +
      top: -70px;
 +
      left: -80px;
 +
      width: 200px;
 +
      height: 200px;
 +
      animation: rotate 10s infinite;
 +
      -webkit-animation: mymove 10s infinite;
 +
      animation-timing-function: linear;
 +
      background: url(https://static.igem.org/mediawiki/2017/f/fb/HZAU_2017_gear_1.png);
 +
      background-size: 150px 150px;
 +
      background-repeat: no-repeat;
 +
      background-size: cover;
 +
      z-index: -1;
 +
    }
 +
 
 +
    .chilun_2 {
 +
      position: absolute;
 +
      top: 115px;
 +
      left: -105px;
 +
      width: 130px;
 +
      height: 130px;
 +
      background-size: cover;
 +
      animation: rotate 10s infinite;
 +
      -webkit-animation: mymove_2 10s infinite;
 +
      animation-timing-function: linear;
 +
      background: url(https://static.igem.org/mediawiki/2017/f/fb/HZAU_2017_gear_1.png);
 +
      background-size: 100px 100px;
 +
      background-repeat: no-repeat;
 +
      background-size: cover;
 +
      z-index: -1;
 +
    }
 +
 
 +
    .chilun_3 {
 +
      position: absolute;
 +
      bottom: 60px;
 +
      right: -100px;
 +
      width: 250px;
 +
      height: 250px;
 +
      background-size: cover;
 +
      animation: rotate 10s infinite;
 +
      -webkit-animation: mymove 10s infinite;
 +
      animation-timing-function: linear;
 +
      background: url(https://static.igem.org/mediawiki/2017/c/c0/T--HZAU-China--gear.png);
 +
      background-size: 250px 250px;
 +
      background-repeat: no-repeat;
 +
      background-size: cover;
 +
      z-index: -1;
 +
    }
 +
 
 +
    #tiaozhuan {
 +
      position: absolute;
 +
      top: -135px;
 +
    }
 +
 
 +
    /*--线框样式--*/
 +
 
 +
    .frame {
 +
      position: absolute;
 +
      top: -30px;
 +
      margin: 0 50%;
 +
      width: 1020px;
 +
      height: 630px;
 +
      left: -510px;
 +
      z-index: 1;
 +
    }
 +
 
 +
    .frame_tu {
 +
      width: 1020px;
 +
      height: 630px;
 +
    }
 +
  </style>
 
</head>
 
</head>
  
 
<body>
 
<body>
    <a href="https://2017.igem.org/Team:HZAU-China" class="HZAU-logo" title="logo"><img src="https://static.igem.org/mediawiki/2017/3/3d/HZAU-logo.png" width="10%"></a>
+
  <div class="fourC_div">
 
+
    <img class="fourC" src="https://static.igem.org/mediawiki/2017/8/8d/T--HZAU-China--4C.gif">
     <div class="maindiv">
+
     <div>
        <a href="#" class="GoTop" title="GoTop"><img src="https://static.igem.org/mediawiki/2015/2/2a/Igemlogo_banner.jpg" width="100px" height="100px"></a>
+
      <a id="anniu" href="#tiaozhuan">
        <ul id="HZAU-navigation">
+
        <img src="https://static.igem.org/mediawiki/2017/7/7e/T--HZAU-China--arrow.gif">
            <li class="Home"><a href="https://2017.igem.org/Team:HZAU-China"></a></li>
+
      </a>
            <li class="Team"><a href=""></a></li>
+
            <li class="Project"><a href=""></a></li>
+
            <li class="Parts"><a href=""></a></li>
+
            <li class="Safety"><a href=""></a></li>
+
            <li class="HP"><a href=""></a></li>
+
            <li class="Award"><a href=""></a></li>
+
            <li class="JudgingForm"><a href=""></a></li>
+
        </ul>
+
        <script type="text/javascript">
+
            $(function () {
+
                var d = 300;
+
                $('#HZAU-navigation a').each(function () {
+
                    $(this).stop().animate({
+
                        'marginTop': '-62px'
+
                    }, d += 150);
+
                });
+
                $('#HZAU-navigation > li').hover(
+
                    function () {
+
                        $('a', $(this)).stop().animate({
+
                            'marginTop': '-2px'
+
                        }, 200);
+
                    },
+
                    function () {
+
                        $('a', $(this)).stop().animate({
+
                            'marginTop': '-62px'
+
                        }, 200);
+
                    }
+
                );
+
            });
+
        </script>
+
        <h1>Discription</h1>
+
        <ul class="content">
+
            <li>This year our project is about using light to control the reproduction of E.coli.</li>
+
            <li>We decide to block the replication of E.coli by using dCas9 targeting at OriC.</li>
+
            <li>By splitting dCas9 into two parts, each separately fused with a light inducible dimer.</li>
+
            <li>nder the irradiation of light, the dimer will dimerize, promoting the function of dCas9.</li>
+
            <li>Then the dCas9 will block the OriC, the replication origin of E.coli.</li>
+
            <li>After turning off the light, the dCas9 will split again, which causes the E.coli to reproduce again.</li>
+
        </ul>
+
 
     </div>
 
     </div>
 +
  </div>
 +
  <div class="bianda">
 +
    <div class="zhanshiqu">
 +
      <!-- 大小齿轮们 -->
 +
      <div class="hezi">
 +
        <div id="tiaozhuan"></div>
 +
        <div class="chilun_1"></div>
 +
        <div class="chilun_2"></div>
 +
        <div class="chilun_3"></div>
 +
      </div>
 +
      <div class="frame">
 +
        <img class="frame_tu" src="https://static.igem.org/mediawiki/2017/1/17/T--HZAU-China--frame.png" />
 +
      </div>
 +
      <div id="rongqi">
 +
        <!-- 插入轮播的图片们 -->
 +
        <img class="yundong shiying" src="https://static.igem.org/mediawiki/2017/6/64/T--HZAU-China--confirm2.png" />
 +
        <img class="shiying" src="https://static.igem.org/mediawiki/2017/4/4a/T--HZAU-China--confirm3.png" />
 +
        <img class="shiying" src="https://static.igem.org/mediawiki/2017/8/88/T--HZAU-China--confirm4.png" />
 +
        <!-- 插入轮播的页码们 -->
 +
        <div style="top: 543px;">
 +
          <span class="yundong" name="0"></span>
 +
          <span name="1"></span>
 +
          <span name="2"></span>
 +
        </div>
 +
        <!-- 插入图片的描述们 -->
 +
        <p class="yundong"></p>
 +
        <p></p>
 +
        <p></p>
 +
      </div>
 +
    </div>
 +
  </div>
 +
  <div>
 +
    <img class="di" src="https://static.igem.org/mediawiki/2017/c/c7/T--HZAU-China--di.png">
 +
  </div>
 
</body>
 
</body>
 +
<script>
 +
  //---------主角:轮播图函数-------------
 +
  function rongqi() {
 +
    var rongqi = document.getElementById("rongqi"),
 +
      imgs = rongqi.getElementsByTagName("img"), //图片们
 +
      pages = rongqi.getElementsByTagName("span"), //页码们
 +
      descrips = rongqi.getElementsByTagName("p"), //描述们
 +
      length = imgs.length, //图片数目
 +
      current = 1; //current为当前活跃的图片、页码、描述的编号
 +
 +
 +
    function changeSlide() { //切换图片的函数
 +
      for (var i = 0; i < length; i++) {
 +
        if (i == current) {
 +
          imgs[i].className = "yundong shiying";
 +
          pages[i].className = "yundong";
 +
          descrips[i].className = "yundong";
 +
        } else {
 +
          pages[i].className = "";
 +
          descrips[i].className = "";
 +
          if (i < current) {
 +
            imgs[i].className = "left";
 +
          } else {
 +
            imgs[i].className = "";
 +
          }
 +
        }
 +
      }
 +
      current++; //自增1
 +
      if (current >= length) {
 +
        current = 0;
 +
      }
 +
    }
 +
 +
    //每2s调用changeSlide函数进行图片轮播
 +
    var slideon = setInterval(changeSlide, 60000);
 +
 +
    rongqi.onmouseover = function () {
 +
      clearInterval(slideon); //当鼠标移入时清除轮播事件
 +
    }
 +
    rongqi.onmouseout = function () {
 +
      slideon = setInterval(changeSlide, 60000); //当鼠标移出时重新开始轮播事件
 +
    }
 +
 +
    for (var i = 0; i < length; i++) {  //定义鼠标移入页码事件
 +
      pages[i].onmouseover = function () {
 +
        current = this.getAttribute("name");  //得到当前鼠标指的页码
 +
        changeSlide();
 +
      }
 +
    }
 +
 +
  }
 +
 +
  rongqi();
 +
 +
</script>
 +
  
 
</html>
 
</html>

Latest revision as of 01:31, 2 November 2017