Team:TU-Delft/CSS

From 2012.igem.org

(Difference between revisions)
 
(35 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 310: Line 311:
direction:ltr;
direction:ltr;
-
width:100px;
+
width:150px;
-
height:1000px;
+
height:100px;
-
top:95%;
+
/*left:30px;
/*left:30px;
right:50%;*/
right:50%;*/
Line 326: 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 379: 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 387: Line 390:
background: white;
background: white;
color: #2ab117;
color: #2ab117;
 +
width: 150px;
}
}
Line 489: Line 493:
z-index:1001;
z-index:1001;
}
}
 +
#menubar ul {
#menubar ul {
Line 596: 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