|
|
Line 1: |
Line 1: |
| <html> | | <html> |
− | <!-- Start of CSS-->
| |
− | <style type="text/css">
| |
− | /* Creates the container for the menu */
| |
− | #menuContainer {
| |
− | width: 960px;
| |
− | background-color: #000000;
| |
− | }
| |
| | | |
− | /*MENU STYLING */
| |
− |
| |
− |
| |
− | /*Styling for the links in the menu */
| |
− | #menuContainer a {
| |
− | color: #FFFFFF;
| |
− | text-decoration:none;
| |
− | font-family: "Trebuchet MS", Helvetica, sans-serif;
| |
− |
| |
− | }
| |
− |
| |
− | /* Sets the style for lists inside menuContainer */
| |
− | #menuContainer ul {
| |
− | list-style: none;
| |
− | margin-left:0px;
| |
− | }
| |
− |
| |
− | /*Styles the list items to become menu buttons */
| |
− | #menuContainer ul li {
| |
− | text-align: center;
| |
− | display: inline;
| |
− | width: 100%;
| |
− | height:30px;
| |
− | padding-top:10px;
| |
− | padding-right:16px;
| |
− | padding-left:16px;
| |
− | font-size:16px;
| |
− | }
| |
− |
| |
− |
| |
− | /*For the menu buttons, changes the color when hovering*/
| |
− | #menuContainer li:hover {
| |
− | color: #FFF;
| |
− | background-color: #24B694;
| |
− | }
| |
− |
| |
− | /*Submenus are not displayed as default*/
| |
− | #menuContainer li ul {
| |
− | display: none;
| |
− | padding-top:15px;
| |
− | margin-left: -19px;
| |
− | }
| |
− |
| |
− | /*Submenus are displayed when hovering the menu button */
| |
− | #menuContainer li:hover ul {
| |
− | /*display: inline-block; */
| |
− | display: block;
| |
− | position: absolute;
| |
− | margin-left: 134px;
| |
− | margin-top:-12px;
| |
− | }
| |
− |
| |
− | /*Style the submenu buttons*/
| |
− | #menuContainer li ul li{
| |
− | display: block;
| |
− | background-color: #59BF92;
| |
− | padding-left:20px;
| |
− | padding-right:20px;
| |
− | height:30px;
| |
− | padding-top:10px;
| |
− | margin-top:-2px;
| |
− | color: #565656;
| |
− | width: 150px;
| |
− | }
| |
− |
| |
− | </style>
| |
− | <!-- End of CSS -->
| |
| <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> | | <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> |
| <nav class="navbar navbar-inverse"> | | <nav class="navbar navbar-inverse"> |
Line 123: |
Line 49: |
| </div> | | </div> |
| | | |
− | <!-- Start of menu -->
| |
− | <div id="menuContainer">
| |
− |
| |
− | <!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
| |
− | <ul>
| |
− | <a href="https://2015.igem.org/Team:Example"><li>Home</li></a>
| |
− |
| |
− | <a href="https://2015.igem.org/Team:Example/Team"><li>Team</li></a>
| |
− |
| |
− | <a href="#"><li>Project
| |
− | <ul>
| |
− | <a href="https://2015.igem.org/Team:Example/Description"><li>Description</li></a>
| |
− | <a href="https://2015.igem.org/Team:Example/Experiments"><li>Experiments & Protocols</li></a>
| |
− | <a href="https://2015.igem.org/Team:Example/Results"><li>Results</li></a>
| |
− | <a href="https://2015.igem.org/Team:Example/Design"><li>Design</li></a>
| |
− | </ul>
| |
− | </li></a>
| |
− |
| |
− | <a href="#"><li>Parts
| |
− | <ul>
| |
− | <a href="https://2015.igem.org/Team:Example/Parts"><li>Team Parts</li></a>
| |
− | <a href="https://2015.igem.org/Team:Example/Basic_Part"><li>Basic Parts</li></a>
| |
− | <a href="https://2015.igem.org/Team:Example/Composite_Part"><li>Composite Parts</li></a>
| |
− | <a href="https://2015.igem.org/Team:Example/Part_Collection"><li>Part Collection</li></a>
| |
− | </ul>
| |
− | </li></a>
| |
− |
| |
− | <a href="https://2015.igem.org/Team:Example/Notebook"><li>Notebook</li></a>
| |
− |
| |
− | <a href="https://2015.igem.org/Team:Example/Attributions"><li>Attributions</li></a>
| |
− |
| |
− | <a href="https://2015.igem.org/Team:Example/Practices"><li>Collaborations</li></a>
| |
− |
| |
− | <a href="https://2015.igem.org/Team:Example/Practices"><li>Human Practices</li></a>
| |
− |
| |
− | <a href="https://2015.igem.org/Team:Example/Safety"><li>Safety</li></a>
| |
− |
| |
− |
| |
− |
| |
− | </ul>
| |
− | </div>
| |
− | <!-- End of menu -->
| |
| </html> | | </html> |