Difference between revisions of "Team:Lubbock TTU/Test"

 
(450 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Lubbock_TTU}}
+
{{Template:Lubbock_TTU/CSS}}
  
<html>
+
<html>
 +
 
 +
<head>
 +
<link href='https://fonts.googleapis.com/css?family=Comfortaa:400,700' rel='stylesheet' type='text/css'>
  
<!-- Slideshow CSS --!>
 
 
<style>
 
<style>
/* Slideshow container */
 
.slideshow-container {
 
  max-width: 1000px;
 
  position: relative;
 
  margin: auto;
 
}
 
  
/* Next & previous buttons */
+
#sideMenu, #top_title {display:none;}
.prev, .next {
+
  cursor: pointer;
+
  position: absolute;
+
  top: 0;
+
  top: 50%;
+
  width: auto;
+
  margin-top: -22px;
+
  padding: 16px;
+
  color: white;
+
  font-weight: bold;
+
  font-size: 18px;
+
  transition: 0.6s ease;
+
  border-radius: 0 3px 3px 0;
+
}
+
  
/* Position the "next button" to the right */
+
#logo:hover {
.next {
+
    opacity:0.6;
  right: 0;
+
  border-radius: 3px 0 0 3px;
+
 
}
 
}
 
+
h1{
/* On hover, add a black background color with a little bit see-through */
+
    font-family: "Comfortaa", sans-serif;
.prev:hover, .next:hover {
+
    font-size: 40px;
  background-color: rgba(0,0,0,0.8);
+
    text-align:center;
 +
    overflow: display;
 
}
 
}
 
+
h3, h4{
/* Caption text */
+
    text-align:center;
.text {
+
  color: #000000;
+
  font-size: 15px;
+
  padding: 8px 12px;
+
  position: absolute;
+
  bottom: 8px;
+
  width: 100%;
+
  text-align: center;
+
 
}
 
}
 
+
h4 a:hover{
/* Number text (1/3 etc) */
+
    text-decoration:none;
.numbertext {
+
    color:#8CCF6C;
  color: #f2f2f2;
+
  font-size: 12px;
+
  padding: 8px 12px;
+
  position: absolute;
+
  top: 0;
+
 
}
 
}
 
+
.col{
/* The dots/bullets/indicators */
+
    width:25%;
.dot {
+
    background-color:#FAFAFA;
  cursor:pointer;
+
    margin:1%;
  height: 13px;
+
    padding:3%;
  width: 13px;
+
    margin-top:5%;
  margin: 0 2px;
+
    float:left;
  background-color: #bbb;
+
    text-align:left;
  border-radius: 50%;
+
  display: inline-block;
+
  transition: background-color 0.6s ease;
+
 
}
 
}
 
+
.clear{
.active, .dot:hover {
+
    clear:both;
  background-color: #717171;
+
 
}
 
}
  
/* Fading animation */
+
</style>
.fade {
+
</head>
  -webkit-animation-name: fade;
+
  -webkit-animation-duration: 1.5s;
+
  animation-name: fade;
+
  animation-duration: 1.5s;
+
}
+
  
@-webkit-keyframes fade {
+
<body style="margin:auto">
  from {opacity: .4}
+
  to {opacity: 1}
+
}
+
  
@keyframes fade {
+
<h1>TITLE</h1>
  from {opacity: .4}
+
  to {opacity: 1}
+
}
+
  
</style>
+
<h4><i>"Tagline"</i></h4></br>
<!-- End of Slideshow CSS --!>
+
  
<!-- Slideshow HTML --!>
+
<center>
 +
 
 +
<!-- Slideshow -->
 
<div class="column full_size" >
 
<div class="column full_size" >
 
<div class="slideshow-container">
 
<div class="slideshow-container">
 
   <div class="mySlides fade">
 
   <div class="mySlides fade">
     <div class="numbertext">1 / 3</div>
+
     <div class="numbertext">3 / 3</div>
     <img src="https://static.igem.org/mediawiki/2016/f/f2/T--Lubbock_TTU--b0.png" style="width:100%">
+
     <img src="https://static.igem.org/mediawiki/2016/c/ca/T--Lubbock_TTU--20160505_151815.jpg" width="100%">
     <div class="text">Caption One</div>
+
     <div class="text"></div>
 
   </div>
 
   </div>
  
 
   <div class="mySlides fade">
 
   <div class="mySlides fade">
 
     <div class="numbertext">2 / 3</div>
 
     <div class="numbertext">2 / 3</div>
     <img src="https://static.igem.org/mediawiki/2016/8/87/T--Lubbock_TTU--b2.png" style="width:100%">
+
     <img src="https://static.igem.org/mediawiki/2016/0/00/T--Lubbock_TTU--20160630_170737.jpg" width="100%">
     <div class="text">Caption Two</div>
+
     <div class="text"></div>
 
   </div>
 
   </div>
  
 
   <div class="mySlides fade">
 
   <div class="mySlides fade">
     <div class="numbertext">3 / 3</div>
+
     <div class="numbertext">1 / 3</div>
     <img src="img3.jpg" style="width:100%">
+
     <img src="https://static.igem.org/mediawiki/2016/8/87/T--Lubbock_TTU--File_IMG_1399.png" width="100%">
     <div class="text">Caption Three</div>
+
     <div class="text"></div>
 
   </div>
 
   </div>
  
  <a class="prev" onclick="plusSlides(-1)">&#10094;</a>
 
  <a class="next" onclick="plusSlides(1)">&#10095;</a>
 
 
</div>
 
</div>
 
<br>
 
<br>
Line 128: Line 80:
 
</div>
 
</div>
 
</div>
 
</div>
<!-- End of Slideshow HTML --!>
+
<!-- End of Slideshow -->
  
<!-- Slideshow JavaScript --!>
+
</center>
 +
 
 +
<div>
 +
<p style='margin-left:30px; margin-bottom:20px'>
 +
<center>
 +
<a href=''><img src="https://static.igem.org/mediawiki/2016/a/a2/T--Lubbock_TTU--ttuseal.png" class="" width="23%" height=""></img></a>
 +
&emsp;<a href=''><img src="https://static.igem.org/mediawiki/2016/9/9c/T--Lubbock_TTU--idt.png" class="" width="23%" height=""></img></a>
 +
&nbsp;<a href=''><img src="https://static.igem.org/mediawiki/2016/5/53/T--Lubbock_TTU--genscript.png" class="" width="30%" height=""></img></a>
 +
&nbsp;<a href=''><img src="https://static.igem.org/mediawiki/2016/a/a3/T--Lubbock_TTU--ttusga.png" class="" width="100px" height=""></img></a>
 +
</br><a href=''><img src="https://static.igem.org/mediawiki/2016/6/65/T--Lubbock_TTU--mrdna.png" class="" width="20%" height=""></img></a>
 +
&nbsp;&nbsp;&nbsp;&nbsp;<a href=''><img src="https://static.igem.org/mediawiki/2016/8/8c/T--Lubbock_TTU--ttuhsc.png" class="" width="20%" height=""></img></a>
 +
<a href=''><img src="https://static.igem.org/mediawiki/2016/a/ad/T--Lubbock_TTU--ulabs.png" class="" width="20%" height=""></img></a>
 +
<a href=''><img src="https://static.igem.org/mediawiki/2016/6/6d/T--Lubbock_TTU--ciser.jpg" class="" width="100px" height="x"></img></a>
 +
<a href=''><img src="https://static.igem.org/mediawiki/2016/9/97/T--Lubbock_TTU--igem.png" class="" width="15%" height=""></img></a>
 +
</center>
 +
</p>
 +
</div>
 +
 
 +
</div>
 +
 
 +
<div style='width:100%; clear:both'></div>
 +
 
 +
 
 +
</div> <!--These are the closing tags for div id="mainContainer" and div id="contentContainer". The corresponding opening tags appear in the template that is {{included}} at the top of this page.-->
 +
 
 +
</body>
 +
 
 +
<!-- Slideshow JS -->
 
<script>
 
<script>
 
var slideIndex = 1;
 
var slideIndex = 1;
Line 157: Line 136:
 
   slides[slideIndex-1].style.display = "block";  
 
   slides[slideIndex-1].style.display = "block";  
 
   dots[slideIndex-1].className += " active";
 
   dots[slideIndex-1].className += " active";
 +
}
 +
 +
<!-- Automatic -->
 +
var slideIndex = 0;
 +
showSlides();
 +
 +
function showSlides() {
 +
    var i;
 +
    var slides = document.getElementsByClassName("mySlides");
 +
    for (i = 0; i < slides.length; i++) {
 +
        slides[i].style.display = "none";
 +
    }
 +
    slideIndex++;
 +
    if (slideIndex> slides.length) {slideIndex = 1}
 +
    slides[slideIndex-1].style.display = "block";
 +
    setTimeout(showSlides, 3000); // Change image every 3 seconds
 
}
 
}
  
 
</script>
 
</script>
<!-- End of Slideshow Javascript --!>
+
<!-- End of SS JS -->
  
<html>
+
</html>

Latest revision as of 15:54, 22 July 2016

TITLE

"Tagline"


3 / 3
2 / 3
1 / 3