Team:USyd-Australia/Template:Style

From 2014.igem.org

(Difference between revisions)
Line 98: Line 98:
}
}
-
nav {
+
#nav {
   text-decoration: none;
   text-decoration: none;
   text-align: center;
   text-align: center;
Line 109: Line 109:
}
}
-
nav ul {
+
#nav ul {
   text-align: center;
   text-align: center;
   display: inline-block;
   display: inline-block;
Line 117: Line 117:
   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 134: Line 134:
   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 146: Line 146:
   margin-bottom: -5px;  
   margin-bottom: -5px;  
}
}
-
nav ul li ul {
+
#nav ul li ul {
   padding: 0;
   padding: 0;
   position: absolute;
   position: absolute;
Line 164: Line 164:
   -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 175: Line 175:
-
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 06:11, 23 July 2014