Difference between revisions of "Team:NUS Singapore-A/shadow/Notebook"

 
(48 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{NUS_Singapore-A}}
 
{{NUS_Singapore-A}}
 +
{{:Team:NUS_Singapore-A/Templates/Style}}
 
<html>
 
<html>
 
      
 
      
Line 5: Line 6:
 
         <link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,600" rel="stylesheet">
 
         <link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,600" rel="stylesheet">
 
         <link href="https://fonts.googleapis.com/css?family=Lora:400,400i" rel="stylesheet">
 
         <link href="https://fonts.googleapis.com/css?family=Lora:400,400i" rel="stylesheet">
 +
        <link rel="stylesheet" href="/w3css/4/w3.css">
 
     </head>
 
     </head>
  
 
<script src="https://2018.igem.org/common/MathJax-2.5-latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
 
<script src="https://2018.igem.org/common/MathJax-2.5-latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
  
<style>
 
    /***************************************************CSS STARTS HERE*********************************************************/
 
    /* The accordion is the class given to the drop-down menu thingy */
 
    .accordion {
 
        background-color: #f2f2f2;
 
        color: black;
 
        cursor: pointer;
 
        padding: 15px;
 
        width: 90%;
 
        text-align: left;
 
        margin-left: 5%;
 
        margin-right: 5%;
 
        border: none;
 
        outline: none;
 
        /* I wanted to give a gradual change, but it's having some trouble reading the 'transition' property. I'll look into having it javascripted instead. */
 
        /*  transition: 0.4s linear;    */
 
        font-family: "Montserrat", sans-serif;
 
        font-weight: 300;
 
        font-size: 20px;
 
    }
 
   
 
    /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
 
    .active, .accordion:hover {
 
        font: bold 20px "Montserrat", sans-serif;
 
        background-color: #e6e6e6;
 
    }
 
   
 
    /* Style the accordion panel. Note: hidden by default */
 
    .panel {
 
        background-color: white;
 
        text-align: left;
 
        margin-top: 10px;
 
        max-height: 0;
 
        overflow: hidden;
 
        transition: max-height 0.2s ease-out;
 
    }
 
    .accordion:after {
 
        content: '+';
 
        font-size: 13px;
 
        color: #777;
 
        float: right;
 
        margin-left: 5px;
 
    }
 
   
 
    /* Not sure why this function does not work. Need to check */
 
    .active:after {
 
        content: "-";
 
    }
 
  
 +
<body>
 +
<div class="inner-border" style="border-top: none;">
 +
<div class="all-wrapper">
 +
<div class="content-wrapper">
 +
    <img src="https://static.igem.org/mediawiki/2018/e/e7/T--NUS_Singapore-A--Notebook_heading_C.png" class="notebook-header">
 +
    <div class="all-wrapper">
 +
    <br>
 +
    <img src="https://static.igem.org/mediawiki/2018/9/9b/T--NUS_Singapore-A--Notebook_heading.png" width="1090" height="160" alt="Notebook heading" usemap="#workmap">
  
 +
    <div class="months-container">
 +
    <div><span>Protocol</span></div>
 +
    <div><span>May</span></div>
 +
    <div><span>June</span></div>
 +
    <div><span>July</span></div>
 +
    <div><span>August</span></div>
 +
    <div><span>September</span></div>
 +
    <!--<div><span>October</span></div>-->
 +
    </div>
  
/* Style the tab */
+
<p style="text-align: center;">Click on different notebooks to see our records.</p>
.tab {
+
    overflow: hidden;
+
    border: 1px solid #ccc;
+
    background-color: #f1f1f1;
+
    margin-left:3%;
+
    margin-right:3%;
+
}
+
  
/* Style the buttons inside the tab */
+
<hr>
.tab button {
+
<map name="workmap">
    background-color: inherit;
+
     <area shape="rect" coords="90,10,200,130" alt="Protocols" class="tablinks" onclick="openCity(event, 'Protocols')">
    float: left;
+
    <area shape="rect" coords="250,10,360,130" alt="June" class="tablinks" onclick="openCity(event, 'June')">
    border: none;
+
    <area shape="rect" coords="410,10,520,130" alt="July" class="tablinks" onclick="openCity(event, 'July')">
    outline: none;
+
    <area shape="rect" coords="570,10,680,130" alt="July" class="tablinks" onclick="openCity(event, 'August')">
    cursor: pointer;
+
    <area shape="rect" coords="730,10,840,130" alt="July" class="tablinks" onclick="openCity(event, 'September')">
    padding: 14px 16px;
+
    <area shape="rect" coords="890,10,1000,130" alt="July" class="tablinks" onclick="openCity(event, 'October')">
    transition: 0.3s;
+
</map>
    font-size: 17px;
+
}
+
 
+
/* Change background color of buttons on hover */
+
.tab button:hover {
+
    background-color: #ddd;
+
}
+
 
+
/* Create an active/current tablink class */
+
.tab button.active {
+
    background-color: #ccc;
+
}
+
 
+
/* Style the tab content */
+
.tabcontent {
+
    display: none;
+
    padding: 6px 12px;
+
    border: none;
+
    -webkit-animation: fadeEffect 1s;
+
    animation: fadeEffect 1s;
+
}
+
 
+
/* Fade in tabs */
+
@-webkit-keyframes fadeEffect {
+
    from {opacity: 0;}
+
    to {opacity: 1;}
+
}
+
 
+
@keyframes fadeEffect {
+
    from {opacity: 0;}
+
    to {opacity: 1;}
+
}
+
 
+
    table, th, td {
+
        border: none;
+
        border-collapse: collapse;
+
    }
+
    table {
+
        font-family: "Lora";
+
        font-size: 12px;
+
        word-spacing: 0.5em;
+
     }
+
    th, td {
+
        text-align: left;
+
        padding: 1px;
+
    }
+
 
+
    h1 {
+
        color: #000;
+
        font-family: "montserrat", sans-serif;
+
        font-weight: bold;
+
    }
+
   
+
    h2 {
+
        font-family: "Montserrat", sans-serif;
+
        font-size: 15px;
+
        font-weight: normal;
+
        text-align: left;
+
        color: black;
+
        padding-left: 2.5%;
+
        padding-top: 1.5%;
+
        padding-bottom: 1%;
+
        margin-left: 5%; 
+
    }
+
 
+
    h3 {
+
        font-family: "Lora", sans;
+
        font-size: 12px;
+
        font-weight: bold;
+
        text-align: left;
+
        color: black;
+
        margin-left: 15%;
+
        margin-bottom: 5px;
+
    }
+
   
+
    p {
+
        font-family: "Lora", serif;
+
        font-size: 12px;
+
        word-spacing: 0.5em;
+
        text-align:justify;
+
        margin-left:12%;
+
        margin-right:12%;
+
    }
+
 
+
    img {
+
        display: block;
+
        margin-left: auto;
+
        margin-right: auto;
+
    }
+
 
+
    .discussion_graph, .measurement_table{
+
        width: 70%;
+
        height: auto;
+
        margin: auto;
+
    }
+
 
+
 
+
    .notebook-header{
+
        width: 50%;
+
        height: auto;
+
        margin: auto;
+
    }
+
 
+
    /**********************
+
    Start of two columns */
+
    * {
+
    box-sizing: border-box;
+
    }
+
 
+
    /* Create two columns that floats next to each other */
+
    .column {
+
        float: left;
+
        text-align: left;
+
    }
+
   
+
    .left {
+
        width: 50%;
+
        padding-left: 5%;
+
        padding-right: 2.5%;
+
    }
+
 
+
    .right {
+
        width: 50%;
+
        padding-left: 2.5%;
+
        padding-right: 5%;
+
    }
+
 
+
    /* Clear floats after the columns */
+
    .row:after {
+
        content: "";
+
        display: table;
+
        clear: both;
+
    }
+
 
+
    /********************
+
    End of two columns */
+
 
+
/* Style the tab */
+
.tab_vertical {
+
    float: left;
+
    border: 1px solid #ccc;
+
    background-color: #f1f1f1;
+
    width: 20%;
+
    height: 300px;
+
}
+
 
+
/* Style the buttons inside the tab */
+
.tab_vertical button {
+
    display: block;
+
    background-color: inherit;
+
    color: black;
+
    padding: 22px 16px;
+
    width: 100%;
+
    border: none;
+
    outline: none;
+
    text-align: left;
+
    cursor: pointer;
+
    transition: 0.3s;
+
    font-size: 17px;
+
}
+
 
+
/* Change background color of buttons on hover */
+
.tab_vertical button:hover {
+
    background-color: #ddd;
+
}
+
 
+
/* Create an active/current "tab button" class */
+
.tab_vertical button.active {
+
    background-color: #ccc;
+
}
+
 
+
/* Style the tab content */
+
.tabcontent_vertical {
+
    float: left;
+
    padding: 0px 12px;
+
    border: 1px solid #ccc;
+
    width: 80%;
+
    border: none;
+
    min-height: 400px;
+
}
+
   
+
    /***************************************************CSS ENDS HERE**********************************************************/
+
</style>
+
 
+
<body>
+
<div class="inner-border" style="border-top: none;">
+
<img src="https://static.igem.org/mediawiki/2018/f/fd/T--NUS_Singapore-A--Notebook.jpg" class="notebook-header">
+
<br>
+
<div class="tab">
+
  <button class="tablinks" onclick="openCity(event, 'Protocols')">Protocols</button>
+
  <button class="tablinks" onclick="openCity(event, 'June')">June</button>
+
  <button class="tablinks" onclick="openCity(event, 'July')">July</button>
+
  <button class="tablinks" onclick="openCity(event, 'August')">August</button>
+
  <button class="tablinks" onclick="openCity(event, 'September')">September</button>
+
  <button class="tablinks" onclick="openCity(event, 'October')">October</button>
+
</div>
+
  
 
<div id="Protocols" class="tabcontent">
 
<div id="Protocols" class="tabcontent">
  <div class="tab_vertical">
+
<h1>Protocols</h1>
    <button class="tablinks" onclick="openCity(event, 'Protocol1')">Protocol 1</button>
+
    <button class="tablinks" onclick="openCity(event, 'Protocol2')">Protocol 2</button>
+
    <button class="tablinks" onclick="openCity(event, 'Protocol3')">Protocol 3</button>
+
  </div>
+
  
  <div id="Protocol1" class="tabcontent_vertical">
+
<object data="https://static.igem.org/mediawiki/2016/e/ec/T--Imperial_College--LabBook.pdf" type="application/pdf" width="80%" height="900px">  
    <h2>Protocol 1</h2>
+
  <p>It appears you don't have a PDF plugin for this browser.
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
+
  No biggie... you can <a href="https://static.igem.org/mediawiki/2016/e/ec/T--Imperial_College--LabBook.pdf">click here to
  </div>
+
   download the PDF file.</a></p>
 
+
</object>
  <div id="Protocol2" class="tabcontent_vertical">
+
 
    <h2>Protocol 2</h2>
+
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
+
   </div>
+
 
+
  <div id="Protocol3" class="tabcontent_vertical">
+
    <h2>Protocol 3</h2>
+
 
+
  </div>
+
 
+
 
+
 
</div>
 
</div>
  
 
<div id="June" class="tabcontent">
 
<div id="June" class="tabcontent">
 
   <h2>June</h2>
 
   <h2>June</h2>
   <p>We had fun!!!</p>  
+
   <p>PDF here</p>  
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </p>
+
 
 
</div>
 
</div>
  
 
<div id="July" class="tabcontent">
 
<div id="July" class="tabcontent">
 
   <h2>July</h2>
 
   <h2>July</h2>
   <p>NUSGEM GO GO GO GO!</p>
+
   <p>PDF here</p>
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </p>
+
 
 
</div>
 
</div>
  
 
<div id="August" class="tabcontent">
 
<div id="August" class="tabcontent">
 
   <h2>August</h2>
 
   <h2>August</h2>
   <p>NUSGEM GO GO GO GO!</p>
+
   <p>PDF here</p>
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </p>
+
 
 
</div>
 
</div>
  
 
<div id="September" class="tabcontent">
 
<div id="September" class="tabcontent">
 
   <h2>September</h2>
 
   <h2>September</h2>
   <p>NUSGEM GO GO GO GO!</p>
+
   <p>PDF here</p>
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </p>
+
 
 
</div>
 
</div>
  
 
<div id="October" class="tabcontent">
 
<div id="October" class="tabcontent">
 
   <h2>October</h2>
 
   <h2>October</h2>
   <p>NUSGEM GO GO GO GO!</p>
+
   <p>PDF here</p>
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </p>
+
 
 
</div>
 
</div>
  
 +
</div> 
 +
</div>
 +
</div>
 +
</div>
 +
</body>
 +
   
 
<script>
 
<script>
 
function openCity(evt, cityName) {
 
function openCity(evt, cityName) {
Line 345: Line 105:
 
}
 
}
  
function openCity(evt, cityName) {
 
    var i, tabcontent_vertical, tablinks;
 
    tabcontent_vertical = document.getElementsByClassName("tabcontent_vertical");
 
    for (i = 0; i < tabcontent_vertical.length; i++) {
 
        tabcontent_vertical[i].style.display = "none";
 
    }
 
    tablinks = document.getElementsByClassName("tablinks");
 
    for (i = 0; i < tablinks.length; i++) {
 
        tablinks[i].className = tablinks[i].className.replace(" active", "");
 
    }
 
    document.getElementById(cityName).style.display = "block";
 
    evt.currentTarget.className += " active";
 
}
 
</script>
 
</div> 
 
</body>
 
   
 
<script>
 
        /***************************************************JAVASCRIPT STARTS HERE**************************************************/
 
       
 
 
    /***************************************************JAVASCRIPT ENDS HERE****************************************************/
 
 
</script>
 
</script>
 
      
 
      

Latest revision as of 17:42, 12 October 2018

CONNECT WITH US

Notebook heading
Protocol
May
June
July
August
September

Click on different notebooks to see our records.


Protocols June July July July July

Protocols

It appears you don't have a PDF plugin for this browser. No biggie... you can click here to download the PDF file.

June

PDF here

July

PDF here

August

PDF here

September

PDF here

October

PDF here