|
|
(38 intermediate revisions by the same user not shown) |
Line 3: |
Line 3: |
| <title>NRP-UEA-NORWICH iGEM</title> | | <title>NRP-UEA-NORWICH iGEM</title> |
| | | |
− | <script>
| |
− | var web;
| |
− | $(document).ready(function(){
| |
− | web = {
| |
− | defaults: {
| |
− | "url": "home",
| |
− | "pagesDir": "pages",
| |
− | "contentWrapper": $("#contentWrapper"),
| |
− | "pageLoaded": false
| |
− | },
| |
| | | |
− | initialize: function(){
| |
− |
| |
− | var $this = this;
| |
| | | |
− | //check if url isnt empty
| + | <script type="text/javascript" src="https://2016.igem.org/Team:NRP-UEA-Norwich/jquery-ui-js?action=raw&ctype=text/javascript"></script> |
− | checkUrl = this.getPath(true);
| + | <script type="text/javascript" src="https://2016.igem.org/Team:NRP-UEA-Norwich/JAVASCRIPT?action=raw&ctype=text/javascript"></script> |
− | if(checkUrl.length > 0)
| + | |
− | this.defaults.url = checkUrl;
| + | |
| | | |
− | // load the page
| + | <link rel="stylesheet" type="text/css" href="https://2016.igem.org/Team:NRP-UEA-Norwich/jquery-ui?action=raw&ctype=text/css" /> |
− | this.loadPage(this.defaults.url);
| + | <link rel="stylesheet" type="text/css" href="https://2016.igem.org/Team:NRP-UEA-Norwich/CSS?action=raw&ctype=text/css" /> |
| | | |
− | this.defaults.pageLoaded = true;
| |
| | | |
− | //timeline close open event
| |
− | $(document).on("click", ".close_timeline_event", function(){
| |
− | $this.timelineResetPosition();
| |
− | $this.timelineCloseEvents(null);
| |
| | | |
− | sideOpen = "none";
| |
− | });
| |
− |
| |
− | //select list item from protocols page
| |
− | $(document).on("click", ".protocols_list li", function(){
| |
− | $("#protocols_sub_list_main > li").hide();
| |
− | $("#protocols_sub_list_main > li").eq($(".protocols_list li").index(this)).show();
| |
− |
| |
− | $(".protocols_list li").removeClass("active");
| |
− | $(this).addClass("active");
| |
− |
| |
− | });
| |
− |
| |
− | //image pop up close
| |
− | $(document).on("click", "#closeImage, #showImageBG", function(){
| |
− | $("#showImageBG, #showImage").hide();
| |
− | });
| |
− |
| |
− | //image pop up show image
| |
− | $(document).on("click", ".showFullSizeImage", function(){
| |
− | $("#showImage img").attr("src", this.getAttribute("src"));
| |
− | $("#showImageBG, #showImage").show();
| |
− | });
| |
− |
| |
− | //timeline show selected event
| |
− | var sideOpen = "none";
| |
− | $(document).on("click", ".timeline_event_header", function(e){
| |
− | if($(e.target).is(".close_timeline_event"))
| |
− | return;
| |
− |
| |
− | selected = $(this).attr("data-side");
| |
− |
| |
− | if(sideOpen != selected && sideOpen != "none")
| |
− | $this.timelineResetPosition();
| |
− |
| |
− | $this.timelineCloseEvents(this);
| |
− |
| |
− | sideOpen = selected;
| |
− |
| |
− | $(this)
| |
− | .addClass("active")
| |
− | .animate({
| |
− | width: 640
| |
− | }, function(){
| |
− | height = $(".timeline_event_container", this).css("height", "auto").height();
| |
− |
| |
− | $(".timeline_event_container", this)
| |
− | .css({
| |
− | height: 0,
| |
− | visibility: "visible"
| |
− | })
| |
− | .animate({
| |
− | height: height
| |
− | });
| |
− |
| |
− | });
| |
− |
| |
− | $(".timeline_vline")
| |
− | .addClass("active")
| |
− | .animate({
| |
− | margin: 0,
| |
− | left: sideOpen == "right" ? 300 : 700
| |
− | });
| |
− | });
| |
− |
| |
− | $(document).on("click", ".teamShowMore", function(){
| |
− | offset = !$(this).hasClass("active") ? $("#teamSection").offset().left : "-"+ + $("#teamSection").width()+"px";
| |
− |
| |
− | $("#teamSupervisors")
| |
− | .show()
| |
− | .css("margin-top", "-"+($("#teamSupervisors").height() / 2)+"px")
| |
− | .animate({right: offset}, {duration:800, easing:"easeInOutCubic"});
| |
− |
| |
− | $(this).toggleClass("active");
| |
− | });
| |
− |
| |
− | $(document).on("click", "a", function(e){
| |
− | if($(this).hasClass("directFile"))
| |
− | return true;
| |
− |
| |
− | e.preventDefault();
| |
− |
| |
− | url = this.getAttribute("href");
| |
− |
| |
− | //empty url
| |
− | if(url == "#" || url.length == 0)
| |
− | return;
| |
− |
| |
− | web.defaults.url = this.getAttribute("href");
| |
− |
| |
− | window.history.pushState({path: web.defaults.url}, "", web.defaults.url);
| |
− |
| |
− | $this.loadPage(web.defaults.url);
| |
− | });
| |
− |
| |
− | $(window).bind('popstate', function() {
| |
− | if(window.history.state == null)
| |
− | web.defaults.url = "";
| |
− | else
| |
− | web.defaults.url = window.history.state.path;
| |
− |
| |
− | $this.loadPage(web.defaults.url);
| |
− | });
| |
− | },
| |
− |
| |
− | getPath: function(string){
| |
− | url = window.location.pathname;
| |
− | url = url.split("/");
| |
− | url = url.slice(1, 100);
| |
− |
| |
− | if(string === true)
| |
− | return url.join("/");
| |
− | else
| |
− | return url;
| |
− | },
| |
− |
| |
− | timelineCloseEvents: function(exclude){
| |
− | $.each($(".timeline_event_container"), function(){
| |
− |
| |
− | if(exclude == $(this).parents(".timeline_event_header")[0])
| |
− | return;
| |
− |
| |
− | $(this).animate({
| |
− | height: 0
| |
− | }, function(){
| |
− | $(this).css("visibility", "hidden");
| |
− |
| |
− | $(this).parents(".timeline_event_header").animate({
| |
− | width: 150
| |
− | }, function(){
| |
− | $(this).removeClass("active")
| |
− | });
| |
− | });
| |
− | });
| |
− | },
| |
− |
| |
− | timelineResetPosition: function(){
| |
− | console.log("test")
| |
− | $(".timeline_vline")
| |
− | .addClass("active")
| |
− | .animate({
| |
− | margin: "-2px",
| |
− | left: "50%"
| |
− | });
| |
− | },
| |
− |
| |
− | resetPageTransition: function(el){
| |
− | $(el)
| |
− | .removeClass("pageTransitionAnimate")
| |
− | .css({
| |
− | top: 0,
| |
− | left: 0
| |
− | })
| |
− | .animate({
| |
− | height: 0
| |
− | }, 400, "easeOutQuint");
| |
− | },
| |
− |
| |
− | animatePageTransition: function(){
| |
− | var $this = this;
| |
− |
| |
− | $(".pageTransition").addClass("pageTransitionAnimate");
| |
− |
| |
− | $("#block1").animate(
| |
− | { height: $(window).width() + "px" },
| |
− | 700, "easeInQuad",
| |
− | function(){
| |
− | $this.resetPageTransition(this);
| |
− | }
| |
− | );
| |
− |
| |
− | $("#block2").animate(
| |
− | { height: $(window).width() + "px" },
| |
− | 1000, "easeInQuad",
| |
− | function(){
| |
− | $this.resetPageTransition(this);
| |
− | }
| |
− | );
| |
− | },
| |
− |
| |
− | resize: function(){
| |
− | width = window.innerWidth;
| |
− | height = window.innerHeight;
| |
− |
| |
− | //resize only current page elements
| |
− | /*if(this.defaults.url == "home"){
| |
− | $(".instagramBlock").css({
| |
− | width: width / Math.ceil(width / $(".instagramBlock").width())
| |
− | });
| |
− | }*/
| |
− |
| |
− | if(this.defaults.url == "team"){
| |
− | $(".teamShowMore").css("right", $("#teamSection").offset().left / 2);
| |
− | }
| |
− | },
| |
− |
| |
− | /*renderHomePage: function(){
| |
− | var prefix = "media/images/instagram/";
| |
− | var instagramImages = [];
| |
− |
| |
− | for(var i=1; i<=20; i++){
| |
− | // imagePath = prefix + i + ".jpg";
| |
− | imagePath = prefix+"2.jpg";
| |
− |
| |
− | $("#interactImages").append('\
| |
− | <div class="instagramBlock">\
| |
− | <img src="'+imagePath+'" />\
| |
− | </div>'
| |
− | );
| |
− | }
| |
− | },*/
| |
− |
| |
− | loadPage: function(url){
| |
− | //dont animate page transition if website was just loaded/reloaded
| |
− | if(this.defaults.pageLoaded !== false)
| |
− | this.animatePageTransition();
| |
− |
| |
− | var $this = this;
| |
− |
| |
− |
| |
− | if(url.length == 0){
| |
− | url = this.getPath(false);
| |
− | url = url.join("/");
| |
− | }
| |
− |
| |
− | url = url.replace(/\/$/, "");
| |
− |
| |
− | $.ajax({
| |
− | "url": "/"+this.defaults.pagesDir+"/"+url+".html",
| |
− | "dataType": "html",
| |
− | success: function(response){
| |
− | setTimeout(function(){
| |
− | $this.defaults.contentWrapper.html(response);
| |
− |
| |
− | if($this.defaults.url == "project"){
| |
− | var lastChild = 2;
| |
− |
| |
− | //global temperature slider
| |
− | $("#tempSlider").slider({
| |
− | min: 2,
| |
− | max: 5,
| |
− | slide: function(event, ui){
| |
− | var child = ui.value;
| |
− |
| |
− | $("#globalTemp .timeSeriesImage:nth-child("+lastChild+")").removeClass("currentSeriesImage");
| |
− | $("#globalTemp .timeSeriesImage:nth-child("+child+")").addClass("currentSeriesImage");
| |
− | var year = $("#globalTemp .timeSeriesImage:nth-child("+child+")").attr("title");
| |
− |
| |
− | //idk why but it goes undefined so we gotta do an extra check
| |
− | if(child == 2){
| |
− | year = "1884";
| |
− | }
| |
− |
| |
− | $("#tempHeader > #rightCol").text(year);
| |
− | lastChild = child;
| |
− | }
| |
− | });
| |
− | }
| |
− |
| |
− | //$this.renderHomePage();
| |
− | $this.resize();
| |
− | }, 500);
| |
− | },
| |
− | error: function(jqXHR){
| |
− | alert("Error page could not be loaded!");
| |
− | console.log(jqXHR);
| |
− | }
| |
− | });
| |
− | }
| |
− | };
| |
− |
| |
− | web.initialize();
| |
− |
| |
− | $(document).on("click", "#videoPlayImg", function(){
| |
− | $("#bannerVideo").css('opacity', 1).animate( { opacity: 0 }, 400).animate( { opacity: 1 }, 500);
| |
− | $("#videoOverlay").fadeOut("slow");
| |
− | $("#stopVideoButton").css("visibility","visible").fadeIn("slow");
| |
− |
| |
− | setTimeout(function(){
| |
− | document.getElementById("bannerVideo").play();
| |
− | }, 600);
| |
− | });
| |
− |
| |
− | $(document).on("click", "#stopVideoButton", function(){
| |
− | document.getElementById("bannerVideo").pause();
| |
− | $("#videoOverlay").fadeIn("slow");
| |
− | $("#stopVideoButton").fadeOut("slow");
| |
− | });
| |
− |
| |
− | $(document).on("click", "#introPlayVideoButton", function(){
| |
− | $('body, html').animate({ scrollTop: $("#bannerVideo").offset().top }, 600);
| |
− | $("#videoPlayImg").trigger("click");
| |
− | });
| |
− |
| |
− | //play the global temp gallery
| |
− | var playing = 0;
| |
− | var timer;
| |
− |
| |
− | function playGlobalTempGallery(){
| |
− | var element = $("#globalTemp").find(".currentSeriesImage");
| |
− | var childNum = $(".timeSeriesImage").index(element)+2;
| |
− |
| |
− | timer = setTimeout(function(){
| |
− |
| |
− | if(childNum < 5){
| |
− | $("#globalTemp .timeSeriesImage:nth-child("+childNum+")").removeClass("currentSeriesImage");
| |
− | $("#globalTemp .timeSeriesImage:nth-child("+(++childNum)+")").addClass("currentSeriesImage");
| |
− | $("#tempSlider").slider("value",$("#tempSlider").slider("value")+1);
| |
− | console.log("hug");
| |
− |
| |
− | var year = $("#globalTemp .timeSeriesImage:nth-child("+childNum+")").attr("title");
| |
− | $("#tempHeader > #rightCol").text(year);
| |
− |
| |
− | playGlobalTempGallery();
| |
− | }else{
| |
− | clearTimeout(timer);
| |
− |
| |
− | setTimeout(function(){
| |
− | $("#globalTemp .timeSeriesImage:nth-child("+childNum+")").removeClass("currentSeriesImage");
| |
− | $("#globalTemp .timeSeriesImage:nth-child(2)").addClass("currentSeriesImage");
| |
− | $("#tempSlider").slider("value",2);
| |
− | playing = 0;
| |
− | $("#playTemp").css("background-image","url(media/images/playTemp.png)");
| |
− | $("#tempHeader > #rightCol").text("1884");
| |
− | },1000);
| |
− | }
| |
− |
| |
− | }, 500)
| |
− | }
| |
− |
| |
− | $(document).on("click", "#playTemp", function(){
| |
− | if(playing == 0){
| |
− | playing = 1;
| |
− | $("#playTemp").css("background-image","url(media/images/pauseTemp.png)");
| |
− | playGlobalTempGallery();
| |
− | }else{
| |
− | clearTimeout(timer);
| |
− | playing = 0;
| |
− | $("#playTemp").css("background-image","url(media/images/playTemp.png)");
| |
− | }
| |
− | });
| |
− | });
| |
− | </script>
| |
− |
| |
− | <style>
| |
− | #content{
| |
− | width:100%;
| |
− | }
| |
− | #menuDisplay, #sideMenu, #top_title{
| |
− | display:none;
| |
− | }
| |
− | #content{
| |
− | margin:0px;
| |
− | padding:0px;
| |
− | }
| |
− | #globalWrapper{
| |
− | padding: 0px;
| |
− | }
| |
− | html, body, div, span, object, iframe,
| |
− | h1, h2, h3, h4, h5, h6, p, blockquote, pre,
| |
− | abbr, address, cite, code,
| |
− | del, dfn, em, img, ins, kbd, q, samp,
| |
− | small, strong, sub, sup, var,
| |
− | b, i,
| |
− | dl, dt, dd, ol, ul, li,
| |
− | fieldset, form, label, legend,
| |
− | table, caption, tbody, tfoot, thead, tr, th, td,
| |
− | article, aside, canvas, details, figcaption, figure,
| |
− | footer, header, hgroup, menu, nav, section, summary,
| |
− | time, mark, audio, video {
| |
− | margin:0;
| |
− | padding:0;
| |
− | border:0;
| |
− | outline:0;
| |
− | font-size:100%;
| |
− | vertical-align:baseline;
| |
− | background:transparent;
| |
− | }
| |
− |
| |
− | nav, ul {
| |
− | list-style:none;
| |
− | }
| |
− |
| |
− | html, body{
| |
− | height: 100%;
| |
− | }
| |
− |
| |
− | ::-webkit-input-placeholder{color:#7AB8C5; font-size: 12px; letter-spacing: 2px; line-height: 14px; text-transform: uppercase; font-family: 'terminus';}
| |
− | ::-moz-placeholder{color:#7AB8C5; font-size: 12px; letter-spacing: 2px; line-height: 14px; text-transform: uppercase; font-family: 'terminus';}
| |
− | :-ms-input-placeholder{color:#7AB8C5; font-size: 12px; letter-spacing: 2px; line-height: 14px; text-transform: uppercase; font-family: 'terminus';}
| |
− | input:focus{ outline: none; }
| |
− | input{
| |
− | padding: 5px 1%;
| |
− | background: #0C373E;
| |
− | border: 1px solid #214F58;
| |
− | color:#7AB8C5; font-size: 12px; letter-spacing: 2px; line-height: 14px; text-transform: uppercase; font-family: 'terminus'; }
| |
− |
| |
− | body{}
| |
− |
| |
− | a, body{
| |
− | font-smooth: never;
| |
− | -webkit-font-smoothing: none;
| |
− | font-size: 11px;
| |
− | letter-spacing: 1px;
| |
− | line-height: 18px;
| |
− | text-decoration: none;
| |
− |
| |
− | }
| |
− | a:hover{
| |
− | text-decoration: none;
| |
− | }
| |
− |
| |
− | *.unselectable {
| |
− | -moz-user-select: none;
| |
− | -khtml-user-select: none;
| |
− | -webkit-user-select: none;
| |
− | -ms-user-select: none;
| |
− | user-select: none;
| |
− | }
| |
− |
| |
− | body{
| |
− | font-family: "Proxima Nova","proxima-nova","Helvetica Neue",Helvetica,Arial,sans-serif;
| |
− | overflow-x:hidden;
| |
− | color: #444;
| |
− | }
| |
− |
| |
− | a{
| |
− | color: #4444ff;
| |
− | }
| |
− |
| |
− | a:hover{
| |
− | text-decoration: underline;
| |
− | }
| |
− |
| |
− | *, *:after, *:before {
| |
− | -webkit-box-sizing: border-box;
| |
− | -moz-box-sizing: border-box;
| |
− | box-sizing: border-box;
| |
− | }
| |
− |
| |
− | .showFullSizeImage{
| |
− | cursor: pointer;
| |
− | }
| |
− |
| |
− | .imageTextWrap{
| |
− | float: right;
| |
− | margin: 5px;
| |
− | }
| |
− |
| |
− | .centerMiddle{
| |
− | margin: auto;
| |
− | display: block;
| |
− | }
| |
− |
| |
− | .italics{
| |
− | font-style: italic;
| |
− | }
| |
− |
| |
− | .underline{
| |
− | text-decoration: underline;
| |
− | }
| |
− |
| |
− | .centerTextMiddle{
| |
− | text-align: center;
| |
− | }
| |
− |
| |
− | /* Content Wrapper */
| |
− | #container{
| |
− |
| |
− | }
| |
− | #contentWrapper{
| |
− | margin: auto;
| |
− | }
| |
− |
| |
− | /* Header menu */
| |
− | #menu{ width:100%; border-bottom: solid 1px rgb(169,169,169); }
| |
− |
| |
− | #menu > ul {
| |
− | width:950px;
| |
− | margin:0 auto 0;
| |
− | height: 73px;
| |
− | }
| |
− | #menu > ul > li{
| |
− | color: rgb(140,154,161);
| |
− | list-style-type: none;
| |
− | display: inline-block;
| |
− | width: 100px;
| |
− | text-align: center;
| |
− | cursor: pointer;
| |
− | height: 100%;
| |
− | vertical-align: middle;
| |
− | position: relative;
| |
− | }
| |
− | #menu > ul > li:hover{
| |
− | color:rgb(64,64,64);
| |
− | background-color:rgb(240,240,240);
| |
− | }
| |
− | #logoWrapper:hover{
| |
− | background-color: transparent !important;
| |
− | cursor: default;
| |
− | }
| |
− | #menu li:hover .subMenu{ display: block; }
| |
− | #menu li > a{
| |
− | line-height:70px;
| |
− | text-decoration: none;
| |
− | color: rgb(140,154,161);
| |
− | display: block;
| |
− | font-size: 16px;
| |
− | display: table;
| |
− | height: 100%;
| |
− | width: 100%;
| |
− | }
| |
− | #logo{
| |
− | width: 62px;
| |
− | height: 62px;
| |
− | background-image: url("https://static.igem.org/mediawiki/2016/9/92/T--NRP-UEA-Norwich--logo.png");
| |
− | background-size: 62px 62px;
| |
− | background-repeat: no-repeat;
| |
− | display: block !important;
| |
− | margin: 5px auto;
| |
− | }
| |
− | .subMenu{
| |
− | position: absolute;
| |
− | background: #fff;
| |
− | width: 100%;
| |
− | text-align: left;
| |
− | top: 70px;
| |
− | display: none;
| |
− | z-index: 3;
| |
− | }
| |
− | .subMenu li a{
| |
− | padding: 3px 6px;
| |
− | border-bottom: 1px solid;
| |
− | font-size: 13px !important;
| |
− | }
| |
− | .subMenu li a:hover{ background-color: #f0f0f0; }
| |
− | #menu li div{
| |
− | display: table-cell;
| |
− | vertical-align: middle;
| |
− | line-height: 16px;
| |
− | }
| |
− |
| |
− | /* Home Page */
| |
− | #video{
| |
− | margin-top: -3px;
| |
− | position:relative;
| |
− | z-index:0;
| |
− | }
| |
− | #video video{
| |
− | width: 100%;
| |
− | }
| |
− |
| |
− | #videoOverlay{
| |
− | width: 600px;
| |
− | height: 400px;
| |
− | position: absolute;
| |
− | z-index: 1;
| |
− | color: white;
| |
− | left: 0;
| |
− | right: 0;
| |
− | top: 0;
| |
− | bottom: 0;
| |
− | margin: auto;
| |
− | text-align:center;
| |
− | text-transform:uppercase;
| |
− | line-height:60px;
| |
− | -webkit-transition: transform 0.3s ease-in-out;
| |
− | visibility:visible;
| |
− | }
| |
− | #videoOverlay:hover{
| |
− | transform: scale(1.1);
| |
− | }
| |
− | #videoOverlay > p{
| |
− | font-size:60px;
| |
− | }
| |
− | #videoOverlay > span{
| |
− | font-size:30px;
| |
− | }
| |
− | #videoOverlay > img{
| |
− | width:200px;
| |
− | height:200px;
| |
− | background-color:grey;
| |
− | }
| |
− | #videoPlayImg{
| |
− | width:200px;
| |
− | height:200px;
| |
− | background-image:url("../images/playButton.png");
| |
− | background-size:contain;
| |
− | cursor:pointer;
| |
− | margin:0 auto;
| |
− | }
| |
− | #stopVideoButton{
| |
− | width:64px;
| |
− | height:64px;
| |
− | background-image:url("../images/stopVideo.png");
| |
− | background-size:contain;
| |
− | position:absolute;
| |
− | bottom:80px;
| |
− | left:0;
| |
− | right:0;
| |
− | margin:0 auto;
| |
− | cursor:pointer;
| |
− | -webkit-transition: transform 0.3s ease-in-out;
| |
− | visibility:hidden;
| |
− | }
| |
− | #stopVideoButton:hover{
| |
− | transform: scale(1.2);
| |
− | }
| |
− |
| |
− | .pageSection{
| |
− | position: relative;
| |
− | min-height: 410px;
| |
− | }
| |
− |
| |
− | #introductionContainer{
| |
− | width:100%;
| |
− | margin:0 auto;
| |
− | text-align:center;
| |
− | font-family: "Proxima Nova","proxima-nova","Helvetica Neue",Helvetica,Arial,sans-serif;
| |
− | font-size:21px;
| |
− | margin-top: -5px;
| |
− | margin-bottom:-65px;
| |
− | background: #fff;
| |
− | }
| |
− |
| |
− | #introductionContainer > span{
| |
− | color: #777;
| |
− | display: inline-block;
| |
− | margin-top: 60px;
| |
− | line-height: 25px;
| |
− | width:780px;
| |
− | }
| |
− |
| |
− | #introductionContainer > span > strong{
| |
− | line-height: 52px;
| |
− | font-size: 24px;
| |
− | }
| |
− | #introPlayVideoButton{
| |
− | width: 460px;
| |
− | padding: 15px;
| |
− | border-radius: 5px;
| |
− | color: white;
| |
− | background-color: #2b78ea;
| |
− | margin: 80px auto;
| |
− | cursor:pointer;
| |
− | }
| |
− | #introPlayVideoButton:hover{
| |
− | background-color:#056fbc;
| |
− | }
| |
− |
| |
− | #learnAboutContainer{
| |
− | border-top: 1px solid #d0d0d6;
| |
− | border-bottom: 1px solid #d0d0d6;
| |
− | background-color: #f3f3f3;
| |
− | margin-top: -3px;
| |
− | }
| |
− | .learnAboutInnerWrapper{
| |
− | width: 1000px;
| |
− | margin:3px auto;
| |
− | }
| |
− | #learnWrapper{
| |
− | text-align: center;
| |
− | padding-bottom: 20px;
| |
− | }
| |
− | .pageSection:before{
| |
− | position: absolute;
| |
− | content: '';
| |
− | border-left: 20px solid transparent;
| |
− | border-right: 20px solid transparent;
| |
− | border-top: 20px solid #739ede;
| |
− | width: 300px;
| |
− | left: 50%;
| |
− | margin-left: -150px;
| |
− | top: 0px;
| |
− | z-index: 1;
| |
− | }
| |
− | .pageSection h2{
| |
− | text-align: center;
| |
− | font-size: 18px;
| |
− | text-transform: uppercase;
| |
− | padding: 40px 0px 4px;
| |
− | letter-spacing: 2px;
| |
− | border-bottom: 1px solid #b7afaf;
| |
− | width: 500px;
| |
− | margin: 0 auto 30px;
| |
− | position: relative;
| |
− | z-index: 2;
| |
− | }
| |
− | .learnSection {
| |
− | width: 314px;
| |
− | height: 200px;
| |
− | background: url(../images/learn.png);
| |
− | background-size:contain;
| |
− | display: inline-block;
| |
− | margin: 0px 7px 16px 7px;
| |
− | cursor:pointer;
| |
− | -webkit-transition: transform 0.3s ease-in-out;
| |
− | }
| |
− | .learnSection:hover{
| |
− | transform: scale(1.1);
| |
− | }
| |
− | #interactContainer{
| |
− | width: 100%;
| |
− | margin: auto;
| |
− | display:inline-block;
| |
− | }
| |
− | .interactSocial{
| |
− | width: 1000px;
| |
− | margin: -20px auto 20px;
| |
− | overflow: hidden;
| |
− | }
| |
− | .interactIcon{
| |
− | display: inline-block;
| |
− | float: left;
| |
− | }
| |
− | .interactIcon:nth-child(1){
| |
− | position: absolute !important;
| |
− | left: 50%;
| |
− | margin-left: -42px;
| |
− | }
| |
− | .interactIcon:last-child{
| |
− | float: right !important;
| |
− | }
| |
− | .interactIcon .icon{
| |
− | display: inline-block;
| |
− | width: 40px;
| |
− | height: 40px;
| |
− | vertical-align: top;
| |
− | background-size: 100% !important;
| |
− | }
| |
− | .interactIcon .name{
| |
− | display: inline-block;
| |
− | font-weight: bold;
| |
− | margin-top: 10px;
| |
− | font-size: 13px;
| |
− | }
| |
− | .interactIcon .icon.facebook{ background: url("../images/interact/facebook.svg"); }
| |
− | .interactIcon .icon.twitter{ background: url("../images/interact/twitter.svg"); }
| |
− | .interactIcon .icon.instagram{ background: url("../images/interact/instagram.svg"); }
| |
− | #interactImages{
| |
− | background-image: url('../images/socBanner.png');
| |
− | height: 400px;
| |
− | width: 100%;
| |
− | background-size: cover;
| |
− | }
| |
− | .interactFiler{
| |
− | width: 100%;
| |
− | background: #3b6f8b;
| |
− | position: absolute;
| |
− | top: 133px;
| |
− | opacity: 0.6;
| |
− | z-index: 1;
| |
− | bottom: 0;
| |
− | }
| |
− | #socMsg{
| |
− | background-image: url('../images/checkUsOut.png');
| |
− | background-size: contain;
| |
− | width: 1000px;
| |
− | height: 100px;
| |
− | margin: 150px auto;
| |
− | left:0;
| |
− | right:0;
| |
− | position:absolute;
| |
− | z-index:3;
| |
− | }
| |
− | .instagramBlock{
| |
− | float: left;
| |
− | width: 180px;
| |
− | }
| |
− | .instagramBlock img{
| |
− | width: 100%;
| |
− | }
| |
− |
| |
− | /* Team */
| |
− | #teamSection{
| |
− | width: 1000px;
| |
− | margin: auto;
| |
− | }
| |
− | .team{
| |
− | text-align: center;
| |
− | position: relative;
| |
− | }
| |
− | .teamShowMore{
| |
− | width: 107px;
| |
− | height: 100px;
| |
− | background-size: 100%;
| |
− | background-image: url(../images/arrow_left.svg);
| |
− | position: fixed;
| |
− | top: 50%;
| |
− | margin-top: -50px;
| |
− | cursor: pointer;
| |
− | z-index: 3;
| |
− | }
| |
− | .teamShowMore.active{ background-image: url(../images/arrow_right.svg); }
| |
− | #teamSupervisors{
| |
− | position: fixed;
| |
− | right: -1000px; /* IMPORTANT must be negative of its own width */
| |
− | background: #fff;
| |
− | width: 1000px;
| |
− | z-index: 3;
| |
− | border: 1px solid #ccc;
| |
− | display: none;
| |
− | top: 50%;
| |
− | height: 577px;
| |
− | border-radius: 30px;
| |
− | }
| |
− | #teamSupervisors li{
| |
− | position: absolute;
| |
− | width: 56%;
| |
− | padding: 10px;
| |
− | text-align: center;
| |
− | }
| |
− | #teamSupervisors li:nth-child(1){ top: 350px; }
| |
− | #teamSupervisors li:last-child .leftCol{ float: right !important; }
| |
− | #teamSupervisors li:last-child .description{ float: left !important; }
| |
− | #teamSupervisors li:last-child{
| |
− | top: 200px;
| |
− | right: 0px;
| |
− | }
| |
− | #teamSupervisors li .leftCol{
| |
− | float: left;
| |
− | width: 50%;
| |
− | }
| |
− | #teamSupervisors li .description{
| |
− | float: right;
| |
− | width: 50%;
| |
− | }
| |
− | .team li{
| |
− | width: 28%;
| |
− | display: inline-block;
| |
− | margin-bottom: 160px;
| |
− | vertical-align: top;
| |
− | margin: 0 2% 70px 2%;
| |
− | }
| |
− | .teamImage, #teamSupervisors .teamImage{
| |
− | border-radius: 100%;
| |
− | overflow: hidden;
| |
− | width: 180px;
| |
− | height: 180px;
| |
− | margin: auto;
| |
− | }
| |
− | .teamImage img, #teamSupervisors img{
| |
− | width: 100%;
| |
− | margin-top:-15px;
| |
− | }
| |
− | .team .name, #teamSupervisors .name{
| |
− | font-size: 18px;
| |
− | color: #000;
| |
− | margin: 10px 0 10px;
| |
− | }
| |
− | .team .position, #teamSupervisors .position{
| |
− | font-size: 13px;
| |
− | color: #777676;
| |
− | }
| |
− | .team .description, #teamSupervisors .description{
| |
− | font-size: 12px;
| |
− | letter-spacing: 0px;
| |
− | margin-top: 20px;
| |
− | }
| |
− |
| |
− | #teamIntro{
| |
− | width:800px;
| |
− | margin:0 auto;
| |
− | font-size:21px;
| |
− | background: #fff;
| |
− | border-bottom: 1px solid #d0d0d6;
| |
− | font-size: 13px;
| |
− | color: #777;
| |
− | line-height: 25px;
| |
− | }
| |
− |
| |
− | #teamHello{
| |
− | font-size: 50px;
| |
− | margin-top: 60px;
| |
− | color: #2f6fce;
| |
− | }
| |
− |
| |
− | .HL{
| |
− | font-weight:bold;
| |
− | color:#2f6fce;
| |
− | }
| |
− |
| |
− | .legend{
| |
− | color:#966b6b !important;
| |
− | margin-top: -35px !important;
| |
− | padding-bottom: 55px;
| |
− | font-style: italic;
| |
− | font-size: 14px;
| |
− | width: 650px !important;
| |
− | line-height:0px;
| |
− | }
| |
− | .rubic{
| |
− | background: url(../images/rubic.png);
| |
− | width: 36px;
| |
− | height: 36px;
| |
− | vertical-align: top;
| |
− | }
| |
− |
| |
− | .lightBulb{
| |
− | background: url(../images/light_bulb.png);
| |
− | width: 27px;
| |
− | height: 32px;
| |
− | vertical-align: top;
| |
− | }
| |
− |
| |
− | .electricity_graph{
| |
− | display: block;
| |
− | margin: auto;
| |
− | }
| |
− |
| |
− | .project_fig_three{
| |
− | width: 180px;
| |
− | float: right;
| |
− | margin-top: 10px;
| |
− | margin-left: 60px;
| |
− | }
| |
− |
| |
− | .timeIcon{
| |
− | background: url(../images/clock.png);
| |
− | width: 32px;
| |
− | height: 32px;
| |
− | vertical-align: top;
| |
− | }
| |
− |
| |
− | .subTitle{
| |
− | font-size: 12px;
| |
− | font-weight: bold;
| |
− | margin-top: 8px;
| |
− | margin-bottom: 20px;
| |
− | color: #222223;
| |
− | }
| |
− |
| |
− | .timeTitle{
| |
− | margin-top: 4px;
| |
− | margin-left: 5px;
| |
− | }
| |
− |
| |
− | /* Sponsors */
| |
− | #sponContainer{
| |
− | margin-top: -1px;
| |
− | border-top: 1px solid #d0d0d6;
| |
− | z-index: 0;
| |
− | }
| |
− |
| |
− | /* Footer */
| |
− |
| |
− | #footer{
| |
− | width: 100%;
| |
− | height: 120px;
| |
− | background-color: #2F4F4F;
| |
− | text-align: center;
| |
− | font-size: 10px;
| |
− | color: #fff;
| |
− | letter-spacing: 2px;
| |
− | text-transform: uppercase;
| |
− | padding-top: 10px;
| |
− | }
| |
− | .footerInnerWrapper{
| |
− | width: 1000px;
| |
− | margin: auto;
| |
− | }
| |
− | .footerLeft{
| |
− | float: left;
| |
− | margin-top: 10px;
| |
− | text-align: left;
| |
− | }
| |
− | .footerRight{
| |
− | float: right;
| |
− | margin-top: 10px;
| |
− | text-align: right;
| |
− | }
| |
− | .footerRow{
| |
− | margin-bottom: 5px;
| |
− | cursor: pointer;
| |
− | }
| |
− | .footerRow:hover, .footerRow a:hover{
| |
− | color: #22ffad;
| |
− | text-decoration: underline;
| |
− | }
| |
− | .footerRow span{
| |
− | display: inline-block;
| |
− | line-height: 30px;
| |
− | margin-left: #22ffad;
| |
− | }
| |
− | .footerRow a{
| |
− | color: #fff;
| |
− | }
| |
− | .footerIcon{
| |
− | width: 30px;
| |
− | height: 30px;
| |
− | display: inline-block;
| |
− | vertical-align: top;
| |
− | }
| |
− | .footerIcon.twitter{
| |
− | background: url(../images/twitter.svg);
| |
− | }
| |
− | .footerIcon.facebook{
| |
− | background: url(../images/facebook.svg);
| |
− | }
| |
− |
| |
− | /*Page transition */
| |
− | #block1{
| |
− | background-color:#767FEA;
| |
− | position:fixed;
| |
− | z-index:4;
| |
− | }
| |
− | #block2{
| |
− | background-color:#DBE0DF;
| |
− | position:fixed;
| |
− | z-index:4;
| |
− | }
| |
− | .pageTransition{
| |
− | width: 100%;
| |
− | }
| |
− | .pageTransitionAnimate{
| |
− | bottom: 0px !important;
| |
− | left: 0px !important;
| |
− | top: auto !important;
| |
− | }
| |
− |
| |
− | .pageBanner{
| |
− | width:100%;
| |
− | height:550px;
| |
− | -webkit-background-size: cover;
| |
− | -moz-background-size: cover;
| |
− | -o-background-size: cover;
| |
− | background-size: cover;
| |
− | }
| |
− |
| |
− | .cd-container {
| |
− | /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
| |
− | width: 90%;
| |
− | max-width: 1170px;
| |
− | margin: 0 auto;
| |
− | }
| |
− | .cd-container::after {
| |
− | /* clearfix */
| |
− | content: '';
| |
− | display: table;
| |
− | clear: both;
| |
− | }
| |
− |
| |
− | .clear{
| |
− | clear: left;
| |
− | }
| |
− |
| |
− | .bold{
| |
− | font-weight: bold;
| |
− | color: #000;
| |
− | }
| |
− |
| |
− | /* --------------------------------
| |
− |
| |
− | Main components
| |
− |
| |
− | -------------------------------- */
| |
− | header {
| |
− | height: 200px;
| |
− | line-height: 200px;
| |
− | text-align: center;
| |
− | background: #303e49;
| |
− | }
| |
− | header h1 {
| |
− | color: white;
| |
− | font-size: 18px;
| |
− | font-size: 1.125rem;
| |
− | }
| |
− | @media only screen and (min-width: 1170px) {
| |
− | header {
| |
− | height: 300px;
| |
− | line-height: 300px;
| |
− | }
| |
− | header h1 {
| |
− | font-size: 24px;
| |
− | font-size: 1.5rem;
| |
− | }
| |
− | }
| |
− |
| |
− | #cd-timeline {
| |
− | position: relative;
| |
− | padding: 2em 0;
| |
− | margin-top: 2em;
| |
− | margin-bottom: 2em;
| |
− | }
| |
− | #cd-timeline::before {
| |
− | /* this is the vertical line */
| |
− | content: '';
| |
− | position: absolute;
| |
− | top: 0;
| |
− | left: 18px;
| |
− | height: 100%;
| |
− | width: 4px;
| |
− | background: #d7e4ed;
| |
− | }
| |
− | @media only screen and (min-width: 1170px) {
| |
− | #cd-timeline {
| |
− | margin-top: 3em;
| |
− | margin-bottom: 3em;
| |
− | }
| |
− | #cd-timeline::before {
| |
− | left: 50%;
| |
− | margin-left: -2px;
| |
− | }
| |
− | }
| |
− |
| |
− | .cd-timeline-block {
| |
− | position: relative;
| |
− | margin: 2em 0;
| |
− | }
| |
− | .cd-timeline-block:after {
| |
− | content: "";
| |
− | display: table;
| |
− | clear: both;
| |
− | }
| |
− | .cd-timeline-block:first-child {
| |
− | margin-top: 0;
| |
− | }
| |
− | .cd-timeline-block:last-child {
| |
− | margin-bottom: 0;
| |
− | }
| |
− | @media only screen and (min-width: 1170px) {
| |
− | .cd-timeline-block {
| |
− | margin: 4em 0;
| |
− | }
| |
− | .cd-timeline-block:first-child {
| |
− | margin-top: 0;
| |
− | }
| |
− | .cd-timeline-block:last-child {
| |
− | margin-bottom: 0;
| |
− | }
| |
− | }
| |
− |
| |
− | .cd-timeline-img {
| |
− | position: absolute;
| |
− | top: 0;
| |
− | left: 0;
| |
− | width: 40px;
| |
− | height: 40px;
| |
− | border-radius: 50%;
| |
− | box-shadow: 0 0 0 4px white, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
| |
− | }
| |
− | .cd-timeline-img img {
| |
− | display: block;
| |
− | width: 24px;
| |
− | height: 24px;
| |
− | position: relative;
| |
− | left: 50%;
| |
− | top: 50%;
| |
− | margin-left: -12px;
| |
− | margin-top: -12px;
| |
− | }
| |
− | .cd-timeline-img.cd-picture {
| |
− | background: #f9f9f9;
| |
− | }
| |
− | .cd-timeline-img.cd-movie {
| |
− | background: #c03b44;
| |
− | }
| |
− | .cd-timeline-img.cd-location {
| |
− | background: #f0ca45;
| |
− | }
| |
− | @media only screen and (min-width: 1170px) {
| |
− | .cd-timeline-img {
| |
− | width: 60px;
| |
− | height: 60px;
| |
− | left: 50%;
| |
− | margin-left: -30px;
| |
− | /* Force Hardware Acceleration in WebKit */
| |
− | -webkit-transform: translateZ(0);
| |
− | -webkit-backface-visibility: hidden;
| |
− | }
| |
− | .cssanimations .cd-timeline-img.is-hidden {
| |
− | visibility: hidden;
| |
− | }
| |
− | .cssanimations .cd-timeline-img.bounce-in {
| |
− | visibility: visible;
| |
− | -webkit-animation: cd-bounce-1 0.6s;
| |
− | -moz-animation: cd-bounce-1 0.6s;
| |
− | animation: cd-bounce-1 0.6s;
| |
− | }
| |
− | }
| |
− |
| |
− | @-webkit-keyframes cd-bounce-1 {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: scale(0.5);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | opacity: 1;
| |
− | -webkit-transform: scale(1.2);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: scale(1);
| |
− | }
| |
− | }
| |
− | @-moz-keyframes cd-bounce-1 {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -moz-transform: scale(0.5);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | opacity: 1;
| |
− | -moz-transform: scale(1.2);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -moz-transform: scale(1);
| |
− | }
| |
− | }
| |
− | @keyframes cd-bounce-1 {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: scale(0.5);
| |
− | -moz-transform: scale(0.5);
| |
− | -ms-transform: scale(0.5);
| |
− | -o-transform: scale(0.5);
| |
− | transform: scale(0.5);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | opacity: 1;
| |
− | -webkit-transform: scale(1.2);
| |
− | -moz-transform: scale(1.2);
| |
− | -ms-transform: scale(1.2);
| |
− | -o-transform: scale(1.2);
| |
− | transform: scale(1.2);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: scale(1);
| |
− | -moz-transform: scale(1);
| |
− | -ms-transform: scale(1);
| |
− | -o-transform: scale(1);
| |
− | transform: scale(1);
| |
− | }
| |
− | }
| |
− | .cd-timeline-content {
| |
− | position: relative;
| |
− | margin-left: 60px;
| |
− | background: white;
| |
− | border-radius: 0.25em;
| |
− | padding: 1em;
| |
− | box-shadow: 0 3px 0 #d7e4ed;
| |
− | }
| |
− | .cd-timeline-content:after {
| |
− | content: "";
| |
− | display: table;
| |
− | clear: both;
| |
− | }
| |
− | .cd-timeline-content h2 {
| |
− | color: #303e49;
| |
− | }
| |
− | .cd-timeline-content p, .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
| |
− | font-size: 13px;
| |
− | font-size: 0.8125rem;
| |
− | }
| |
− | .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
| |
− | display: inline-block;
| |
− | }
| |
− | .cd-timeline-content p {
| |
− | margin: 1em 0;
| |
− | line-height: 1.6;
| |
− | }
| |
− | .cd-timeline-content .cd-read-more {
| |
− | float: right;
| |
− | padding: .8em 1em;
| |
− | background: #acb7c0;
| |
− | color: white;
| |
− | border-radius: 0.25em;
| |
− | }
| |
− | .no-touch .cd-timeline-content .cd-read-more:hover {
| |
− | background-color: #bac4cb;
| |
− | }
| |
− | .cd-timeline-content .cd-date {
| |
− | float: left;
| |
− | padding: .8em 0;
| |
− | opacity: .7;
| |
− | }
| |
− | .cd-timeline-content::before {
| |
− | content: '';
| |
− | position: absolute;
| |
− | top: 16px;
| |
− | right: 100%;
| |
− | height: 0;
| |
− | width: 0;
| |
− | border: 7px solid transparent;
| |
− | border-right: 7px solid white;
| |
− | }
| |
− | @media only screen and (min-width: 768px) {
| |
− | .cd-timeline-content h2 {
| |
− | font-size: 20px;
| |
− | font-size: 1.25rem;
| |
− | }
| |
− | .cd-timeline-content p {
| |
− | font-size: 16px;
| |
− | font-size: 1rem;
| |
− | }
| |
− | .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
| |
− | font-size: 14px;
| |
− | font-size: 0.875rem;
| |
− | }
| |
− | }
| |
− | @media only screen and (min-width: 1170px) {
| |
− | .cd-timeline-content {
| |
− | margin-left: 0;
| |
− | padding: 1.6em;
| |
− | width: 45%;
| |
− | }
| |
− | .cd-timeline-content::before {
| |
− | top: 24px;
| |
− | left: 100%;
| |
− | border-color: transparent;
| |
− | border-left-color: white;
| |
− | }
| |
− | .cd-timeline-content .cd-read-more {
| |
− | float: left;
| |
− | }
| |
− | .cd-timeline-content .cd-date {
| |
− | position: absolute;
| |
− | width: 100%;
| |
− | left: 80%;
| |
− | top: 6px;
| |
− | font-size: 16px;
| |
− | font-size: 1rem;
| |
− | }
| |
− | .cd-timeline-block:nth-child(even) .cd-timeline-content {
| |
− | float: right;
| |
− | }
| |
− | .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
| |
− | top: 24px;
| |
− | left: auto;
| |
− | right: 100%;
| |
− | border-color: transparent;
| |
− | border-right-color: white;
| |
− | }
| |
− | .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
| |
− | float: right;
| |
− | }
| |
− | .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
| |
− | left: auto;
| |
− | right: 122%;
| |
− | text-align: right;
| |
− | }
| |
− | .cssanimations .cd-timeline-content.is-hidden {
| |
− | visibility: hidden;
| |
− | }
| |
− | .cssanimations .cd-timeline-content.bounce-in {
| |
− | visibility: visible;
| |
− | -webkit-animation: cd-bounce-2 0.6s;
| |
− | -moz-animation: cd-bounce-2 0.6s;
| |
− | animation: cd-bounce-2 0.6s;
| |
− | }
| |
− | }
| |
− |
| |
− | @media only screen and (min-width: 1170px) {
| |
− | /* inverse bounce effect on even content blocks */
| |
− | .cssanimations .cd-timeline-block:nth-child(even) .cd-timeline-content.bounce-in {
| |
− | -webkit-animation: cd-bounce-2-inverse 0.6s;
| |
− | -moz-animation: cd-bounce-2-inverse 0.6s;
| |
− | animation: cd-bounce-2-inverse 0.6s;
| |
− | }
| |
− | }
| |
− | @-webkit-keyframes cd-bounce-2 {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-100px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0);
| |
− | }
| |
− | }
| |
− | @-moz-keyframes cd-bounce-2 {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -moz-transform: translateX(-100px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | opacity: 1;
| |
− | -moz-transform: translateX(20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -moz-transform: translateX(0);
| |
− | }
| |
− | }
| |
− | @keyframes cd-bounce-2 {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(-100px);
| |
− | -moz-transform: translateX(-100px);
| |
− | -ms-transform: translateX(-100px);
| |
− | -o-transform: translateX(-100px);
| |
− | transform: translateX(-100px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(20px);
| |
− | -moz-transform: translateX(20px);
| |
− | -ms-transform: translateX(20px);
| |
− | -o-transform: translateX(20px);
| |
− | transform: translateX(20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0);
| |
− | -moz-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | -o-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− | @-webkit-keyframes cd-bounce-2-inverse {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(100px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(-20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0);
| |
− | }
| |
− | }
| |
− | @-moz-keyframes cd-bounce-2-inverse {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -moz-transform: translateX(100px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | opacity: 1;
| |
− | -moz-transform: translateX(-20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -moz-transform: translateX(0);
| |
− | }
| |
− | }
| |
− | @keyframes cd-bounce-2-inverse {
| |
− | 0% {
| |
− | opacity: 0;
| |
− | -webkit-transform: translateX(100px);
| |
− | -moz-transform: translateX(100px);
| |
− | -ms-transform: translateX(100px);
| |
− | -o-transform: translateX(100px);
| |
− | transform: translateX(100px);
| |
− | }
| |
− |
| |
− | 60% {
| |
− | opacity: 1;
| |
− | -webkit-transform: translateX(-20px);
| |
− | -moz-transform: translateX(-20px);
| |
− | -ms-transform: translateX(-20px);
| |
− | -o-transform: translateX(-20px);
| |
− | transform: translateX(-20px);
| |
− | }
| |
− |
| |
− | 100% {
| |
− | -webkit-transform: translateX(0);
| |
− | -moz-transform: translateX(0);
| |
− | -ms-transform: translateX(0);
| |
− | -o-transform: translateX(0);
| |
− | transform: translateX(0);
| |
− | }
| |
− | }
| |
− |
| |
− | #globalTemp{
| |
− | position:relative;
| |
− | width:720px;
| |
− | height:610px;
| |
− | margin: 0 auto;
| |
− | margin-bottom: 30px;
| |
− | }
| |
− |
| |
− | .timeSeriesImage{
| |
− | position:absolute;
| |
− | top:100px;
| |
− | left:0;
| |
− | width:100%;
| |
− | height:405px;
| |
− | visibility:hidden;
| |
− | }
| |
− |
| |
− | .currentSeriesImage{
| |
− | visibility:visible;
| |
− | }
| |
− |
| |
− | #changeSeriesImage{
| |
− | position:absolute;
| |
− | bottom:0;
| |
− | left:0;
| |
− | }
| |
− |
| |
− | #tempHeader > #leftCol{
| |
− | float: left;
| |
− | text-align: left;
| |
− | color: #c15a4f;
| |
− | font-weight: bold;
| |
− | font-size: 20px;
| |
− | display:inline-block;
| |
− | }
| |
− |
| |
− | #tempHeader > #leftCol > span{
| |
− | font-size: 10px;
| |
− | display: inline-block;
| |
− | color: #000;
| |
− | line-height: 14px;
| |
− | }
| |
− |
| |
− | #tempHeader > #rightCol{
| |
− | float: right;
| |
− | font-size: 20px;
| |
− | color: #0bbd9e;
| |
− | margin-top: 7px;
| |
− | }
| |
− |
| |
− | .time_series{
| |
− | text-align: center;
| |
− | margin-bottom: 36px;
| |
− | color: #000;
| |
− | font-weight: bold;
| |
− | font-size: 12px;
| |
− | margin-top: 30px;
| |
− | }
| |
− |
| |
− | #tempSlider{
| |
− | width: 530px;
| |
− | position: absolute;
| |
− | bottom: 3px;
| |
− | left: 115px;
| |
− | background-color: #c15a4f;
| |
− | height:10px;
| |
− | }
| |
− |
| |
− | .ui-slider-handle{
| |
− | border-radius: 100%;
| |
− | height: 25px;
| |
− | width: 25px;
| |
− | margin-top: -3px;
| |
− | border-color:#c15a4f !important;
| |
− | border-width:3px !important;
| |
− | cursor:move !important;
| |
− | }
| |
− |
| |
− | .ui-slider-handle:hover, .ui-slider-handle:active, .ui-state-active{
| |
− | background-color:white;
| |
− | }
| |
− |
| |
− | #playTemp{
| |
− | width: 30px;
| |
− | height: 30px;
| |
− | position: absolute;
| |
− | bottom: -6px;
| |
− | left: 6px;
| |
− | background-image: url(../images/playTemp.png);
| |
− | background-repeat: no-repeat;
| |
− | cursor: pointer;
| |
− | background-position: 50%;
| |
− | }
| |
− |
| |
− |
| |
− | #timeline{
| |
− | width: 1000px;
| |
− | margin: auto;
| |
− | position: relative;
| |
− | }
| |
− |
| |
− | .timeline_vline{
| |
− | position: relative;
| |
− | height: 100%;
| |
− | width: 3px;
| |
− | background-color: #ee4d4d;
| |
− | left: 50%;
| |
− | margin-left: -2px;
| |
− | padding-bottom: 130px;
| |
− | }
| |
− |
| |
− | .timeline_vline.active{
| |
− |
| |
− | }
| |
− |
| |
− | .timeline_bubble{
| |
− | width: 40px;
| |
− | height: 40px;
| |
− | background-color: #ee4d4d;
| |
− | margin: 0px 0px 60px -18px;
| |
− | border-radius: 33px;
| |
− | position: relative;
| |
− | background-image: url(../images/star.png);
| |
− | background-repeat: no-repeat;
| |
− | background-size: 18px;
| |
− | background-position: 11px 11px;
| |
− | }
| |
− |
| |
− |
| |
− | .timeline_event_header{
| |
− | background: #ee4d4d;
| |
− | position: absolute;
| |
− | left: 62px;
| |
− | top: 6px;
| |
− | color: #fff;
| |
− | border-radius: 4px;
| |
− | width: 150px;
| |
− | cursor: pointer;
| |
− | }
| |
− |
| |
− | .timeline_event_header_container{
| |
− | padding: 5px 10px;
| |
− | text-align: center;
| |
− | font-weight: bold;
| |
− | color: #fff;
| |
− | }
| |
− |
| |
− | .timeline_event_header:hover, .timeline_event_header.active{
| |
− | background-color: #00a4ff;
| |
− | }
| |
− |
| |
− | .timeline_event_header:hover:before, .timeline_event_header.active:before{
| |
− | border-right: 13px solid #00a4ff;
| |
− | }
| |
− |
| |
− | .timeline_bubble:nth-child(2n):hover .timeline_event_header:before,
| |
− | .timeline_bubble:nth-child(2n) .timeline_event_header.active:before{
| |
− | border-left: 13px solid #00a4ff;
| |
− | }
| |
− |
| |
− | .timeline_event_header.active .timeline_event_container{
| |
− | }
| |
− |
| |
− | .timeline_event_container{
| |
− | background-color: #fff;
| |
− | border: 1px solid #00a4ff;
| |
− | color: #777;
| |
− | cursor: auto;
| |
− | overflow: hidden;
| |
− | height: 0px;
| |
− | visibility: hidden;
| |
− | }
| |
− |
| |
− | .timeline_event_inner{
| |
− | padding: 8px 8px 20px;
| |
− | }
| |
− |
| |
− | .timeline_event_inner p{
| |
− | margin-bottom: 10px;
| |
− | }
| |
− |
| |
− | .close_timeline_event{
| |
− | width: 16px;
| |
− | height: 16px;
| |
− | background: url(../images/close_up.png);
| |
− | position: absolute;
| |
− | bottom: 4px;
| |
− | left: 50%;
| |
− | margin-left: -7px;
| |
− | cursor: pointer;
| |
− | }
| |
− |
| |
− | .timeline_event_inner img{
| |
− | max-width: 130px;
| |
− | float: right;
| |
− | margin-left: 10px;
| |
− | margin-bottom: 10px;
| |
− | }
| |
− |
| |
− | .timeline_event_header:before{
| |
− | width: 0;
| |
− | height: 0;
| |
− | border-top: 7px solid transparent;
| |
− | border-right: 13px solid #ee4d4d;
| |
− | border-bottom: 7px solid transparent;
| |
− | content: '';
| |
− | position: absolute;
| |
− | left: -13px;
| |
− | top: 6px;
| |
− | }
| |
− |
| |
− | .timeline_bubble:nth-child(2n) .timeline_event_header{
| |
− | left: auto;
| |
− | right: 62px;
| |
− | }
| |
− |
| |
− | .timeline_bubble:nth-child(2n) .timeline_event_header:before{
| |
− | border-right: 0px;
| |
− | border-left: 13px solid #ee4d4d;
| |
− | left: auto;
| |
− | right: -13px;
| |
− | }
| |
− |
| |
− | .displayInline{
| |
− | display: inline-block;
| |
− | }
| |
− |
| |
− | #showImage{
| |
− | width: 500px;
| |
− | padding: 20px;
| |
− | position: fixed;
| |
− | left: 50%;
| |
− | margin-left: -250px;
| |
− | background: #fff;
| |
− | z-index: 9999;
| |
− | top: 10%;
| |
− | border: 1px solid #ccc;
| |
− | border-radius: 5px;
| |
− | display: none;
| |
− | }
| |
− |
| |
− | #showImageBG{
| |
− | position: fixed;
| |
− | width: 100%;
| |
− | height: 100%;
| |
− | background: url(../images/transparent_bg.png);
| |
− | top: 0px;
| |
− | left: 0px;
| |
− | z-index: 999;
| |
− | display: none;
| |
− | }
| |
− |
| |
− | #closeImage{
| |
− | position: absolute;
| |
− | top: 5px;
| |
− | right: 5px;
| |
− | background: url(../images/close.png);
| |
− | width: 16px;
| |
− | height: 16px;
| |
− | cursor: pointer;
| |
− | }
| |
− |
| |
− | #showImage img{
| |
− | width: 100%;
| |
− | }
| |
− |
| |
− |
| |
− | .protocols{
| |
− | width: 900px;
| |
− | margin: auto;
| |
− | }
| |
− |
| |
− | .protocols_list{
| |
− | width: 200px;
| |
− | background: #716d6d;
| |
− | color: #fff;
| |
− | border-right: 6px solid #57c7f1;
| |
− | vertical-align: top;
| |
− | }
| |
− |
| |
− | .protocols_list li.active{
| |
− | background: #57c7f1;
| |
− | }
| |
− |
| |
− | .protocols_list li{
| |
− | padding: 11px 11px;
| |
− | font-size: 11px;
| |
− | font-weight: bold;
| |
− | border-bottom: 1px solid #565656;
| |
− | cursor: pointer;
| |
− | }
| |
− |
| |
− | .protocols_list li:hover{
| |
− | background: #57c7f1;
| |
− | }
| |
− |
| |
− | #protocolsSection{
| |
− | width: 680px;
| |
− | vertical-align: top;
| |
− | }
| |
− |
| |
− | #protocols_content{
| |
− | padding: 30px 0;
| |
− | }
| |
− |
| |
− | .protocols_sub_list{
| |
− | padding: 0 20px;
| |
− | }
| |
− |
| |
− | .protocols_sub_list li{
| |
− | padding: 10px 0px;
| |
− | }
| |
− |
| |
− | #protocols_sub_list_main > li{
| |
− | display: none;
| |
− | }
| |
− |
| |
− | #partsSection{
| |
− | width: 900px;
| |
− | margin: auto;
| |
− | }
| |
− |
| |
− | .tables{
| |
− | border: 1px solid #b7afaf;
| |
− | border-bottom: 0px;
| |
− | border-right: 0px;
| |
− | border-spacing: 0;
| |
− | margin-top: 20px;
| |
− | width: 100%;
| |
− | }
| |
− |
| |
− | .tables td, .tables th{
| |
− | border-bottom: 1px solid #b7afaf;
| |
− | border-right: 1px solid #b7afaf;
| |
− | text-align: center;
| |
− | padding: 5px;
| |
− | }
| |
− |
| |
− | .tables th{
| |
− | background: #e9f8ff;
| |
− | }
| |
− |
| |
− | #safetySection{
| |
− | width: 900px;
| |
− | margin: auto;
| |
− | }
| |
− |
| |
− | .safety_image{
| |
− | float: right;
| |
− | margin-left: 40px;
| |
− | }
| |
− |
| |
− | .safety_protocols_title{
| |
− | margin-top: 85px;
| |
− | }
| |
− |
| |
− | .safety_protocols{
| |
− | margin-left: 23px;
| |
− | margin-bottom: 30px;
| |
− | }
| |
− |
| |
− | .safety_lists{
| |
− | list-style: initial;
| |
− | margin-left: 12px;
| |
− | margin-bottom: 30px;
| |
− | }
| |
− |
| |
− | #attributions{
| |
− | width: 900px;
| |
− | margin: auto;
| |
− | }
| |
− |
| |
− | .attr_name{
| |
− | display: inline-block;
| |
− | width: 120px;
| |
− | font-weight: bold;
| |
− | color: #000;
| |
− | }
| |
− |
| |
− | .attr_name_title{
| |
− |
| |
− | }
| |
− |
| |
− | .attr_team li{
| |
− | padding-top: 6px;
| |
− | }
| |
− |
| |
− | .attr_team{
| |
− | float: left;
| |
− | width: 530px;
| |
− | margin-bottom: 30px;
| |
− | }
| |
− |
| |
− | .attr_team.rightCol {
| |
− | float: right;
| |
− | width: 500px;
| |
− | }
| |
− |
| |
− | .attr_team.rightCol .attr_name{
| |
− | float: right;
| |
− | text-align: right;
| |
− | }
| |
− |
| |
− | .attr_team.rightCol .attr_name_title{
| |
− | text-align: right;
| |
− | display: inline-block;
| |
− | width: 380px;
| |
− | }
| |
− |
| |
− | .attr_teamwork{
| |
− | background: url(../images/teamwork.png);
| |
− | width: 128px;
| |
− | height: 125px;
| |
− | margin-left: 20px;
| |
− | margin-bottom: 20px;
| |
− | }
| |
− |
| |
− | .attr_tech p{
| |
− | margin-bottom: 10px;
| |
− | }
| |
− |
| |
− | .attr_additionally{
| |
− | margin: 30px 0;
| |
− | }
| |
− |
| |
− | #virtual_list{
| |
− | list-style-type: disc;
| |
− | }
| |
− |
| |
− | #virtual_list a{
| |
− | display: inline-block;
| |
− | width: 70px;
| |
− | color: #0b28bd;
| |
− | }
| |
− |
| |
− | #virtual_list a:hover{
| |
− | text-decoration: underline;
| |
− | }
| |
− |
| |
− | #practice_section{
| |
− | width: 900px;
| |
− | margin: auto;
| |
− | }
| |
− |
| |
− | .practices_section img{
| |
− | max-width: 300px;
| |
− | vertical-align: top;
| |
− | }
| |
− |
| |
− | .practices_section{
| |
− | overflow: hidden;
| |
− | margin-bottom: 30px;
| |
− | }
| |
− |
| |
− | .practices_wrapper p{
| |
− | margin-bottom: 15px;
| |
− | }
| |
− |
| |
− | .practices_wrapper{
| |
− | margin-bottom: 30px;
| |
− | }
| |
− |
| |
− | .practices_button{
| |
− | position: absolute;
| |
− | color: #fff;
| |
− | border: 2px solid #fff;
| |
− | display: block;
| |
− | top: 50%;
| |
− | left: 50%;
| |
− | width: 130px;
| |
− | font-size: 17px;
| |
− | font-weight: bold;
| |
− | text-align: center;
| |
− | padding: 6px 0px;
| |
− | margin-left: -65px;
| |
− | margin-top: -17px;
| |
− | webkit-transform: rotateY(90deg);
| |
− | -moz-transform: rotateY(90deg);
| |
− | -ms-transform: rotateY(90deg);
| |
− | -o-transform: rotateY(90deg);
| |
− | transform: rotateY(90deg);
| |
− | -webkit-transition: all 0.5s ease 0s;
| |
− | -moz-transition: all 0.5s ease 0s;
| |
− | -ms-transition: all 0.5s ease 0s;
| |
− | -o-transition: all 0.5s ease 0s;
| |
− | transition: all 0.5s ease 0s;
| |
− | }
| |
− |
| |
− | .practices_image_cont:hover .practices_button{
| |
− | -webkit-transform: rotatey(0deg);
| |
− | -moz-transform: rotatey(0deg);
| |
− | -ms-transform: rotatey(0deg);
| |
− | -o-transform: rotatey(0deg);
| |
− | transform: rotatey(0deg);
| |
− | }
| |
− |
| |
− | .practices_image_cont{
| |
− | position: relative;
| |
− | margin-left: 160px;
| |
− | float: right;
| |
− | margin-top: 12px;
| |
− | }
| |
− |
| |
− | .practices_image_cont:before{
| |
− | background: rgba(70, 109, 156, 0.69);
| |
− | content: '';
| |
− | width: 100%;
| |
− | height: 100%;
| |
− | position: absolute;
| |
− | -webkit-transform: rotateX(90deg);
| |
− | -moz-transform: rotateX(90deg);
| |
− | -ms-transform: rotateX(90deg);
| |
− | -o-transform: rotateX(90deg);
| |
− | transform: rotateX(90deg);
| |
− | -webkit-transition: all 0.5s ease 0s;
| |
− | -moz-transition: all 0.5s ease 0s;
| |
− | -ms-transition: all 0.5s ease 0s;
| |
− | -o-transition: all 0.5s ease 0s;
| |
− | transition: all 0.5s ease 0s;
| |
− | }
| |
− |
| |
− | .practices_image_cont:hover:before{
| |
− | -webkit-transform: rotatex(0deg);
| |
− | -moz-transform: rotatex(0deg);
| |
− | -ms-transform: rotatex(0deg);
| |
− | -o-transform: rotatex(0deg);
| |
− | transform: rotatex(0deg);
| |
− | }
| |
− | </style>
| |
| </head> | | </head> |
| <body> | | <body> |
Line 2,046: |
Line 18: |
| <div id="menu"> | | <div id="menu"> |
| <ul class="unselectable"> | | <ul class="unselectable"> |
− | <li><a href="/home">Home</a></li> | + | <li style="width:80px;"><div><a href="https://2016.igem.org/Team:NRP-UEA-Norwich">Home</a></div></li> |
− | <li><a href="/team">Team</a></li> | + | <li style="width:80px;"><div><a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Team">Team</a></div></li> |
− | <li> | + | <li style="width:80px;"> |
− | <a href="/project">Project</a> | + | <div><a href="#">Project</a></div> |
− | <ul class="subMenu"> | + | <ul class="sub_menu"> |
− | <li><a href="/notebook">Notebook</a></li> | + | <li><a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Background">Background</a> |
− | <li><a href="/results">Results</a></li> | + | |
− | <li><a href="/protocols">Protocols</a></li> | + | |
| + | <li><a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Safety">Safety</a></li> |
| + | <li><a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Demonstrate">Demonstrate</a></li> |
| + | <li><a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Notebook">Notebook</a></li> |
| + | <li><a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Results">Results</a></li> |
| + | <li><a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Protocols">Protocols</a></li> |
| + | <li><a href="https://2016.igem.org/Team:NRP-UEA-Norwich/GoldenGate">Golden Gate</a></li> |
| </ul> | | </ul> |
| </li> | | </li> |
− | <li><a href="/parts">Parts</a></li> | + | <li style="width:80px;"><div><a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Parts">Parts</a></div></li> |
| | | |
| <li id="logoWrapper"><div id="logo"></div></li> | | <li id="logoWrapper"><div id="logo"></div></li> |
− | <li style="margin-left:-15px;"><a href="safety">Safety</a></li> | + | <li style="margin-left:-15px;"><div><a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Collaborations">Collaborations</a></div></li> |
− | <li><a href="/attributions">Attributions</a></li>
| + | |
− | <li><a href="/practice" style="line-height:35px">Human Practices</a></li>
| + | |
− | <li style="width: 120px;"><a href="/awards">Achievements</a></li>
| + | |
| | | |
| + | <li><div><a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Attributions">Attributions</a></div></li> |
| + | <li><div><a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Integrated_Practices">Human Practices</a></div></li> |
| + | <li style="width: 120px;"><div><a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Awards">Achievements</a></div></li> |
| </ul> | | </ul> |
| </div> | | </div> |
| <div id='contentWrapper'> | | <div id='contentWrapper'> |