Template:Team:DTU-Denmark/css3
From 2014.igem.org
(Difference between revisions)
Tbjohannesen (Talk | contribs) |
Tbjohannesen (Talk | contribs) |
||
(86 intermediate revisions not shown) | |||
Line 171: | Line 171: | ||
background-color:#2c8d26; /* #2c8d26 Green #353535 old black*/ | background-color:#2c8d26; /* #2c8d26 Green #353535 old black*/ | ||
position:fixed; | position:fixed; | ||
- | height: | + | height:135px; |
top:0px; | top:0px; | ||
width:100%; | width:100%; | ||
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; | ||
+ | top: 5; | ||
display: block; | display: block; | ||
- | padding: | + | padding: 5px 5px 5px 5px; |
- | margin: | + | margin: 0px 0px 0px 0px; |
- | background | + | width: 200px; |
+ | background: url("https://static.igem.org/mediawiki/2014/3/30/DTU-Denmark-Menu-200x40-green-1.png"); | ||
} | } | ||
ul#nav > li > a { | ul#nav > li > a { | ||
line-height:20px; | line-height:20px; | ||
- | border:solid | + | /*border-left:solid 1px #ffff00;*/ |
- | padding: | + | /*border-right:solid 1px #ffff00;*/ |
+ | /*border-top:solid 1px #ffff00;*/ | ||
+ | /*border-bottom:solid 1px #ffff00;*/ | ||
+ | padding: 7px 5px 3px 5px; | ||
+ | |||
+ | |||
} | } | ||
Line 252: | 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 271: | 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 277: | 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 295: | Line 309: | ||
font-weight: normal; | font-weight: normal; | ||
/*text-shadow: 0 1px 0 #fff;*/ | /*text-shadow: 0 1px 0 #fff;*/ | ||
+ | } | ||
+ | |||
+ | ul#nav > li > ul { | ||
+ | visibility: hidden; | ||
+ | background: #559a57; | ||
} | } | ||
Line 458: | Line 477: | ||
} | } | ||
} | } | ||
- | |||
</style> | </style> | ||
+ | |||
</html> | </html> |
Latest revision as of 09:53, 29 July 2014