Team:Carnegie Mellon

From 2014.igem.org

(Difference between revisions)
 
(103 intermediate revisions not shown)
Line 10: Line 10:
     <!-- Le styles -->
     <!-- Le styles -->
     <link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap.css" rel="stylesheet">
     <link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap.css" rel="stylesheet">
-
     <link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap-responsive.css" rel="stylesheet">
+
     <link href="https://2014.igem.org/Template:CarnegieMellon:CarnegieMellon/CSS?action=raw&ctype=text/css" rel="stylesheet">
-
    <style>
+
-
    /* GLOBAL STYLES
 
-
    -------------------------------------------------- */
 
-
    /* Padding below the footer and lighter body text */
 
-
 
-
    body {
 
-
      padding-bottom: 40px;
 
-
    background: #333333;
 
-
      color: #5a5a5a;
 
-
  font-size: 12px;
 
-
    }
 
-
 
-
 
-
    /* CUSTOMIZE THE NAVBAR
 
-
    -------------------------------------------------- */
 
-
 
-
    /* Special class on .container surrounding .navbar, used for positioning it into place. */
 
-
    .navbar-wrapper {
 
-
      position: absolute;
 
-
      top: 0;
 
-
      left: 0;
 
-
      right: 0;
 
-
      z-index: 10;
 
-
      margin-top: 40px;
 
-
      margin-bottom: -90px; /* Negative margin to pull up carousel. 90px is roughly margins and height of navbar. */
 
-
    }
 
-
    .navbar-wrapper .navbar {
 
-
 
-
    }
 
-
 
-
    /* Remove border and change up box shadow for more contrast */
 
-
    .navbar .navbar-inner {
 
-
width:80%;
 
-
      border: 0;
 
-
      -webkit-box-shadow: 0 2px 10px rgba(0,0,0,.25);
 
-
        -moz-box-shadow: 0 2px 10px rgba(0,0,0,.25);
 
-
              box-shadow: 0 2px 10px rgba(0,0,0,.25);
 
-
    }
 
-
 
-
    /* Downsize the brand/project name a bit */
 
-
    .navbar .brand {
 
-
      padding: 14px 20px 16px; /* Increase vertical padding to match navbar links */
 
-
      font-size: 16px;
 
-
      font-weight: bold;
 
-
      text-shadow: 0 -1px 0 rgba(0,0,0,.5);
 
-
    }
 
-
 
-
    /* Navbar links: increase padding for taller navbar */
 
-
    .navbar .nav > li > a {
 
-
      padding: 15px 20px;
 
-
    }
 
-
 
-
    /* Offset the responsive button for proper vertical alignment */
 
-
    .navbar .btn-navbar {
 
-
      margin-top: 10px;
 
-
    }
 
-
 
-
 
-
 
-
    /* CUSTOMIZE THE CAROUSEL
 
-
    -------------------------------------------------- */
 
-
 
-
    /* Carousel base class */
 
-
    .carousel {
 
-
      margin-bottom: 60px;
 
-
 
-
    }
 
-
 
-
    .carousel .container {
 
-
      position: relative;
 
-
      z-index: 9;
 
-
    }
 
-
 
-
    .carousel-control {
 
-
      height: 80px;
 
-
      margin-top: 0;
 
-
      font-size: 120px;
 
-
      text-shadow: 0 1px 1px rgba(0,0,0,.4);
 
-
      background-color: transparent;
 
-
      border: 0;
 
-
      z-index: 10;
 
-
    }
 
-
 
-
    .carousel .item {
 
-
      height: 500px;
 
-
    }
 
-
    .carousel img {
 
-
      position: absolute;
 
-
      top: 0;
 
-
      left: 0;
 
-
      min-width: 100%;
 
-
      height: 500px;
 
-
    }
 
-
 
-
    .carousel-caption {
 
-
      background-color: transparent;
 
-
 
-
      position: static;
 
-
      max-width: 550px;
 
-
      padding: 0 20px;
 
-
      margin-top: 500px;
 
-
    }
 
-
    .carousel-caption h1,
 
-
    .carousel-caption .lead {
 
-
      margin: 0;
 
-
      line-height: 1.25;
 
-
      color: #000000;
 
-
      text-shadow: 0 1px 1px rgba(0,0,0,.4);
 
-
    }
 
-
    .carousel-caption .btn {
 
-
      margin-top: 10px;
 
-
    }
 
-
 
-
 
-
 
-
    /* Square Images
 
-
    -------------------------------------------------- */
 
-
 
-
  .sqimg {
 
-
    display: inline-block;
 
-
    margin-left: auto;
 
-
    margin-right: auto;
 
-
    height: 300px;
 
-
    width: 400px;
 
-
    opacity: 0.8;
 
-
    filter: alpha(opacity=40);
 
-
   
 
-
}
 
-
 
-
.sqimg:hover {
 
-
    opacity: 1;
 
-
    filter: alpha(opacity=100);}
 
-
 
-
#images{
 
-
    text-align:center;
 
-
 
-
}
 
-
 
-
 
-
    /* RESPONSIVE CSS
 
-
    -------------------------------------------------- */
 
-
 
-
    @media (max-width: 979px) {
 
-
 
-
      .container.navbar-wrapper {
 
-
        margin-bottom: 0;
 
-
        width: auto;
 
-
      }
 
-
      .navbar-inner {
 
-
        border-radius: 0;
 
-
        margin: -20px 0;
 
-
      }
 
-
 
-
      .carousel .item {
 
-
        height: 500px;
 
-
      }
 
-
      .carousel img {
 
-
        width: auto;
 
-
        height: 500px;
 
-
      }
 
-
 
-
      .featurette {
 
-
        height: auto;
 
-
        padding: 0;
 
-
      }
 
-
      .featurette-image.pull-left,
 
-
      .featurette-image.pull-right {
 
-
        display: block;
 
-
        float: none;
 
-
        max-width: 20%;
 
-
        margin: 0 auto 20px;
 
-
      }
 
-
    }
 
-
 
-
 
-
    @media (max-width: 767px) {
 
-
 
-
      .navbar-inner {
 
-
        margin: -20px;
 
-
      }
 
-
 
-
      .carousel {
 
-
        margin-left: -20px;
 
-
        margin-right: -20px;
 
-
      }
 
-
      .carousel .container {
 
-
 
-
      }
 
-
      .carousel .item {
 
-
        height: 300px;
 
-
      }
 
-
      .carousel img {
 
-
        height: 300px;
 
-
      }
 
-
      .carousel-caption {
 
-
        width: 65%;
 
-
        padding: 0 70px;
 
-
        margin-top: 100px;
 
-
      }
 
-
      .carousel-caption h1 {
 
-
        font-size: 30px;
 
-
      }
 
-
      .carousel-caption .lead,
 
-
      .carousel-caption .btn {
 
-
        font-size: 18px;
 
-
      }
 
-
 
-
      .marketing .span4 + .span4 {
 
-
        margin-top: 40px;
 
-
      }
 
-
 
-
      .featurette-heading {
 
-
        font-size: 30px;
 
-
      }
 
-
      .featurette .lead {
 
-
        font-size: 18px;
 
-
        line-height: 1.5;
 
-
      }
 
-
 
-
    }
 
-
    </style>
 
     <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
     <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
Line 273: Line 52:
                     <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/Project_Description">Project Description</a></li>
                     <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/Project_Description">Project Description</a></li>
                     <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/Our_Sensor">Our Sensor</a></li>
                     <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/Our_Sensor">Our Sensor</a></li>
-
                    <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/Colaborations">Collaborations</a></li>
 
-
                    <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/Human_Practices">Human Practices</a></li>
 
                     <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/Achievements">Achievements</a></li>
                     <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/Achievements">Achievements</a></li>
-
                    <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/Future_Plans">Future Plans</a></li>
 
                   </ul>
                   </ul>
                 </li>                <li class="dropdown">
                 </li>                <li class="dropdown">
Line 285: Line 61:
                     <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/Attributions">Attributions</a></li>
                     <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/Attributions">Attributions</a></li>
                     <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/Sponsors">Sponsors</a></li>
                     <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/Sponsors">Sponsors</a></li>
-
                    <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/Gallery">Gallery</a></li>
 
                   </ul>
                   </ul>
                 </li>
                 </li>
<li class="dropdown">
<li class="dropdown">
-
                   <a href="#" class="dropdown-toggle" data-toggle="dropdown">Outreach <b class="caret"></b></a>
+
                   <a href="#" class="dropdown-toggle" data-toggle="dropdown">Policies & Practices <b class="caret"></b></a>
                   <ul class="dropdown-menu">
                   <ul class="dropdown-menu">
-
                     <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/DNA_Extraction">DNA Extraction</a></li>
+
                     <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/Our_Projects">Our Projects</a></li>
-
                     <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/Creature_Feature">Creature Feature</a></li>
+
                     <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/Gallery">Gallery</a></li>
                   </ul>
                   </ul>
                 </li>
                 </li>
<li class="dropdown">
<li class="dropdown">
-
                   <a href="#" class="dropdown-toggle" data-toggle="dropdown">Lab Work <b class="caret"></b></a>
+
                   <a href="#" class="dropdown-toggle" data-toggle="dropdown">Notebook <b class="caret"></b></a>
                   <ul class="dropdown-menu">
                   <ul class="dropdown-menu">
-
                    <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/Notebook">Notebook</a></li>
+
                    <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/Weeks">Week by Week</a></li>
-
                    <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/InterLab">Inter Lab Study</a></li>
+
                    <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/Sensor">Sensor</a></li>
                     <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/Protein">Fluorescent Protein Evaluation</a></li>
                     <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/Protein">Fluorescent Protein Evaluation</a></li>
                     <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/Superoxide">Superoxide Generator Improvement</a></li>
                     <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/Superoxide">Superoxide Generator Improvement</a></li>
-
                     <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/Sensor">Sensor</a></li>
+
                     <li><a href="https://2014.igem.org/Team:Carnegie_Mellon/InterLab">Interlab Study</a></li>
                   </ul>
                   </ul>
                 </li>
                 </li>
Line 327: Line 102:
       <div class="carousel-inner">
       <div class="carousel-inner">
         <div class="item active">
         <div class="item active">
-
           <img src="https://static.igem.org/mediawiki/2014/d/d4/Carousel1.jpg" alt="carousel1">
+
           <img src="https://static.igem.org/mediawiki/2014/7/78/01_Stream_reformat.jpg">
 +
          <div class="container">
 +
          </div>
 +
        </div>
 +
        <div class="item">
 +
          <img src="https://static.igem.org/mediawiki/2014/1/1a/2_problem1.jpg" alt="carousel2">
           <div class="container">
           <div class="container">
             <div class="carousel-caption">
             <div class="carousel-caption">
-
              <h1>Project Title.</h1>
 
-
              <p class="lead">Our project description...</p>
 
             </div>
             </div>
           </div>
           </div>
         </div>
         </div>
         <div class="item">
         <div class="item">
-
           <img src="https://static.igem.org/mediawiki/2014/0/04/Carousel2.jpg" alt="carousel2">
+
           <img src="https://static.igem.org/mediawiki/2014/8/8b/3_focus.jpg" alt="carousel3">
           <div class="container">
           <div class="container">
             <div class="carousel-caption">
             <div class="carousel-caption">
-
              <h1>Another example headline.</h1>
 
-
              <p class="lead">Our project description...</p>
 
-
              <a class="btn btn-large btn-primary" href="#">Learn more</a>
 
             </div>
             </div>
           </div>
           </div>
         </div>
         </div>
-
        <div class="item">
+
      <div class="item">
-
           <img src="https://static.igem.org/mediawiki/2014/6/60/Carousel3.jpg" alt="">
+
           <img src="https://static.igem.org/mediawiki/2014/6/62/4_Bio.jpg" alt="carousel4">
           <div class="container">
           <div class="container">
             <div class="carousel-caption">
             <div class="carousel-caption">
-
              <h1>One more for good measure.</h1>
+
            </div>
-
              <p class="lead">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
+
          </div>
-
              <a class="btn btn-large btn-primary" href="#">Browse gallery</a>
+
        </div>
 +
<div class="item">
 +
          <img src="https://static.igem.org/mediawiki/2014/9/93/5_whatsnext.jpg" alt="carousel5">
 +
          <div class="container">
 +
            <div class="carousel-caption">
 +
            </div>
 +
          </div>
 +
        </div>
             </div>
             </div>
           </div>
           </div>
Line 368: Line 150:
<div id="images">
<div id="images">
-
     <a href="https://2014.igem.org/Team:Carnegie_Mellon/Our_Sensor">
+
     <a href="https://2014.igem.org/Team:Carnegie_Mellon/Achievements" target="_blank">
-
     <img class="sqimg" border="0" alt="sensor" src="https://static.igem.org/mediawiki/2014/b/b4/Our_sensor.jpg"/></a>
+
     <img class="sqimg" border="0" alt="sensor" src="https://static.igem.org/mediawiki/2014/f/f7/Achievements.jpg"/></a>
-
     <a href="https://2014.igem.org/Team:Carnegie_Mellon/Human_Practices" target="_blank">
+
     <a href="https://2014.igem.org/Team:Carnegie_Mellon/Project_Description" target="_blank">
-
     <img class="sqimg" border="0" alt="practices" src="https://static.igem.org/mediawiki/2014/f/f6/Human_practices.jpg"/></a>
+
     <img class="sqimg" border="0" alt="practices" src="https://static.igem.org/mediawiki/2014/e/ea/Project.jpg"/></a>
-
   <a href="https://2014.igem.org/Team:Carnegie_Mellon/Human_Practices" target="_blank">
+
   <a href="https://2014.igem.org/Team:Carnegie_Mellon/Our_Projects" target="_blank">
-
     <img class="sqimg" border="0" alt="practices" src="https://static.igem.org/mediawiki/2014/f/f6/Human_practices.jpg"/></a>
+
     <img class="sqimg" border="0" alt="practices" src="https://static.igem.org/mediawiki/2014/6/6b/Humanpractices.jpg"/></a>
-
     <a href="https://2014.igem.org/Team:Carnegie_Mellon/Collaboration">
+
     <a href="https://2014.igem.org/Team:Carnegie_Mellon/Collaborations">
-
     <img class="sqimg" border="0" alt="collaborations" src="https://static.igem.org/mediawiki/2014/5/54/Collaboration.jpg"/></a>
+
     <img class="sqimg" border="0" alt="collaborations" src="https://static.igem.org/mediawiki/2014/4/47/Collaborate.jpg"/></a>
</div>​
</div>​
Line 406: Line 188:
       }(window.jQuery)
       }(window.jQuery)
     </script>
     </script>
 +
    <script src="../../dist/js/bootstrap.min.js"></script> 
 +
    <script>
 +
    $('.carousel').carousel({
 +
      interval: 10000
 +
    });
 +
    </script>
     <script src="http://getbootstrap.com/2.3.2/assets/js/holder/holder.js"></script>
     <script src="http://getbootstrap.com/2.3.2/assets/js/holder/holder.js"></script>
   </body>
   </body>
</html>
</html>

Latest revision as of 21:45, 17 October 2014

Carousel Template · Bootstrap


sensor practices practices collaborations

Retrieved from "http://2014.igem.org/Team:Carnegie_Mellon"