Line 32: | Line 32: | ||
</script> | </script> | ||
+ | <style> | ||
+ | .navbar { | ||
+ | position:fixed;/* ie6 will treat this as fixed because of a bug where overflow:auto is set on a parent */ | ||
+ | top:0px; | ||
+ | left:0px; | ||
+ | height:50px; | ||
+ | width:100%; | ||
+ | margin:0; | ||
+ | padding:0; | ||
+ | z-index:999; | ||
+ | background-color: #333; | ||
+ | overflow:visible; | ||
+ | } | ||
+ | .navbar a:hover, .dropdown:hover .dropbtn { | ||
+ | background-color: red; | ||
+ | z-index: 101; | ||
+ | } | ||
+ | .dropdown-content { | ||
+ | display: none; | ||
+ | position: absolute; | ||
+ | background-color: #f9f9f9; | ||
+ | min-width: 160px; | ||
+ | box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); | ||
+ | z-index: 101; | ||
+ | } | ||
+ | .dropdown-content-big { | ||
+ | display: none; | ||
+ | position: absolute; | ||
+ | background-color: #f9f9f9; | ||
+ | min-width: 200px; | ||
+ | box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); | ||
+ | z-index: 101; | ||
+ | } | ||
+ | .dropdown-content a { | ||
+ | float: none; | ||
+ | color: black; | ||
+ | padding: 12px 16px; | ||
+ | text-decoration: none; | ||
+ | display: block; | ||
+ | text-align: left; | ||
+ | z-index: 101; | ||
+ | } | ||
+ | |||
+ | .dropdown-content a:hover { | ||
+ | background-color: #ddd; | ||
+ | z-index: 101; | ||
+ | } | ||
+ | .dropdown-content-big a { | ||
+ | float: none; | ||
+ | color: black; | ||
+ | padding: 12px 16px; | ||
+ | text-decoration: none; | ||
+ | display: block; | ||
+ | text-align: left; | ||
+ | z-index: 101; | ||
+ | } | ||
+ | |||
+ | .dropdown-content-big a:hover { | ||
+ | background-color: #ddd; | ||
+ | z-index: 101; | ||
+ | } | ||
+ | |||
+ | .dropdown:hover .dropdown-content { | ||
+ | display: block; | ||
+ | z-index: 101; | ||
+ | } | ||
+ | .dropdown:hover .dropdown-content-big { | ||
+ | display: block; | ||
+ | z-index: 101; | ||
+ | } | ||
+ | .right_menu{ | ||
+ | float: right; | ||
+ | text-align: right; | ||
+ | width: auto; | ||
+ | margin-right: 60px; | ||
+ | } | ||
+ | .backbody { | ||
+ | background-image: url("1.png"); | ||
+ | min-height: 800px; | ||
+ | background-attachment: fixed; | ||
+ | background-position: center; | ||
+ | background-repeat: no-repeat; | ||
+ | background-size: cover; | ||
+ | opacity: 0.4; | ||
+ | position: absolute; | ||
+ | left: 0px; | ||
+ | top: 0px; | ||
+ | bottom: 0px; | ||
+ | z-index: -1; | ||
+ | } | ||
+ | body { | ||
+ | background-color: black; | ||
+ | } | ||
+ | </style> | ||
<head> | <head> | ||
Line 64: | Line 158: | ||
− | + | <body class="landing" background-color: black;> | |
− | + | ||
− | <body | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | <!-- Header --> | |
− | + | ||
− | + | <div class = "navbar "> | |
− | + | <a href="index.html">iGEM IIT Delhi</a> | |
− | </ | + | <div class = "right_menu"> |
+ | <div class="dropdown"> | ||
+ | <button class="dropbtn">Project | ||
+ | <i class="fa fa-caret-down"></i> | ||
+ | </button> | ||
+ | <div class="dropdown-content"> | ||
+ | <a href="#">Description</a> | ||
+ | <a href="#">Results</a> | ||
+ | <a href="#">Proof of Concept</a> | ||
+ | <a href="#">Basic Parts</a> | ||
+ | <a href="#">Composite Parts</a> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div class="dropdown"> | ||
+ | <button class="dropbtn">Modelling | ||
+ | <i class="fa fa-caret-down"></i> | ||
+ | </button> | ||
+ | <div class="dropdown-content"> | ||
+ | <a href="#">Overview</a> | ||
+ | <a href="#">Logic Assessment</a> | ||
+ | <a href="#">Signalling Tools</a> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div class="dropdown"> | ||
+ | <button class="dropbtn">Human Practices | ||
+ | <i class="fa fa-caret-down"></i> | ||
+ | </button> | ||
+ | <div class="dropdown-content-big"> | ||
+ | <a href="#">Human Practices</a> | ||
+ | <a href="#">Integrated Practices</a> | ||
+ | <a href="#">Public Engagement</a> | ||
+ | <a href="#">Collaborations</a> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div class="dropdown"> | ||
+ | <button class="dropbtn">Notebook | ||
+ | <i class="fa fa-caret-down"></i> | ||
+ | </button> | ||
+ | <div class="dropdown-content"> | ||
+ | <a href="#">Lab Records</a> | ||
+ | <a href="#">Protocols</a> | ||
+ | <a href="#">Recipes</a> | ||
+ | <a href="#">Medal Criteria</a> | ||
+ | <a href="#">Recipes</a> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div class="dropdown"> | ||
+ | <button class="dropbtn">Team | ||
+ | <i class="fa fa-caret-down"></i> | ||
+ | </button> | ||
+ | <div class="dropdown-content"> | ||
+ | <a href="team.html">The Team</a> | ||
+ | <a href="#">Attributions</a> | ||
+ | </div> | ||
+ | </div> | ||
+ | |||
+ | </div> | ||
+ | </div> |
Revision as of 10:06, 28 October 2017