Team:Groningen/Templates/Navigationbar

From 2013.igem.org

(Difference between revisions)
Line 60: Line 60:
}
}
#menu-item-6:hover ul {
#menu-item-6:hover ul {
 +
height: 183px;
 +
}
 +
 +
.menu-item-link:hover ul {
 +
  height: 132px;
 +
}
 +
 +
#menu-item-1-link:hover ul {
 +
height: 32px;
 +
}
 +
#menu-item-2-link:hover ul {
 +
height: 63px;
 +
}
 +
#menu-item-3-link:hover ul {
 +
height: 93px;
 +
}
 +
#menu-item-4-link:hover ul {
 +
height: 127px;
 +
}
 +
#menu-item-5-link:hover ul {
 +
height: 153px;
 +
}
 +
#menu-item-6-link:hover ul {
height: 183px;
height: 183px;
}
}
-
.menu-item h4:hover {   
+
.menu-item-link h4:hover {   
background: rgb(0,71,171); /* Old browsers */
background: rgb(0,71,171); /* Old browsers */
background: -moz-linear-gradient(left, rgba(0,71,171,1) 100%, rgba(125,185,232,1) 100%); /* FF3.6+ */
background: -moz-linear-gradient(left, rgba(0,71,171,1) 100%, rgba(125,185,232,1) 100%); /* FF3.6+ */
Line 131: Line 154:
<nav>
<nav>
-
     <div class="menu-item alpha">
+
     <div class="menu-item-link alpha">
       <h4><a href="https://2013.igem.org/Team:Groningen">Home</a></h4>
       <h4><a href="https://2013.igem.org/Team:Groningen">Home</a></h4>
    
    
     </div>
     </div>
        
        
-
     <div class="menu-item" id="menu-item-4">
+
     <div class="menu-item-link" id="menu-item-4">
       <h4><a href="https://2013.igem.org/Team:Groningen/Navigation/Team" >Team</a></h4>
       <h4><a href="https://2013.igem.org/Team:Groningen/Navigation/Team" >Team</a></h4>
       <ul>
       <ul>
Line 165: Line 188:
        
        
     <div class="menu-item" id="menu-item-2">
     <div class="menu-item" id="menu-item-2">
-
       <h4><a href="https://2013.igem.org/Team:Groningen/Navigation/Modeling">Modeling</a></h4>
+
       <h4>Modeling</a></h4>
       <ul>
       <ul>
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Codonoptimization">Codon optimization</a></li>
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Codonoptimization">Codon optimization</a></li>
Line 181: Line 204:
     <div class="menu-item" id="menu-item-5">
     <div class="menu-item" id="menu-item-5">
-
       <h4><a href="https://2013.igem.org/Team:Groningen/Navigation/Outreach">Outreach</a></h4>
+
       <h4>Outreach</a></h4>
       <ul>
       <ul>
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/noas">Night of <br>Art & Science</a></li>
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/noas">Night of <br>Art & Science</a></li>

Revision as of 10:19, 25 September 2013