Template:MIT-header

From 2011.igem.org

(Difference between revisions)
 
(59 intermediate revisions not shown)
Line 25: Line 25:
}
}
#top-section {
#top-section {
 +
   
     background-image: url('https://static.igem.org/mediawiki/2011/7/7f/MIT-header.jpg');
     background-image: url('https://static.igem.org/mediawiki/2011/7/7f/MIT-header.jpg');
     background-position: top;
     background-position: top;
Line 31: Line 32:
     border-width:0px;
     border-width:0px;
     border-top-width:1px;
     border-top-width:1px;
 +
}
}
 +
 +
#content {
#content {
     border-left-width:0px;
     border-left-width:0px;
Line 48: Line 52:
}
}
-
a:hover {background-color:#666666;}
+
#navbar
-
li {display:inline;}
+
ul.navbar {
 +
float:left;
 +
width:100%;
 +
padding:0;
 +
margin:0;
 +
list-style-type:none;
 +
}
 +
 
 +
ul.navbar a {
 +
float:left;
 +
text-align:center;
 +
width:7em;
 +
text-decoration:none;
 +
color:white;
 +
background-color:#1A2B32;
 +
padding:0.2em 0.6em;
 +
border-right:1px solid white;
 +
}
 +
ul.navbar a:hover {background-color:#A3ABAE;}
 +
ul.navbar li {display:inline;}
 +
 
 +
#long {
 +
width:10em;
 +
}
 +
 
 +
 
 +
.navbar {
 +
padding:0 20px;
 +
}
</style>
</style>
</head>
</head>
 +
<body>
<body>
-
<ul>
+
 
-
<li><a href="#">Link one</a></li>
+
<!--navigation menu-->
-
<li><a href="#">Link two</a></li>
+
<ul class="navbar">
-
<li><a href="#">Link three</a></li>
+
<li><a href="https://2011.igem.org/Team:MIT">HOME</a></li>
-
<li><a href="#">Link four</a></li>
+
<li><a href="https://2011.igem.org/Team:MIT/Project/">PROJECT</a></li>
 +
<li><a href="https://2011.igem.org/Team:MIT/Results/">DATA</a></li>
 +
<li><a href="https://2011.igem.org/Team:MIT/Notebook/">NOTEBOOK</a></li>
 +
<li><a href="https://2011.igem.org/Team:MIT/Tools/">MODEL</a></li>
 +
<li><a href="https://2011.igem.org/Team:MIT/Partners/">PARTNERS</a></li>
 +
<li><a href="https://2011.igem.org/Team:MIT/Team/Undergraduates">TEAM</a></li>
 +
<li><a id="long" href="https://2011.igem.org/Team:MIT/HumanPractices/">HUMAN PRACTICES</a></li>
</ul>
</ul>
-
 
-
 
</body>
</body>
 +
</html>

Latest revision as of 02:28, 29 October 2011