(89 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
<head> | <head> | ||
+ | |||
+ | <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'> | ||
<!-- Latest compiled and minified CSS --> | <!-- Latest compiled and minified CSS --> | ||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> | <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> | ||
+ | |||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $(function () { | ||
+ | $("#myModal").modal({show:false}); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
</head> | </head> | ||
+ | |||
+ | |||
+ | |||
Line 14: | Line 31: | ||
/********************************* DEFAULT WIKI SETTINGS ********************************/ | /********************************* DEFAULT WIKI SETTINGS ********************************/ | ||
− | + | #sideMenu, #top_title {display:none;} | |
#content { padding:0px; width:100%; margin-top:-12px; margin-left:0px;} | #content { padding:0px; width:100%; margin-top:-12px; margin-left:0px;} | ||
body {background-color:white; } | body {background-color:white; } | ||
#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; } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
/*! | /*! | ||
Line 24: | Line 46: | ||
* For details, see http://www.apache.org/licenses/LICENSE-2.0. | * For details, see http://www.apache.org/licenses/LICENSE-2.0. | ||
*/ | */ | ||
+ | |||
+ | |||
+ | |||
/* Global Styles */ | /* Global Styles */ | ||
* { | * { | ||
− | font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif | + | font-family: 'Open Sans', Open-Sans, sans-serif, 'Helvetica Neue', Arial, sans-serif; |
− | + | ||
} | } | ||
+ | |||
html, | html, | ||
body { | body { | ||
width: 100%; | width: 100%; | ||
− | + | ||
} | } | ||
+ | |||
+ | /* | ||
body { | body { | ||
− | font-family: "Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif; | + | font-family: 'Open Sans', sans-serif, "Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif; |
} | } | ||
+ | */ | ||
+ | |||
+ | |||
.text-vertical-center { | .text-vertical-center { | ||
Line 47: | Line 77: | ||
padding-top: 30px; | padding-top: 30px; | ||
} | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
.text-vertical-center h1 { | .text-vertical-center h1 { | ||
− | margin: | + | margin: 15px; |
− | padding: | + | padding: 30px; |
font-size: 4.5em; | font-size: 4.5em; | ||
font-weight: 700; | font-weight: 700; | ||
font-color: white; | font-color: white; | ||
} | } | ||
+ | |||
/* Custom Button Styles */ | /* Custom Button Styles */ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.btn-light { | .btn-light { | ||
Line 93: | Line 116: | ||
} | } | ||
− | + | hr.medium { | |
− | + | max-width: 245px; | |
− | + | margin: auto; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | margin | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/* Header */ | /* Header */ | ||
Line 182: | Line 134: | ||
background: url('https://static.igem.org/mediawiki/2016/8/8e/BUHW2016_skyline.png') no-repeat center center scroll; | background: url('https://static.igem.org/mediawiki/2016/8/8e/BUHW2016_skyline.png') no-repeat center center scroll; | ||
background-size: 100% 100%; | background-size: 100% 100%; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 265: | Line 156: | ||
.navbar-default { | .navbar-default { | ||
− | + | background-color: white; | |
− | + | border-color: rgba(34, 34, 34, 0.05); | |
− | + | font-family: OpenSans, 'Helvetica Neue', Arial, sans-serif; | |
− | + | -webkit-transition: all 0.35s; | |
− | + | -moz-transition: all 0.35s; | |
− | + | transition: all 0.35s; | |
} | } | ||
+ | |||
.navbar-default .navbar-header .navbar-brand { | .navbar-default .navbar-header .navbar-brand { | ||
− | + | color:#222222; | |
− | + | font-family: 'Open Sans', sans-serif, 'Helvetica Neue', Arial, sans-serif; | |
− | + | font-weight: 700; | |
− | + | text-transform: uppercase; | |
} | } | ||
+ | |||
.navbar-default .navbar-header .navbar-brand:hover, | .navbar-default .navbar-header .navbar-brand:hover, | ||
.navbar-default .navbar-header .navbar-brand:focus { | .navbar-default .navbar-header .navbar-brand:focus { | ||
− | + | color: #222222; | |
} | } | ||
+ | |||
.navbar-default .nav > li > a, | .navbar-default .nav > li > a, | ||
.navbar-default .nav > li > a:focus { | .navbar-default .nav > li > a:focus { | ||
− | + | text-transform: uppercase; | |
− | + | font-weight: 700; | |
− | + | font-size: 13px; | |
− | + | color: #222222; | |
} | } | ||
+ | |||
.navbar-default .nav > li > a:hover, | .navbar-default .nav > li > a:hover, | ||
.navbar-default .nav > li > a:focus:hover { | .navbar-default .nav > li > a:focus:hover { | ||
− | + | color: #c0392b; | |
} | } | ||
+ | |||
.navbar-default .nav > li.active > a, | .navbar-default .nav > li.active > a, | ||
.navbar-default .nav > li.active > a:focus { | .navbar-default .nav > li.active > a:focus { | ||
− | + | color: #222222 !important; | |
− | + | background-color: transparent; | |
} | } | ||
+ | |||
.navbar-default .nav > li.active > a:hover, | .navbar-default .nav > li.active > a:hover, | ||
.navbar-default .nav > li.active > a:focus:hover { | .navbar-default .nav > li.active > a:focus:hover { | ||
− | + | background-color: transparent; | |
} | } | ||
+ | |||
@media (min-width: 768px) { | @media (min-width: 768px) { | ||
.navbar-default { | .navbar-default { | ||
− | + | background-color: transparent; | |
− | + | border-color: rgba(255, 255, 255, 0.3); | |
} | } | ||
.navbar-default .navbar-header .navbar-brand { | .navbar-default .navbar-header .navbar-brand { | ||
− | + | color: rgba(255, 255, 255, 0.7); | |
} | } | ||
.navbar-default .navbar-header .navbar-brand:hover, | .navbar-default .navbar-header .navbar-brand:hover, | ||
.navbar-default .navbar-header .navbar-brand:focus { | .navbar-default .navbar-header .navbar-brand:focus { | ||
− | + | color: white; | |
} | } | ||
.navbar-default .nav > li > a, | .navbar-default .nav > li > a, | ||
.navbar-default .nav > li > a:focus { | .navbar-default .nav > li > a:focus { | ||
− | + | color: rgba(255, 255, 255, 0.7); | |
} | } | ||
.navbar-default .nav > li > a:hover, | .navbar-default .nav > li > a:hover, | ||
.navbar-default .nav > li > a:focus:hover { | .navbar-default .nav > li > a:focus:hover { | ||
− | + | color: white; | |
} | } | ||
.navbar-default.affix { | .navbar-default.affix { | ||
− | + | background-color: white; | |
− | + | border-color: rgba(34, 34, 34, 0.05); | |
} | } | ||
.navbar-default.affix .navbar-header .navbar-brand { | .navbar-default.affix .navbar-header .navbar-brand { | ||
− | + | color: #222222; | |
− | + | font-size: 18px; | |
} | } | ||
.navbar-default.affix .navbar-header .navbar-brand:hover, | .navbar-default.affix .navbar-header .navbar-brand:hover, | ||
.navbar-default.affix .navbar-header .navbar-brand:focus { | .navbar-default.affix .navbar-header .navbar-brand:focus { | ||
− | + | color: #222222; | |
} | } | ||
.navbar-default.affix .nav > li > a, | .navbar-default.affix .nav > li > a, | ||
.navbar-default.affix .nav > li > a:focus { | .navbar-default.affix .nav > li > a:focus { | ||
− | + | color: #222222; | |
} | } | ||
.navbar-default.affix .nav > li > a:hover, | .navbar-default.affix .nav > li > a:hover, | ||
.navbar-default.affix .nav > li > a:focus:hover { | .navbar-default.affix .nav > li > a:focus:hover { | ||
− | + | color: #222222; | |
} | } | ||
} | } | ||
#mainNav { | #mainNav { | ||
− | margin-top:15px; | + | margin-top:15px; |
− | + | transition:background-color .52s ease | |
} | } | ||
+ | |||
+ | |||
+ | ul.nav li.dropdown:hover > ul.dropdown-menu { | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | section { | ||
+ | |||
+ | padding-bottom: 70px; | ||
+ | |||
+ | } | ||
+ | |||
Line 355: | Line 267: | ||
<body> | <body> | ||
+ | |||
<nav id="mainNav" class="navbar navbar-default navbar-fixed-top"> | <nav id="mainNav" class="navbar navbar-default navbar-fixed-top"> | ||
− | + | <div class="container-fluid"> | |
<!-- Brand and toggle get grouped for better mobile display --> | <!-- Brand and toggle get grouped for better mobile display --> | ||
− | + | <div class="navbar-header"> | |
− | + | <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> | |
− | + | <span class="sr-only">Toggle navigation</span> | |
− | + | <span class="icon-bar"></span> | |
− | + | <span class="icon-bar"></span> | |
− | + | <span class="icon-bar"></span> | |
− | + | </button> | |
− | + | <a class="navbar-brand page-scroll" href="https://2016.igem.org/Team:BostonU_HW">BU HW 2016</a> | |
− | + | </div> | |
+ | |||
+ | <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> | ||
+ | <ul class="nav navbar-nav navbar-right"> | ||
− | + | <li class="dropdown"> | |
− | + | <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Team <span class="caret"></span></a> | |
− | + | <ul class="dropdown-menu"> | |
− | + | <li><a href="https://2016.igem.org/Team:BostonU_HW/Team">Us</a></li> | |
− | <a | + | <li><a href="https://2016.igem.org/Team:BostonU_HW/Collaborations">Collaborations</a></li> |
− | + | </ul> | |
− | + | </li> | |
− | <a class=" | + | |
− | </li> | + | <li class="dropdown"> |
− | + | <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Project <span class="caret"></span></a> | |
− | + | <ul class="dropdown-menu"> | |
− | </li> | + | <li><a href="https://2016.igem.org/Team:BostonU_HW/Description">Overview</a></li> |
− | + | <li><a href="https://2016.igem.org/Team:BostonU_HW/Results">Results</a></li> | |
− | <a class=" | + | <li><a href="https://2016.igem.org/Team:BostonU_HW/Demonstrate">Project Build</a></li> |
− | </li> | + | <li><a href="https://2016.igem.org/Team:BostonU_HW/Proof">Application</a></li> |
− | + | <li><a href="https://2016.igem.org/Team:BostonU_HW/Design">Documentation</a></li> | |
− | <a class=" | + | <li role="separator" class="divider"></li> |
− | </li> | + | <li><a href="https://2016.igem.org/Team:BostonU_HW/Attributions">Attributions</a></li> |
− | + | </ul> | |
− | + | </li> | |
− | < | + | |
+ | <li class="dropdown"> | ||
+ | <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Notebook <span class="caret"></span></a> | ||
+ | <ul class="dropdown-menu"> | ||
+ | <li><a href="https://2016.igem.org/Team:BostonU_HW/Notebook">Timeline</a></li> | ||
+ | <li><a href="https://2016.igem.org/Team:BostonU_HW/Experiments">Experiments</a></li> | ||
+ | <li><a href="https://2016.igem.org/Team:BostonU_HW/Safety">Safety</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li class="dropdown"> | ||
+ | <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Human Practices <span class="caret"></span></a> | ||
+ | <ul class="dropdown-menu"> | ||
+ | <li><a href="https://2016.igem.org/Team:BostonU_HW/Human_Practices">Overview</a></li> | ||
+ | <li><a href="https://2016.igem.org/Team:BostonU_HW/HP/Silver">Silver</a></li> | ||
+ | <li><a href="https://2016.igem.org/Team:BostonU_HW/HP/Gold">Gold</a></li> | ||
+ | <li><a href="https://2016.igem.org/Team:BostonU_HW/Integrated_Practices">Integrated Practices</a></li> | ||
+ | <li><a href="https://2016.igem.org/Team:BostonU_HW/Engagement">Engagement</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li class="dropdown"> | ||
+ | <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Awards <span class="caret"></span></a> | ||
+ | <ul class="dropdown-menu"> | ||
+ | <li><a href="https://2016.igem.org/Team:BostonU_HW/Hardware">Hardware</a></li> | ||
+ | <li><a href="https://2016.igem.org/Team:BostonU_HW/Software">Software</a></li> | ||
+ | <li><a href="https://2016.igem.org/Team:BostonU_HW/Entrepreneurship">Entrepreneurship</a></li> | ||
+ | <li><a href="https://2016.igem.org/Team:BostonU_HW/Measurement">Measurement</a></li> | ||
+ | <li><a href="https://2016.igem.org/Team:BostonU_HW/Model">Model</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | </ul> | ||
</div> | </div> | ||
+ | <!-- /.navbar-collapse --> | ||
+ | </div> | ||
<!-- /.container-fluid --> | <!-- /.container-fluid --> | ||
− | + | </nav> | |
− | |||
− | |||
− | |||
+ | |||
+ | |||
+ | |||
− | <script src=" | + | |
− | + | <!-- Latest compiled and minified JavaScript --> | |
− | + | <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script> | |
− | + | ||
− | + | ||
Line 422: | Line 369: | ||
* Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) | * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) | ||
*/ | */ | ||
+ | |||
(function($) { | (function($) { | ||
"use strict"; // Start of use strict | "use strict"; // Start of use strict | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
// Offset for Main Navigation | // Offset for Main Navigation | ||
Line 460: | Line 381: | ||
} | } | ||
}) | }) | ||
+ | })(jQuery); // End of use strict | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | </script> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
− | |||
</body> | </body> | ||
+ | |||
+ | |||
+ | |||
</html> | </html> |
Latest revision as of 20:40, 11 July 2016