Template:Team:SydneyUni Australia/Template:BannerStyle

From 2014.igem.org

(Difference between revisions)
(Created page with "<html> <!-- ie9.js (fixes all Internet Explorer browsers older than ie9) --> <!--[if lt IE 9]> <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>...")
Line 12: Line 12:
/*Based on http://cssdeck.com/labs/another-simple-css3-dropdown-menu*/
/*Based on http://cssdeck.com/labs/another-simple-css3-dropdown-menu*/
-
nav ul {
+
#nav ul {
   text-align: center;
   text-align: center;
   display: inline-block;
   display: inline-block;
Line 20: Line 20:
   color: #000000;
   color: #000000;
}
}
-
nav ul li {
+
#nav ul li {
   font: bold 12px/18px;
   font: bold 12px/18px;
   font-weight: bold;
   font-weight: bold;
Line 37: Line 37:
   text-align: center;
   text-align: center;
}
}
-
nav ul li a {
+
#nav ul li a {
   color: #000000;
   color: #000000;
   text-decoration: none;
   text-decoration: none;
}
}
-
nav ul li:hover {
+
#nav ul li:hover {
   background: #abe3cd;
   background: #abe3cd;
   color: #000000;
   color: #000000;
Line 49: Line 49:
   margin-bottom: -5px;  
   margin-bottom: -5px;  
}
}
-
nav ul li ul {
+
#nav ul li ul {
   padding: 0;
   padding: 0;
   position: absolute;
   position: absolute;
Line 67: Line 67:
   -transition: opacity 0.2s;
   -transition: opacity 0.2s;
}
}
-
nav ul li ul li {  
+
#nav ul li ul li {  
   background: #ecfce1;
   background: #ecfce1;
   display: block;  
   display: block;  
Line 78: Line 78:
-
nav ul li ul li:hover {  
+
#nav ul li ul li:hover {  
   background: #abe3cd;  
   background: #abe3cd;  
   border-bottom: none;
   border-bottom: none;
   margin-bottom: 0;}
   margin-bottom: 0;}
-
nav ul li:hover ul {
+
#nav ul li:hover ul {
   display: block;
   display: block;
   opacity: 1;
   opacity: 1;

Revision as of 05:23, 23 July 2014