|
|
Line 114: |
Line 114: |
| /*MENU STYLING */ | | /*MENU STYLING */ |
| | | |
− | /*Styling for the links in the menu */
| + | ul, ol { |
− | #menuContainer a { | + | list-style:none; |
− | color: #565656; | + | } |
| + | |
| + | .nav > li { |
| + | float:left; |
| + | } |
| + | |
| + | .nav li a { |
| + | background-color:#000; |
| + | color:#fff; |
| text-decoration:none; | | text-decoration:none; |
− | font-weight: bold; | + | padding:10px 12px; |
| + | display:block; |
| } | | } |
− | | + | |
− | /* Sets the style for lists inside menuContainer */
| + | .nav li a:hover { |
− | #menuContainer ul { | + | background-color:#434343; |
− | list-style: none; | + | |
− | margin-left:0px;
| + | |
− | display: inline;
| + | |
| } | | } |
− | | + | |
− | /*Styles the list items to become menu buttons */
| + | .nav li ul { |
− | #menuContainer ul li { | + | display:none; |
− | text-align: center;
| + | position:absolute; |
− | display: block; | + | min-width:140px; |
− | width: 100%; | + | |
− | height:30px; | + | |
− | padding-top:10px;
| + | |
| } | | } |
− | | + | |
− | /*For the menu buttons, changes the color when hovering*/
| + | .nav li:hover > ul { |
− | #menuContainer li:hover { | + | display:block; |
− | color: #FFF; | + | |
− | background-color: #24B694;
| + | |
| } | | } |
− | | + | |
− | /*Submenus are not displayed as default*/
| + | .nav li ul li { |
− | #menuContainer li ul { | + | position:relative; |
− | display: none; | + | |
− | padding-top:15px;
| + | |
− | margin-left: -19px;
| + | |
| } | | } |
− | | + | |
− | /*Submenus are displayed when hovering the menu button */
| + | .nav li ul li ul { |
− | #menuContainer li:hover ul { | + | right:-140px; |
− | /*display: inline-block; */
| + | top:0px; |
− | display: block;
| + | |
− | position: absolute;
| + | |
− | float:right;
| + | |
− | margin-left: 134px;
| + | |
− | margin-top:-42px;
| + | |
− | }
| + | |
− | | + | |
− | /*Style the submenu buttons*/
| + | |
− | #menuContainer li ul li{
| + | |
− | background-color: #59BF92; | + | |
− | padding-left:20px;
| + | |
− | padding-right:20px;
| + | |
− | height:30px;
| + | |
− | padding-top:10px;
| + | |
− | margin-top:-2px; | + | |
− | color: #565656;
| + | |
− | width: 150px;
| + | |
| } | | } |
| | | |
Line 213: |
Line 194: |
| | | |
| <!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons --> | | <!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons --> |
− | <ul id="button">
| + | |
| | | |
− | <a href="https://2015.igem.org/Team:Colegio_EmelinaU"><li>HOME</li></a>
| |
| | | |
− | <a href="https://2015.igem.org/Team:Colegio_EmelinaU/Team"><li>TEAM</li></a>
| |
| | | |
− | <a href="#"><li>PROJECT
| + | <ul class="nav"> |
− | <ul>
| + | <li><a href="">HOME</a></li> |
− | <a href="https://2015.igem.org/Team:Colegio_EmelinaU/Description"><li>Description</li></a>
| + | |
− | <a href="https://2015.igem.org/Team:Colegio_EmelinaU/Experiments"><li>Experiments & Protocols</li></a>
| + | |
− | <a href="https://2015.igem.org/Team:Colegio_EmelinaU/Results"><li>Results</li></a>
| + | |
− | <a href="https://2015.igem.org/Team:Colegio_EmelinaU/Design"><li>Design</li></a>
| + | |
− | </ul>
| + | |
− | </li></a>
| + | |
| | | |
− | <a href="#"><li>PARTS
| + | <li><a href="">TEAM</a> |
− | <ul>
| + | <ul> |
− | <a href="https://2015.igem.org/Team:Colegio_EmelinaU/Parts"><li>Team Parts</li></a>
| + | <li><a href="">Submenu1</a></li> |
− | <a href="https://2015.igem.org/Team:Colegio_EmelinaU/Basic_Part"><li>Basic Parts</li></a> | + | <li><a href="">Submenu2</a></li> |
− | <a href="https://2015.igem.org/Team:Colegio_EmelinaU/Composite_Part"><li>Composite Parts</li></a>
| + | <li><a href="">Submenu3</a></li> |
− | <a href="https://2015.igem.org/Team:Colegio_EmelinaU/Part_Collection"><li>Part Collection</li></a>
| + | <li><a href="">Submenu4</a> |
− | </ul>
| + | <ul> |
− | </li></a>
| + | <li><a href="">Submenu1</a></li> |
| + | <li><a href="">Submenu2</a></li> |
| + | <li><a href="">Submenu3</a></li> |
| + | <li><a href="">Submenu4</a></li> |
| + | </ul> |
| + | </li> |
| + | </ul> |
| + | </li> |
| + | <li><a href="">Acerca de</a> |
| + | <ul> |
| + | <li><a href="">Submenu1</a></li> |
| + | <li><a href="">Submenu2</a></li> |
| + | <li><a href="">Submenu3</a></li> |
| + | <li><a href="">Submenu4</a></li> |
| + | </ul> |
| + | </li> |
| + | <li><a href="">Contacto</a></li> |
| + | </ul> |
| | | |
− | <a href="https://2015.igem.org/Team:Colegio_EmelinaU/Notebook"><li>NOTEBOOK</li></a>
| |
− |
| |
− | <a href="https://2015.igem.org/Team:Colegio_EmelinaU/Attributions"><li>ATTRIBUTIONS</li></a>
| |
| | | |
− | <a href="https://2015.igem.org/Team:Colegio_EmelinaU/Collaborations"><li>COLLABORATIONS</li></a>
| |
| | | |
− | <a href="https://2015.igem.org/Team:Colegio_EmelinaU/Practices"><li>HUMAN PRACTICES</li></a>
| |
| | | |
− | <a href="https://2015.igem.org/Team:Colegio_EmelinaU/Safety"><li>SAFETY</li></a>
| |
| | | |
− | <a href="https://2015.igem.org/Team:Colegio_EmelinaU/Modeling"><li>MODELING</li></a>
| |
| | | |
− | <a href="https://2015.igem.org/Team:Colegio_EmelinaU/Measurement"><li>MEASUREMENT</li></a>
| |
− |
| |
− | <a href="https://2015.igem.org/Team:Colegio_EmelinaU/Software"><li>SOFTWARE</li></a>
| |
− |
| |
− | <a href="https://2015.igem.org/Team:Colegio_EmelinaU/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a>
| |
− |
| |
− | </ul>
| |
− | </div>
| |
| <!-- End of menu --> | | <!-- End of menu --> |
| | | |