Difference between revisions of "Team:Newcastle/Notebook/Diary"

 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Newcastle}}
+
{{Newcastle
<br><br>
+
}}
<br><br>
+
 
+
 
<html>
 
<html>
jQuery(document).ready(function($){
 
var $timeline_block = $('.cd-timeline-block');
 
 
//hide timeline blocks which are outside the viewport
 
$timeline_block.each(function(){
 
if($(this).offset().top > $(window).scrollTop()+$(window).height()*0.75) {
 
$(this).find('.cd-timeline-img, .cd-timeline-content').addClass('is-hidden');
 
}
 
});
 
 
//on scolling, show/animate timeline blocks when enter the viewport
 
$(window).on('scroll', function(){
 
$timeline_block.each(function(){
 
if( $(this).offset().top <= $(window).scrollTop()+$(window).height()*0.75 && $(this).find('.cd-timeline-img').hasClass('is-hidden') ) {
 
$(this).find('.cd-timeline-img, .cd-timeline-content').removeClass('is-hidden').addClass('bounce-in');
 
}
 
});
 
});
 
});
 
 
<style>
 
<style>
@import "bourbon";
+
#HQ_page th
 
+
{
// variables - colors
+
background-color: #e35c5c;
 
+
padding: 10px;
$main-text: #7f8c97; // main text
+
color: #292000;
$link: #acb7c0; // anchor tags
+
border: none;
$background: #e9f0f5; // body background color
+
font-size: 2rem;
 
+
$color-1: #303e49; // blue dark
+
$color-2: #c03b44; // red
+
$color-3: #ffffff; // white
+
$color-4: #75ce66; // green
+
$color-5: #f0ca45; // yellow
+
 
+
// variables - fonts
+
 
+
$primary-font: 'Droid Serif', serif;
+
$secondary-font: 'Open Sans', sans-serif;
+
 
+
// mixins - rem fallback - credits: http://zerosixthree.se/
+
 
+
@function calculateRem($size) {
+
  $remSize: $size / 16px;
+
  @return $remSize * 1rem;
+
 
}
 
}
 
+
#HQ_page td
@mixin font-size($size) {
+
{
  font-size: $size;
+
color: #292000;
  font-size: calculateRem($size);
+
border: none;
 +
font-family: 'Didact Gothic';
 +
font-size: 2rem;
 
}
 
}
  
// mixins - border radius
+
#HQ_page table
 
+
{
@mixin border-radius($radius:.25em) {
+
    border: none;
  border-radius: $radius;
+
 
}
 
}
  
// layout - breakpoints
+
figcaption
 
+
{
$S:     320px; 
+
     text-align: center;
$M:     768px;    
+
     /* font-weight: bold; */
$L:     1170px;   
+
    font-size: 1.5rem;
 
+
    color: #292000;
// layout - media queries
+
 
+
@mixin MQ($canvas) {
+
  @if $canvas == S {
+
  @media only screen and (min-width: $S) { @content; }
+
  }
+
  @else if $canvas == M {
+
  @media only screen and (min-width: $M) { @content; }
+
  }
+
  @else if $canvas == L {
+
  @media only screen and (min-width: $L) { @content; }
+
  }
+
 
}
 
}
  
/* --------------------------------
+
figure img
 
+
{
Primary style
+
    max-width: 100%;
 
+
    transform: scale(0.9, 0.9);
-------------------------------- */
+
    display: block;
 
+
    margin-left: auto;
html * {
+
    margin-right: auto;
-webkit-font-smoothing: antialiased;
+
-moz-osx-font-smoothing: grayscale;
+
 
}
 
}
  
*, *:after, *:before {
+
a, a:focus, a:hover, li > a
@include box-sizing(border-box);
+
{
 +
    color: #e35c5c;
 
}
 
}
 
+
.col-md-4 a{
body {
+
    color: #e35c5c;
font: {
+
size: 100%;
+
family: $primary-font;
+
}
+
color: $main-text;
+
background-color: $background;
+
 
}
 
}
 
+
.nav > li > a:focus, .nav > li > a:hover, .nav-pills > li.active > a
a {
+
{
color: $link;
+
    background-color: #e35c5c;
text-decoration: none;
+
font-family: $secondary-font;
+
 
}
 
}
  
img {
+
#hq_page p
max-width: 100%;
+
{
 +
font-size: 2rem;
 
}
 
}
 
+
div p, ul li, ol li
h1, h2 {
+
{
font-family: $secondary-font;
+
    color: #292000;
font-weight: bold;
+
 
}
 
}
  
/* --------------------------------
+
ul.checked, ul.question, ul.dot
 
+
{
Modules - reusable parts of our design
+
list-style: none;
 
+
-------------------------------- */
+
 
+
.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: $L; // breakpoints inside partials > _layout.scss
+
margin: 0 auto;
+
 
+
&::after { /* clearfix */
+
content: '';
+
display: table;
+
clear: both;
+
}
+
 
}
 
}
  
/* --------------------------------
+
ul.checked li, ul.question li, ul.dot li
 
+
{
Main components
+
font-family: 'Didact Gothic';
 
+
font-size: 16px;
-------------------------------- */
+
 
+
header {
+
height: 200px;
+
line-height: 200px;
+
text-align: center;
+
background: $color-1;
+
 
+
h1 {
+
color: $color-3;
+
@include font-size(18px);
+
}
+
 
+
@include MQ(L) {
+
height: 300px;
+
line-height: 300px;
+
 
+
h1 {
+
@include font-size(24px);
+
}
+
}
+
 
}
 
}
  
#cd-timeline {
+
ul.checked li:before {
position: relative;
+
  position: absolute;
padding: 2em 0;
+
  margin-left: -1.3em;
margin: {
+
  font-weight: bold;
top: 2em;
+
bottom: 2em;
+
}
+
  
&::before {
+
  content: "\2713";
/* this is the vertical line */
+
  color: darkgreen;
content: '';
+
position: absolute;
+
top: 0;
+
left: 18px;
+
height: 100%;
+
width: 4px;
+
background: darken($background, 5%);
+
}
+
 
+
@include MQ(L) {
+
margin: {
+
top: 3em;
+
bottom: 3em;
+
}
+
 
+
&::before {
+
left: 50%;
+
margin-left: -2px;
+
}
+
}
+
 
}
 
}
  
.cd-timeline-block {
+
ul.question li:before {
position: relative;
+
  position: absolute;
margin: 2em 0;
+
  margin-left: -1.3em;
@include clearfix;
+
  font-weight: bold;
  
&:first-child {
+
  content: "?";
margin-top: 0;
+
  color: #3c0e09;
}
+
 
+
&:last-child {
+
margin-bottom: 0;
+
}
+
 
+
@include MQ(L) {
+
margin: 4em 0;
+
 
+
&:first-child {
+
margin-top: 0;
+
}
+
 
+
&:last-child {
+
margin-bottom: 0;
+
}
+
}
+
 
}
 
}
  
.cd-timeline-img {
+
ul.dot li:before {
position: absolute;
+
  position: absolute;
top: 0;
+
  margin-left: -1.3em;
left: 0;
+
  font-weight: bold;
width: 40px;
+
height: 40px;
+
border-radius: 50%;
+
box-shadow: 0 0 0 4px $color-3, inset 0 2px 0 rgba(#000, .08), 0 3px 0 4px rgba(#000, .05) ;
+
 
+
img {
+
display: block;
+
width: 24px;
+
height: 24px;
+
position: relative;
+
left: 50%;
+
top: 50%;
+
margin-left: -12px;
+
margin-top: -12px;
+
}
+
 
+
&.cd-picture {
+
background: $color-4;
+
}
+
 
+
&.cd-movie {
+
background: $color-2;
+
}
+
 
+
&.cd-location {
+
background: $color-5;
+
}
+
 
+
@include MQ(L) {
+
width: 60px;
+
height: 60px;
+
left: 50%;
+
margin-left: -30px;
+
 
+
/* Force Hardware Acceleration in WebKit */
+
-webkit-transform: translateZ(0);
+
-webkit-backface-visibility: hidden;
+
 
+
.cssanimations &.is-hidden {
+
visibility: hidden;
+
}
+
  
.cssanimations &.bounce-in {
+
  content: "\25A0";
visibility: visible;
+
  color: #292000;
@include animation(cd-bounce-1 .6s);
+
}
+
}
+
 
}
 
}
  
@include keyframes(cd-bounce-1) {
+
#right-menu
0% {
+
{
opacity: 0;
+
position: fixed;
@include transform(scale(.5));
+
}
+
 
+
60% {
+
opacity: 1;
+
@include transform(scale(1.2));
+
}
+
 
+
100% {
+
@include transform(scale(1));
+
}
+
}
+
 
+
.cd-timeline-content {
+
position: relative;
+
margin-left: 60px;
+
background: $color-3;
+
@include border-radius;
+
padding: 1em;
+
box-shadow: 0 3px 0 darken($background, 5%);
+
@include clearfix;
+
 
+
h2 {
+
color: $color-1;
+
}
+
 
+
p, .cd-read-more, .cd-date {
+
@include font-size(13px);
+
}
+
 
+
.cd-read-more, .cd-date {
+
display: inline-block;
+
}
+
 
+
p {
+
margin: 1em 0;
+
line-height: 1.6;
+
}
+
 
+
.cd-read-more {
+
float: right;
+
padding: .8em 1em;
+
background: $link;
+
color: $color-3;
+
@include border-radius;
+
 
+
.no-touch &:hover {
+
background-color: lighten($link, 5%);
+
}
+
}
+
 
+
.cd-date {
+
float: left;
+
padding: .8em 0;
+
opacity: .7;
+
}
+
 
+
&::before {
+
content: '';
+
position: absolute;
+
top: 16px;
+
right: 100%;
+
height: 0;
+
width: 0;
+
border: 7px solid transparent;
+
border-right: 7px solid $color-3;
+
}
+
 
+
@include MQ(M) {
+
h2 {
+
@include font-size(20px);
+
}
+
 
+
p {
+
@include font-size(16px);
+
}
+
 
+
.cd-read-more, .cd-date {
+
@include font-size(14px);
+
}
+
}
+
 
+
@include MQ(L) {
+
margin-left: 0;
+
padding: 1.6em;
+
width: 45%;
+
 
+
&::before {
+
top: 24px;
+
left: 100%;
+
border-color: transparent;
+
border-left-color: $color-3;
+
}
+
 
+
.cd-read-more {
+
float: left;
+
}
+
 
+
.cd-date {
+
position: absolute;
+
width: 100%;
+
left: 122%;
+
top: 6px;
+
@include font-size(16px);
+
}
+
 
+
.cd-timeline-block:nth-child(even) & {
+
float: right;
+
 
+
&::before {
+
top: 24px;
+
left: auto;
+
right: 100%;
+
border-color: transparent;
+
border-right-color: $color-3;
+
}
+
 
+
.cd-read-more {
+
float: right;
+
}
+
 
+
.cd-date {
+
left: auto;
+
right: 122%;
+
text-align: right;
+
}
+
}
+
 
+
.cssanimations &.is-hidden {
+
visibility: hidden;
+
}
+
 
+
.cssanimations &.bounce-in {
+
visibility: visible;
+
@include animation(cd-bounce-2 .6s);
+
}
+
}
+
}
+
 
+
@include MQ(L) {
+
/* inverse bounce effect on even content blocks */
+
.cssanimations .cd-timeline-block:nth-child(even) .cd-timeline-content.bounce-in {
+
@include animation(cd-bounce-2-inverse .6s);
+
}
+
}
+
 
+
@include keyframes(cd-bounce-2) {
+
0% {
+
opacity: 0;
+
@include transform(translateX(-100px));
+
}
+
 
+
60% {
+
opacity: 1;
+
@include transform(translateX(20px));
+
}
+
 
+
100% {
+
@include transform(translateX(0));
+
}
+
}
+
 
+
@include keyframes(cd-bounce-2-inverse) {
+
0% {
+
opacity: 0;
+
@include transform(translateX(100px));
+
}
+
 
+
60% {
+
opacity: 1;
+
@include transform(translateX(-20px));
+
}
+
 
+
100% {
+
@include transform(translateX(0));
+
}
+
 
}
 
}
  
 
</style>
 
</style>
 +
<div class="column">
 +
    <div class="row">
 +
      <div class="col-md-8">
 +
<br>
 +
            <h2>Important Dates</h2>
 +
            <br><br>
 +
<p>01/05/2016 Team Registration for iGEM deadline</p>
 +
<p>30/06/2016 InterLab Sign-up Deadline</p>
 +
<p>01/07/2016 Project Description Deadline</p>
 +
<p>02/07/2016 <a href="https://2016.igem.org/Team:Newcastle/Collaborations">European Teams Meet Up in Paris</a></p>
 +
<p>15/07/2016 About our Lab Form Deadline</p>
 +
<p>15/07/2016 About our Project Form Deadline</p>
 +
<p>28/07/2016 <a href="https://2016.igem.org/Team:Newcastle/Collaborations">Scottish Teams Meet Up in Edinburgh</a></p>
 +
<p>12/08/2016 Track Selection Deadline – Foundational Advance</p>
 +
<p>12/08/2016 <a href="https://igem.org/Team.cgi">Title and Abstract Deadline</a></p>
 +
<p>17/08/2016 – 18/08/2016 <a href="https://2016.igem.org/Team:Newcastle/Collaborations">UK Teams Meet Up in Westminster, London</a></p>
 +
<p>25/08/2016 <a href="https://2016.igem.org/Team:Newcastle/Collaborations">Edinburgh Undergraduate Team Visits Newcastle</a></p>
 +
<p>31/08/2016 Giant Jamboree Registration Deadline</p>
 +
<p>02/09/2016 <a href="https://2016.igem.org/Team:Newcastle/InterLab">InterLab Data Deadline</a></p>
 +
<p>09/09/2016 Team Rosters Deadline</p>
 +
<p>16/09/2016 <a href="https://2016.igem.org/Team:Newcastle/Notebook/Safety">Final Safety Form Deadline</a></p>
 +
<p>07/10/2016 Team Banners Deadline</p>
 +
<p>14/10/2016 <a href="https://igem.org/2016_Judging_Form?id=1895">Judging Form Deadline</a></p>
 +
<p>19/10/2016 Wiki Freeze</p>
 +
<p>21/10/2016 <a href="http://parts.igem.org/cgi/dna_transfer/batch_list.cgi?group_id=2361">Part Submission Deadline</a></p>
 +
<p>27/10/2016 – 31/10/2016 Giant Jamboree 2016 @ Hynes Convention Center, Boston, MA</p>
  
<body>
 
<header>
 
<h1>Responsive Vertical Timeline</h1>
 
</header>
 
 
<section id="cd-timeline" class="cd-container">
 
<div class="cd-timeline-block">
 
<div class="cd-timeline-img cd-picture">
 
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/148866/cd-icon-picture.svg" alt="Picture">
 
</div> <!-- cd-timeline-img -->
 
 
<div class="cd-timeline-content">
 
<h2>Title of section 1</h2>
 
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iusto, optio, dolorum provident rerum aut hic quasi placeat iure tempora laudantium ipsa ad debitis unde? Iste voluptatibus minus veritatis qui ut.</p>
 
<a href="#0" class="cd-read-more">Read more</a>
 
<span class="cd-date">Jan 14</span>
 
</div> <!-- cd-timeline-content -->
 
</div> <!-- cd-timeline-block -->
 
 
<div class="cd-timeline-block">
 
<div class="cd-timeline-img cd-movie">
 
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/148866/cd-icon-movie.svg" alt="Movie">
 
</div> <!-- cd-timeline-img -->
 
 
<div class="cd-timeline-content">
 
<h2>Title of section 2</h2>
 
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iusto, optio, dolorum provident rerum aut hic quasi placeat iure tempora laudantium ipsa ad debitis unde?</p>
 
<a href="#0" class="cd-read-more">Read more</a>
 
<span class="cd-date">Jan 18</span>
 
</div> <!-- cd-timeline-content -->
 
</div> <!-- cd-timeline-block -->
 
 
<div class="cd-timeline-block">
 
<div class="cd-timeline-img cd-picture">
 
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/148866/cd-icon-picture.svg" alt="Picture">
 
</div> <!-- cd-timeline-img -->
 
 
<div class="cd-timeline-content">
 
<h2>Title of section 3</h2>
 
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Excepturi, obcaecati, quisquam id molestias eaque asperiores voluptatibus cupiditate error assumenda delectus odit similique earum voluptatem doloremque dolorem ipsam quae rerum quis. Odit, itaque, deserunt corporis vero ipsum nisi eius odio natus ullam provident pariatur temporibus quia eos repellat consequuntur perferendis enim amet quae quasi repudiandae sed quod veniam dolore possimus rem voluptatum eveniet eligendi quis fugiat aliquam sunt similique aut adipisci.</p>
 
<a href="#0" class="cd-read-more">Read more</a>
 
<span class="cd-date">Jan 24</span>
 
</div> <!-- cd-timeline-content -->
 
</div> <!-- cd-timeline-block -->
 
 
<div class="cd-timeline-block">
 
<div class="cd-timeline-img cd-location">
 
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/148866/cd-icon-location.svg" alt="Location">
 
</div> <!-- cd-timeline-img -->
 
 
<div class="cd-timeline-content">
 
<h2>Title of section 4</h2>
 
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iusto, optio, dolorum provident rerum aut hic quasi placeat iure tempora laudantium ipsa ad debitis unde? Iste voluptatibus minus veritatis qui ut.</p>
 
<a href="#0" class="cd-read-more">Read more</a>
 
<span class="cd-date">Feb 14</span>
 
</div> <!-- cd-timeline-content -->
 
</div> <!-- cd-timeline-block -->
 
 
<div class="cd-timeline-block">
 
<div class="cd-timeline-img cd-location">
 
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/148866/cd-icon-location.svg" alt="Location">
 
</div> <!-- cd-timeline-img -->
 
 
<div class="cd-timeline-content">
 
<h2>Title of section 5</h2>
 
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iusto, optio, dolorum provident rerum.</p>
 
<a href="#0" class="cd-read-more">Read more</a>
 
<span class="cd-date">Feb 18</span>
 
</div> <!-- cd-timeline-content -->
 
</div> <!-- cd-timeline-block -->
 
 
<div class="cd-timeline-block">
 
<div class="cd-timeline-img cd-movie">
 
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/148866/cd-icon-movie.svg" alt="Movie">
 
</div> <!-- cd-timeline-img -->
 
 
<div class="cd-timeline-content">
 
<h2>Final Section</h2>
 
<p>This is the content of the last section</p>
 
<span class="cd-date">Feb 26</span>
 
</div> <!-- cd-timeline-content -->
 
</div> <!-- cd-timeline-block -->
 
</section> <!-- cd-timeline -->
 
 
</body>
 
</body>
 
</html>
 
</html>

Latest revision as of 22:11, 19 October 2016


Important Dates



01/05/2016 Team Registration for iGEM deadline

30/06/2016 InterLab Sign-up Deadline

01/07/2016 Project Description Deadline

02/07/2016 European Teams Meet Up in Paris

15/07/2016 About our Lab Form Deadline

15/07/2016 About our Project Form Deadline

28/07/2016 Scottish Teams Meet Up in Edinburgh

12/08/2016 Track Selection Deadline – Foundational Advance

12/08/2016 Title and Abstract Deadline

17/08/2016 – 18/08/2016 UK Teams Meet Up in Westminster, London

25/08/2016 Edinburgh Undergraduate Team Visits Newcastle

31/08/2016 Giant Jamboree Registration Deadline

02/09/2016 InterLab Data Deadline

09/09/2016 Team Rosters Deadline

16/09/2016 Final Safety Form Deadline

07/10/2016 Team Banners Deadline

14/10/2016 Judging Form Deadline

19/10/2016 Wiki Freeze

21/10/2016 Part Submission Deadline

27/10/2016 – 31/10/2016 Giant Jamboree 2016 @ Hynes Convention Center, Boston, MA