Template:Team:DTU-Denmark/css3
From 2014.igem.org
(Difference between revisions)
(Created page with "- →Shamelessly stolen from the 2014 Boston team, thank you Boston team!: <html> <head> <style type="text/css"> #contentSub, #footer-box, #sitesub, #catlinks, #search-controls, ...") |
Tbjohannesen (Talk | contribs) |
||
(157 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | |||
- | |||
<html> | <html> | ||
<head> | <head> | ||
Line 85: | Line 83: | ||
a:link { | a:link { | ||
- | color: # | + | color: #FF0000; /*Text menu mouseover*/ |
text-decoration: none; | text-decoration: none; | ||
} | } | ||
Line 107: | Line 105: | ||
body { | body { | ||
- | color: #353535; | + | color: #353535; |
font: 14px/23px proxima-nova-alt, "Proxima Nova Alt", sans-serif; | font: 14px/23px proxima-nova-alt, "Proxima Nova Alt", sans-serif; | ||
text-align:center; | text-align:center; | ||
Line 171: | Line 169: | ||
.header{ | .header{ | ||
- | background-color:# | + | background-color:#2c8d26; /* #2c8d26 Green #353535 old black*/ |
position:fixed; | position:fixed; | ||
- | height: | + | height:135px; |
top:0px; | top:0px; | ||
width:100%; | width:100%; | ||
Line 199: | Line 197: | ||
#tracking_nav a { color:#ffffff; text-transform: lowercase;font-size: 16pt;} | #tracking_nav a { color:#ffffff; text-transform: lowercase;font-size: 16pt;} | ||
- | #tracking_nav a:hover {background:#bababa;} | + | /*#tracking_nav a:hover {background:#bababa;}*/ |
ul#nav { | ul#nav { | ||
Line 212: | 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 223: | Line 221: | ||
#nav a { | #nav a { | ||
font-family:bree-web, Bree, sans-serif; | font-family:bree-web, Bree, sans-serif; | ||
- | font-size: | + | font-size:18pt; |
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; |
+ | 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: | + | line-height:20px; |
- | border-left: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 246: | Line 253: | ||
/* main level link hover */ | /* main level link hover */ | ||
#nav .current a, #nav li:hover > a { | #nav .current a, #nav li:hover > a { | ||
- | color: # | + | color: #724f20; /*mouse over tekstfarve for menu. Før #F79042. Tyrkis 7edbf6. dd6421*/ |
- | border-color:# | + | border-color:#724f20; |
} | } | ||
Line 253: | 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- | + | background: none; |
+ | background-color: #42f75f; /* drop down menu background*/ | ||
background-repeat:repeat; | background-repeat:repeat; | ||
color:#FFF; | color:#FFF; | ||
+ | visibility: visible; | ||
} | } | ||
Line 270: | Line 279: | ||
opacity:1; | opacity:1; | ||
margin:0; | margin:0; | ||
- | background-color: none; | + | 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 278: | 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;*/ | ||
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