Team:TU-Delft/CSS

From 2012.igem.org

(Difference between revisions)
 
(33 intermediate revisions not shown)
Line 300: Line 300:
background:white ;
background:white ;
text-align:center;
text-align:center;
-
width:100px;
+
width:90px;
}
}
#nav li ul {
#nav li ul {
display: none;
display: none;
-
 
+
width:200px;
}
}
#nav li.off ul, #nav li.on ul { /*Position of the submenu!!*/
#nav li.off ul, #nav li.on ul { /*Position of the submenu!!*/
Line 311: Line 311:
direction:ltr;
direction:ltr;
-
width:100px;
+
width:150px;
height:100px;
height:100px;
Line 327: Line 327:
font-weight: bold;
font-weight: bold;
display: block;
display: block;
-
height: 15px;
+
height: 30px;
width: auto;
width: auto;
border-bottom:0;
border-bottom:0;
-
margin: 5px;
+
margin: 2px;
-
padding: 0 0 5px 0;
+
padding: 0 0 2px 0;  
}
}
Line 380: Line 380:
z-index: 6000;
z-index: 6000;
}
}
-
#nav li.off a:hover, #nav li:hover a {
+
#nav li.off a:hover, #nav li:hover a {   /* this is for the background that opens behind the submenu */
background:white;
background:white;
color: black;
color: black;
 +
height: 54px;
 +
width: 150px;
}
}
Line 388: Line 390:
background: white;
background: white;
color: #2ab117;
color: #2ab117;
 +
width: 150px;
}
}
Line 490: Line 493:
z-index:1001;
z-index:1001;
}
}
 +
#menubar ul {
#menubar ul {
Line 597: Line 601:
     text-transform: lowercase;
     text-transform: lowercase;
}
}
 +
 +
.left-menu a:hover {
.left-menu a:hover {

Latest revision as of 03:53, 27 October 2012