Team:TU-Delft/Test
From 2012.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
+ | |||
<html> | <html> | ||
<title>Menu</title> | <title>Menu</title> | ||
Line 5: | Line 6: | ||
<style type="text/css"> | <style type="text/css"> | ||
- | # | + | #navLaksh { |
margin: 50px; | margin: 50px; | ||
z-index: 10; | z-index: 10; | ||
display: block; | display: block; | ||
} | } | ||
- | # | + | #navLaksh li { float: left; } |
- | # | + | #navLaksh li:hover { position: relative } |
- | # | + | #navLaksh li:hover > a { |
background: #021A1A; | background: #021A1A; | ||
Line 23: | Line 24: | ||
-webkit-border-radius: 10px; | -webkit-border-radius: 10px; | ||
} | } | ||
- | # | + | #navLaksh li.sub:hover > a { |
border-radius: 10px 10px 0 0; | border-radius: 10px 10px 0 0; | ||
-moz-border-radius: 10px 10px 0 0; | -moz-border-radius: 10px 10px 0 0; | ||
Line 29: | Line 30: | ||
} | } | ||
- | # | + | #navLaksh li a { |
color: #fff; | color: #fff; | ||
font-weight: bold; | font-weight: bold; | ||
Line 36: | Line 37: | ||
display: block; | display: block; | ||
} | } | ||
- | # | + | #navLaksh li a:hover { background-color: #021A1A; } |
- | # | + | #navLaksh li ul { |
background: #fff; | background: #fff; | ||
margin-top: -2px; | margin-top: -2px; | ||
display: none; | display: none; | ||
} | } | ||
- | # | + | #navLaksh li:hover ul { |
display:block; | display:block; | ||
position:absolute; | position:absolute; | ||
} | } | ||
- | # | + | #navLaksh li ul { |
background: rgba(255,255,255,0.5); | background: rgba(255,255,255,0.5); | ||
padding: 10px 5px; | padding: 10px 5px; | ||
Line 60: | Line 61: | ||
-webkit-border-radius: 0px 5px 5px 5px; | -webkit-border-radius: 0px 5px 5px 5px; | ||
} | } | ||
- | # | + | #navLaksh li ul li a, #navLaksh li ul li a:hover { |
background: transparent; | background: transparent; | ||
color: #000; | color: #000; | ||
Line 67: | Line 68: | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
- | # | + | #navLaksh li ul li a:hover { text-decoration: underline; |
box-shadow: none; | box-shadow: none; | ||
-moz-box-shadow: none; | -moz-box-shadow: none; | ||
Line 85: | Line 86: | ||
<body> | <body> | ||
- | <ul id=" | + | <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> |
Revision as of 02:13, 27 October 2012