Difference between revisions of "Template:MIT-Header"

Line 138: Line 138:
 
color: white;
 
color: white;
 
position:relative;
 
position:relative;
width : 150px;
 
 
top : 12px;
 
top : 12px;
 
font-size : 16px;
 
font-size : 16px;
 
height : 40px;
 
height : 40px;
float:left;
 
 
     vertical-align : middle;
 
     vertical-align : middle;
 
     padding : 0;
 
     padding : 0;
Line 167: Line 165:
 
left: 0;
 
left: 0;
 
right: 0;
 
right: 0;
overflow:hidden;
+
visibility:hidden;
 
-moz-transition: .8s all .3s;
 
-moz-transition: .8s all .3s;
 
-webkit-transition: .8s all .3s;
 
-webkit-transition: .8s all .3s;
Line 173: Line 171:
 
}
 
}
 
#nav li:hover ul{
 
#nav li:hover ul{
 +
visibility: visible;
 +
overflow: visible;
 
max-height:30em;
 
max-height:30em;
 
}
 
}
Line 178: Line 178:
 
text-decoration:none;
 
text-decoration:none;
 
display:block;
 
display:block;
        font-weight : bold;
+
font-weight : bold;
        color : white;
+
color : white;
        vertical-align : middle;
+
vertical-align : middle;
 
}
 
}
 
#nav li:hover a {
 
#nav li:hover a {

Revision as of 20:39, 8 July 2015