Team:TU-Delft/Test
From 2012.igem.org
(Difference between revisions)
(26 intermediate revisions not shown) | |||
Line 5: | Line 5: | ||
<style type="text/css"> | <style type="text/css"> | ||
- | # | + | #centeredmenu_bg{ |
position:fixed; | position:fixed; | ||
+ | top:0px; | ||
+ | background:#ffffff; /* the white line behind the main menu*/ | ||
+ | left:0px; | ||
+ | width:100%; | ||
+ | height:70px; | ||
+ | z-index:999; | ||
+ | } | ||
+ | |||
+ | |||
+ | #navLaksh { | ||
+ | |||
+ | position:fixed; | ||
width:850px; | width:850px; | ||
top:15px; | top:15px; | ||
Line 12: | Line 24: | ||
right:60%; | right:60%; | ||
margin: 0 0 0 -230px; | margin: 0 0 0 -230px; | ||
- | |||
z-index:1001; | z-index:1001; | ||
Line 19: | Line 30: | ||
/*letter-spacing:1px;*/ | /*letter-spacing:1px;*/ | ||
text-transform:uppercase; | text-transform:uppercase; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
+ | #navLaksh li { | ||
+ | float: left; | ||
+ | padding-right:0.5cm; | ||
+ | } | ||
- | # | + | #navLaksh li:hover { position: relative } |
- | + | #navLaksh li:hover > a { | |
- | + | background: #FFFFFF; | |
- | + | ||
- | + | } | |
- | } | + | #navLaksh li.sub:hover > a { |
- | # | + | box-shadow: 5px 5px 25px #000; |
- | + | -moz-box-shadow: 5px 5px 25px #000; | |
- | + | -webkit-box-shadow: 5px 5px 25px #000; | |
- | + | } | |
- | + | ||
- | + | ||
- | } | + | |
- | # | + | #navLaksh li a { |
- | + | color: #000000; | |
- | + | font-weight: bold; | |
- | + | text-decoration: none; | |
- | + | padding: 12px; | |
- | + | display: block; | |
- | + | } | |
- | + | #navLaksh li a:hover { background-color: #FFFFFF; } | |
- | + | ||
- | + | #navLaksh li ul { | |
- | + | background: #fff; | |
- | + | margin-top: -2px; | |
- | + | display: none; | |
- | + | } | |
- | + | #navLaksh li:hover ul { | |
- | + | display:block; | |
- | + | position:absolute; | |
+ | } | ||
- | + | #navLaksh li ul { | |
- | + | background: rgba(255,255,255,1); | |
- | + | padding: 10px 5px; | |
- | + | ||
- | + | box-shadow: 5px 5px 25px #000; | |
- | + | -moz-box-shadow: 5px 5px 25px #000; | |
- | + | -webkit-box-shadow: 5px 5px 25px #000; | |
- | + | ||
- | + | border-radius: 10px; | |
- | + | -moz-border-radius: 10px; | |
- | + | -webkit-border-radius: 10px; | |
- | + | ||
- | # | + | } |
- | + | #navLaksh li ul li a, #navLaksh li ul li a:hover { | |
- | + | ||
- | + | background: solid; | |
- | + | color: #000; | |
- | + | width: 150px; | |
- | + | font-size: 0.95em; | |
- | + | font-weight: normal; | |
- | + | } | |
- | + | #navLaksh li ul li a:hover { text-decoration: underline; | |
- | + | box-shadow: 5px 5px 25px #000; | |
- | + | -moz-box-shadow: 5px 5px 25px #000; | |
- | + | -webkit-box-shadow: 5px 5px 25px #000; | |
- | + | ||
- | + | border-radius: 10px; | |
- | + | -moz-border-radius: 10px; | |
- | + | -webkit-border-radius: 10px; | |
- | + | ||
- | + | } | |
- | + | ||
- | } | + | |
- | + | ||
- | # | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | # | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | # | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
Line 139: | Line 108: | ||
- | <body> | + | <body> |
- | <ul id=" | + | |
+ | <div id="centeredmenu_bg"></div> | ||
+ | <ul id="navLaksh"> | ||
<li class="on"><a href="https://2012.igem.org/Team:TU-Delft">Home</a></li> | <li class="on"><a href="https://2012.igem.org/Team:TU-Delft">Home</a></li> |
Latest revision as of 03:10, 27 October 2012