Template:Caltech PracticeBar

From 2012.igem.org

(Difference between revisions)
Line 144: Line 144:
/************************************************************/
/************************************************************/
-
#coolMenu,
+
/* Main menu
-
#coolMenu ul {
+
------------------------------------------*/
-
    list-style: none;
+
-
}
+
#coolMenu {
#coolMenu {
-
     float: left;
+
     font-family: Arial;
 +
    font-size: 12px;
 +
    background: #2f8be8;
}
}
-
#coolMenu > li {
+
#coolMenu > li > a {
-
     float: left;
+
     color: #fff;
 +
    font-weight: bold;
}
}
-
#coolMenu li a {
+
#coolMenu > li:hover > a {
-
display: block;
+
     background: #f09d28;
-
    height: 2em;
+
     color: #000;
-
    line-height: 2em;
+
-
     padding: 0 1.5em;
+
-
     text-decoration: none;
+
}
}
 +
 +
/* Submenu
 +
------------------------------------------*/
#coolMenu ul {
#coolMenu ul {
-
     position: absolute;
+
     background: #f09d28;
-
    display: none;
+
-
z-index: 999;
+
}
}
#coolMenu ul li a {
#coolMenu ul li a {
-
     width: 80px;
+
     color: #000;
}
}
-
#coolMenu li:hover ul {
+
#coolMenu ul li:hover a {
-
     display: block;
+
     background: #ffc97c;
}
}

Revision as of 23:53, 17 July 2012