Template:Team:DTU-Denmark/css3

From 2014.igem.org

(Difference between revisions)
 
(59 intermediate revisions not shown)
Line 210: Line 210:
color: #FFF;
color: #FFF;
background-color:none;
background-color:none;
-
margin: 0 20px 0 0;
+
margin: 0 10px 0 0;
float: left;
float: left;
position: relative;
position: relative;
Line 224: Line 224:
font-weight:700;
font-weight:700;
line-height:210%;
line-height:210%;
-
color: #FF0000;
+
color: none;
text-decoration: none;
text-decoration: none;
                 position: relative;
                 position: relative;
                 top: 5;
                 top: 5;
display: block;
display: block;
-
padding: 0px 0px 0px 5px;
+
padding: 5px 5px 5px 5px;
margin: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
width: 200px;
width: 200px;
Line 241: Line 241:
/*border-top:solid 1px #ffff00;*/
/*border-top:solid 1px #ffff00;*/
/*border-bottom:solid 1px #ffff00;*/
/*border-bottom:solid 1px #ffff00;*/
-
padding: 5px 5px 5px 5px;
+
padding: 7px 5px 3px 5px;
Line 260: Line 260:
#nav ul li:hover a, #nav li:hover li a {
#nav ul li:hover a, #nav li:hover li a {
border: none;
border: none;
 +
background: none;
background-color: #42f75f; /* drop down menu background*/
background-color: #42f75f; /* drop down menu background*/
background-repeat:repeat;
background-repeat:repeat;
color:#FFF;
color:#FFF;
 +
visibility: visible;
}
}
Line 279: Line 281:
background-color: none ; /*#870203 reddish, can fix opacity problem here */
background-color: none ; /*#870203 reddish, can fix opacity problem here */
z-index:0;
z-index:0;
 +
border-left:solid 1px #ffff00;
 +
border-right:solid 1px #ffff00;
 +
border-top:solid 1px #ffff00;
 +
border-bottom:solid 1px #ffff00;
}
}
Line 285: Line 291:
/*display: none;*/
/*display: none;*/
opacity:0;
opacity:0;
-
margin: 20px 0 0 0;
+
margin: 0 0 0 0;
-
padding: 7px 0 0 0;
+
padding: 0 0 0 0;
-
width: 205px;
+
width: 200px;
position: absolute;
position: absolute;
         /*background-color: #870203;*/
         /*background-color: #870203;*/
left: 0;
left: 0;
z-index:-1;
z-index:-1;
-
 
+
font-size: 8pt;
}
}
#nav ul li {
#nav ul li {
Line 306: Line 312:
ul#nav > li > ul {
ul#nav > li > ul {
-
list-style: none;
 
-
z-index:100;
 
-
display: block;
 
-
position: absolute;
 
-
width: 120px;
 
-
top: 50px;
 
-
left: 3px;
 
-
opacity: 0;
 
visibility: hidden;
visibility: hidden;
-
        background: #559a57;
+
background: #559a57;
-
-webkit-transiton: opacity 0.2s;
+
-
-moz-transition: opacity 0.2s;
+
-
-ms-transition: opacity 0.2s;
+
-
-o-transition: opacity 0.2s;
+
-
-transition: opacity 0.2s;
+
}
}
Line 484: Line 477:
}
}
}
}
-
 
</style>
</style>
 +
</html>
</html>

Latest revision as of 09:53, 29 July 2014