Difference between revisions of "Team:ECUST/test"

(Replaced content with "{{ECUST/Header}} <html> <main> </main> </html> {{ECUST/Footer}}")
Line 2: Line 2:
 
<html>
 
<html>
  
<main>
+
<body class="t-body">
 +
<div id="overall-wrapper">
 +
      <!-- cover -->
 +
<div class="t-cover"  style="height:90vh; background-color:#974c4c" >
 +
 
 +
 
 +
        <div id="media-box">
 +
        <video id="landing-page-video" class="landing-video" poster="main.png" style="position:absolute left:100px;
 +
  top:100px;" playsinline autoplay muted loop>
 +
        <source src="http://www.w3school.com.cn/i/mvie.ogg" type="video/mp4">
 +
Your browser does not support HTML video tag.
 +
      </video>
 +
          </div>
 +
</div>
 +
 +
 +
 +
<div style="background: #393939 z-index: 5 " id="wrapper" >
 +
<div class="t-container" style="position: relative; padding-bottom: 50px; background-color: transparent;">
 +
<div class="t-col t-col_12" ><img width="100%" src="poster.png">
 +
</div>
 +
 
 +
 +
 +
                                         
 +
 +
       
 +
 +
 
 +
</div>                             
 +
 
 +
    <script>
 +
 
 +
$('a[href^="#textblock1"]').on('click',function (e) {
 +
    e.preventDefault();
 +
 
 +
    var target = this.hash;
 +
    var $target = $(target);
 +
        var scroll = $target.offset().top-200;
 +
    $('html').stop().animate({
 +
        'scrollTop': scroll
 +
    }, 1000, 'swing')
 +
});
 +
 
 +
$( document ).ready( function() {
 +
  $('link[rel="shortcut icon"]').attr('href','https://static.igem.org/mediawiki/2017/0/08/T--Heidelberg--2017_favicon.png');
 +
});
 +
 
 +
</script>
 +
 
 +
 
 +
        </div> 
 +
</div>
 +
        </body>
  
  
  
</main>
 
 
</html>
 
</html>
 
{{ECUST/Footer}}
 
{{ECUST/Footer}}

Revision as of 14:13, 22 August 2018