Team:VIT Vellore/Template/Menu
From 2011.igem.org
(Difference between revisions)
A.Sivakumar (Talk | contribs) |
|||
(51 intermediate revisions not shown) | |||
Line 320: | Line 320: | ||
<style type="text/css"> | <style type="text/css"> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
.lavaLamp { | .lavaLamp { | ||
position:absolute; | position:absolute; | ||
- | margin: | + | left:-200px; |
- | top: | + | margin:0px; |
+ | top:150px; | ||
display:block; | display:block; | ||
- | width: | + | width:145%; |
- | height: | + | height:25px; |
-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); | -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); | ||
- | background:# | + | background:#1085bc; |
- | background: -moz-linear-gradient(center top , # | + | background: -moz-linear-gradient(center top , #1085bc, #0c5476) repeat scroll 0 0 transparent; |
} | } | ||
/* Force the list to flow horizontally */ | /* Force the list to flow horizontally */ | ||
Line 349: | Line 339: | ||
/* Represents the background of the highlighted menu-item. */ | /* Represents the background of the highlighted menu-item. */ | ||
.lavaLamp li.back { | .lavaLamp li.back { | ||
- | background: url("https://static.igem.org/mediawiki/2011/ | + | background: url("https://static.igem.org/mediawiki/2011/b/b8/Vit_button.png") no-repeat right 0px; |
+ | top:2px; | ||
+ | left:20px | ||
width: 9px; height: 30px; | width: 9px; height: 30px; | ||
z-index: 6; | z-index: 6; | ||
Line 355: | Line 347: | ||
} | } | ||
.lavaLamp li.back .left { | .lavaLamp li.back .left { | ||
- | background: url("https://static.igem.org/mediawiki/2011/ | + | background: url("https://static.igem.org/mediawiki/2011/b/b8/Vit_button.png") no-repeat top left; |
height: 30px; | height: 30px; | ||
margin-right: 9px; | margin-right: 9px; | ||
Line 362: | Line 354: | ||
.lavaLamp li a { | .lavaLamp li a { | ||
position: relative; overflow: hidden; | position: relative; overflow: hidden; | ||
+ | top: 5px; | ||
text-decoration: none; | text-decoration: none; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
- | font: bold | + | font: bold 20px helvetica; |
color: #fff; outline: none; | color: #fff; outline: none; | ||
text-align: center; | text-align: center; | ||
Line 370: | Line 363: | ||
z-index: 10; letter-spacing: 0; | z-index: 10; letter-spacing: 0; | ||
float: left; display: block; | float: left; display: block; | ||
- | margin: auto | + | margin: auto 75px; |
} | } | ||
</style> | </style> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | $(function() { $(".lavaLamp").lavaLamp({ fx: " | + | $(function() { $(".lavaLamp").lavaLamp({ fx: "elasinout", speed: 700 })}); |
</script> | </script> | ||
Line 382: | Line 375: | ||
<ul class="lavaLamp"> | <ul class="lavaLamp"> | ||
- | <li><a href=" | + | <li><a href="https://2011.igem.org/Team:VIT_Vellore">Home</a></li> |
- | <li><a href=" | + | <li><a href="https://2011.igem.org/Team:VIT_Vellore/Project">Project</a></li> |
<li><a href="#">Team</a></li> | <li><a href="#">Team</a></li> | ||
- | <li><a href=" | + | <li><a href="https://2011.igem.org/Team:VIT_Vellore/Safety">Safety</a></li> |
+ | <li><a href="#">Attributions</a></li> | ||
</ul> | </ul> | ||
</body> | </body> | ||
</html> | </html> |
Latest revision as of 07:20, 5 October 2011