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

 
(445 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'>
  
<!-- Card CSS --!>
 
 
<style>
 
<style>
.card {
 
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
 
    transition: 0.3s;
 
}
 
  
.card:hover {
+
#sideMenu, #top_title {display:none;}
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
+
}
+
  
.container {
+
#logo:hover {
    padding: 2px 16px;
+
    opacity:0.6;
 
}
 
}
 
+
h1{
<!-- CSS for Rounded Corners --!>
+
    font-family: "Comfortaa", sans-serif;
.card {
+
    font-size: 40px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
+
    text-align:center;
    transition: 0.3s;
+
    overflow: display;
    border-radius: 5px;
+
 
}
 
}
 
+
h3, h4{
.card:hover {
+
    text-align:center;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
+
 
}
 
}
 
+
h4 a:hover{
img {
+
    text-decoration:none;
    border-radius: 5px 5px 0 0;
+
    color:#8CCF6C;
 
}
 
}
 
+
.col{
.container {
+
    width:25%;
     padding: 2px 16px;
+
    background-color:#FAFAFA;
 +
    margin:1%;
 +
    padding:3%;
 +
    margin-top:5%;
 +
    float:left;
 +
    text-align:left;
 +
}
 +
.clear{
 +
     clear:both;
 
}
 
}
<!-- End of CSS for Rounded Corners --!>
 
  
 
</style>
 
</style>
<!-- End of Card CSS --!>
+
</head>
  
<!-- Card HTML --!>
+
<body style="margin:auto">
<div class="card">
+
 
   <img src="http://www.w3schools.com/howto/img_avatar.png" alt="Avatar" style="width:100%">
+
<h1>TITLE</h1>
  <div class="container">
+
 
    <h4><b>John Doe</b></h4>
+
<h4><i>"Tagline"</i></h4></br>
    <p>Architect & Engineer</p>  
+
 
 +
<center>
 +
 
 +
<!-- Slideshow -->
 +
<div class="column full_size" >
 +
<div class="slideshow-container">
 +
   <div class="mySlides fade">
 +
    <div class="numbertext">3 / 3</div>
 +
    <img src="https://static.igem.org/mediawiki/2016/c/ca/T--Lubbock_TTU--20160505_151815.jpg" width="100%">
 +
    <div class="text"></div>
 
   </div>
 
   </div>
 +
 +
  <div class="mySlides fade">
 +
    <div class="numbertext">2 / 3</div>
 +
    <img src="https://static.igem.org/mediawiki/2016/0/00/T--Lubbock_TTU--20160630_170737.jpg" width="100%">
 +
    <div class="text"></div>
 +
  </div>
 +
 +
  <div class="mySlides fade">
 +
    <div class="numbertext">1 / 3</div>
 +
    <img src="https://static.igem.org/mediawiki/2016/8/87/T--Lubbock_TTU--File_IMG_1399.png" width="100%">
 +
    <div class="text"></div>
 +
  </div>
 +
 
</div>
 
</div>
<!-- End of Card HTML --!>
+
<br>
 +
 
 +
<div style="text-align:center">
 +
  <span class="dot" onclick="currentSlide(1)"></span>
 +
  <span class="dot" onclick="currentSlide(2)"></span>
 +
  <span class="dot" onclick="currentSlide(3)"></span>
 +
</div>
 +
</div>
 +
<!-- End of Slideshow -->
 +
 
 +
</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>
 +
var slideIndex = 1;
 +
showSlides(slideIndex);
 +
 
 +
function plusSlides(n) {
 +
  showSlides(slideIndex += n);
 +
}
 +
 
 +
function currentSlide(n) {
 +
  showSlides(slideIndex = n);
 +
}
 +
 
 +
function showSlides(n) {
 +
  var i;
 +
  var slides = document.getElementsByClassName("mySlides");
 +
  var dots = document.getElementsByClassName("dot");
 +
  if (n > slides.length) {slideIndex = 1}
 +
  if (n < 1) {slideIndex = slides.length}
 +
  for (i = 0; i < slides.length; i++) {
 +
      slides[i].style.display = "none";
 +
  }
 +
  for (i = 0; i < dots.length; i++) {
 +
      dots[i].className = dots[i].className.replace(" active", "");
 +
  }
 +
  slides[slideIndex-1].style.display = "block";
 +
  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>
 +
<!-- End of SS JS -->
  
 
</html>
 
</html>

Latest revision as of 15:54, 22 July 2016

TITLE

"Tagline"


3 / 3
2 / 3
1 / 3