Line 1: | Line 1: | ||
− | <html | + | <html lang="en"> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<style> | <style> | ||
Line 11: | Line 6: | ||
#sideMenu, #top_title {display:none;} | #sideMenu, #top_title {display:none;} | ||
#content { padding:0px; width:1000px; margin-top:-7px; margin-left:0px;} | #content { padding:0px; width:1000px; margin-top:-7px; margin-left:0px;} | ||
− | body {background-color: | + | body {background-color:blue; } |
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; } | #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; } | ||
+ | |||
+ | /********************************* MENU ********************************/ | ||
+ | /* Wrapper for the menu */ | ||
+ | .menu_wrapper { | ||
+ | width:150px; | ||
+ | height:100vh; | ||
+ | position:fixed; | ||
+ | padding:0px; | ||
+ | float:left; | ||
+ | background-color:#f68915; | ||
+ | text-align:left; | ||
+ | } | ||
+ | |||
+ | /* styling for the menu items */ | ||
+ | .menu_item { | ||
+ | width:100%; | ||
+ | margin:-2px 0px 0px -20px; | ||
+ | padding: 10px 10px; | ||
+ | border-bottom: 1px solid #F7A043; | ||
+ | font-weight:bold; | ||
+ | color:#FFF; | ||
+ | cursor: pointer; | ||
+ | } | ||
+ | |||
+ | /* when hovering on a menu item */ | ||
+ | .menu_item:hover { | ||
+ | color:#fff; | ||
+ | background-color: #F7A043; | ||
+ | } | ||
+ | |||
+ | /* decoration icon for the menu buttons*/ | ||
+ | .icon { | ||
+ | float:right; | ||
+ | font-size:16px; | ||
+ | font-weight:bold; | ||
+ | } | ||
+ | |||
+ | /* this is the icon for when the content is collapsed */ | ||
+ | .plus::before { | ||
+ | content: "+"; | ||
+ | } | ||
+ | /* this is the icon for when the content is expanded */ | ||
+ | .less::before { | ||
+ | content: "–"; | ||
+ | } | ||
+ | |||
+ | /* styling for the ul that creates the buttons */ | ||
+ | ul.menu_items { | ||
+ | width:100%; | ||
+ | margin-left:0px; | ||
+ | padding:0px; | ||
+ | list-style: none; | ||
+ | } | ||
+ | |||
+ | /* styling for the li that are the menu items */ | ||
+ | .menu_items li { | ||
+ | width:90%; | ||
+ | margin-top:-2px; | ||
+ | padding: 15px 0px 15px 15px ; | ||
+ | display:block; | ||
+ | border-bottom: 1px solid #F7A043; | ||
+ | text-align:left; | ||
+ | font-weight:bold; | ||
+ | text-decoration:none; | ||
+ | color:#fff; | ||
+ | list-style-type:none; | ||
+ | cursor:pointer; | ||
+ | -webkit-transition: all 0.4s ease; | ||
+ | -moz-transition: all 0.4s ease; | ||
+ | -ms-transition: all 0.4s ease; | ||
+ | -o-transition: all 0.4s ease; transition: all 0.4s ease; | ||
+ | } | ||
+ | |||
+ | .menu_item a { | ||
+ | width: 100%; | ||
+ | margin-left: -20px; | ||
+ | padding: 11px 90px 12px 20px; | ||
+ | text-decoration: none; | ||
+ | color:#fff; | ||
+ | } | ||
+ | |||
+ | /* When hovering on a menu item */ | ||
+ | .menu_items li:hover { | ||
+ | background-color:#F68915; | ||
+ | color: #fff; | ||
+ | } | ||
+ | |||
+ | /* styling for the submenus */ | ||
+ | .submenu { | ||
+ | width:100%; | ||
+ | display: none; | ||
+ | font-weight:bold; | ||
+ | cursor:pointer; | ||
+ | |||
+ | } | ||
+ | |||
+ | /* moving the margin for the submenu ul list */ | ||
+ | ul.submenu { | ||
+ | width: 100%; | ||
+ | margin: 10px 0px -11px 0px; | ||
+ | list-style: none; | ||
+ | } | ||
+ | |||
+ | /*styling for the submenu buttons */ | ||
+ | .submenu li { | ||
+ | width: 100%; | ||
+ | margin-left: 10px; | ||
+ | margin-bottom: 0px; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* hover state for the submenu buttons */ | ||
+ | .submenu li a { | ||
+ | width: 100%; | ||
+ | padding: 5px 10px; | ||
+ | display: inline-block; | ||
+ | border-bottom: 1px solid #F7A043; | ||
+ | background-color:white; | ||
+ | text-decoration:none; | ||
+ | color:#000000; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | .submenu li a:hover { | ||
+ | background-color:#F7A043; | ||
+ | color: #000000; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* When the screen is smaller than 680px, the menu has the option to hide/show - this button controls that */ | ||
+ | .collapsable_menu_control { | ||
+ | width:100%; | ||
+ | padding: 15px 0px; | ||
+ | display:none; | ||
+ | background-color:#000000; | ||
+ | text-align:center; | ||
+ | font-weight:bold; | ||
+ | color:#F68915; | ||
+ | cursor:pointer; | ||
+ | -webkit-transition: all 0.4s ease; | ||
+ | -moz-transition: all 0.4s ease; | ||
+ | -ms-transition: all 0.4s ease; | ||
+ | -o-transition: all 0.4s ease; | ||
+ | transition: all 0.4s ease; | ||
+ | } | ||
+ | |||
+ | /* when hovering on that button */ | ||
+ | .collapsable_menu_control:hover { | ||
+ | background-color: #F68915; | ||
+ | color:#000000; | ||
+ | } | ||
/********************************* CONTENT OF THE PAGE ********************************/ | /********************************* CONTENT OF THE PAGE ********************************/ | ||
Line 201: | Line 348: | ||
</style> | </style> | ||
+ | <head> | ||
+ | <title>igem2016:ShanghaiTech</title> | ||
+ | <meta charset="utf-8"> | ||
+ | <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
+ | <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> | ||
+ | <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> | ||
+ | <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script> | ||
+ | <style type="text/css"> | ||
+ | .navbar { | ||
+ | background-color: #222; | ||
+ | background: #222; | ||
+ | border-color: #222; | ||
+ | opacity:0.9; | ||
+ | } | ||
− | + | .navbar li { | |
− | + | background-color: #222; | |
− | + | background: #222; | |
− | + | border-color: #222; } | |
− | + | .navbar li a{ | |
− | + | color:#FFF; | |
− | + | } | |
− | + | </style> | |
− | + | ||
− | < | + | |
</head> | </head> | ||
+ | <body> | ||
+ | <nav class="navbar navbar-fixed-top"> | ||
+ | <div class="container-fluid"> | ||
+ | <!-- Logo --> | ||
+ | <div class="navbar-header"> | ||
+ | <a href="#" class="navbar-brand">Solar Hunter</a> | ||
+ | </div> | ||
+ | <!-- Menu Items --> | ||
+ | <div> | ||
+ | <ul class="nav navbar-nav"> | ||
+ | |||
+ | </ul> | ||
− | < | + | <!--right align --> |
− | + | <ul class="nav navbar-nav navbar-right"> | |
− | + | <li class="active"><a href="https://2016.igem.org/Team:ShanghaitechChina">HOME</a></li> | |
− | + | <li class="dropdown"> | |
− | + | <a href="#" class="dropdown-toggle" data-toggle="dropdown">TEAM<span class="caret"></span></a> | |
− | + | <ul class="dropdown-menu"> | |
− | + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Team">Team</a></li> | |
− | + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Collaborations">Collaborations</a></li> | |
− | + | </ul> | |
− | + | </li> | |
− | + | <li class="dropdown"> | |
− | + | <a href="#" class="dropdown-toggle" data-toggle="dropdown">PROJECT<span class="caret"></span></a> | |
− | + | <ul class="dropdown-menu"> | |
− | + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Description">Description</a></li> | |
− | + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Design">Design</a></li> | |
− | + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Experiments">Experiments</a></li> | |
− | + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Proof">Proof</a></li> | |
− | + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Demonstrate">Demonstrate</a></li> | |
− | + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Results">Results</a></li> | |
− | + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Notebook">Notebook</a></li> | |
− | + | </ul> | |
− | + | </li> | |
− | + | <li class="dropdown"> | |
− | + | <a href="#" class="dropdown-toggle" data-toggle="dropdown">PARTS<span class="caret"></span></a> | |
− | + | <ul class="dropdown-menu"> | |
− | + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Parts">Parts</a></li> | |
− | + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Basic_Part">Basic_Part</a></li> | |
− | + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Composite_Part">Composite_Part</a></li> | |
− | + | <li><a href="https://2016.igem.org/Team:ShanghaitechChina/Part_Collection">Part_Collection</a></li> | |
− | + | </ul> | |
− | + | </li> | |
− | + | <li class="active"><a href="https://2016.igem.org/Team:ShanghaitechChina/Safety">SAFETY</a></li> | |
− | + | <li class="active"><a href="https://2016.igem.org/Team:ShanghaitechChina/Attributions">ATTRIBUTIONS</a></li> | |
− | + | <li class="active"><a href="https://2016.igem.org/Team:ShanghaitechChina/Human_Practices">ATTRIBUTIONS</a></li> | |
− | + | <!-- drop down menu --> | |
− | + | ||
− | + | </ul> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </ | + | </div> |
− | + | </div> | |
− | + | </nav> | |
+ | </body> | ||
</html> | </html> |
Revision as of 13:20, 13 August 2016