Difference between revisions of "Team:UANL"

 
(33 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{UANL/header}}
 
{{UANL/header}}
 +
 
<html>
 
<html>
<head>
+
 
<meta name="viewport" content="width=device-width, initial-scale=1">
+
 
<style>
 
<style>
* {box-sizing: border-box;}
 
body {font-family: Verdana, sans-serif;}
 
.mySlides {display: none;}
 
img {vertical-align: middle;}
 
  
 
+
.slider {
/* Slideshow container */
+
width: 95%;
.slideshow-container {
+
margin: auto;
  max-width: 1000px;
+
overflow: hidden;
  position: relative;
+
  margin: auto;
+
 
}
 
}
  
/* Caption text */
 
.text {
 
  color: #f2f2f2;
 
  font-size: 15px;
 
  padding: 8px 12px;
 
  position: absolute;
 
  bottom: 8px;
 
  width: 100%;
 
  text-align: center;
 
}
 
  
/* Number text (1/3 etc) */
+
.slider .text {
.numbertext {
+
    font-size: 30px;
  color: #f2f2f2;
+
    background-color: rgba(255,255,255,0.7);
  font-size: 12px;
+
    position: relative;
  padding: 8px 12px;
+
    top: -60px;
  position: absolute;
+
    padding: 20px;
  top: 0;
+
    text-align: center;
 
}
 
}
  
/* The dots/bullets/indicators */
+
.slider ul {
.dot {
+
display: flex;
  height: 15px;
+
padding: 0;
  width: 15px;
+
width: 800%;
  margin: 0 2px;
+
  background-color: #bbb;
+
animation: cambio 20s infinite alternate linear;
  border-radius: 50%;
+
  display: inline-block;
+
  transition: background-color 0.8s ease;
+
 
}
 
}
  
.active {
+
.slider li {
  background-color: #717171;
+
width: 100%;
 +
list-style: none;
 
}
 
}
  
/* Fading animation */
+
.slider img {
.fade {
+
max-height: 500px;
  -webkit-animation-name: fade;
+
    width: auto;
  -webkit-animation-duration: 5s;
+
  animation-name: fade;
+
  animation-duration: 5s;
+
 
}
 
}
  
@-webkit-keyframes fade {
+
@keyframes cambio {
  from {opacity: .4}  
+
0% {margin-left: 0;}
  to {opacity: 1}
+
10% {margin-left: 0;}
}
+
 +
15% {margin-left: -100%;}
 +
25% {margin-left: -100%;}
 +
 +
30% {margin-left: -200%;}
 +
40% {margin-left: -200%;}
 +
 +
45% {margin-left: -300%;}
 +
55% {margin-left: -300%;}
 +
 
 +
60% {margin-left: -400%;}
 +
70% {margin-left: -400%;}
 +
 
 +
75% {margin-left: -500%;}
 +
85% {margin-left: -500%;}
 +
 
 +
90% {margin-left: -600%;}
 +
100% {margin-left: -600%;}
  
@keyframes fade {
 
  from {opacity: .4}
 
  to {opacity: 1}
 
 
}
 
}
  
/* On smaller screens, decrease text size */
 
@media only screen and (max-width: 300px) {
 
  .text {font-size: 11px}
 
}
 
 
</style>
 
</style>
</head>
 
<body>
 
  
<br>
+
<div class="slider">
<div class="slideshow-container">
+
<ul>
 +
<li>
 +
  <img src="https://static.igem.org/mediawiki/2019/2/2d/T--UANL--mty.jpg" alt="" class="mx-auto d-block">
 +
<div class="text">Monterrey, Nuevo León, México</div>
 +
</li>
 +
<li>
 +
  <img src="https://static.igem.org/mediawiki/2019/c/c0/T--UANL--mty3.jpg" alt="" class="mx-auto d-block">
 +
<div class="text">Universidad Autónoma de Nuevo León</div>
 +
</li>
 +
<li>
 +
  <img src="https://static.igem.org/mediawiki/2019/a/ac/T--UANL--fcb.png" alt="" class="mx-auto d-block">
 +
<div class="text">School of Biology, UANL</div>
 +
</li>
 +
<li>
 +
  <img src="https://static.igem.org/mediawiki/2019/d/d1/T--UANL--FCQ.jpg" alt="" class="mx-auto d-block">
 +
<div class="text">School of Chemistry, UANL</div>
 +
</li>
  
<div class="mySlides fade">
+
<li>
  <div class="numbertext">1 / 4</div>
+
   <img src="https://static.igem.org/mediawiki/2019/e/e7/T--UANL--FIME.jpg" alt="" class="mx-auto d-block">
   <img src="https://static.igem.org/mediawiki/2019/2/2d/T--UANL--mty.jpg" style="width:100%">
+
<div class="text">School of Mechanical and Electrical Engineering, UANL</div>
  <div class="text">Monterrey, Nuevo León, México</div>
+
</li>
</div>
+
  
<div class="mySlides fade">
+
<li>
  <div class="numbertext">2 / 4</div>
+
   <img src="https://static.igem.org/mediawiki/2019/c/cb/T--UANL--fcfm.jpg" alt="" class="mx-auto d-block">
   <img src="https://static.igem.org/mediawiki/2019/c/c0/T--UANL--mty3.jpg" style="width:100%">
+
<div class="text">School of Mathematics and Physics</div>
  <div class="text">Universidad Autónoma de Nuevo León</div>
+
</li>
</div>
+
  
<div class="mySlides fade">
+
<li>
  <div class="numbertext">3 / 4</div>
+
   <img src="https://static.igem.org/mediawiki/2019/8/86/T--UANL--CIDEB.jpg" alt="" class="mx-auto d-block">
   <img src="https://static.igem.org/mediawiki/2019/a/ac/T--UANL--fcb.png" style="width:100%">
+
<div class="text">Bilingual Education  Research and Development Center, UANL</div>
  <div class="text">School of Biology, UANL</div>
+
</li>
</div>
+
  
<div class="mySlides fade">
+
<li>
  <div class="numbertext">4 / 4</div>
+
   <img src="https://static.igem.org/mediawiki/2019/e/e0/T--UANL--design--diagramaIgem.jpeg" alt="" class="mx-auto d-block">
   <img src="https://static.igem.org/mediawiki/2019/a/ac/T--UANL--fcb.png" style="width:100%">
+
<div class="text">Graphic resume</div>
  <div class="text">Caption Four</div>
+
</li>
</div>
+
  
</div>
 
<br>
 
  
<div style="text-align:center">
+
</ul>
  <span class="dot"></span>
+
</div>
  <span class="dot"></span>
+
  <span class="dot"></span>  
+
</div>
+
  
<script>
+
</html>
var slideIndex = 0;
+
showSlides();
+
 
+
function showSlides() {
+
  var i;
+
  var slides = document.getElementsByClassName("mySlides");
+
  var dots = document.getElementsByClassName("dot");
+
  for (i = 0; i < slides.length; i++) {
+
    slides[i].style.display = "none"; 
+
  }
+
  slideIndex++;
+
  if (slideIndex > slides.length) {slideIndex = 1}   
+
  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";
+
  setTimeout(showSlides, 2000); // Change image every 2 seconds
+
}
+
</script>
+
  
</body>
 
</html>
 
  
 
{{UANL/footer}}
 
{{UANL/footer}}

Latest revision as of 02:40, 22 October 2019

  • Monterrey, Nuevo León, México
  • Universidad Autónoma de Nuevo León
  • School of Biology, UANL
  • School of Chemistry, UANL
  • School of Mechanical and Electrical Engineering, UANL
  • School of Mathematics and Physics
  • Bilingual Education Research and Development Center, UANL
  • Graphic resume