Difference between revisions of "Team:UC Davis"

Line 1: Line 1:
 
 
<html>
 
<html>
<style>
 
body, html {
 
    height: 100%;
 
    margin: 0;
 
}
 
  
.bgimg {
+
<head>
    background-image: url('https://static.igem.org/mediawiki/2018/4/45/T--UC_Davis--UCDavis.jpg');
+
  <link href="//fonts.googleapis.com/css?family=PT+Sans:400italic,400,700italic,700" rel="stylesheet" type="text/css">
    height: 100%;
+
</head>
    background-position: center;
+
    background-size: cover;
+
    position: relative;
+
    color:gold;
+
    font-family: "Courier New", Courier, monospace;
+
    font-size: 25px;
+
}
+
  
.topleft {
+
<body>
     position: absolute;
+
  <div class="w3-content w3-display-container">
     top: 0;
+
     <img class="mySlides" src="https://static.igem.org/mediawiki/2018/e/e0/T--UC_Davis--20180619_103945.jpg" width="967px" height="400/">
     left: 16px;
+
     <img class="mySlides" src="https://static.igem.org/mediawiki/2018/a/af/T--UC_Davis--blah2.jpg" width="967px" height="400/">
}
+
     <img class="mySlides" src="https://static.igem.org/mediawiki/2018/d/d5/T--UC_Davis--blah1.jpg" width="967px" height="400/">
  
.bottomleft {
+
     <button class="w3-button w3-display-left" onclick="plusDivs(-1)">&#10094;</button>
     position: absolute;
+
     <button class="w3-button w3-display-right" onclick="plusDivs(+1)">&#10095;</button>
     bottom: 0;
+
    left: 16px;
+
}
+
  
.middle {
+
  </div>
    position: absolute;
+
    top: 68%;
+
    left: 55%;
+
    transform: translate(-90%, -50%);
+
    text-align: center;
+
}
+
  
hr {
+
   <script>
    margin: auto;
+
     var slideIndex = 1;
    width: 40%;
+
     showDivs(slideIndex);
}
+
</style>
+
<body>
+
 
+
<div class="bgimg">
+
   <div class="topleft">
+
     <p>UC Davis iGEM 2018</p>
+
  </div>
+
  <div class="middle">
+
     <h3>COMING SOON</h3>
+
    <hr>
+
    <p>click here</p>
+
  </div>
+
</div>
+
  
</body>
+
    function plusDivs(n) {
</html>
+
      showDivs(slideIndex += n);
 +
    }

Revision as of 19:00, 3 July 2018