Team:Penn
From 2013.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
<head> | <head> | ||
- | <title> | + | <title>Home</title> |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<!-- Bootstrap --> | <!-- Bootstrap --> | ||
<link href="https://googledrive.com/host/0B4ZBZOYYKBzEeUFaR1lNWFZWMnc" rel="stylesheet" media="screen"> | <link href="https://googledrive.com/host/0B4ZBZOYYKBzEeUFaR1lNWFZWMnc" rel="stylesheet" media="screen"> | ||
<link href="https://googledrive.com/host/0B4ZBZOYYKBzEYUtsRS1ZWHM2bTQ" type="text/css" rel="stylesheet"/> | <link href="https://googledrive.com/host/0B4ZBZOYYKBzEYUtsRS1ZWHM2bTQ" type="text/css" rel="stylesheet"/> | ||
+ | <script src="https://googledrive.com/host/0B4ZBZOYYKBzETkFqdnhMeV9fMzA" ></script> | ||
+ | <script src="https://googledrive.com/host/0B4ZBZOYYKBzEZTdBSFdUV19LYjQ"></script> | ||
+ | <script src="https://googledrive.com/host/0B4ZBZOYYKBzEOFVQV0ZLWEZqN2M"></script> | ||
Line 13: | Line 16: | ||
text-align: left; | text-align: left; | ||
} | } | ||
- | + | ||
- | + | ||
- | + | /* CUSTOMIZE THE CAROUSEL | |
- | + | -------------------------------------------------- */ | |
- | + | ||
- | + | ||
- | margin: | + | |
+ | .carousel-control { | ||
+ | height: 80px; | ||
+ | margin-top: 0; | ||
+ | font-size: 75px; | ||
+ | text-shadow: 0 1px 1px rgba(0,0,0,.4); | ||
+ | background-color: transparent; | ||
+ | border: 0; | ||
+ | z-index: 10; | ||
+ | color: rgb(200,200,200); | ||
+ | } | ||
+ | /* | ||
+ | .carousel img { | ||
+ | min-width: 100%; | ||
} | } | ||
+ | |||
+ | |||
+ | .carousel-caption { | ||
+ | background-color: rgba(0,0,0,.3); | ||
+ | } | ||
+ | |||
+ | .carousel-caption h1, | ||
+ | .carousel-caption .lead { | ||
+ | margin: 0; | ||
+ | line-height: 1.25; | ||
+ | color: #fff; | ||
+ | text-shadow: 0 1px 1px rgba(0,0,0,.4); | ||
+ | }*/ | ||
+ | |||
+ | #main_area{ | ||
+ | margin: 100px 150px 10px 150px; | ||
+ | |||
+ | } | ||
- | + | #myCarousel { | |
- | + | width: 80%; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | .item { | |
- | + | height: 300px; | |
- | + | overflow: hidden; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | .span2 { | |
- | + | overflow: hidden; | |
- | + | height: 80px; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | ||
- | + | .thumbnail { | |
- | + | overflow: hidden; | |
- | + | ||
} | } | ||
+ | /*Position/size hero unit*/ | ||
+ | .hero-unit { | ||
+ | width: 375px; | ||
+ | margin-left: 20px; | ||
+ | margin-top: 10px; | ||
+ | padding-left: 75px; | ||
+ | padding:right: 100px; | ||
+ | padding-bottom: 20px; | ||
+ | text-align: left; | ||
+ | } | ||
- | + | .textbox { | |
- | + | width: 200px; | |
- | + | float: left; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | ||
+ | #logo { | ||
+ | height: 45px; | ||
+ | float: right; | ||
+ | margin-right: -450px; | ||
+ | margin-top:-10px; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | |||
.jumbotron { | .jumbotron { | ||
position: relative; | position: relative; | ||
Line 92: | Line 109: | ||
text-align: center; | text-align: center; | ||
text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 0 30px rgba(0,0,0,.075); | text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 0 30px rgba(0,0,0,.075); | ||
- | background: # | + | background: #020031; /* Old browsers */ |
- | background: -moz-linear-gradient(45deg, # | + | background: -moz-linear-gradient(45deg, #020031 0%, #6d3353 100%); /* FF3.6+ */ |
- | background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,# | + | background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#240080), color-stop(100%,#a8bbf4)); /* Chrome,Safari4+ */ |
- | background: -webkit-linear-gradient(45deg, # | + | background: -webkit-linear-gradient(45deg, #020031 0%,#a8bbf4 100%); /* Chrome10+,Safari5.1+ */ |
- | background: -o-linear-gradient(45deg, # | + | background: -o-linear-gradient(45deg, #020031 0%,#a8bbf4 100%); /* Opera 11.10+ */ |
- | background: -ms-linear-gradient(45deg, # | + | background: -ms-linear-gradient(45deg, #020031 0%,#a8bbf4 100%); /* IE10+ */ |
- | background: linear-gradient(45deg, # | + | background: linear-gradient(45deg, #020031 0%,#a8bbf4 100%); /* W3C */ |
- | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='# | + | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#020031', endColorstr='#6d3353',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */ |
-webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2); | -webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2); | ||
-moz-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2); | -moz-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2); | ||
Line 105: | Line 122: | ||
} | } | ||
- | + | .footer { | |
- | + | width: 100%; | |
- | + | height: 15px; | |
- | + | padding: 5px; | |
+ | margin-top: 100px; | ||
+ | text-align: left; | ||
+ | background-color: black; | ||
+ | color: #FFFFFF; | ||
} | } | ||
- | |||
- | |||
</style> | </style> | ||
</head> | </head> | ||
Line 129: | Line 148: | ||
<span class="icon-bar"></span> | <span class="icon-bar"></span> | ||
</button> | </button> | ||
- | <a class="brand" href="https://2013.igem.org/Team:Penn">Penn's iGEM Team</a> | + | <a class="brand" class="active" href="https://2013.igem.org/Team:Penn">Penn's iGEM Team</a> |
<!-- Responsive Navbar Part 2: Place all navbar contents you want collapsed withing .navbar-collapse.collapse. --> | <!-- Responsive Navbar Part 2: Place all navbar contents you want collapsed withing .navbar-collapse.collapse. --> | ||
<div class="nav-collapse collapse"> | <div class="nav-collapse collapse"> | ||
Line 138: | Line 157: | ||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a> | <a href="#" class="dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a> | ||
<ul class="dropdown-menu"> | <ul class="dropdown-menu"> | ||
- | <li><a | + | <li><a href="https://2013.igem.org/Team:Penn/Team">Team</a></li> |
<li><a href="https://2013.igem.org/Team:Penn/Sponsors">Sponsors</a></li> | <li><a href="https://2013.igem.org/Team:Penn/Sponsors">Sponsors</a></li> | ||
<li><a href="https://igem.org/Team.cgi?id=1128">Official Team Profile</a></li> | <li><a href="https://igem.org/Team.cgi?id=1128">Official Team Profile</a></li> | ||
Line 159: | Line 178: | ||
</ul> | </ul> | ||
</li> | </li> | ||
+ | <li><a href="http://2013.igem.or"><img id = "logo" src="https://static.igem.org/mediawiki/igem.org/1/17/IGEM_basic_Logo_white_stylized.png"></li></a> | ||
</ul> | </ul> | ||
</div><!--/.nav-collapse --> | </div><!--/.nav-collapse --> | ||
Line 167: | Line 187: | ||
</div><!-- /.navbar-wrapper --> | </div><!-- /.navbar-wrapper --> | ||
- | + | ||
- | + | ||
<!--Giant Image At the Top--> | <!--Giant Image At the Top--> | ||
<div class="jumbotron masthead"> | <div class="jumbotron masthead"> | ||
<div class="container"> | <div class="container"> | ||
- | <h1> | + | <!--<div class="hero-unit" id="text"> |
- | <p> | + | <p><p> |
- | + | </div>--> | |
+ | <h1>Penn's iGEM Page</h1> | ||
+ | <p>is currently under construction.</p> | ||
+ | <p> | ||
+ | </div> | ||
</div> | </div> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | + | <!--CAROUSEL--> | |
- | + | ||
- | + | <!-- Main Area --> | |
- | + | <div id="main_area"> | |
- | + | <!-- Slider --> | |
- | + | <div class="row"> | |
- | + | <div class="span12" id="slider"> | |
- | + | <!-- Top part of the slider --> | |
- | + | <div class="row"> | |
- | + | <div class="span8" id="carousel-bounding-box"> | |
- | + | <div id="myCarousel" class="carousel slide"> | |
- | + | <!-- Carousel items --> | |
- | + | <div class="carousel-inner"> | |
- | + | <div class="active item" data-slide-number="0"><img src="https://googledrive.com/host/0B4ZBZOYYKBzES3Jrc042WTlMR3c/" /></div> | |
- | + | <div class="item" data-slide-number="1"><img src="https://googledrive.com/host/0B4ZBZOYYKBzEWHBpYXpOcFRBcGc/" /></div> | |
- | + | <div class="item" data-slide-number="2"><img src="https://dl.dropboxusercontent.com/sh/h4cxid18rzzjgan/_mMloYB8xM/Discovery%20Day%20Clark%20Park/IMG_2061.JPG?token_hash=AAGlfzG2xZpKrOTI8pyH02EbYxY1vK3QLUWKsWuYdaPbYg" /></div> | |
- | + | <div class="item" data-slide-number="3"><img src="https://dl.dropboxusercontent.com/sh/h4cxid18rzzjgan/WTlON78GgW/IMG_0264.JPG?token_hash=AAGlfzG2xZpKrOTI8pyH02EbYxY1vK3QLUWKsWuYdaPbYg" /></div> | |
- | + | <div class="item" data-slide-number="4"><img src="https://dl.dropboxusercontent.com/sh/h4cxid18rzzjgan/jtmF8YkJ_P/device%20photo.jpg?token_hash=AAGlfzG2xZpKrOTI8pyH02EbYxY1vK3QLUWKsWuYdaPbYg" /></div> | |
- | + | <div class="item" data-slide-number="5"><img src="https://dl.dropboxusercontent.com/sh/h4cxid18rzzjgan/uN-wv6h07i/Unified%20Artwork%20Styles%20Here/science%21%21%21/20130513135201-0.jpg?token_hash=AAGlfzG2xZpKrOTI8pyH02EbYxY1vK3QLUWKsWuYdaPbYg" /></div> | |
- | + | </div> | |
- | + | <!-- Carousel nav --> | |
- | + | <a class="carousel-control left" href="#myCarousel" data-slide="prev" font-size: 20px;>❮ </a> | |
- | + | <a class="carousel-control right" href="#myCarousel" data-slide="next"font-size: 20px;>❯ </a> | |
- | + | </div> | |
- | + | </div> | |
- | + | <div class="span4" id="carousel-text"></div> | |
- | + | ||
- | + | <div style="display: none;" id="slide-content"> | |
- | + | <div id="slide-content-0"> | |
- | + | <h1>Hello and Welcome!</h1> | |
- | + | <p>Welcome to Penn's iGEM team wiki! This wiki is currently under construction, but check | |
- | + | back with us soon to learn more about what we're up to!</p> <a id="team" class="btn btn-large btn-primary" href="https://2013.igem.org/Team:Penn/Team">Meet the Team</a> | |
- | + | </div> | |
- | + | <div id="slide-content-1"> | |
- | + | <h1>Project</h1> | |
- | + | <p>This wiki is currently under construction, but check | |
- | $(' | + | back with us soon to learn more about what we're up to! 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> |
- | + | <a class="btn btn-large btn-primary" href="https://2013.igem.org/Team:Penn/Project">Our Project</a> | |
- | + | </div> | |
- | + | <div id="slide-content-2"> | |
- | + | <h1>Outreach</h1> | |
- | + | <p>Learn more about what Penn's iGEM team is doing in the community. This wiki is currently under construction, but check | |
- | + | back with us soon to learn more about what we're up to! 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> | |
- | + | <a class="btn btn-large btn-primary" href="https://2013.igem.org/Team:Penn/HumanPractices">More Outreach</a> | |
- | + | </div> | |
- | + | <div id="slide-content-3"> | |
- | + | <h2>Slider Four</h2> | |
- | + | <p>Lorem Ipsum Dolor</p> | |
- | + | <a class="btn btn-large btn-primary" href="https://2013.igem.org/Team:Penn/HumanPractices">More</a> | |
- | + | </div> | |
- | + | <div id="slide-content-4"> | |
- | + | <h2>Slider Five</h2> | |
- | + | <p>Lorem Ipsum Dolor</p> | |
- | + | <a class="btn btn-large btn-primary" href="https://2013.igem.org/Team:Penn/Project">More</a> | |
- | + | </div> | |
- | + | <div id="slide-content-5"> | |
- | + | <h2>Slider Six</h2> | |
- | + | <p>Lorem Ipsum Dolor</p> | |
- | + | <a class="btn btn-large btn-primary" href="https://2013.igem.org/Team:Penn/">More</a> | |
- | + | </div> | |
- | + | </div> | |
- | + | </div> | |
- | + | ||
- | + | </div> | |
- | + | </div> <!--/Slider--> | |
- | + | ||
- | + | <div class="row hidden-phone" id="slider-thumbs"> | |
- | + | <div class="span12"> | |
- | + | <!-- Bottom switcher of slider --> | |
- | + | <ul class="thumbnails"> | |
- | + | <li class="span2"> | |
+ | <a class="thumbnail" id="carousel-selector-0"> | ||
+ | <img src="https://googledrive.com/host/0B4ZBZOYYKBzES3Jrc042WTlMR3c/" /> | ||
+ | </a> | ||
+ | </li> | ||
+ | <li class="span2"> | ||
+ | <a class="thumbnail" id="carousel-selector-1"> | ||
+ | <img src="https://googledrive.com/host/0B4ZBZOYYKBzEWHBpYXpOcFRBcGc/" /> | ||
+ | </a> | ||
+ | </li> | ||
+ | <li class="span2"> | ||
+ | <a class="thumbnail" id="carousel-selector-2"> | ||
+ | <img src="https://dl.dropboxusercontent.com/sh/h4cxid18rzzjgan/_mMloYB8xM/Discovery%20Day%20Clark%20Park/IMG_2061.JPG?token_hash=AAGlfzG2xZpKrOTI8pyH02EbYxY1vK3QLUWKsWuYdaPbYg" /> | ||
+ | </a> | ||
+ | </li> | ||
+ | <li class="span2"> | ||
+ | <a class="thumbnail" id="carousel-selector-3"> | ||
+ | <img src="https://dl.dropboxusercontent.com/sh/h4cxid18rzzjgan/WTlON78GgW/IMG_0264.JPG?token_hash=AAGlfzG2xZpKrOTI8pyH02EbYxY1vK3QLUWKsWuYdaPbYg" /> | ||
+ | </a> | ||
+ | </li> | ||
+ | <li class="span2"> | ||
+ | <a class="thumbnail" id="carousel-selector-4"> | ||
+ | <img src="https://dl.dropboxusercontent.com/sh/h4cxid18rzzjgan/jtmF8YkJ_P/device%20photo.jpg?token_hash=AAGlfzG2xZpKrOTI8pyH02EbYxY1vK3QLUWKsWuYdaPbYg" /> | ||
+ | </a> | ||
+ | </li> | ||
+ | <li class="span2"> | ||
+ | <a class="thumbnail" id="carousel-selector-5"> | ||
+ | <img src="https://dl.dropboxusercontent.com/sh/h4cxid18rzzjgan/uN-wv6h07i/Unified%20Artwork%20Styles%20Here/science%21%21%21/20130513135201-0.jpg?token_hash=AAGlfzG2xZpKrOTI8pyH02EbYxY1vK3QLUWKsWuYdaPbYg" /> | ||
+ | </a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | |||
+ | |||
+ | <!--FOOTER--> | ||
+ | <div class="footer"> | ||
+ | <p>Photos: Erica Sachse | Website: Stefanie Alfonso</p> | ||
+ | </div> | ||
+ | <script> | ||
+ | jQuery(document).ready(function($) { | ||
+ | |||
+ | $('#myCarousel').carousel({ | ||
+ | interval: 5000 | ||
+ | }); | ||
+ | |||
+ | $('#carousel-text').html($('#slide-content-0').html()); | ||
+ | |||
+ | //Handles the carousel thumbnails | ||
+ | $('[id^=carousel-selector-]').click( function(){ | ||
+ | var id_selector = $(this).attr("id"); | ||
+ | var id = id_selector.substr(id_selector.length -1); | ||
+ | var id = parseInt(id); | ||
+ | $('#myCarousel').carousel(id); | ||
+ | }); | ||
+ | |||
+ | |||
+ | // When the carousel slides, auto update the text | ||
+ | $('#myCarousel').on('slid', function (e) { | ||
+ | var id = $('.item.active').data('slide-number'); | ||
+ | $('#carousel-text').html($('#slide-content-'+id).html()); | ||
+ | }); | ||
+ | |||
+ | |||
+ | }); | ||
+ | </script> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</body> | </body> | ||
</html> | </html> |
Revision as of 21:17, 29 July 2013
Penn's iGEM Page
is currently under construction.