Team:Valencia-CIPF/menu
From 2013.igem.org
(Difference between revisions)
(56 intermediate revisions not shown) | |||
Line 3: | Line 3: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | * | + | /* Empieza Menú */ |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | #access { | |
- | + | background: #d64729; | |
- | display:block; | + | font-color: #FFF; |
- | + | width: 100%; | |
+ | display: block; | ||
+ | position: relative; | ||
+ | float:none; | ||
+ | top:0px; | ||
} | } | ||
- | + | #access .menu-header, | |
- | + | div.menu { | |
- | + | margin: 0; | |
- | + | font-size: 11px; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | #access .menu-header ul, | |
- | ul | + | div.menu ul{ |
- | + | list-style: none; | |
+ | margin: 0; | ||
+ | float:left; | ||
+ | position: relative; | ||
+ | left:-5px; | ||
+ | top:-20px; | ||
+ | z-index:99; | ||
} | } | ||
- | div. | + | #access .menu-header li, |
- | + | div.menu li{ | |
+ | float: left; | ||
+ | position:relative; | ||
+ | display:block; | ||
+ | height:40px; | ||
+ | text-decoration:none; | ||
+ | font-size:11px; | ||
+ | font-weight:bold; | ||
+ | padding:0 0 0 0px; | ||
+ | cursor:pointer; | ||
+ | text-align: center; | ||
} | } | ||
- | + | .menu a, .menu a:visited { | |
- | padding: | + | width:100px; |
+ | color: #000000; | ||
+ | background: #d64729; | ||
+ | display: block; | ||
+ | line-height: 35px; | ||
+ | padding: 0 10px; | ||
+ | text-decoration: none; | ||
+ | font-weight:bold; | ||
+ | position:relative; | ||
+ | left: 0px; | ||
+ | text-align: center; | ||
} | } | ||
- | + | #access table a { | |
- | + | line-height: 30px; | |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | #access ul ul { | |
- | + | display: none; | |
- | + | position: relative; | |
- | } | + | top: 0px; |
+ | float: left; | ||
+ | left: 0px; /*Posición caja desplegable*/ | ||
+ | width: 1px; | ||
+ | } | ||
- | + | #access ul ul li { | |
- | + | width:90px; | |
- | + | height:34px; | |
+ | float: left; | ||
+ | left: 0px; | ||
+ | position:relative; | ||
} | } | ||
- | + | #access ul ul ul { | |
- | + | left: 0; | |
- | + | top: 0; | |
} | } | ||
- | + | #access ul ul a { | |
- | background | + | background: #d64729; /*Color desplegable*/ |
- | + | line-height: 1em; | |
+ | display:inline; | ||
+ | padding: 15px; | ||
+ | width: 94px; | ||
+ | position: absolute; | ||
+ | height: auto; | ||
} | } | ||
- | + | #access li:hover > a, | |
- | + | #access ul ul :hover > a { | |
- | background- | + | color: #d64729; |
+ | line-height: 10px; | ||
+ | width:100px; | ||
+ | height:11px; | ||
+ | padding: 12px; | ||
+ | text-decoration: none; | ||
+ | font-weight:bold; | ||
+ | background: #fff; | ||
+ | text-align: center; | ||
} | } | ||
- | + | #access ul li:hover > ul { | |
- | + | display: block; | |
- | + | ||
} | } | ||
- | + | #access ul li a.current_page_item , | |
- | + | #access ul li a.current-menu-ancestor , | |
- | + | #access ul li a.current-menu-item , | |
- | + | #access ul li a.current-menu-parent , | |
- | + | background: #d64729; /*Color menú sin desplegable*/ | |
- | + | ||
- | + | ||
} | } | ||
- | + | /* Fin Menú */ | |
- | + | ||
- | + | ||
- | + | ||
- | |||
- | |||
- | |||
- | + | <style media="all" type="text/css">@import "/menu/menu_style.css";</style> | |
- | + | ||
- | + | ||
- | < | + | <div id="access"> |
+ | <div class="menu"><ul> | ||
- | < | + | <li class="page_item"><a href="https://2013.igem.org/Team:Valencia-CIPF" class="current_page_item">Home</a></li> |
- | + | ||
- | + | <li class="page_item"><a href="https://2013.igem.org/Team:Valencia-CIPF/Team" >Team</a></li> | |
- | + | ||
- | </ | + | <li class="space_item"><a id="name" >Project</a> |
- | < | + | <ul class="children"> |
- | + | <li class="page_item"><a href="https://2013.igem.org/Team:Valencia-CIPF/TheProblem" >The Problem</a></li> | |
- | + | <li class="page_item"><a href="https://2013.igem.org/Team:Valencia-CIPF/OurSolution" >Our Solution</a></li> | |
- | + | </ul></li> | |
- | + | ||
- | + | <li class="space_item"><a id="name" >Wet Lab</a> | |
- | + | <ul class="children"> | |
- | + | <li class="page_item"><a href="https://2013.igem.org/Team:Valencia-CIPF/Introduction" >Introduction</a></li> | |
- | + | <li class="page_item"><a href="https://2013.igem.org/Team:Valencia-CIPF/Strategy" >Strategy</a></li> | |
- | + | ||
- | + | ||
- | + | </ul></li> | |
- | + | ||
- | + | <li class="space_item"><a id="name" >Dry Lab</a> | |
- | + | <ul class="children"> | |
- | + | <li class="page_item"><a href="https://2013.igem.org/Team:Valencia-CIPF/Introduction1" >Introduction</a></li> | |
- | + | <li class="page_item"><a href="https://2013.igem.org/Team:Valencia-CIPF/Modelling" >Modelling</a></li> | |
- | + | <!-- <li class="page_item"><a href="https://2013.igem.org/Team:Valencia-CIPF/Software" >Software</a></li> --!> | |
- | + | </ul></li> | |
- | + | ||
- | + | <li class="space_item"><a id="name" >Human Practices</a> | |
- | + | <ul class="children"> | |
- | + | <li class="page_item"><a href="https://2013.igem.org/Team:Valencia-CIPF/Safety" >Safety</a></li> | |
- | + | <li class="page_item"><a href="https://2013.igem.org/Team:Valencia-CIPF/Activities" >Activities</a></li> | |
- | + | <li class="page_item"><a href="https://2013.igem.org/Team:Valencia-CIPF/News" >News</a></li> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | </ul></li> | |
- | + | ||
- | + | <li class="page_item"><a href="https://2013.igem.org/Team:Valencia-CIPF/Acknowledgements" >Acknowledgements</a></li> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | </ | + | |
+ | <li class="page_item"><a href="https://2013.igem.org/Team:Valencia-CIPF/References" >References</a></li> | ||
+ | |||
+ | |||
+ | </div> | ||
+ | </div> | ||
</html> | </html> |
Latest revision as of 00:15, 5 October 2013