Difference between revisions of "Template:TU Delft All pages"
Line 29: | Line 29: | ||
+ | /*MENU STYLING */ | ||
+ | /* Creates the container for the menu */ | ||
+ | #menuContainer { | ||
+ | width: 965px; | ||
+ | padding: 0px 0px; | ||
+ | border-top: 2px solid #565656; | ||
+ | height: 2px; | ||
+ | text-align: center; | ||
+ | line-height: 20px; | ||
+ | vertical-align: middle; | ||
+ | float: left; | ||
+ | } | ||
+ | |||
+ | /*Styling for the links in the menu */ | ||
+ | #menuContainer a { | ||
+ | color: #565656; | ||
+ | text-decoration:none; | ||
+ | letter-spacing:0.15em; | ||
+ | font-weight: bold; | ||
+ | float:left; | ||
+ | width: 315px; | ||
+ | height: 20px; | ||
+ | background-color: #62CFE8; | ||
+ | } | ||
+ | |||
+ | /* Sets the style for lists inside menuContainer */ | ||
+ | #menuContainer ul { | ||
+ | float: left; | ||
+ | width: 100%; | ||
+ | padding: 0; | ||
+ | margin: 0; | ||
+ | list-style-type: none; | ||
+ | } | ||
+ | |||
+ | /*Styles the list items to become menu buttons */ | ||
+ | #menuContainer ul li { | ||
+ | text-align: center; | ||
+ | display: inline; | ||
+ | width: 100%; | ||
+ | height:30px; | ||
+ | padding-top:0px; | ||
+ | } | ||
+ | |||
+ | /*For the menu buttons, changes the color when hovering*/ | ||
+ | #menuContainer a:hover { | ||
+ | color: #FFF; | ||
+ | background-color: #24B694; | ||
+ | width:321.5px; | ||
+ | } | ||
+ | |||
+ | /*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; | ||
+ | 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; | ||
+ | } | ||
+ | #homeButtonContainer{ | ||
+ | width:20px; | ||
+ | float: left; | ||
+ | } | ||
+ | <!-- Start of menu --> | ||
+ | |||
+ | <div id="menuContainer"> | ||
+ | <a id="homeButtonContainer" href="https://2015.igem.org/Team:TU_Delft" width="20px"> | ||
+ | <li> | ||
+ | <img src="https://static.igem.org/mediawiki/2015/7/7b/TU_Delft_Home_Button.png" align="left" width="20px" height="20px"> | ||
+ | </li> | ||
+ | </a> | ||
+ | </div> | ||
+ | <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:TU_Delft/Team"><li>Team</li></a> | ||
+ | |||
+ | <a href="https://2015.igem.org/Team:TU_Delft/Description"><li>Project | ||
+ | <!-- <ul> | ||
+ | <a href="https://2015.igem.org/Team:TU_Delft/Description"><li>Description</li></a> | ||
+ | <a href="https://2015.igem.org/Team:TU_Delft/Experiments"><li>Experiments & Protocols</li></a> | ||
+ | <a href="https://2015.igem.org/Team:TU_Delft/Results"><li>Results</li></a> | ||
+ | <a href="https://2015.igem.org/Team:TU_Delft/Design"><li>Design</li></a> | ||
+ | </ul>--> | ||
+ | </li></a> | ||
+ | |||
+ | <a href="https://2015.igem.org/Team:TU_Delft/PolicyPractice"><li>Policy and Practice</li></a> | ||
+ | |||
+ | <!-- <a href="#"><li>Parts | ||
+ | <ul> | ||
+ | <a href="https://2015.igem.org/Team:TU_Delft/Parts"><li>Team Parts</li></a> | ||
+ | <a href="https://2015.igem.org/Team:TU_Delft/Basic_Part"><li>Basic Parts</li></a> | ||
+ | <a href="https://2015.igem.org/Team:TU_Delft/Composite_Part"><li>Composite Parts</li></a> | ||
+ | <a href="https://2015.igem.org/Team:TU_Delft/Part_Collection"><li>Part Collection</li></a> | ||
+ | </ul> | ||
+ | </li></a> | ||
+ | |||
+ | <a href="https://2015.igem.org/Team:TU_Delft/Notebook"><li>Notebook</li></a> | ||
+ | |||
+ | <a href="https://2015.igem.org/Team:TU_Delft/Attributions"><li>Attributions</li></a> | ||
+ | |||
+ | <a href="https://2015.igem.org/Team:TU_Delft/Collaborations"><li>Collaborations</li></a> | ||
+ | |||
+ | <a href="https://2015.igem.org/Team:TU_Delft/Practices"><li>Human Practices</li></a> | ||
+ | |||
+ | <a href="https://2015.igem.org/Team:TU_Delft/Safety"><li>Safety</li></a> | ||
+ | |||
+ | <a href="https://2015.igem.org/Team:TU_Delft/Modeling"><li>Modeling</li></a> | ||
+ | |||
+ | <a href="https://2015.igem.org/Team:TU_Delft/Measurement"><li>Measurement</li></a> | ||
+ | |||
+ | <a href="https://2015.igem.org/Team:TU_Delft/Software"><li>Software</li></a> | ||
+ | |||
+ | <a href="https://2015.igem.org/Team:TU_Delft/Entrepreneurship"><li>Entrepreneurship</li></a>--> | ||
+ | </ul> | ||
+ | </div> | ||
+ | <!-- End of menu --> | ||
<script type="text/javascript"> | <script type="text/javascript"> |
Revision as of 11:33, 8 July 2015