Team:VIT Vellore/Template/Menu

From 2011.igem.org

(Difference between revisions)
 
(48 intermediate revisions not shown)
Line 322: Line 322:
.lavaLamp {
.lavaLamp {
   position:absolute;
   position:absolute;
-
  margin:0;
+
left:-200px;
-
  top:20px;
+
  margin:0px;
 +
  top:150px;
  display:block;
  display:block;
-
  width:100%;
+
  width:145%;
  height:25px;
  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:#1085bc;
  background:#1085bc;
-
     background: -moz-linear-gradient(center top , #333333, #111111) repeat scroll 0 0 transparent;
+
     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 338: 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/b/b8/Vit_button.png") no-repeat right -30px;
+
             background: url("https://static.igem.org/mediawiki/2011/b/b8/Vit_button.png") no-repeat right 0px;
             top:2px;
             top:2px;
 +
            left:20px
             width: 9px; height: 30px;
             width: 9px; height: 30px;
             z-index: 6;
             z-index: 6;
Line 355: Line 357:
             text-decoration: none;
             text-decoration: none;
             text-transform: uppercase;
             text-transform: uppercase;
-
             font: bold 20px verdana;
+
             font: bold 20px helvetica;
             color: #fff; outline: none;
             color: #fff; outline: none;
             text-align: center;
             text-align: center;
Line 361: Line 363:
             z-index: 10; letter-spacing: 0;
             z-index: 10; letter-spacing: 0;
             float: left; display: block;
             float: left; display: block;
-
             margin: auto 10px;
+
             margin: auto 75px;
         }
         }
</style>
</style>
   <script type="text/javascript">
   <script type="text/javascript">
-
     $(function() { $(".lavaLamp").lavaLamp({ fx: "backout", speed: 700 })});
+
     $(function() { $(".lavaLamp").lavaLamp({ fx: "elasinout", speed: 700 })});
</script>
</script>
        
        
Line 373: Line 375:
<ul class="lavaLamp">
<ul class="lavaLamp">
-
             <li><a href="#">Home</a></li>
+
             <li><a href="https://2011.igem.org/Team:VIT_Vellore">Home</a></li>
-
             <li><a href="#">Project</a></li>
+
             <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="#">Safety</a></li>
+
             <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

Untitled Document