Team:Glendale CC AZ/main.css

From 2013.igem.org

(Difference between revisions)
Line 296: Line 296:
</div>
</div>
</html>
</html>
-
 
-
{{:Team:Glendale_CC_AZ/CSS}}
 
<html>
<html>
<head>
<head>
-
<style>
+
<style type="text/css">
-
@import url(http://fonts.googleapis.com/css?family=Varela+Round);
+
body {
-
 
+
background: #white;
-
html, body { background: #white url("http://codepen.io/images/classy_fabric.png"); }
+
margin-top: 20px;
-
 
+
-
.slides {
+
-
    padding: 0;
+
-
    width: 609px;
+
-
    height: 420px;
+
-
    display: block;
+
-
    margin: 0 auto;
+
-
    position: relative;
+
}
}
-
.slides * {
+
h3 {
-
    user-select: none;
+
color: #eee;
-
    -ms-user-select: none;
+
font-family: Verdana;
-
    -moz-user-select: none;
+
-
    -khtml-user-select: none;
+
-
    -webkit-user-select: none;
+
-
    -webkit-touch-callout: none;
+
}
}
-
.slides input { display: none; }
+
.thumbnails img {
-
 
+
height: 80px;
-
.slide-container { display: block; }
+
border: 4px solid #555;
-
 
+
padding: 1px;
-
.slide {
+
margin: 0 10px 10px 0;
-
    top: 0;
+
-
    opacity: 0;
+
-
    width: 609px;
+
-
    height: 420px;
+
-
    display: block;
+
-
    position: absolute;
+
-
 
+
-
    transform: scale(0);
+
-
    -moz-transform: scale(0);
+
-
    -webkit-transform: scale(0);
+
-
 
+
-
    transition: all .7s ease-in-out;
+
-
    -moz-transition: all .7s ease-in-out;
+
-
    -webkit-transition: all .7s ease-in-out;
+
}
}
-
.slide img {
+
.thumbnails img:hover {
-
    width: 100%;
+
border: 4px solid #00ccff;
-
    height: 100%;
+
cursor:pointer;
}
}
-
.nav label {
+
.preview img {
-
    width: none;
+
border: 4px solid #444;
-
    height: 100%;
+
padding: 1px;
-
    display: none;
+
height: 500px;
-
    position: absolute;
+
-
 
+
-
  opacity: 0;
+
-
    z-index: 9;
+
-
    cursor: pointer;
+
-
 
+
-
    transition: opacity .2s;
+
-
    -moz-transition: opacity .2s;
+
-
    -webkit-transition: transparent .2s;
+
-
 
+
-
    color: #FFF;
+
-
    font-size: 156pt;
+
-
    text-align: center;
+
-
    line-height: 380px;
+
-
    font-family: "Varela Round", sans-serif;
+
-
    background-color: rgba(255, 255, 255, .3);
+
-
    text-shadow: 0px 0px 15px rgb(119, 119, 119);
+
}
}
-
 
-
.slide:hover + .nav label { opacity: 0.5; }
 
-
 
-
.nav label:hover { opacity: 1; }
 
-
 
-
.nav .next { right: 0; }
 
-
 
-
input:checked + .slide-container  .slide {
 
-
    opacity: 1;
 
-
 
-
    transform: scale(1);
 
-
    -moz-transform: scale(1);
 
-
    -webkit-transform: scale(1);
 
-
 
-
    transition: opacity 1s ease-in-out;
 
-
    -moz-transition: opacity 1s ease-in-out;
 
-
    -webkit-transition: opacity 1s ease-in-out;
 
-
}
 
-
 
-
input:checked + .slide-container .nav label { display: block; }
 
-
 
-
.nav-dots {
 
-
width: 100%;
 
-
bottom: 9px;
 
-
height: 11px;
 
-
display: block;
 
-
position: absolute;
 
-
text-align: center;
 
-
}
 
-
 
-
.nav-dots .nav-dot {
 
-
top: -5px;
 
-
width: 11px;
 
-
height: 11px;
 
-
margin: 0 4px;
 
-
position: relative;
 
-
border-radius: 100%;
 
-
display: inline-block;
 
-
background-color: rgba(0, 0, 0, 0.6);
 
-
}
 
-
 
-
.nav-dots .nav-dot:hover {
 
-
cursor: pointer;
 
-
background-color: rgba(0, 0, 0, 0.8);
 
-
}
 
-
 
-
input#img-1:checked ~ .nav-dots label#img-dot-1,
 
-
input#img-2:checked ~ .nav-dots label#img-dot-2,
 
-
input#img-3:checked ~ .nav-dots label#img-dot-3,
 
-
input#img-4:checked ~ .nav-dots label#img-dot-4,
 
-
input#img-5:checked ~ .nav-dots label#img-dot-5,
 
-
input#img-6:checked ~ .nav-dots label#img-dot-6 {
 
-
background: rgba(0, 0, 0, 0.8);
 
-
}
 
-
 
-
 
-
 
-
 
-
 
</style>
</style>
</head>
</head>
-
<link href="/menu_assets/styles.css" rel="stylesheet" type="text/css">
+
<body>
-
<link href="../Downloads/cssmenu-1/menu_assets/styles.css" rel="stylesheet" type="text/css">
+
<div>
-
 
+
<div class="gallery" align="center">
-
<ul class="slides">
+
-
    <input type="radio" name="radio-btn" id="img-1" checked />
+
-
    <li class="slide-container">
+
-
<div class="slide">
+
-
<img src="https://static.igem.org/mediawiki/igem.org/c/c8/MaterialGCC.JPG" />
+
-
        </div>
+
-
<div class="nav">
+
-
<label for="img-6" class="prev">&#x2039;</label>
+
-
<label for="img-2" class="next">&#x203a;</label>
+
-
</div>
+
-
    </li>
+
-
<input type="radio" name="radio-btn" id="img-1" checked />
+
-
    <li class="slide-container">
+
-
<div class="slide">
+
-
<img src="https://static.igem.org/mediawiki/2013/8/8b/GCC.png" />
+
-
        </div>
+
-
<div class="nav">
+
-
<label for="img-6" class="prev">&#x2039;</label>
+
-
<label for="img-2" class="next">&#x203a;</label>
+
-
</div>
+
-
    </li>
+
-
 
+
-
    <input type="radio" name="radio-btn" id="img-2" />
+
-
    <li class="slide-container">
+
-
        <div class="slide">
+
-
          <img src="https://static.igem.org/mediawiki/igem.org/1/19/Tubes2GCC.JPG" />
+
-
        </div>
+
-
<div class="nav">
+
-
<label for="img-1" class="prev">&#x2039;</label>
+
-
<label for="img-3" class="next">&#x203a;</label>
+
-
</div>
+
-
    </li>
+
-
 
+
-
    <input type="radio" name="radio-btn" id="img-3" />
+
-
    <li class="slide-container">
+
-
        <div class="slide">
+
-
          <img src="https://static.igem.org/mediawiki/igem.org/5/59/ExperimentGCC.JPG" />
+
-
        </div>
+
-
<div class="nav">
+
-
<label for="img-2" class="prev">&#x2039;</label>
+
-
<label for="img-4" class="next">&#x203a;</label>
+
-
</div>
+
-
    </li>
+
-
    <input type="radio" name="radio-btn" id="img-4" />
+
<div class="thumbnails">
-
    <li class="slide-container">
+
<img onmouseover="preview.src=img1.src" name="img1" src="https://static.igem.org/mediawiki/2013/7/76/Dr._Ziemba_GCC.JPG" alt=""/>
-
        <div class="slide">
+
<img onmouseover="preview.src=img2.src" name="img2" src="https://static.igem.org/mediawiki/2013/e/ef/TeresaGCC.jpg" alt=""/>
-
          <img src="https://static.igem.org/mediawiki/igem.org/7/7e/Lab1GCC.JPG" />
+
<img onmouseover="preview.src=img3.src" name="img3" src="https://static.igem.org/mediawiki/2013/d/d9/SeanGCC.JPG" alt=""/>
-
        </div>
+
<img onmouseover="preview.src=img4.src" name="img4" src="http://bit.ly/2LHyDW" alt=""/>
-
<div class="nav">
+
</div>
-
<label for="img-3" class="prev">&#x2039;</label>
+
-
<label for="img-5" class="next">&#x203a;</label>
+
-
</div>
+
-
    </li>
+
-
    <input type="radio" name="radio-btn" id="img-5" />
+
<div class="preview" align="center">
-
    <li class="slide-container">
+
<img name="preview" src="https://static.igem.org/mediawiki/2013/7/76/Dr._Ziemba_GCC.JPG" alt=""/>
-
        <div class="slide">
+
</div>
-
          <img src="https://static.igem.org/mediawiki/igem.org/a/ab/Lab2GCC.JPG" />
+
-
        </div>
+
-
<div class="nav">
+
-
<label for="img-4" class="prev">&#x2039;</label>
+
-
<label for="img-6" class="next">&#x203a;</label>
+
-
</div>
+
-
    </li>
+
-
    <input type="radio" name="radio-btn" id="img-6" />
 
-
    <li class="slide-container">
 
-
        <div class="slide">
 
-
          <img src="https://static.igem.org/mediawiki/igem.org/2/25/PlatesGCC.JPG" />
 
-
        </div>
 
-
<div class="nav">
 
-
<label for="img-5" class="prev">&#x2039;</label>
 
-
<label for="img-1" class="next">&#x203a;</label>
 
-
</div>
 
-
    </li>
 
-
    <li class="nav-dots">
+
</div> <!– Close the gallery div –>
-
      <label for="img-1" class="nav-dot" id="img-dot-1"></label>
+
</body>
-
      <label for="img-2" class="nav-dot" id="img-dot-2"></label>
+
-
      <label for="img-3" class="nav-dot" id="img-dot-3"></label>
+
-
      <label for="img-4" class="nav-dot" id="img-dot-4"></label>
+
-
      <label for="img-5" class="nav-dot" id="img-dot-5"></label>
+
-
      <label for="img-6" class="nav-dot" id="img-dot-6"></label>
+
-
    </li>
+
-
</ul>  
+
</html>
</html>

Revision as of 23:36, 14 August 2013

Igemlogo.jpg
Protocols
PCR