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 {
-
display: block;
+
float: left;
-
list-style-type: none;
+
list-style: none;
-
float:left;
+
font: 12px Tahoma, Arial;
-
padding: 0;
+
-
margin: 0;
+
}
}
 +
#navlist li a {
 +
display: block;
 +
background: #20548E;
 +
padding: 5px 12px;
 +
text-decoration: none;
 +
border-right: 1px solid white;
 +
width: 70px;
 +
color: #EAFFED;
 +
white-space: nowrap;
 +
}
 +
 +
#navlist li a:hover {
 +
background: #1A4473;
 +
}
 +
#navlist li ul {
#navlist li ul {
-
position: absolute;
+
margin: 0;
-
visibility: hidden;
+
padding: 0;
-
background-color: #fff;
+
position: absolute;
-
margin:0;
+
visibility: hidden;
-
padding:0;
+
border-top: 1px solid white;
-
z-index:100;
+
}
}
#navlist li ul li {
#navlist li ul li {
-
float: none;
+
float: none;
-
display: block;
+
display: inline;
-
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 {
-
color: #222;
+
width: auto;
 +
background: #9F1B1B;
}
}
-
 
+
#navlist li ul li a:hover {
#navlist li ul li a:hover {
-
color: #000;
+
background: #7F1616;
-
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 12:59, 16 July 2010