Team:Grinnell/Template/Home

From 2011.igem.org

(Difference between revisions)
 
(64 intermediate revisions not shown)
Line 1: Line 1:
 +
<html><div id='Glogo'><a href="https://2011.igem.org/Team:Grinnell"><img alt="Grinnell logo" src="https://static.igem.org/mediawiki/2011/2/20/Grinnell_wiki_logo_975px.jpg" /></a></div></html>
__NOTOC__
__NOTOC__
-
 
<html><head>
<html><head>
-
<style type="text/css">
+
<title>Grinnell Menubar</title>
-
/*Roughly inspired by JHU 2010*/
+
<style type="text/css">
-
.listed{
+
/*Roughly inspired by JHU iGEM 2010
-
font-size:150%;
+
and Team Heidelberg 2008, who copied their menu from Cesar Daniel (http://vitalspot.com/ScriptFreeMenu/)*/
-
}
+
-
#menu-bar{
+
#globalWrapper{background:url("https://static.igem.org/mediawiki/2011/a/a2/Wikibackground4.jpg") center top fixed; font-size:150%;}
-
list-style:none;
+
 
-
overflow:hidden;
+
#content{border-top: 1px solid #444444;}
-
}
+
-
#menu-bar li{
+
h1.firstHeading{display:none}
-
float:left;
+
 
-
}
+
                #Glogo{
-
#menu-bar a:link, #menu-bar a:visited{
+
                        position:relative;
-
display:block;
+
                        z-index:1;
-
font-size:15pt;
+
                        left:-5px;
-
width:108px;
+
top:-23px
-
color:#000000;
+
                }
-
background-color:#dc143c;
+
 
-
text-align:center;
+
                #p-logo{
-
padding:4px;
+
                        border:none;
-
text-decoration:none;
+
                        height:0px;
-
}
+
                        overflow:hidden;
-
#menu-bar a:hover{
+
                }
-
background-color:#000000;
+
 
-
color:#dc143c;
+
                #top-section{
-
}
+
                        height:30px;
-
#menu-bar a:active{
+
                        padding:0px;
-
color:#FFFFFF;
+
                        border:none;
-
}
+
                        background:url("https://static.igem.org/mediawiki/2011/a/a2/Wikibackground4.jpg") center top fixed;
-
</style></head>
+
                }
-
<body></html>
+
 
 +
                div#search-controls.noprint, input.searchButton{
 +
                        display:none;
 +
                }
 +
 
 +
                h1{
 +
background:#010101;
 +
                        color:#c40001;
 +
padding:15px;
 +
border:15px;
 +
position:relative;
 +
left:-6px;
 +
width:947px;
 +
                }
 +
h2{
 +
background:#c40001;
 +
color:#010101;
 +
padding:10px;
 +
border:10px;
 +
position:relative;
 +
left:-6px;
 +
width:957px;
 +
}
 +
 
 +
/*Reset*/
 +
div.menu-bar ul li ul.ddm{
 +
display:none; /*Hides drop down menus*/
 +
}
-
[[File:grinnellheadersample.gif|center|965px]]
+
                div.menu-bar ul li:hover ul.ddm li ul.sm,
 +
                div.menu-bar ul li a:hover ul.ddm li a ul.sm {
 +
                        display: none; /*Hides all side menus*/
 +
                }
 +
/*Setting up the menu bar*/
 +
div.menu-bar {
 +
height:25px;
 +
position:absolute;
 +
left:-23px;
 +
top:195px;
 +
z-index:15;
 +
}
 +
 +
div.menu-bar ul li{
 +
float:left;
 +
position:relative; /*So that positioning works*/
 +
list-style-type:none !important;
 +
margin:0 !important;
 +
display:block;
 +
width:162px;
 +
text-align:center;
 +
font-size:90%;
 +
                        /*left:90px; /*Used left to manually center menu*/
 +
}
 +
 +
div.menu-bar ul li a{
 +
display:block;
 +
padding-top:4px;
 +
padding-bottom:4px;
 +
padding-left:1em;
 +
padding-right:1em;
 +
text-decoration:none;
 +
}
 +
 +
div.menu-bar ul li a:link, div.menu-bar ul li a:visited,
 +
div.menu-bar ul li ul.ddm li a:link, div.menu-bar ul li ul.ddm li a:visited
 +
                div.menu-bar ul li ul.ddm li ul.sm li a:link, div.menu-bar ul li ul.ddm li ul.sm a:visited{
 +
display:block;
 +
font-size:1.7em;
 +
color:#010101;
 +
background-color:#c40001;
 +
text-align:center;
 +
padding:4px;
 +
text-decoration:none;
 +
}
 +
 +
div.menu-bar ul li a:hover, div.menu-bar ul li ul.ddm li a:hover, div.menu-bar ul li ul.ddm li ul.sm li a:hover{
 +
background-color:#010101;
 +
color:#c40001;
 +
}
 +
 +
div.menu-bar ul li a:active, div.menu-bar ul li ul.ddm li a:active, div.menu-bar ul li ul.ddm li ul.sm li a:active{
 +
color:#FFFFFF;
 +
}
 +
/*Setting up a drop down menu*/
 +
div.menu-bar ul li:hover ul.ddm, div.menu-bar ul li a:hover ul.ddm{
 +
display:block;
 +
width:162px;
 +
padding:1px;
 +
position:absolute;
 +
top:25px;
 +
left:-21px;/*Use 'top' and 'left' to get the ddm position where you want it*/
 +
}
 +
 +
div.menu-bar ul li:hover ul.ddm li a, div.menu-bar ul li a:hover ul.ddm li a{
 +
width:162px;
 +
padding-left:0;
 +
padding-right:0;
 +
}
 +
/*Setting up side menus*/
 +
                div.menu-bar ul li:hover ul.ddm li:hover ul.sm,
 +
                div.menu-bar ul li a:hover ul.ddm li a:hover ul.sm {
 +
                        display: block;
 +
                        width: 110px;
 +
                        padding: 1px;
 +
                        position: relative;
 +
                        top: -34px;
 +
                        left: 143px;
 +
                }
-
<html>
+
                div.menu-bar ul li:hover ul.ddm li:hover ul.sm li a,
-
<ul id="menu-bar">
+
                div.menu-bar ul li a:hover ul.ddm li a:hover ul.sm li a {
-
<li><a href="https://2011.igem.org/Team:Grinnell">Home</a></li>
+
                        width: 165px;
-
<li><a href="https://2011.igem.org/Team:Grinnell/Team">Team</a></li>
+
                }
-
<li><a href="https://2011.igem.org/Team:Grinnell/Project">Project</a></li>
+
/*Fixing display problems in IE browsers*/
-
<li><a href="https://2011.igem.org/Team:Grinnell/Parts">Parts</a></li>
+
* html div.menu-bar{
-
<li><a href="https://2011.igem.org/Team:Grinnell/Applications">Applications</a></li>
+
  position: relative;
-
<li><a href="https://2011.igem.org/Team:Grinnell/Notebook">Notebook</a></li>
+
  }
-
<li><a href="https://2011.igem.org/Team:Grinnell/Safety">Safety</a></li>
+
 
-
<li><a href="https://2011.igem.org/Team:Grinnell/Attributions">Attributions</a></li>
+
* html div.menu-bar ul li a {
-
</ul>
+
  float: left;
-
</html>
+
}
-
{|style="background:lightblue;" height="80px" cellspacing="30" border="0" width="965px" align="center"
+
* html ul.ddm li a:hover {
-
!align="center"|<html><p class="listed"></html>[[Team:Grinnell|Home]]<html></p></html>
+
cursor: hand;
-
!align="center"|<html><p class="listed"></html>[[Team:Grinnell/Team|Team]]<html></p></html>
+
}
-
!align="center"|<html><p class="listed"></html>[[Team:Grinnell/Project|Project]]<html></p></html>
+
ul.ddm li a:hover {
-
!align="center"|<html><p class="listed"></html>[[Team:Grinnell/Parts|Parts]]<html></p></html>
+
  cursor: pointer;
-
!align="center"|<html><p class="listed"></html>[[Team:Grinnell/Applications|Applications]]<html></p></html>
+
}
-
!align="center"|<html><p class="listed"></html>[[Team:Grinnell/Notebook|Notebook]]<html></p></html>
+
* html div.menu-bar a:hover {
-
!align="center"|<html><p class="listed"></html>[[Team:Grinnell/Safety|Safety]]<html></p></html>
+
  text-decoration: none;
-
!align="center"|<html><p class="listed"></html>[[Team:Grinnell/Attributions|Attributions]]<html></p></html>
+
}
-
|}
+
/**/
-
<html>
+
 +
</style></head>
 +
<!--Menu-->
 +
<body>
 +
<div class="menu-bar">
 +
<ul>
 +
<li><a href="https://2011.igem.org/Team:Grinnell">Home</a></li>
 +
<li><a href="https://2011.igem.org/Team:Grinnell/Team">Team</a>
 +
<ul class="ddm">
 +
<li><a href="https://2011.igem.org/Team:Grinnell/Gallery">Gallery</a>
 +
</li>
 +
<!--<li><a href="https://2011.igem.org/File:Alex_profile.JPG"><img alt="Alex" src="https://static.igem.org/mediawiki/2011/8/80/Alex_profile.JPG" width=125px /></a>
 +
</li>-->
 +
</ul>
 +
</li>
 +
<li><a href="https://2011.igem.org/Team:Grinnell/Project">Project</a>
 +
<ul class="ddm">
 +
<li><a href="https://2011.igem.org/Team:Grinnell/Applications"><span>Applications</span></a></li>
 +
</ul>
 +
</li>
 +
                <li><a href="https://2011.igem.org/Team:Grinnell/Parts">Parts</a>
 +
                        <ul class="ddm">
 +
                                <li><a href="https://2011.igem.org/Team:Grinnell/Project/DspB">DspB</a></li>
 +
                                <li><a href="https://2011.igem.org/Team:Grinnell/Project/Esp">Esp</a></li>
 +
                                <li><a href="https://2011.igem.org/Team:Grinnell/Project/RsaA">RsaA</a></li>
 +
                        </ul>
 +
                </li>
 +
<li><a href="https://2011.igem.org/Team:Grinnell/Notebook">Notebook</a>
 +
<ul class="ddm">
 +
<li><a href="https://2011.igem.org/Team:Grinnell/Safety">Safety</a></li>
 +
<li><a href="https://2011.igem.org/Team:Grinnell/Notebook/Protocols">Protocols</a></li>
 +
<li><a href="https://2011.igem.org/Team:Grinnell/Recipes">Recipes</a></li>
 +
                                <li><a href="https://2011.igem.org/Team:Grinnell/Notebook/Gels">Gels</a>
 +
                                    <ul class="sm">
 +
                                        <li><a href='https://2011.igem.org/Team:Grinnell/Notebook/Gels/DspB'>DspB</a></li>
 +
                                        <li><a href='https://2011.igem.org/Team:Grinnell/Notebook/Gels/Esp'>Esp</a></li>
 +
                                        <li><a href='https://2011.igem.org/Team:Grinnell/Notebook/Gels/Promoters'>Promoters</a></li>
 +
                                    </ul>
 +
                                </li>
 +
</ul>
 +
</li>
 +
<li><a href="https://2011.igem.org/Team:Grinnell/Attributions">Attributions</a>
 +
                </li>
 +
</ul></div>
</body></html>
</body></html>

Latest revision as of 03:59, 29 September 2011

Grinnell Menubar