Difference between revisions of "Template:NRP-UEA-Norwich"

(Prototype team template page)
 
Line 3: Line 3:
 
<style>
 
<style>
  
/********************************* DEFAULT WIKI SETTINGS  ********************************/
+
body{
 +
font-family: "Proxima Nova","proxima-nova","Helvetica Neue",Helvetica,Arial,sans-serif;
 +
overflow-x:hidden;
 +
color: #444;
 +
}
  
#sideMenu, #top_title {display:none;}
+
a{
#content { padding:0px; width:1000px; margin-top:-7px; margin-left:0px;}
+
color: #4444ff;
body {background-color:white; }
+
}
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
+
  
/********************************* MENU ********************************/
+
a:hover{
/* Wrapper for the menu */
+
text-decoration: underline;
.menu_wrapper {
+
}
width:150px;
+
height:100vh;
+
position:fixed;
+
padding:0px;
+
float:left;
+
background-color:#f2f2f2;
+
text-align:left;
+
}
+
  
/* styling for the menu items */
+
*, *:after, *:before {
.menu_item {
+
  -webkit-box-sizing: border-box;
width:100%;  
+
  -moz-box-sizing: border-box;
margin:-2px 0px 0px -20px;
+
  box-sizing: border-box;
padding: 10px 10px; 
+
}
border-bottom: 1px solid #d3d3d3;  
+
font-weight:bold;
+
color:#000000;
+
cursor: pointer;  
+
}
+
  
/* when hovering on a menu item */
+
.showFullSizeImage{
.menu_item:hover {  
+
cursor: pointer;
color:#000000;  
+
}
background-color: #72c9b6;
+
}
+
  
/* decoration icon for the menu buttons*/
+
.imageTextWrap{
.icon {
+
float: right;
float:right;
+
margin: 5px;
font-size:16px;  
+
}
font-weight:bold;  
+
 
 +
.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:940px;
 +
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{
 +
    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("../images/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%;
 
}
 
}
 
 
/* this is the icon for when the content is collapsed */
+
#videoOverlay{
.plus::before {
+
width: 600px;
content: "+";  
+
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);
 
}
 
}
/* this is the icon for when the content is expanded */
 
.less::before {
 
content: "–";
 
}
 
  
/* styling for the ul that creates the buttons */
+
.pageSection{
ul.menu_items {
+
position: relative;
width:100%;  
+
min-height: 410px;
margin-left:0px;  
+
}
padding:0px;
+
 
list-style: none;  
+
#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;
 
}
 
}
  
/* styling for the li that are the menu items */
+
#introductionContainer > span > strong{
.menu_items li {  
+
line-height: 52px;
width:90%;  
+
font-size: 24px;
margin-top:-2px;  
+
}
padding: 15px 0px 15px 15px ;
+
#introPlayVideoButton{
display:block;
+
width: 460px;
border-bottom: 1px solid #d3d3d3;
+
padding: 15px;
text-align:left;  
+
border-radius: 5px;
font-weight:bold;
+
color: white;
text-decoration:none;
+
background-color: #2b78ea;
color:#000000;  
+
margin: 80px auto;
list-style-type:none;  
+
cursor:pointer;
cursor:pointer;  
+
}
-webkit-transition: all 0.4s ease;
+
#introPlayVideoButton:hover{
-moz-transition: all 0.4s ease;
+
background-color:#056fbc;
-ms-transition: all 0.4s ease;
+
-o-transition: all 0.4s ease; transition: all 0.4s ease;
+
 
}
 
}
  
.menu_item a {
+
#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%;
 
width: 100%;
margin-left: -20px;
+
background-size: cover;
padding: 11px 90px 12px 20px;
+
text-decoration: none;
+
color:black;
+
 
}
 
}
 +
.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%;
 +
}
  
/* When hovering on a menu item */
+
/* Team */
.menu_items li:hover {  
+
#teamSection{
background-color:#72c9b6;
+
width: 1000px;
color: #000000;
+
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;
 +
}
  
/* styling for the submenus */
+
#teamHello{
.submenu {
+
font-size: 50px;
width:100%;  
+
    margin-top: 60px;
display: none;
+
    color: #2f6fce;
font-weight:bold;
+
}
cursor:pointer;
+
  
}
+
.HL{
 +
font-weight:bold;
 +
color:#2f6fce;
 +
}
  
/* moving the margin for the submenu ul list */
+
.legend{
ul.submenu {  
+
color:#966b6b !important;
width: 100%;
+
margin-top: -35px !important;
margin: 10px 0px -11px 0px;
+
    padding-bottom: 55px;
list-style: none;
+
    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;
 +
}
  
/*styling for the submenu buttons */
+
.lightBulb{
.submenu li {
+
    background: url(../images/light_bulb.png);
width: 100%;  
+
    width: 27px;
margin-left: 10px;
+
    height: 32px;
margin-bottom: 0px;
+
    vertical-align: top;
}
+
}
  
 +
.electricity_graph{
 +
display: block;
 +
margin: auto;
 +
}
  
/* hover state for the submenu buttons */
+
.project_fig_three{
.submenu li a {
+
width: 180px;
width: 100%;  
+
    float: right;
padding: 5px 10px;  
+
    margin-top: 10px;
display: inline-block;
+
    margin-left: 60px;
border-bottom: 1px solid #d3d3d3;
+
}
background-color:white;  
+
text-decoration:none;
+
color:#000000;
+
}
+
  
 +
.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;
 +
}
  
.submenu li a:hover  {
+
.timeTitle{
background-color:#000000;  
+
    margin-top: 4px;
color: #72c9b6;
+
    margin-left: 5px;
}
+
}
  
 +
/* Sponsors */
 +
#sponContainer{
 +
margin-top: -1px;
 +
border-top: 1px solid #d0d0d6;
 +
z-index: 0;
 +
}
  
/* When the screen is smaller than 680px, the menu has the option to hide/show - this button controls that */
+
/* Footer */
.collapsable_menu_control {
+
width:100%;
+
padding: 15px 0px;
+
display:none;
+
background-color:#000000;
+
text-align:center; 
+
font-weight:bold;
+
color:#72c9b6;
+
cursor:pointer;
+
-webkit-transition: all 0.4s ease;
+
-moz-transition: all 0.4s ease;
+
-ms-transition: all 0.4s ease;
+
-o-transition: all 0.4s ease;
+
transition: all 0.4s ease;
+
}
+
  
/* when hovering on that button */
+
#footer{
.collapsable_menu_control:hover {
+
width: 100%;
background-color: #72c9b6;
+
height: 120px;
color:#000000;
+
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);
 +
}
  
/********************************* CONTENT OF THE PAGE ********************************/
+
/*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;
 +
}
  
/* Wrapper for the content */
+
.pageBanner{
.content_wrapper {
+
width:100%;
width: 85%;
+
height:550px;
margin-left:150px;
+
-webkit-background-size: cover;
padding:10px 0px;  
+
-moz-background-size: cover;
float:left;  
+
-o-background-size: cover;
background-color:white;  
+
background-size: cover;
}
+
}
  
/*LAYOUT */
+
.cd-container {
.column  {  
+
  /* 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 */
padding: 10px 0px;
+
  width: 90%;
float:left;  
+
  max-width: 1170px;
background-color:white;  
+
  margin: 0 auto;
}
+
}
 +
.cd-container::after {
 +
  /* clearfix */
 +
  content: '';
 +
  display: table;
 +
  clear: both;
 +
}
  
.full_size {
+
.clear{
width:100%;  
+
clear: left;
}
+
}
  
.full_size img {  
+
.bold{
padding: 10px 15px;
+
font-weight: bold;
width:96.5%;  
+
color: #000;
}
+
}
  
.half_size {
+
/* --------------------------------
width: 50%;
+
}
+
.half_size img {
+
padding: 10px 15px;
+
width: 93%;
+
}
+
  
 +
Main components
  
.clear {
+
-------------------------------- */
clear:both;
+
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;
 +
  }
 +
}
  
.highlight {  
+
#cd-timeline {
width: 90%;  
+
  position: relative;
margin: auto;  
+
  padding: 2em 0;
padding: 15px 5px;
+
  margin-top: 2em;
background-color: #f2f2f2;  
+
  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;
 +
  }
 +
}
  
.judges-will-not-evaluate {
+
.cd-timeline-block {
border: 4px solid #72c9b6;
+
  position: relative;
display: block;
+
  margin: 2em 0;
margin: 5px 15px;
+
}
width: 95%;
+
.cd-timeline-block:after {
font-weight:bold;
+
  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;
 +
  }
 +
}
  
/*STYLING */
+
@-webkit-keyframes cd-bounce-1 {
 +
  0% {
 +
    opacity: 0;
 +
    -webkit-transform: scale(0.5);
 +
  }
  
/* styling for the titles */
+
  60% {
.content_wrapper h1, .content_wrapper h2 {
+
    opacity: 1;
padding:5px 15px;  
+
    -webkit-transform: scale(1.2);
border-bottom:0px;  
+
  }
color:#72c9b6;
+
  
}
+
  100% {
.content_wrapper h3, .content_wrapper h4, .content_wrapper h5, .content_wrapper h6 {  
+
    -webkit-transform: scale(1);
padding:5px 15px;  
+
  }
border-bottom:0px;  
+
}
color: #000000;
+
@-moz-keyframes cd-bounce-1 {
}
+
  0% {
 +
    opacity: 0;
 +
    -moz-transform: scale(0.5);
 +
  }
  
 +
  60% {
 +
    opacity: 1;
 +
    -moz-transform: scale(1.2);
 +
  }
  
/* font and text */
+
  100% {
.content_wrapper p {  
+
    -moz-transform: scale(1);
padding:0px 15px;  
+
  }
font-size: 13px;
+
}
font-family:Tahoma, Geneva, sans-serif;  
+
@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);
 +
  }
  
/* Links */
+
  60% {
.content_wrapper a {  
+
    opacity: 1;
font-weight: bold;
+
    -webkit-transform: scale(1.2);
text-decoration: underline;
+
    -moz-transform: scale(1.2);
text-decoration-color:#72c9b6;
+
    -ms-transform: scale(1.2);
color: #72c9b6;
+
    -o-transform: scale(1.2);
-webkit-transition: all 0.4s ease;
+
    transform: scale(1.2);
-moz-transition: all 0.4s ease;  
+
  }
-ms-transition: all 0.4s ease;  
+
-o-transition: all 0.4s ease;  
+
transition: all 0.4s ease;
+
}
+
  
/* hover for the links */
+
  100% {
.content_wrapper a:hover {  
+
    -webkit-transform: scale(1);
text-decoration:none;
+
    -moz-transform: scale(1);
color:#000000;
+
    -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;
 +
  }
 +
}
  
/* non numbered lists */
+
@media only screen and (min-width: 1170px) {
.content_wrapper ul {
+
  /* inverse bounce effect on even content blocks */
padding:0px 20px;
+
  .cssanimations .cd-timeline-block:nth-child(even) .cd-timeline-content.bounce-in {
font-size: 13px;
+
    -webkit-animation: cd-bounce-2-inverse 0.6s;
font-family:Tahoma, Geneva, sans-serif;  
+
    -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);
 +
  }
  
/* numbered lists */
+
  60% {
.content_wrapper ol {
+
    opacity: 1;
padding:0px;  
+
    -webkit-transform: translateX(20px);
font-size: 13px;
+
  }
font-family:Tahoma, Geneva, sans-serif;  
+
}
+
  
/* Table */
+
  100% {
.content_wrapper table {  
+
    -webkit-transform: translateX(0);
width: 97%;  
+
  }
margin:15px 10px;
+
}
border: 1px solid #d3d3d3;  
+
@-moz-keyframes cd-bounce-2 {
border-collapse: collapse;  
+
  0% {
}
+
    opacity: 0;
 +
    -moz-transform: translateX(-100px);
 +
  }
  
/* table cells */
+
  60% {
.content_wrapper  td {  
+
    opacity: 1;
padding: 10px;
+
    -moz-transform: translateX(20px);
vertical-align: text-top;
+
  }
border: 1px solid #d3d3d3;
+
border-collapse: collapse;  
+
}
+
  
/* table headers */
+
  100% {
.content_wrapper th {  
+
    -moz-transform: translateX(0);
padding: 10px;  
+
  }
vertical-align: text-top;  
+
}
border: 1px solid #d3d3d3;  
+
@keyframes cd-bounce-2 {
border-collapse: collapse;  
+
  0% {
background-color:#f2f2f2;  
+
    opacity: 0;
}
+
    -webkit-transform: translateX(-100px);
 +
    -moz-transform: translateX(-100px);
 +
    -ms-transform: translateX(-100px);
 +
    -o-transform: translateX(-100px);
 +
    transform: translateX(-100px);
 +
  }
  
/* Button class */
+
  60% {
.button_click {  
+
    opacity: 1;
margin: 10px auto;
+
    -webkit-transform: translateX(20px);
padding: 15px; width:12%; 
+
    -moz-transform: translateX(20px);
text-align:center;
+
    -ms-transform: translateX(20px);
font-weight:bold;
+
    -o-transform: translateX(20px);
background-color: #72c9b6;
+
    transform: translateX(20px);
cursor:pointer;
+
  }
-webkit-transition: all 0.4s ease;
+
-moz-transition: all 0.4s ease;  
+
-ms-transition: all 0.4s ease;  
+
-o-transition: all 0.4s ease;  
+
transition: all 0.4s ease;  
+
}
+
  
/* button class on hover */
+
  100% {
.button_click:hover { 
+
    -webkit-transform: translateX(0);
background-color:#000000;  
+
    -moz-transform: translateX(0);
color:#72c9b6;
+
    -ms-transform: translateX(0);
}
+
    -o-transform: translateX(0);
 +
    transform: translateX(0);
 +
  }
 +
}
 +
@-webkit-keyframes cd-bounce-2-inverse {
 +
  0% {
 +
    opacity: 0;
 +
    -webkit-transform: translateX(100px);
 +
  }
  
/********************************* RESPONSIVE STYLING ********************************/
+
  60% {
 +
    opacity: 1;
 +
    -webkit-transform: translateX(-20px);
 +
  }
  
/* IF THE SCREEN IS LESS THAN 1000PX */
+
  100% {
 +
    -webkit-transform: translateX(0);
 +
  }
 +
}
 +
@-moz-keyframes cd-bounce-2-inverse {
 +
  0% {
 +
    opacity: 0;
 +
    -moz-transform: translateX(100px);
 +
  }
  
@media only screen and (max-width: 1000px) {
+
  60% {
 +
    opacity: 1;
 +
    -moz-transform: translateX(-20px);
 +
  }
  
#content {width:100%; }
+
  100% {
.menu_wrapper {width:15%;}
+
    -moz-transform: translateX(0);
.content_wrapper {margin-left: 15%;}
+
  }
.menu_item {display:block;}
+
}
.icon {display:none;}
+
@keyframes cd-bounce-2-inverse {
.highlight {padding:10px 0px;}
+
  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);
 +
  }
  
/* IF THE SCREEN IS LESS THAN 680PX */
+
  100% {
 +
    -webkit-transform: translateX(0);
 +
    -moz-transform: translateX(0);
 +
    -ms-transform: translateX(0);
 +
    -o-transform: translateX(0);
 +
    transform: translateX(0);
 +
  }
 +
}
  
@media only screen and (max-width: 680px) {
+
#globalTemp{
.collapsable_menu_control { display:block;}
+
position:relative;
.menu_item {display:none;}
+
width:720px;
.menu_wrapper { width:100%; height: 15%; position:relative;}
+
height:610px;
.content_wrapper {width:100%; margin-left:0px;}
+
margin: 0 auto;
.column.half_size {width:100%; }
+
margin-bottom: 30px;
.column img { width: 100%; padding: 5px 0px;}
+
}
.icon {display:block;}
+
.highlight {padding:15px 5px;}
+
}
+
  
</style>
+
.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;
 +
}
  
<!--- THIS IS WHERE THE HTML BEGINS --->
+
#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;
 +
}
  
<!-- This tells the browser that your page is responsive -->
+
.time_series{
 +
    text-align: center;
 +
    margin-bottom: 36px;
 +
    color: #000;
 +
    font-weight: bold;
 +
    font-size: 12px;
 +
    margin-top: 30px;
 +
}
  
<head>
+
#tempSlider{
<meta name="viewport" content="width=device-width, initial-scale=1">
+
width: 530px;
</head>
+
    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%;
 +
}
  
<div class="menu_wrapper" >
 
  
 +
#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{
 +
 +
}
  
<div class="collapsable_menu_control"> MENU ▤ </div>
+
.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;
 +
}
  
<ul id="accordion" class="accordion">
 
  
<li class="menu_item"> <a href="https://2016.igem.org/Team:NRP-UEA-Norwich">HOME </a> </li>
+
.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;
 +
}
  
<li class="menu_item"> <div class="icon plus"></div> TEAM
+
.timeline_event_header:hover, .timeline_event_header.active{
<ul class="submenu">
+
background-color: #00a4ff;
<li> <a href=" https://2016.igem.org/Team:NRP-UEA-Norwich/Team"> Team  </a> </li>
+
}
<li> <a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Collaborations">★  Collaborations </a> </li>
+
                    </ul>
+
                </li>
+
  
<li class="menu_item"> <div class="icon plus"></div> PROJECT 
+
.timeline_event_header:hover:before, .timeline_event_header.active:before{
<ul class="submenu">
+
border-right: 13px solid #00a4ff;
<li> <a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Description"> ★  Description </a></li>
+
}
<li> <a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Design"> ★ Design </a></li>
+
<li> <a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Experiments"> Experiments </a></li>
+
<li> <a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Proof"> ★ Proof of Concept </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/Results"> Results </a></li>
+
<li> <a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Notebook"> Notebook </a></li>
+
                    </ul>
+
                </li>
+
  
<li class="menu_item"> <div class="icon plus"></div> PARTS 
+
.timeline_bubble:nth-child(2n):hover .timeline_event_header:before,
<ul class="submenu">
+
.timeline_bubble:nth-child(2n) .timeline_event_header.active:before{
<li> <a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Parts">Parts </a></li>
+
border-left: 13px solid #00a4ff;
<li> <a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Basic_Part"> ★ Basic Parts </a></li>
+
}
<li> <a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Composite_Part"> ★ Composite Parts </a></li>
+
<li> <a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Part_Collection"> ★ Part Collection </a></li>
+
                    </ul>
+
                </li>
+
  
 +
.timeline_event_header.active .timeline_event_container{
 +
}
  
<li class="menu_item"> <a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Safety"> SAFETY </a> </li>
+
.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;
 +
}
  
<li class="menu_item"> <a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Attributions">★  ATTRIBUTIONS </a></li>
+
.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;
 +
}
  
<li class="menu_item"> <div class="icon plus"></div> HUMAN PRACTICES
+
.timeline_event_inner img{
<ul class="submenu">
+
    max-width: 130px;
<li> <a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Human_Practices"> Human Practices </a></li>
+
    float: right;
<li> <a href="https://2016.igem.org/Team:NRP-UEA-Norwich/HP/Silver">★ Silver </a></li>
+
    margin-left: 10px;
<li> <a href="https://2016.igem.org/Team:NRP-UEA-Norwich/HP/Gold">★ Gold </a></li>
+
    margin-bottom: 10px;
<li> <a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Integrated_Practices"> ★ Integrated Practices </a></li>
+
}
<li> <a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Engagement">★ Engagement </a></li>
+
                    </ul>
+
                </li>
+
  
 +
.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;
 +
}
  
<li class="menu_item"> <div class="icon plus"></div> AWARDS
+
.timeline_bubble:nth-child(2n) .timeline_event_header{
<ul class="submenu">
+
left: auto;
<li><a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Entrepreneurship"> ★ Entrepreneurship </a></li>
+
right: 62px;
<li> <a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Hardware"> ★ Hardware </a></li>
+
}
<li> <a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Software">★ Software </a></li>
+
<li> <a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Measurement">★  Measurement </a></li>
+
<li> <a href="https://2016.igem.org/Team:NRP-UEA-Norwich/Model">★ Model </a></li>
+
  
                    </ul>
+
.timeline_bubble:nth-child(2n) .timeline_event_header:before{
                </li>
+
    border-right: 0px;
</ul>
+
    border-left: 13px solid #ee4d4d;
 +
    left: auto;
 +
    right: -13px;
 +
}
  
</div>
+
.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%;
 +
}
  
<div class="content_wrapper">
 
  
 +
.protocols{
 +
width: 900px;
 +
margin: auto;
 +
}
  
 +
.protocols_list{
 +
    width: 200px;
 +
    background: #716d6d;
 +
    color: #fff;
 +
    border-right: 6px solid #57c7f1;
 +
    vertical-align: top;
 +
}
  
<h1 id="team_name">  </h1>
+
.protocols_list li.active{
<h4 id="page_name">  </h4>
+
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;
 +
}
  
<script>
+
.tables{
 +
    border: 1px solid #b7afaf;
 +
    border-bottom: 0px;
 +
    border-right: 0px;
 +
    border-spacing: 0;
 +
    margin-top: 20px;
 +
    width: 100%;
 +
}
  
// This is the jquery part of your template. Try not modify any of this code since it makes your menu work.
+
.tables td, .tables th{
 +
    border-bottom: 1px solid #b7afaf;
 +
    border-right: 1px solid #b7afaf;
 +
    text-align: center;
 +
    padding: 5px;
 +
}
  
$(document).ready(function() {
+
.tables th{
 +
background: #e9f8ff;
 +
}
  
$("#HQ_page").attr('id','');
+
#safetySection{
+
width: 900px;
 +
margin: auto;
 +
}
  
if ( wgPageName.substring( 0,  8) == "Template")  {   // if the page is a template it displays the full name in a single line
+
.safety_image{
$("#team_name").html( wgPageName );  
+
float: right;
}
+
margin-left: 40px;
 +
}
  
else if (  ( (wgPageName.match(/\//g) || []).length ) == 0 ) { // if it is the home page , just print the team's name
+
.safety_protocols_title{
$("#team_name").html( wgPageName.substring( 5, wgPageName.length ) );  
+
margin-top: 85px;
}
+
}
  
else {
+
.safety_protocols{
// this adds the team's name as an h1
+
margin-left: 23px;
$("#team_name").html( wgPageName.substring( 5 , wgPageName.indexOf("/")  ) );  
+
margin-bottom: 30px;
 +
}
  
// this adds the page's title as an h4
+
.safety_lists{
$("#page_name").html (    ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ")  );
+
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{
  
$('#accordion').find('.menu_item').click(function(){
+
}
  
//Expand or collapse this panel
+
.attr_team li{
submenu = $(this).find('.submenu');
+
padding-top: 6px;
submenu.toggle();
+
}
  
icon = $(this).find('.icon');
+
.attr_team{
 +
float: left;
 +
width: 530px;
 +
margin-bottom: 30px;
 +
}
  
if ( !$( submenu ).is(':visible') ) {
+
.attr_team.rightCol {
icon.removeClass("less").addClass("plus");
+
float: right;
}
+
width: 500px;
else {
+
}
icon.removeClass("plus").addClass("less");
+
}
+
  
//Hide the other panels
+
.attr_team.rightCol .attr_name{
$(".submenu").not(submenu).hide();
+
float: right;
$(".icon").not(icon).removeClass("less").addClass("plus");
+
text-align: right;
});
+
}
  
 +
.attr_team.rightCol .attr_name_title{
 +
text-align: right;
 +
    display: inline-block;
 +
    width: 380px;
 +
}
  
$(".collapsable_menu_control").click(function() {
+
.attr_teamwork{
$(".menu_item").toggle();
+
    background: url(../images/teamwork.png);
});
+
    width: 128px;
 +
    height: 125px;
 +
    margin-left: 20px;
 +
    margin-bottom: 20px;
 +
}
  
$( window ).resize(function() {
+
.attr_tech p{
$(".menu_item").show();
+
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;
 +
}
  
</script>
+
.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>
  
 
</html>
 
</html>

Revision as of 15:39, 17 October 2016