|
|
(36 intermediate revisions by 3 users not shown) |
Line 3: |
Line 3: |
| <head> | | <head> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | | <meta name="viewport" content="width=device-width, initial-scale=1"> |
− | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
| |
| <style> | | <style> |
| | | |
− | .container {
| |
− | overflow: hidden;
| |
− | background-color: #FFFFFF;
| |
− | font-family: Arial;
| |
− | }
| |
− |
| |
− | .container a {
| |
− | float: left;
| |
− | font-size: 16px;
| |
− | color: black;
| |
− | text-align: center;
| |
− | padding: 14px 16px;
| |
− | text-decoration: none;
| |
− | }
| |
− |
| |
− | .dropdown {
| |
− | float: left;
| |
− | overflow: hidden;
| |
− | }
| |
− |
| |
− | .dropdown .dropbtn {
| |
− | font-size: 16px;
| |
− | border: none;
| |
− | outline: none;
| |
− | color: black;
| |
− | padding: 14px 16px;
| |
− | background-color: inherit;
| |
− | }
| |
− |
| |
− | .container a:hover, .dropdown:hover .dropbtn {
| |
− | background-color: #86F1E6;
| |
− | }
| |
− |
| |
− | .dropdown-content {
| |
− | display: none;
| |
− | position: absolute;
| |
− | background-color: #E0E0E0;
| |
− | min-width: 160px;
| |
− | box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
| |
− | z-index: 1;
| |
− | }
| |
− |
| |
− | .dropdown-content a {
| |
− | float: none;
| |
− | color: black;
| |
− | padding: 12px 16px;
| |
− | text-decoration: none;
| |
− | display: block;
| |
− | text-align: left;
| |
− | }
| |
− |
| |
− | .dropdown-content a:hover {
| |
− | background-color: #599D96;
| |
− | }
| |
− |
| |
− | .dropdown:hover .dropdown-content {
| |
− | display: block;
| |
− | }
| |
− |
| |
− |
| |
− | @media (max-width: 1500px) {
| |
− | .container{
| |
− | min-width: 1200px;
| |
− | }
| |
− | }
| |
− |
| |
− |
| |
− | #drop-nav li ul li {border-top: 0px;}
| |
− |
| |
− | #NavLogo{
| |
− | float: left;
| |
− | height: 80px;
| |
− |
| |
− | }
| |
− |
| |
− | .igem_2017_menu_wrapper #display_menu_control {
| |
− | display:none;
| |
− | text-align:center
| |
− | }
| |
− |
| |
− | .footer-distributed{
| |
− | background-color: #FFFFFF;
| |
− | box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
| |
− | box-sizing: border-box;
| |
− | width: 100%;
| |
− | text-align: left;
| |
− | padding: 45px 50px;
| |
− | margin-top: 80px;
| |
− | }
| |
− |
| |
− | .footer-distributed .footer-left p{
| |
− | color: #52658F;
| |
− | font-size: 14px;
| |
− | margin: 0;
| |
− | }
| |
− | .footer-distributed .footer-right p{
| |
− | color: #52658F;
| |
− | font-size: 14px;
| |
− | margin: 0;
| |
− | }
| |
− |
| |
− | /* Footer links */
| |
− |
| |
− | .footer-distributed p.footer-links{
| |
− | font-size:18px;
| |
− | font-weight: bold;
| |
− | color: #ffffff;
| |
− | margin: 0 0 10px;
| |
− | padding: 0;
| |
− | }
| |
− |
| |
− |
| |
− | .footer-distributed p.footer-links a{
| |
− | display:inline-block;
| |
− | line-height: 1.8;
| |
− | text-decoration: none;
| |
− | color: inherit;
| |
− | }
| |
− |
| |
− | .footer-distributed .footer-right{
| |
− | float: right;
| |
− | margin-top: 6px;
| |
− | max-width: 400px;
| |
− | }
| |
− |
| |
− |
| |
− |
| |
− | .footer-distributed .footer-right a{
| |
− | display: inline-block;
| |
− | width: 50px;
| |
− | height: 35px;
| |
− | background-color: #33383b;
| |
− | border-radius: 2px;
| |
− |
| |
− | font-size: 20px;
| |
− | color: #52658F;
| |
− | text-align: center;
| |
− | line-height: 35px;
| |
− |
| |
− | margin-left: 3px;
| |
− | }
| |
− |
| |
− | .sponsors {
| |
− | margin: 2.5px;
| |
− | width: 125px;
| |
− | }
| |
− |
| |
− | /* If you don't want the footer to be responsive, remove these media queries */
| |
− |
| |
− | @media (max-width: 600px) {
| |
− |
| |
− | .footer-distributed .footer-left,
| |
− | .footer-distributed .footer-right{
| |
− | text-align: center;
| |
− | }
| |
− |
| |
− | .footer-distributed .footer-right{
| |
− | float: none;
| |
− | margin: 0 auto 20px;
| |
− | }
| |
− |
| |
− | .footer-distributed .footer-left p.footer-links{
| |
− | line-height: 1.8;
| |
− | }
| |
− | }
| |
− |
| |
− |
| |
− |
| |
− |
| |
− | * {box-sizing:border-box}
| |
− | body {font-family: Verdana,sans-serif;margin:0}
| |
− | .mySlides {display:none}
| |
| | | |
− | /* Slideshow container */
| + | section { |
− | .slideshow-container {
| + | margin:auto; |
− | max-width: 1000px; | + | |
| position: relative; | | position: relative; |
− | margin: auto; | + | width: 70%; |
| + | text-align:center; |
| + | height: auto; |
| + | background-color:#fff; |
| + | } |
| + | .content{ |
| + | margin-top:20px; |
| + | } |
| + | .adjust1{ |
| + | margin:auto;width:100%; margin-bottom:0; |
| + | } |
| + | .adjust2{ |
| + | margin:0; |
| + | } |
| + | .carousel-control{ |
| + | color:#31708f; width:5%; |
| + | } |
| + | .carousel-control:hover, |
| + | .carousel-control:focus{ |
| + | color:#31708f; |
| + | } |
| + | .carousel-control.left, |
| + | .carousel-control.right{ |
| + | background-image: none; |
| + | } |
| } | | } |
− |
| |
− |
| |
− | .flashingprev, .flashingnext{
| |
− | background:red;
| |
− | cursor: pointer;
| |
− | position: absolute;
| |
− | top: 50%;
| |
− | width: auto;
| |
− | padding: 16px;
| |
− | margin-top: -22px;
| |
− | color: #fff;
| |
− | font-weight: bold;
| |
− | font-size: 80px;
| |
− | transition: 0.6s ease;
| |
− | border-radius: 0 3px 3px 0;
| |
− | animation-name: flash;
| |
− | animation-duration: 1.8s;
| |
− | animation-timing-function: linear;
| |
− | animation-iteration-count: infinite;
| |
− |
| |
− | /* Chrome 4+, Safari 4+, Opera 15+ */
| |
− | -webkit-animation-name: flash;
| |
− | -webkit-animation-duration: 0.7s;
| |
− | -webkit-animation-timing-function: linear;
| |
− | -webkit-animation-iteration-count: infinite;
| |
− | -webkit-box-shadow: 0 0 33px #B20000;
| |
− |
| |
− | /* Firefox 5+ */
| |
− | -moz-animation-name: flash;
| |
− | -moz-animation-duration: 0.7s;
| |
− | -moz-animation-timing-function: linear;
| |
− | -moz-animation-iteration-count: infinite;
| |
− | -moz-box-shadow: 0 0 3px #B20000;
| |
− | }
| |
− |
| |
− | @keyframes flash {
| |
− | 0% { opacity: 1.0 }
| |
− | 50% { opacity: 0.5 }
| |
− | 100% { opacity: 1.0 }
| |
− | }
| |
− |
| |
− | /* Chrome 4+, Safari 4+, Opera 15+ */
| |
− | @-webkit-keyframes flash {
| |
− | 0% { opacity: 1.0 }
| |
− | 50% { opacity: 0.5 }
| |
− | 100% { opacity: 1.0 }
| |
− | }
| |
− |
| |
− | /* Firefox 5+ */
| |
− | @-moz-keyframes flash {
| |
− | 0% { opacity: 1.0 }
| |
− | 50% { opacity: 0.5 }
| |
− | 100% { opacity: 1.0 }
| |
− | }
| |
− |
| |
− |
| |
− |
| |
− | /* Position the "next button" to the right */
| |
− | .flashingnext {
| |
− | right: 0;
| |
− | border-radius: 3px 0 0 3px;
| |
− | }
| |
− |
| |
− | /* On hover, add a black background color with a little bit see-through */
| |
− | .prev:hover, .next:hover {
| |
− | background-color: rgba(0,0,0,0.8);
| |
− | }
| |
− |
| |
− | /* Caption text */
| |
− | .text {
| |
− | color: #f2f2f2;
| |
− | font-size: 15px;
| |
− | padding: 8px 12px;
| |
− | position: absolute;
| |
− | bottom: 8px;
| |
− | width: 100%;
| |
− | text-align: center;
| |
− | }
| |
− |
| |
− | /* Number text (1/3 etc) */
| |
− | .numbertext {
| |
− | color: #f2f2f2;
| |
− | font-size: 12px;
| |
− | padding: 8px 12px;
| |
− | position: absolute;
| |
− | top: 0;
| |
− | }
| |
− |
| |
− | /* The dots/bullets/indicators */
| |
− | .dot {
| |
− | cursor:pointer;
| |
− | height: 13px;
| |
− | width: 13px;
| |
− | margin: 0 2px;
| |
− | background-color: #bbb;
| |
− | border-radius: 50%;
| |
− | display: inline-block;
| |
− | transition: background-color 0.6s ease;
| |
− | }
| |
− |
| |
− | .active, .dot:hover {
| |
− | background-color: #717171;
| |
− | }
| |
− |
| |
− | /* Fading animation */
| |
− | .fade {
| |
− | -webkit-animation-name: fade;
| |
− | -webkit-animation-duration: 1.5s;
| |
− | animation-name: fade;
| |
− | animation-duration: 1.5s;
| |
− | }
| |
− |
| |
− | @-webkit-keyframes fade {
| |
− | from {opacity: .4}
| |
− | to {opacity: 1}
| |
− | }
| |
− |
| |
− | @keyframes fade {
| |
− | from {opacity: .4}
| |
− | to {opacity: 1}
| |
− | }
| |
− |
| |
− | /* On smaller screens, decrease text size */
| |
− | @media only screen and (max-width: 300px) {
| |
− | .prev, .next,.text {font-size: 11px}
| |
− | }
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
| </style> | | </style> |
| </head> | | </head> |
| | | |
| | | |
− | <body> | + | <section id="section01"> |
− | <div class="container"> | + | <div class="splash" id="mainsplash"> |
− |
| + | <div id="banner"> |
− | <li><span style="padding-top:-50px;"><img id="NavLogo" src="https://static.igem.org/mediawiki/2017/c/cf/CUHKteamlogo.jpg"></span></li>
| + | <img src="https://static.igem.org/mediawiki/2017/0/0c/Dr_swtich1.png" width="90%" height="auto" class=" igem-logo"></a> |
− | | + | </div> |
− | <a href="https://2017.igem.org/Team:Hong_Kong-CUHK">Home</a>
| + | |
− | | + | |
− | <div class="dropdown">
| + | |
− | <button class="dropbtn"><b>Project ▼</b></button>
| + | |
− | <div class="dropdown-content">
| + | |
− | <a href="https://2017.igem.org/Team:Hong_Kong-CUHK/Description">Description</a>
| + | |
− | <a href="https://2017.igem.org/Team:Hong_Kong-CUHK/Experiments">Experiments</a> | + | |
− | <a href="https://2017.igem.org/Team:Hong_Kong-CUHK/Results">Results</a>
| + | |
− | <a href="https://2017.igem.org/Team:Hong_Kong-CUHK/Parts">Parts</a>
| + | |
− | <a href="https://2017.igem.org/Team:Hong_Kong-CUHK/Hardware">Hardware</a>
| + | |
− | | + | |
| </div> | | </div> |
− | </div> | + | </div> |
| + | <center> |
| + | </section> |
| | | |
| + | <section id="myCarousel" class="carousel slide" data-ride="carousel"> |
| + | <!-- Indicators --> |
| + | <ol class="carousel-indicators"> |
| + | <li data-target="#myCarousel" data-slide-to="0" class="active"></li> |
| + | <li data-target="#myCarousel" data-slide-to="1"></li> |
| + | <li data-target="#myCarousel" data-slide-to="2"></li> |
| + | <li data-target="#myCarousel" data-slide-to="3"></li> |
| + | </ol> |
| | | |
− | <a href="https://2017.igem.org/Team:Hong_Kong-CUHK/Model">Modelling</a> | + | <!-- Wrapper for slides --> |
− | | + | <div class="carousel-inner"> |
− | <a href="http://igem.erg.cuhk.edu.hk/">Software</a>
| + | <div class="item active"> |
− | | + | <img src="https://static.igem.org/mediawiki/2017/0/08/Page1.png" height="500" > |
− | <a href="https://2017.igem.org/Team:Hong_Kong-CUHK/InterLab">InterLab</a>
| + | |
− | | + | |
− | | + | |
− | <div class="dropdown"> | + | |
− | <button class="dropbtn"><b>Notebook ▼</b></button>
| + | |
− | <div class="dropdown-content"> | + | |
− | <a href="https://2017.igem.org/Team:Hong_Kong-CUHK/Notebook">Notebook</a>
| + | |
− | <a href="https://2017.igem.org/Team:Hong_Kong-CUHK/Applied_Design">Protocols</a>
| + | |
− | <a href="https://2017.igem.org/Team:Hong_Kong-CUHK/Measurement">Medal Criteria</a>
| + | |
| </div> | | </div> |
− | </div>
| |
| | | |
− | <div class="dropdown">
| + | <div class="item"> |
− | <button class="dropbtn"><b>Human Practice ▼</b></button>
| + | <img src="https://static.igem.org/mediawiki/2017/8/85/Page2.png" height="500" > |
− | <div class="dropdown-content"> | + | |
− | <a href="https://2017.igem.org/Team:Hong_Kong-CUHK/Engagement">Engagement and Education</a>
| + | |
− | <a href="https://2017.igem.org/Team:Hong_Kong-CUHK/HP/Gold_Integrated">Human Practices</a>
| + | |
− | <a href="https://2017.igem.org/Team:Hong_Kong-CUHK/Collaborations">Collaboration</a>
| + | |
| </div> | | </div> |
− | </div>
| |
| | | |
− | <a href="https://2017.igem.org/Team:Hong_Kong-CUHK/Safety">Safety</a>
| + | <div class="item"> |
− | | + | <img src="https://static.igem.org/mediawiki/2017/5/5c/Page3.png" height="500"> |
− | <div class="dropdown">
| + | |
− | <button class="dropbtn"><b>Team ▼</b></button>
| + | |
− | <div class="dropdown-content"> | + | |
− | <a href="https://2017.igem.org/Team:Hong_Kong-CUHK/Team">Team</a>
| + | |
− | <a href="https://2017.igem.org/Team:Hong_Kong-CUHK/Attributions">Attributions</a>
| + | |
| </div> | | </div> |
| + | |
| + | <div class="item"> |
| + | <img src="https://static.igem.org/mediawiki/2017/e/e9/Page4.png" height="500"> |
| </div> | | </div> |
− |
| |
− |
| |
− | </div>
| |
− |
| |
− |
| |
− |
| |
− | <div class="splash" id="mainsplash">
| |
− | <div class="row splashyla">
| |
− | <div class="col-md-12">
| |
− | <img src="https://static.igem.org/mediawiki/2017/a/ad/Cuhk_frontpage.PNG" width="1200" height="650" class=" igem-logo"></a>
| |
− | </div>
| |
− | </div>
| |
| </div> | | </div> |
| | | |
− | | + | <!-- Left and right controls --> |
− | <div class="slideshow-container"> | + | <a class="left carousel-control" href="#myCarousel" data-slide="prev"> |
− | | + | <span class="glyphicon glyphicon-chevron-left"></span> |
− | | + | <span class="sr-only">Previous</span> |
− | <div class="mySlides fade"> | + | </a> |
− | <div class="numbertext">1 / 4</div>
| + | <a class="right carousel-control" href="#myCarousel" data-slide="next"> |
− | <img src="https://static.igem.org/mediawiki/2017/c/c3/Cuhk_secondpage.PNG" width="100%" > | + | <span class="glyphicon glyphicon-chevron-right"></span> |
− | | + | <span class="sr-only">Next</span> |
| + | </a> |
| </div> | | </div> |
− | | + | <center> |
− | <div class="mySlides fade"> | + | </section> |
− | <div class="numbertext">2 / 4</div>
| + | |
− | <img src="https://static.igem.org/mediawiki/2017/7/77/Cuhk_thirdpage.PNG" width="100%" >
| + | |
− |
| + | |
− | </div>
| + | |
− | | + | |
− | <div class="mySlides fade">
| + | |
− | <div class="numbertext">3 / 4</div>
| + | |
− | <img src="https://static.igem.org/mediawiki/2017/2/27/Cuhk_forthpage.PNG" width="100%" >
| + | |
− |
| + | |
− | </div>
| + | |
− | | + | |
− | <div class="mySlides fade">
| + | |
− | <div class="numbertext">4 / 4</div>
| + | |
− | <img src="https://static.igem.org/mediawiki/2017/6/6b/Cuhk_finalpage.PNG" width="100%" >
| + | |
− | <div class="text">Caption Five</div>
| + | |
− | </div>
| + | |
− | | + | |
− | <span class="flashingprev" onclick="plusSlides(-1)">❮</span>
| + | |
− | <span class="flashingnext" onclick="plusSlides(1)">❯</span>
| + | |
− | | + | |
− | | + | |
− | </div>
| + | |
− | <br>
| + | |
− | | + | |
− | <div style="text-align:center">
| + | |
− | <span class="dot" onclick="currentSlide(1)"></span>
| + | |
− | <span class="dot" onclick="currentSlide(2)"></span>
| + | |
− | <span class="dot" onclick="currentSlide(3)"></span>
| + | |
− | <span class="dot" onclick="currentSlide(4)"></span>
| + | |
− | | + | |
− | </div>
| + | |
− | | + | |
− | <script>
| + | |
− | var slideIndex = 1;
| + | |
− | showSlides(slideIndex);
| + | |
− | | + | |
− | function plusSlides(n) {
| + | |
− | showSlides(slideIndex += n);
| + | |
− | }
| + | |
− | | + | |
− | function currentSlide(n) {
| + | |
− | showSlides(slideIndex = n);
| + | |
− | }
| + | |
− | | + | |
− | function showSlides(n) {
| + | |
− | var i;
| + | |
− | var slides = document.getElementsByClassName("mySlides");
| + | |
− | var dots = document.getElementsByClassName("dot");
| + | |
− | if (n > slides.length) {slideIndex = 1}
| + | |
− | if (n < 1) {slideIndex = slides.length}
| + | |
− | for (i = 0; i < slides.length; i++) {
| + | |
− | slides[i].style.display = "none";
| + | |
− | }
| + | |
− | for (i = 0; i < dots.length; i++) {
| + | |
− | dots[i].className = dots[i].className.replace(" active", "");
| + | |
− | }
| + | |
− | slides[slideIndex-1].style.display = "block";
| + | |
− | dots[slideIndex-1].className += " active";
| + | |
− | }
| + | |
− | </script>
| + | |
− | | + | |
− |
| + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | <footer class="footer-distributed">
| + | |
− | | + | |
− | <div class="footer-right">
| + | |
− |
| + | |
− | | + | |
− | <a target="_blank" href="mailto:igemcuhk1617@gmail.com "><i class="fa fa-envelope-o fa-2x"></i></a>
| + | |
− | <a target="_blank" href="https://www.facebook.com/igemcuhk2017/?fref=ts"><i class="fa fa-facebook fa-2x"></i></a>
| + | |
− |
| + | |
− | <p> Email: igemcuhk1617@gmail.com </p>
| + | |
− | </div>
| + | |
− | | + | |
− | | + | |
− | <div class="footer-left">
| + | |
− | | + | |
− | <p class="footer-links">
| + | |
− |
| + | |
− |
| + | |
− | <a target="_blank" href="https://www.neb.com/">
| + | |
− | <img class="sponsors" src="https://static.igem.org/mediawiki/2017/a/ae/CUHK--NEB.PNG">
| + | |
− | </a>
| + | |
− |
| + | |
− |
| + | |
− | </p>
| + | |
− | | + | |
− |
| + | |
− | </div>
| + | |
− | | + | |
− | </footer>
| + | |
− | | + | |
| | | |
| | | |
Line 507: |
Line 94: |
| | | |
| </html> | | </html> |
| + | {{Template:Hong_Kong-CUHK_footer}} |