Line 1: | Line 1: | ||
− | |||
<html> | <html> | ||
<head> | <head> | ||
− | <meta name="viewport" content="width=device-width, initial-scale=1"> | + | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
<link href="https://fonts.googleapis.com/css?family=Varela+Round" rel="stylesheet"> | <link href="https://fonts.googleapis.com/css?family=Varela+Round" rel="stylesheet"> | ||
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" | <link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" | ||
integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"> | integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"> | ||
+ | <link href="https://cdnjs.cloudflare.com/ajax/libs/balloon-css/0.3.0/balloon.css" rel="stylesheet"> | ||
+ | <link rel="stylesheet" type="text/css" href=""/> | ||
+ | <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> | ||
+ | <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | ||
+ | <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> | ||
<script> | <script> | ||
Line 23: | Line 27: | ||
}); | }); | ||
} | } | ||
− | + | ||
− | + | ||
</script> | </script> | ||
Line 68: | Line 71: | ||
hr{ | hr{ | ||
− | + | margin:auto; | |
− | + | margin-top:2%; | |
− | + | border-top: 4px dashed #F5D76E; | |
} | } | ||
− | |||
.container{ | .container{ | ||
Line 154: | Line 156: | ||
/********************************* NAVBAR ********************************/ | /********************************* NAVBAR ********************************/ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.logo{ | .logo{ | ||
Line 169: | Line 161: | ||
float: left; | float: left; | ||
height: 80px; | height: 80px; | ||
− | background-color: | + | background-color:white; |
+ | margin-right:5%; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
Line 187: | Line 180: | ||
} | } | ||
− | . | + | .navigation { |
+ | margin:auto; | ||
+ | height: 70px; | ||
+ | background: white; | ||
+ | position:fixed; | ||
+ | } | ||
+ | |||
+ | .nav-container { | ||
+ | width: 100%; | ||
+ | margin: 0 auto; | ||
+ | height:auto; | ||
+ | background:white; | ||
+ | margin-bottom: 0; | ||
+ | position:fixed; | ||
+ | z-index: 40; | ||
+ | } | ||
+ | |||
+ | |||
+ | nav { | ||
+ | margin:auto; | ||
float: right; | float: right; | ||
− | width: | + | padding-top:2%; |
− | text-align: center; | + | width: 65%; |
− | background-color: | + | text-align:center; |
+ | background-color:white; | ||
+ | |||
} | } | ||
− | + | nav ul { | |
− | + | margin:auto; | |
− | + | list-style: none; | |
− | + | padding: 0; | |
− | + | ||
− | + | ||
} | } | ||
− | + | nav li { | |
float: left; | float: left; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
position: relative; | position: relative; | ||
− | + | ||
+ | |||
} | } | ||
− | + | nav a, a:visited { | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
display: block; | display: block; | ||
+ | padding: 0 15px 0; | ||
+ | line-height: 50px; | ||
+ | color: #24305E; | ||
text-shadow: 1px 1px lightgrey; | text-shadow: 1px 1px lightgrey; | ||
transition:0.65s; | transition:0.65s; | ||
+ | text-decoration: none; | ||
} | } | ||
− | + | nav ul li a:hover { | |
− | padding: | + | text-shadow:1px 1px #D0FADE; |
− | + | color: #7EF397; | |
+ | } | ||
+ | |||
+ | dropdown-menu ul li { | ||
+ | min-width: 190px; | ||
+ | } | ||
+ | dropdown-menu a { | ||
+ | padding: 15px; | ||
+ | line-height: 20px; | ||
+ | |||
+ | } | ||
+ | dropdown-item :hover{ | ||
+ | color: rgb(248, 59, 122); | ||
+ | text-shadow: lightpink ; | ||
+ | } | ||
+ | |||
+ | .dropdown-menu { | ||
+ | position: absolute; | ||
+ | display:none; | ||
+ | z-index: 1; | ||
+ | box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15); | ||
} | } | ||
− | + | #navbarDropdown{ | |
− | + | text-decoration: none; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
+ | /* Mobile navigation */ | ||
+ | .nav-mobile { | ||
+ | display: none; | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | right: 0; | ||
+ | background: white; | ||
+ | height: 70px; | ||
+ | width: 70px; | ||
+ | } | ||
+ | @media only screen and (max-width: 798px) { | ||
+ | .nav-mobile { | ||
+ | display: block; | ||
+ | } | ||
− | + | nav{ | |
− | + | ||
width:100%; | width:100%; | ||
− | + | height:auto; | |
− | + | background:white; | |
− | + | margin-bottom: 2%; | |
− | + | position:fixed; | |
+ | z-index: 40; | ||
} | } | ||
− | + | a{ | |
− | + | text-decoration: none; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
+ | .nav-list{ | ||
+ | margin: auto; | ||
+ | display: none; | ||
+ | |||
+ | } | ||
− | + | .nav-list li { | |
− | + | ||
− | + | float: none; | |
− | + | ||
− | } | + | } |
+ | .nav-list a { | ||
+ | padding: 15px; | ||
+ | line-height: 25px; | ||
+ | |||
+ | } | ||
+ | nav ul li a { | ||
+ | padding-left: 30px; | ||
+ | } | ||
− | .dropdown | + | .dropdown-menu { |
− | + | position: static; | |
− | + | } | |
} | } | ||
− | + | @media screen and (min-width: 799px) { | |
− | + | .nav-list { | |
− | + | display: block !important; | |
+ | } | ||
} | } | ||
− | + | #nav-toggle { | |
− | + | position: absolute; | |
+ | left: 18px; | ||
+ | top: 22px; | ||
+ | cursor: pointer; | ||
+ | padding: 10px 35px 16px 0px; | ||
} | } | ||
− | + | #nav-toggle span, | |
+ | span:before, | ||
+ | span:after { | ||
+ | cursor: pointer; | ||
+ | border-radius: 1px; | ||
+ | height: 5px; | ||
+ | width: 35px; | ||
+ | background: white; | ||
+ | position: absolute; | ||
+ | display: block; | ||
+ | content: ''; | ||
+ | transition: all 300ms ease-in-out; | ||
+ | } | ||
+ | #nav-toggle span:before { | ||
+ | top: -10px; | ||
+ | } | ||
+ | #nav-toggle span:after { | ||
+ | bottom: -10px; | ||
+ | } | ||
+ | #nav-toggle.active span { | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | #nav-toggle:before, | ||
+ | #nav-toggle:after { | ||
+ | top: 0; | ||
+ | } | ||
+ | #nav-toggle:before { | ||
+ | transform: rotate(45deg); | ||
+ | } | ||
+ | #nav-toggle:after { | ||
+ | transform: rotate(-45deg); | ||
+ | } | ||
+ | |||
/********************************* CONTENT OF THE PAGE ********************************/ | /********************************* CONTENT OF THE PAGE ********************************/ | ||
Line 294: | Line 374: | ||
text-align: center; | text-align: center; | ||
font-family: 'Varela Round', sans-serif !important; | font-family: 'Varela Round', sans-serif !important; | ||
− | + | color:#24305E; | |
overflow: visible; | overflow: visible; | ||
} | } | ||
Line 312: | Line 392: | ||
h3{ | h3{ | ||
text-align: center; | text-align: center; | ||
− | font-size: | + | font-size: 40px; |
margin:3% 2% 2% 2%; | margin:3% 2% 2% 2%; | ||
font-family: 'Varela Round', sans-serif; | font-family: 'Varela Round', sans-serif; | ||
Line 361: | Line 441: | ||
p2{ | p2{ | ||
width:30%; | width:30%; | ||
− | font-size: | + | font-size: 22px; |
− | line-height: | + | line-height: 24px; |
text-align: center; | text-align: center; | ||
background: none; | background: none; | ||
Line 381: | Line 461: | ||
</head> | </head> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<body> | <body> | ||
− | <div class="nav"> | + | <section class="navigation"> |
− | + | <div class="nav-container"> | |
− | + | <div class="logo"> | |
− | + | <a href="#"> <img class="pixcell" src="https://static.igem.org/mediawiki/2018/8/80/T--Imperial_College--pixcell.png"></a> | |
− | + | <a href="#"> <img class="iclogo " src="https://static.igem.org/mediawiki/2018/8/8b/T--Imperial_College--college.png"></a> | |
− | + | </div> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | <nav> | |
− | + | <div class="nav-mobile"><a id="nav-toggle" href="#!"><span></span></a></div> | |
− | + | <div class="menu"> | |
− | + | <ul class="nav-list"> | |
− | + | <li class="nav-item dropdown"> | |
− | + | <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | |
+ | PROJECT<i class="fa fa-caret-down" aria-hidden="true"></i> | ||
+ | </a> | ||
+ | |||
+ | <ul class="dropdown-menu"> | ||
+ | <li><a href="https://2018.igem.org/Team:Imperial_College/Project">DESCRIPTION</a> | ||
+ | <li><a href="https://2018.igem.org/Team:Imperial_College/Mechanisms">MECHANISMS</a> | ||
+ | <li><a href="https://2018.igem.org/Team:Imperial_College/Applied_Design">APPLICATIONS</a> | ||
+ | <li><a href="https://2018.igem.org/Team:Imperial_College/Achievements">ACHIEVEMENTS</a> | ||
+ | <li><a href="https://2018.igem.org/Team:Imperial_College/Future">FUTURE WORK</a> | ||
+ | <li><a href="https://2018.igem.org/Team:Imperial_College/Brainstorming">BRAINSTORM</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li> | ||
− | + | <li class="nav-item dropdown"> | |
− | + | <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | |
− | + | DRY LAB | |
− | + | <i class="fa fa-caret-down" aria-hidden="true"></i> | |
− | + | </a> | |
− | + | ||
− | + | <ul class="dropdown-menu"> | |
− | + | <li><a href="https://2018.igem.org/Team:Imperial_College/Dryover">OVERVIEW</a> | |
− | + | <li><a href=" https://2018.igem.org/Team:Imperial_College/Model">MODELLING</a> | |
− | + | <li><a href="https://2018.igem.org/Team:Imperial_College/Hardware">HARDWARE</a> | |
− | + | <li><a href="https://2018.igem.org/Team:Imperial_College/Software">SOFTWARE</a> | |
− | + | </ul> | |
− | + | <li> | |
− | + | <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | |
− | + | WET LAB | |
− | + | <i class="fa fa-caret-down" aria-hidden="true"></i> | |
− | + | </a> | |
− | + | <ul class="dropdown-menu"> | |
− | + | <li><a href="https://2018.igem.org/Team:Imperial_College/Wetover">OVERVIEW</a> | |
− | + | <li><a href=" https://2018.igem.org/Team:Imperial_College/Demonstrate">RESULTS</a></li> | |
− | + | <li><a href="https://2018.igem.org/Team:Imperial_College/Experiments">EXPERIMENTS</a></li> | |
− | + | <li><a href="https://2018.igem.org/Team:Imperial_College/Protocols">PROTOCOLS</a></li> | |
− | + | <li><a href="https://2018.igem.org/Team:Imperial_College/Parts">PARTS</a></li> | |
− | + | <li><a href="https://2018.igem.org/Team:Imperial_College/Measurement">BASIC</a></li> | |
− | + | </li> | |
− | + | </ul> | |
− | + | </li> | |
− | + | <li> | |
− | + | <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | |
− | + | HUMAN PRACTICES | |
− | + | <i class="fa fa-caret-down" aria-hidden="true"></i> | |
− | + | </a> | |
− | + | <ul class="dropdown-menu"> | |
− | + | <li><a href="https://2018.igem.org/Team:Imperial_College/Human_Practices">OVERVIEW</a></li> | |
− | + | <li><a href="https://2018.igem.org/Team:Imperial_College/IHP">INTEGRATED HP</a></li> | |
+ | <li><a href="https://2018.igem.org/Team:Imperial_College/Communication">COMMUNICATION</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:Imperial_College/Public_Engagement">OUTREACH</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:Imperial_College/Collaborations">COLLABORATIONS</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | ||
+ | PEOPLE | ||
+ | <i class="fa fa-caret-down" aria-hidden="true"></i> | ||
+ | </a> | ||
+ | <ul class="dropdown-menu"> | ||
+ | <li><a href="https://2018.igem.org/Team:Imperial_College/Team">TEAM</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:Imperial_College/Attributions">ATTRIBUTIONS</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:Imperial_College/Sponsors">SPONSORS</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a id="navbarDropdown" href="https://2018.igem.org/Team:Imperial_College/Judges">FOR JUDGES</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a id="navbarDropdown" href="https://2018.igem.org/Team:Imperial_College/Journal">JOURNAL</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | </nav> | ||
+ | </div> | ||
+ | </section> | ||
</body> | </body> | ||
+ | |||
<!-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------> | <!-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------> | ||
<!--- Content of the page ---> | <!--- Content of the page ---> | ||
<!-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------> | <!-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------> |
Revision as of 21:18, 13 October 2018