Template:MIT-header

From 2011.igem.org

(Difference between revisions)
 
(146 intermediate revisions not shown)
Line 1: Line 1:
__NOTOC__<html lang="en">  
__NOTOC__<html lang="en">  
 +
<head>
<head>
 +
<!-- wiki hacks -->
<style type="text/css">
<style type="text/css">
 +
#globalwrapper {
 +
    width:975px;
 +
    padding:20px 0px;
 +
    margin: 0 auto;
 +
    background-color:#ffffff;
 +
    height:100%;
 +
}
.firstHeading {
.firstHeading {
-
      height:0px;
+
    height:0px;
-
      visibility:hidden;
+
    visibility:hidden;
}
}
-
 
+
body {
-
body {background: #E8E8E8;
+
    background: #E8E8E8;
-
      background-image: url('https://static.igem.org/mediawiki/2011/b/be/Background-gradient.jpg');
+
    background-image: url('https://static.igem.org/mediawiki/2011/b/be/Background-gradient.jpg');
-
      background-position: center;
+
    background-position: center;
-
      background-repeat: repeat-y;
+
    background-repeat: repeat-y;
 +
}
 +
#p-logo {
 +
    height:1px; overflow:hidden; display: none;
}
}
-
 
-
#p-logo {height:1px; overflow:hidden; display: none;}
 
-
 
#top-section {
#top-section {
-
        background-image: url('https://static.igem.org/mediawiki/2011/7/7f/MIT-header.jpg');
+
   
-
        background-position: top;
+
    background-image: url('https://static.igem.org/mediawiki/2011/7/7f/MIT-header.jpg');
-
height:200px ;
+
    background-position: top;
-
        background-repeat: no-repeat;
+
    height:200px ;
-
        border-left-width:0px;
+
    background-repeat: no-repeat;
-
        border-right-width:0px;
+
    border-width:0px;
-
        border-bottom-width:0px;
+
    border-top-width:1px;
-
}
+
-
#content {
 
-
        border-left-width:0px;
 
-
        border-right-width:0px;
 
}
}
-
#menubar { background-color: white; }
 
-
 
+
#content {
-
#menubar ul li a { color: #999999; }
+
    border-left-width:0px;
-
 
+
    border-right-width:0px;
-
 
+
    padding:5px;
-
.right-menu li a {
+
    width:965px;
-
color: black;
+
-
background-color: white;
+
}
}
-
</style>
+
#menubar {  
-
 
+
    background-color: white;  
-
 
+
-
<style>
+
-
/* This css file serves as a template for styling your kwicks.  Feel free to modify, but please make note of the comments - some of them are important. */
+
-
 
+
-
.kwicks {
+
-
/* recommended styles for kwicks ul container */
+
-
list-style: none;
+
-
position: relative;
+
-
margin: 0px;
+
-
padding: 0px;
+
-
 
+
-
margin-left:auto;
+
-
margin-right:auto;
+
-
padding-top:1px;
+
-
padding-bottom:1px;
+
}
}
-
 
+
#menubar ul li a {  
-
.kwicks li{
+
    color: #999999; }
-
/* these are required, but the values are up to you (must be pixel) */
+
    .right-menu li a {
-
width: 190px;
+
    color: black;
-
height: 50px;
+
    background-color: white;
-
 
+
-
/*do not change these */
+
-
display: block;
+
-
overflow: hidden;
+
-
padding: 0;  /* if you need padding, do so with an inner div (or implement your own box-model hack) */
+
-
margin:0;
+
-
font-family:'century gothic','lucida sans unicode', sans-serif;
+
-
 
+
-
 
+
}
}
-
 
+
#navbar
-
.kwicks.horizontal li {
+
ul.navbar {
-
/* This is optional and will be disregarded by the script.  However, it should be provided for non-JS enabled browsers. */
+
float:left;
-
margin-right: 5px; /*Set to same as spacing option. */
+
width:100%;
-
float: left;
+
padding:0;
-
}
+
margin:0;
-
.kwicks.vertical  li{
+
list-style-type:none;
-
/* This is optional and will be disregarded by the script.  However, it should be provided for non-JS enabled browsers. */
+
-
margin-bottom: 5px; /*Set to same as spacing option. */
+
}
}
-
 
+
ul.navbar a {
-
#kwick_1 {
+
float:left;
-
background-color: #828282;
+
text-align:center;
-
background-color: #616161;
+
width:7em;
-
background-color: #ffffff;
+
text-decoration:none;
-
 
+
color:white;
-
/* background-color: #53b388;*/
+
background-color:#1A2B32;
-
}
+
padding:0.2em 0.6em;
-
#kwick_1.active {
+
border-right:1px solid white;
-
background-color: #B3B3B3;
+
-
background-color: #828282;
+
-
background-color: #ffffff;
+
-
}
+
-
#kwick_2 {
+
-
background-color: #5a69a9;
+
-
background-color: #828282;
+
-
background-color: #616161;
+
-
background-color: #ffffff;
+
-
}
+
-
#kwick_2.active {
+
-
background-color: #B3B3B3;
+
-
background-color: #828282;
+
-
background-color: #ffffff;
+
-
}
+
-
#kwick_3 {
+
-
background-color: #c26468;
+
-
background-color: #828282;
+
-
background-color: #616161;
+
-
background-color: #ffffff;
+
-
}
+
-
#kwick_3.active {
+
-
background-color: #B3B3B3;
+
-
background-color: #828282;
+
-
background-color: #ffffff;
+
-
}
+
-
#kwick_4 {
+
-
background-color: #bf7cc7;
+
-
background-color: #828282;
+
-
background-color: #616161;
+
-
background-color: #ffffff;
+
-
}
+
-
#kwick_4.active {
+
-
background-color: #B3B3B3;
+
-
background-color: #828282;
+
-
background-color: #ffffff;
+
-
}
+
-
#kwick_5 {
+
-
background-color: #FFAD42;
+
-
background-color: #828282;
+
-
background-color: #616161;
+
-
background-color: #ffffff;
+
-
}
+
-
#kwick_5.active {
+
-
background-color: #B3B3B3;
+
-
background-color: #828282;
+
-
background-color: #ffffff;
+
}
}
 +
ul.navbar a:hover {background-color:#A3ABAE;}
 +
ul.navbar li {display:inline;}
-
.kwicks.horizontal #kwick_5 {
+
#long {
-
margin-right: none; /* cancel margin on last kiwck (if you set a margin above) */
+
width:10em;
-
}
+
-
.kwicks.vertical #kwick_5 {
+
-
margin-bottom: none; /* cancel margin on last kiwck (if you set a margin above) */
+
}
}
-
.section {
 
-
color:#333333;
 
-
font-weight:normal;
 
-
border-right-style:solid;
 
-
border-width:1px;
 
-
        border-color: #999999;
 
-
width:185px;
 
-
float:left;
 
-
padding-left:5px;
 
-
text-transform:uppercase;
 
-
font-size: 18px;
 
-
letter-spacing:.2em;
 
-
position:absolute;
 
-
text-align:center;
 
 +
.navbar {
 +
padding:0 20px;
}
}
-
.section table, .section-links table {
 
-
        color: #333333;
 
-
width: 100%;
 
-
height: 50px;
 
-
text-align: center;
 
-
        background-color: #616161;
 
-
        background-color: transparent;
 
-
}
 
-
 
-
.section table:hover, .section-links table:hover, {
 
-
        color: #333333;
 
-
        background-color: #828282;
 
-
        background-color: transparent;
 
-
}
 
-
 
-
.section td, .section-links td {
 
-
vertical-align: middle;
 
-
}
 
-
 
-
.section-contain {
 
-
position:relative;
 
-
width:100%;height:100%;
 
-
}
 
-
 
-
 
-
.section-links {
 
-
position:absolute;
 
-
margin-left:195px;
 
-
/* padding:5px;*/
 
-
/* top:15%;*/
 
-
 
-
font-size:12px;
 
-
color:white;
 
-
width: 190px;
 
-
text-align:center;
 
-
}
 
</style>
</style>
 +
</head>
-
 
-
 
-
<script src="https://2011.igem.org/Team:MIT/js/kwicks?action=raw&ctype=text/javascript" type="text/javascript" />
 
-
<script> google.load("jquery", "1.2.6"); </script>
 
-
<script type="text/javascript">
 
-
$().ready(function() {
 
-
$('.kwicks').kwicks({
 
-
min : 140,
 
-
spacing : 2,
 
-
sticky : false,
 
-
defaultKwick : 0,
 
-
});
 
-
});
 
-
</script>
 
-
</head>
 
<body>
<body>
-
<div id="navigation">
+
<!--navigation menu-->
-
 
+
<ul class="navbar">
-
<ul class="kwicks horizontal" >
+
<li><a href="https://2011.igem.org/Team:MIT">HOME</a></li>
-
+
<li><a href="https://2011.igem.org/Team:MIT/Project/">PROJECT</a></li>
-
<li id="kwick_1">
+
<li><a href="https://2011.igem.org/Team:MIT/Results/">DATA</a></li>
-
<a href="https://2011.igem.org/Team:MIT">
+
<li><a href="https://2011.igem.org/Team:MIT/Notebook/">NOTEBOOK</a></li>
-
    <div class="section">
+
<li><a href="https://2011.igem.org/Team:MIT/Tools/">MODEL</a></li>
-
    <table><tr><td>Home</td></tr></table>
+
<li><a href="https://2011.igem.org/Team:MIT/Partners/">PARTNERS</a></li>
-
</div></a>
+
<li><a href="https://2011.igem.org/Team:MIT/Team/Undergraduates">TEAM</a></li>
-
<a href="https://2011.igem.org/Team:MIT">
+
<li><a id="long" href="https://2011.igem.org/Team:MIT/HumanPractices/">HUMAN PRACTICES</a></li>
-
    <div class="section-contain">
+
-
    <div class="section-links">
+
-
    <table><tr><td>A brief introduction to iGEM</td></tr></table>
+
-
</div>
+
-
</div></a>
+
-
</li>
+
-
+
-
<li id="kwick_2">
+
-
<a href="https://2011.igem.org/Team:MIT/Team/Undergraduates">
+
-
    <div class="section">
+
-
    <table><tr><td>Team</td></tr></table>
+
-
</div></a>
+
-
<a href="https://2011.igem.org/Team:MIT/Team/Undergraduates">
+
-
    <div class="section-contain">
+
-
    <div class="section-links">
+
-
    <table><tr><td>The people behind it all</td></tr></table>
+
-
</div>
+
-
</div></a>
+
-
</li>
+
-
 
+
-
<li id="kwick_3">
+
-
<a href="https://2011.igem.org/Team:MIT/Project/">
+
-
    <div class="section">
+
-
    <table><tr><td>Project</td></tr></table>
+
-
</div></a>
+
-
<a href="https://2011.igem.org/Team:MIT/Project/">
+
-
    <div class="section-contain">
+
-
    <div class="section-links">
+
-
    <table><tr><td>Overview of project ideas and results</td></tr></table>
+
-
</div>
+
-
</div></a>
+
-
</li>
+
-
 
+
-
<li id="kwick_4">
+
-
<a href="https://2011.igem.org/Team:MIT/nocontent">
+
-
    <div class="section"><table><tr><td>Results</td></tr></table>
+
-
</div></a>
+
-
<a href="https://2011.igem.org/Team:MIT/nocontent">
+
-
    <div class="section-contain">
+
-
    <div class="section-links">
+
-
    <table><tr><td>Our day to day results</td></tr></table>
+
-
</div>
+
-
</div></a>
+
-
</li>
+
-
 
+
-
<li id="kwick_5">
+
-
<a href="https://2011.igem.org/Team:MIT/nocontent">
+
-
    <div class="section"><table><tr><td>Beyond iGEM</td></tr></table>
+
-
</div></a>
+
-
<a href="https://2011.igem.org/Team:MIT/nocontent">
+
-
    <div class="section-contain">
+
-
    <div class="section-links">
+
-
    <table><tr><td>Outreach; partners and sponsor information</td></tr></table>
+
-
</div>
+
-
</div></a>
+
-
</li>
+
-
 
+
</ul>
</ul>
-
</div>
 
</body>
</body>
 +
</html>

Latest revision as of 02:28, 29 October 2011