Team:TU Delft/menu2

From 2010.igem.org

(Difference between revisions)
Line 7: Line 7:
#navlist {
#navlist {
-
margin: 0;  
+
margin: 0;
-
padding: 0;
+
padding: 0;
 +
margin-left: 8px;
}
}
#navlist li {
#navlist li {
-
float: left;
+
display: block;
-
list-style: none;
+
list-style-type: none;
-
font: 12px Tahoma, Arial;
+
float:left;
 +
padding: 0;
 +
margin: 0;
}
}
-
#navlist li a:hover {
 
-
background: #1A4473;
 
-
}
 
-
 
#navlist li ul {
#navlist li ul {
-
margin: 0;
+
position: absolute;
-
padding: 0;
+
visibility: hidden;
-
position: absolute;
+
background-color: #fff;
-
visibility: hidden;
+
margin:0;
-
border-top: 1px solid white;
+
padding:0;
 +
z-index:100;
}
}
#navlist li ul li {
#navlist li ul li {
-
float: none;
+
float: none;
-
display: inline;
+
display: block;
 +
list-style-type:none;
 +
float:left;
 +
clear:both;
 +
z-index:100;
 +
border: 1px solid #775dde;
 +
width: 150px;
 +
padding: 3px;
}
}
-
+
 
#navlist li ul li a {
#navlist li ul li a {
-
width: auto;
+
color: #222;
-
background: #9F1B1B;
+
}
}
-
+
 
#navlist li ul li a:hover {
#navlist li ul li a:hover {
-
background: #7F1616;
+
color: #000;
 +
text-decoration: underline;
}
}
-
 
.menu_button {
.menu_button {
-
display:block;
+
display:block;
-
color: #fff;
+
color: #fff;
-
border: none;
+
border: none;
-
background-repeat: none;
+
background-repeat: none;
-
height:45px;
+
height:45px;
-
cursor: pointer;
+
cursor: pointer;
}
}

Revision as of 13:02, 16 July 2010