Template:ETHZ Basel10

From 2010.igem.org

(Difference between revisions)
 
(16 intermediate revisions not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
 +
{{ETHZ_Basel10_css}}
<html>
<html>
-
<head>
 
-
<script type="text/javascript">
 
-
function getURL(hrefString)
 
-
{
 
-
var arr = hrefString.split('/');
 
-
return  (arr.length<2) ? hrefString : arr[arr.length-2].toLowerCase() + arr[arr.length-1].toLowerCase();             
 
-
}
 
-
 
-
function setCurrentLink(arr, crtPage)
 
-
{
 
-
for (var i=0; i<arr.length; i++)
 
-
{
 
-
if(getURL(arr[i].href) == crtPage)
 
-
{
 
-
if (arr[i].parentNode.tagName != "DIV")
 
-
{
 
-
arr[i].className = "current";
 
-
arr[i].parentNode.className = "current";
 
-
}
 
-
}
 
-
}
 
-
}
 
-
 
-
function setPage()
 
-
{
 
-
hrefString = document.location.href ? document.location.href : document.location;
 
-
 
-
if (document.getElementById("subnavigation")!=null)
 
-
setCurrentLink(document.getElementById("subnavigation").getElementsByTagName("a"), getURL(hrefString));
 
-
}
 
-
</script>
 
-
<style type="text/css">
 
-
/*
 
-
Start Format iGEM base
 
-
*/
 
-
body {
 
-
/* format main-background */
 
-
background-color: #C0C5CA;
 
-
}
 
-
#content {
 
-
/* format global document body */
 
-
font-family:"Verdana",Arial,sans-serif;
 
-
}
 
-
 
-
.firstHeading {
 
-
/* removes pagename */
 
-
display: none;
 
-
}
 
-
#top-section {
 
-
/* formats iGEM header div */
 
-
border: 0px;
 
-
height: 0px;
 
-
}
 
-
#p-logo {
 
-
/* removes iGEM logo */
 
-
display: none;
 
-
}
 
-
 
-
#menubar {
 
-
/* format top menubar */
 
-
top: 0px;
 
-
float: left;
 
-
border: none;
 
-
font-family:"Trebuchet MS",Arial,sans-serif;
 
-
font-size:85%;
 
-
height: 22px;
 
-
}
 
-
#menubar li a {
 
-
color: #FFFFFF;
 
-
}
 
-
#menubar li a:hover {
 
-
text-decoration: underline;
 
-
}
 
-
#menubar.right-menu {
 
-
/* format right part of top menubar and add iGEM mini logo */
 
-
text-align: right;
 
-
right: auto;
 
-
background: url(https://static.igem.org/mediawiki/2010/f/fb/IGEM_small.png) top left no-repeat;
 
-
background-color: #336699;
 
-
border-bottom: black 1px solid;
 
-
width: 975px;
 
-
z-index: 7;
 
-
}
 
-
#menubar.left-menu {
 
-
/* format left part of top menubar */
 
-
text-align: left;
 
-
left: 20px;
 
-
width: auto;
 
-
z-index: 8;
 
-
}
 
-
 
-
#search-controls {
 
-
/* format searchbar */
 
-
top: 24px;
 
-
overflow :visible;
 
-
display:block;
 
-
background: none;
 
-
width: 965px;
 
-
border: 0;
 
-
margin: 0;
 
-
height: auto;
 
-
text-align: right;
 
-
right: auto;
 
-
}
 
-
#searchInput {
 
-
/* format search input field */
 
-
font-size:85%;
 
-
width: 100px;
 
-
color: #000000;
 
-
border: 1;
 
-
padding-right: 2px;
 
-
padding-left: 2px;
 
-
}
 
-
#searchform {
 
-
margin: 1px;
 
-
}
 
-
input.searchButton {
 
-
/* format search input buttons */
 
-
font-family:"Trebuchet MS",Arial,sans-serif;
 
-
font-size:80%;
 
-
margin: 0;
 
-
color: #000000;
 
-
font-weight: normal;
 
-
cursor: hand;
 
-
cursor:pointer;
 
-
padding-right: 2px;
 
-
padding-left: 2px;
 
-
}
 
-
input.searchButton:hover {
 
-
color: #000000;
 
-
text-decoration: underline;
 
-
}
 
-
 
-
#footer-box {
 
-
/* format footer to match top menubar */
 
-
font-family:"Trebuchet MS",Arial,sans-serif;
 
-
font-size:12px;
 
-
color:#FFFFFF;
 
-
background:#336699;
 
-
}
 
-
#footer-box li a {
 
-
color:#FFFFFF;
 
-
}
 
-
 
-
/*
 
-
End Format iGEM base
 
-
*/
 
-
 
-
/*
 
-
Start Format ETHZ_Basel
 
-
*/
 
-
 
-
#header{
 
-
/* position logo */
 
-
width: 975px;
 
-
position: relative;
 
-
left: -5px;
 
-
}
 
-
 
-
#navigation{
 
-
/* main div for navigation */
 
-
width: 945px;
 
-
position: relative;
 
-
left: -5px;
 
-
padding: 5px 15px 0 15px;
 
-
background:#336699;
 
-
}
 
-
ul#simple-menu{
 
-
list-style-type:none;
 
-
width:100%;
 
-
position:relative;
 
-
height:27px;
 
-
font-family:"Trebuchet MS",Arial,sans-serif;
 
-
font-size:13px;
 
-
font-weight:bold;
 
-
margin:0;
 
-
padding:11px 0 0 0;
 
-
}
 
-
ul#simple-menu li{
 
-
display:block;
 
-
float:left;
 
-
margin:0 0 0 4px;
 
-
height:27px;
 
-
}
 
-
ul#simple-menu li.left{
 
-
margin:0;
 
-
}
 
-
ul#simple-menu li a{
 
-
display:block;
 
-
float:left;
 
-
color:#fff;
 
-
background:#3F4955;
 
-
line-height:27px;
 
-
text-decoration:none;
 
-
padding:0 17px 0 18px;
 
-
height:27px;
 
-
}
 
-
ul#simple-menu li a.start{
 
-
background:#7297BA;
 
-
}
 
-
ul#simple-menu li a.project{
 
-
background:#F2BC00;
 
-
}
 
-
ul#simple-menu li a.biology{
 
-
background:#049966;
 
-
}
 
-
ul#simple-menu li a.modeling{
 
-
background:#B94211;
 
-
}
 
-
ul#simple-menu li a.right{
 
-
padding-right:19px;
 
-
}
 
-
ul#simple-menu li a:hover{
 
-
text-decoration: underline;
 
-
}
 
-
 
-
#subnavigation{
 
-
/* main div for subnavigation */
 
-
width: 945px;
 
-
position: relative;
 
-
left: -5px;
 
-
padding: 5px 15px 0 15px;
 
-
background:#3F4955;
 
-
}
 
-
#subnavigation.start{
 
-
background:#7297BA;
 
-
}
 
-
#subnavigation.project{
 
-
background:#F2BC00;
 
-
}
 
-
#subnavigation.biology{
 
-
background:#049966;
 
-
}
 
-
#subnavigation.modeling{
 
-
background:#B94211;
 
-
}
 
-
ul#sub-menu{
 
-
list-style-type:none;
 
-
width:100%;
 
-
position:relative;
 
-
height:27px;
 
-
font-family:"Trebuchet MS",Arial,sans-serif;
 
-
font-size:13px;
 
-
font-weight:bold;
 
-
margin:0;
 
-
padding:11px 0 0 0;
 
-
}
 
-
ul#sub-menu li{
 
-
display:block;
 
-
float:left;
 
-
margin:0 0 0 4px;
 
-
height:27px;
 
-
}
 
-
ul#sub-menu li.left{
 
-
margin:0;
 
-
}
 
-
ul#sub-menu li a{
 
-
display:block;
 
-
float:left;
 
-
color:#fff;
 
-
line-height:27px;
 
-
text-decoration:none;
 
-
padding:0 17px 0 18px;
 
-
height:27px;
 
-
}
 
-
ul#sub-menu li a.right{
 
-
padding-right:19px;
 
-
}
 
-
ul#sub-menu li a:hover{
 
-
text-decoration: underline;
 
-
}
 
-
ul#sub-menu li a.current{
 
-
color:#000000;
 
-
background:#FFFFFF;
 
-
}
 
-
/*
 
-
End Format ETHZ_Basel
 
-
*/
 
-
</style>
 
-
</head>
 
<div id="header">
<div id="header">
-
<img src="https://static.igem.org/mediawiki/2010/7/7c/ETHZ_Basel_header.png">
+
<a href="https://2010.igem.org/" target="_blank"><img src="https://static.igem.org/mediawiki/2010/b/b3/ETHZ_Basel_header_left.png"></a><a href="https://2010.igem.org/Team:ETHZ_Basel"><img src="https://static.igem.org/mediawiki/2010/3/35/ETHZ_Basel_header_middle.png"></a><a href="http://www.ethz.ch" target="_blank"><img src="https://static.igem.org/mediawiki/2010/6/6f/ETHZ_Basel_header_right.png"></a>
-
</div>
+
-
<div id="navigation">
+
-
  <ul id="simple-menu">
+
-
    <li><a href="https://2010.igem.org/Team:ETHZ_Basel" class="start"><span>Start</span></a></li>
+
-
    <li><a href="https://2010.igem.org/Team:ETHZ_Basel/Project" class="project"><span>Project</span></a></li>
+
-
    <li><a href="https://2010.igem.org/Team:ETHZ_Basel/Biology" class="biology"><span>Biology & Wet Laboratory</span></a></li>
+
-
    <li><a href="https://2010.igem.org/Team:ETHZ_Basel/Modeling" class="modeling"><span>Modeling & Information Processing</span></a></li>
+
-
    <li><a href="https://2010.igem.org/Team:ETHZ_Basel/Literature"><span>Literature</span></a></li>
+
-
    <li><a href="https://2010.igem.org/Team:ETHZ_Basel/Help"><span>Help</span></a></li>
+
-
    <li><a href="https://2010.igem.org/Team:ETHZ_Basel/Internal"><span>Internal</span></a></li>
+
-
  </ul>
+
</div>
</div>
</html>
</html>

Latest revision as of 15:15, 7 October 2010