Template:Team:DTU-Denmark/css3
From 2014.igem.org
(Difference between revisions)
Tbjohannesen (Talk | contribs) |
Tbjohannesen (Talk | contribs) |
||
(59 intermediate revisions not shown) | |||
Line 210: | Line 210: | ||
color: #FFF; | color: #FFF; | ||
background-color:none; | background-color:none; | ||
- | margin: 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: | + | color: none; |
text-decoration: none; | text-decoration: none; | ||
position: relative; | position: relative; | ||
top: 5; | top: 5; | ||
display: block; | display: block; | ||
- | padding: | + | 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 | + | 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: | + | margin: 0 0 0 0; |
- | padding: | + | padding: 0 0 0 0; |
- | width: | + | 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 { | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
visibility: hidden; | visibility: hidden; | ||
- | + | background: #559a57; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
Line 484: | Line 477: | ||
} | } | ||
} | } | ||
- | |||
</style> | </style> | ||
+ | |||
</html> | </html> |
Latest revision as of 09:53, 29 July 2014