Difference between revisions of "Team:iTesla-SoundBio/Outreach"

(Replaced content with " <html> {{iTesla-SoundBio}} <script> $("#title").text("Outreach") </script> </body> </html>")
Line 1: Line 1:
 +
 
<html>
 
<html>
<style> /*STYLE FOR ALL PAGES*/
+
{{iTesla-SoundBio}}
body { background: #9cb8b3; }
+
<script>
{ /* Replaces "root" div -- filtered out all iGEM wiki settings (see first <script>)*/
+
     $("#title").text("Outreach")
    width: 100%;
+
    height: 100vh;
+
    background-size:cover;
+
    background-repeat:no-repeat;
+
    /*background-image:url("https://raddinteractive.com/wp-content/uploads/Chalkboard-background-e1463542024446.jpg");
+
    */
+
    background-color: whitesmoke;
+
    margin: 0px;
+
    padding: 0px;
+
}
+
/* Style the top navigation bar */
+
.topnav {
+
    overflow: hidden;
+
    background-color: #333;
+
    font-family: Bahnschrift;
+
    font-size: 15px;
+
    width: 100%;
+
    margin-top: -10px;
+
}
+
/* Style the topnav links */
+
.topnav a {
+
    float: right;
+
    display: block;
+
color: #f2f2f2;
+
    text-align: center;
+
    padding: 14px 16px;
+
    text-decoration: none;
+
/*for transitions when hovering*/
+
-o-transition: color .2s ease-out, background 1s ease-in;
+
-ms-transition: color .2s ease-out, background 1s ease-in;
+
-moz-transition: color .2s ease-out, background 1s ease-in;
+
-webkit-transition: color .2s ease-out, background 1s ease-in;
+
}
+
.topnav a img {
+
    height: 10%;
+
    width: 10%;
+
}
+
.topnav a.logo {
+
    float: left;
+
}
+
/* Change color on hover */
+
.topnav a:hover, .dropdown:hover .dropdown-button {
+
    background-color: #ddd;
+
    color: black;
+
   
+
}
+
.dropdown {
+
    float: right;
+
    overflow: hidden;
+
}
+
 
+
.dropdown .dropdown-button {
+
    font-size: 16px;   
+
    border: none;
+
    outline: none;
+
    color: white;
+
    padding: 14px 16px;
+
    background-color: inherit;
+
    font-family: inherit;
+
    margin: 0;
+
    cursor: pointer;
+
    /*for transitions when hovering*/
+
-o-transition: color .2s ease-out, background 1s ease-in;
+
-ms-transition: color .2s ease-out, background 1s ease-in;
+
-moz-transition: color .2s ease-out, background 1s ease-in;
+
-webkit-transition: color .2s ease-out, background 1s ease-in;
+
}
+
.dropdown-content {
+
    /* opacity: 0; */
+
    display: none;
+
    position: absolute;
+
    background-color: whitesmoke;
+
    min-width: 160px;
+
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
+
    z-index: 1;
+
}
+
.dropdown-content a {
+
    float: none;
+
    color: black;
+
    padding: 12px 16px;
+
    text-decoration: none;
+
    display: block;
+
    text-align: left;
+
}
+
 
+
.dropdown-content a:hover {
+
    background-color: white;
+
}
+
 
+
.dropdown:hover .dropdown-content {
+
    display: block;
+
    /*
+
    opacity: 1;
+
    transition: all 1s ease;
+
    -webkit-transition: all 1s ease;
+
    */
+
}
+
/* Base DIVs for whole website */
+
#root {
+
position: absolute;
+
font-size: 16px;
+
width: 100%;
+
height: auto;
+
margin: auto;
+
background-color: Whitesmoke;
+
}
+
#wrapper { /* Wraps all critical website content */
+
height: auto;
+
width: 90%;
+
background-color: white;
+
/*border-style: solid;
+
border-width: 1px;
+
border-color: black;
+
border-radius: 10px;*/
+
margin: auto;
+
display: table;
+
}
+
/*Load special fonts*/
+
@font-face {
+
    font-family: CenturyGothic;
+
    src: url(https://static.igem.org/mediawiki/2018/b/b9/T--iTesla-SoundBio--CenturyGothic.ttf);
+
}
+
@font-face {
+
font-family: Ubuntu-L;
+
src: url(https://static.igem.org/mediawiki/2018/8/85/T--iTesla-SoundBio--Ubuntu-L.ttf);
+
}
+
/*text styles*/
+
#title {
+
  font-family: Ubuntu-L;
+
  font-size: 92px;
+
  padding: 20px 40px;
+
  text-align: center;
+
  text-transform: uppercase;
+
  text-rendering: optimizeLegibility;
+
}
+
/*shadow classes*/
+
.elegantshadow {
+
    color: #131313;
+
    /*background-color: #e7e5e4;*/
+
    letter-spacing: .15em;
+
    text-shadow:
+
      1px -1px 0 #767676,
+
      -1px 2px 1px #737272,
+
      -2px 4px 1px #767474,
+
      -3px 6px 1px #787777,
+
      -4px 8px 1px #7b7a7a,
+
      -5px 10px 1px #7f7d7d,
+
      -6px 12px 1px #828181,
+
      -7px 14px 1px #868585,
+
      -8px 16px 1px #8b8a89,
+
      -9px 18px 1px #8f8e8d,
+
      -10px 20px 1px #949392,
+
      -11px 22px 1px #999897,
+
      -12px 24px 1px #9e9c9c,
+
      -13px 26px 1px #a3a1a1,
+
      -14px 28px 1px #a8a6a6,
+
      -15px 30px 1px #adabab,
+
      -16px 32px 1px #b2b1b0,
+
      -17px 34px 1px #b7b6b5,
+
      -18px 36px 1px #bcbbba,
+
      -19px 38px 1px #c1bfbf,
+
      -20px 40px 1px #c6c4c4,
+
      -21px 42px 1px #cbc9c8,
+
      -22px 44px 1px #cfcdcd,
+
      -23px 46px 1px #d4d2d1,
+
      -24px 48px 1px #d8d6d5,
+
      -25px 50px 1px #dbdad9,
+
      -26px 52px 1px #dfdddc,
+
      -27px 54px 1px #e2e0df,
+
      -28px 56px 1px #e4e3e2;
+
  }
+
  .deepshadow {
+
    color: #e0dfdc;
+
    background-color: #333;
+
    letter-spacing: .1em;
+
    text-shadow:
+
      0 -1px 0 #fff,
+
      0 1px 0 #2e2e2e,
+
      0 2px 0 #2c2c2c,
+
      0 3px 0 #2a2a2a,
+
      0 4px 0 #282828,
+
      0 5px 0 #262626,
+
      0 6px 0 #242424,
+
      0 7px 0 #222,
+
      0 8px 0 #202020,
+
      0 9px 0 #1e1e1e,
+
      0 10px 0 #1c1c1c,
+
      0 11px 0 #1a1a1a,
+
      0 12px 0 #181818,
+
      0 13px 0 #161616,
+
      0 14px 0 #141414,
+
      0 15px 0 #121212,
+
      0 22px 30px rgba(0, 0, 0, 0.9);
+
  }
+
  .insetshadow {
+
    color: #202020;
+
    background-color: #2d2d2d;
+
    letter-spacing: .1em;
+
    text-shadow:
+
      -1px -1px 1px #111,
+
      2px 2px 1px #363636;
+
  }
+
  .retroshadow {
+
    color: #2c2c2c;
+
    background-color: #d5d5d5;
+
    letter-spacing: .05em;
+
    text-shadow:
+
      4px 4px 0px #d5d5d5,
+
      7px 7px 0px rgba(0, 0, 0, 0.2);
+
  }
+
/* Animation Transitions */
+
.imgFadeIn {
+
  -webkit-animation: appear 1s;
+
  animation: appear 1s;
+
  -webkit-animation-fill-mode: forwards;
+
  animation-fill-mode: forwards;
+
}
+
@-webkit-keyframes appear {
+
  0% { left: 500px; opacity: 0; }
+
  100% { left: 16px; opacity: 1; } 
+
}
+
 
+
@keyframes appear {
+
  0% { left: 500px; opacity: 0; }
+
  100% { left: 16px; opacity: 1; } 
+
}
+
/* Style the footer */
+
.footer {
+
    background-color: #f1f1f1;
+
    padding: 10px;
+
    text-align: center;
+
    width: 100vw;
+
}
+
</style>
+
 
+
<style> <!-- Page Specific CSS -->
+
/*PAGE SPECIFIC CSS*/
+
/* Style the header */
+
.header {
+
    background-color: #f1f1f1;
+
    padding: 30px;
+
    text-align: center;
+
    font-size: 28px;
+
    width: 95vw;
+
}
+
/* Create three equal columns that floats next to each other */
+
.column {
+
    float: left;
+
    height: 50%;
+
    width: 33.33%;
+
    padding: 0px
+
/* If padding is wanted, change the value of px*/
+
}
+
/* Clear floats after the columns */
+
.row:after {
+
    content: "";
+
    display: table;
+
    clear: both;
+
    width: 100vw;
+
}
+
 
+
/* Make the text over image*/
+
.container {
+
    position: relative;
+
    text-align: center;
+
    color: black
+
}
+
.container1 {
+
    position: relative;
+
    text-align: center;
+
    color: white
+
}
+
 
+
.centered {
+
    position: absolute;
+
    bottom: 8px;
+
    left: 50%;
+
    transform: translate(-50%, -50%);
+
    font-size:18px
+
}
+
</style>
+
<!-- The following reset code was given by William Kwok from the UW iGEM team -->
+
<!-- Add on-page javascript for destroying default iGEM CSS and adding a loading animation -->
+
<!-- I do it twice to run once so the page loading animation gets correct styling the first run -->
+
<!-- Second run is just to make sure everything gets ran -->
+
<script type="text/javascript">
+
     $('div#content').removeAttr('id').attr('id', 'contentBox');
+
    $('a#top').remove();
+
    $('div#top_title').remove();
+
    $('div#HQ_page').removeAttr('id');
+
    $('div.mw-body').removeAttr('class');
+
    $('div#mw-content-text').removeAttr('id');
+
    $('div#bodyContent').removeAttr('id');
+
    $('div.mw-content-ltr>p').addClass('meta');
+
    $('div.mw-content-ltr').removeAttr('class');
+
    document.getElementById("root").innerText = "Page loading...";
+
    $(document).ready(function () {
+
        $('div#content').removeAttr('id').attr('id', 'contentBox');
+
        $('a#top').remove();
+
        $('div#top_title').remove();
+
        $('div#HQ_page').removeAttr('id');
+
        $('div.mw-body').removeAttr('class');
+
        $('div#mw-content-text').removeAttr('id');
+
        $('div#bodyContent').removeAttr('id');
+
        $('div.mw-content-ltr>p').addClass('meta');
+
        $('div.mw-content-ltr').removeAttr('class');
+
    })
+
 
</script>
 
</script>
<body>
 
    <div class="topnav">
 
        <a class="logo" href="#"><img src="https://static.igem.org/mediawiki/2018/8/87/T--iTesla-SoundBio--teamlogo.png"></a>
 
 
        <!-- Floats right hence in opposite order -->
 
        <a href="https://2018.igem.org/Team:iTesla-SoundBio/Project/Safety">Safety</a>
 
        <a href="https://2018.igem.org/Team:iTesla-SoundBio/Project/Interlab">InterLab</a>
 
        <a href="https://2018.igem.org/Team:iTesla-SoundBio/team">Team</a>
 
        <div class="dropdown">
 
            <button class="dropdown-button">Human Practices</button>
 
            <div class="dropdown-content">
 
                  <a href="https://2018.igem.org/Team:iTesla-SoundBio/Outreach">Outreach</a>
 
                    <a href="https://2018.igem.org/Team:iTesla-SoundBio/Collaborations">Collaborations</a>
 
                <a href="https://2018.igem.org/Team:iTesla-SoundBio/Attributions">Attributions</a>
 
 
            </div>
 
        </div>
 
        <div class="dropdown">
 
            <button class="dropdown-button">Project</button>
 
            <div class="dropdown-content">
 
                <a href="https://2018.igem.org/Team:iTesla-SoundBio/description">Description</a>
 
                <a href="https://2018.igem.org/Team:iTesla-SoundBio/design">Design</a>
 
                <a href="https://2018.igem.org/Team:iTesla-SoundBio/Experiment">Experiment</a>
 
                <a href="https://2018.igem.org/Team:iTesla-SoundBio/Project/results">Results</a>
 
                <a href="https://2018.igem.org/Team:iTesla-SoundBio/Project/Parts">Biobrick Parts</a>
 
                <a href="#">Lab Notebook</a>
 
 
            </div>
 
        </div>
 
        <div class="dropdown">
 
            <button class="dropdown-button">Home</button>
 
            <div class="dropdown-content">
 
                <a href="https://2018.igem.org/Team:iTesla-SoundBio">iT-SB 2018</a>
 
                <a href="https://2017.igem.org/Team:iTesla-SoundBio">iT-SB 2017</a>
 
            </div>
 
        </div>
 
    </div>
 
 
    <div id="wrapper">
 
        <h2 id="title" class="retroshadow">Outreach</h2>
 
 
 
<!--
 
    <div class="row">
 
        <div class="column" style="background-color:#ccccff;"><div class= "container">
 
            <a href="https://2018.igem.org/Team:iTesla-SoundBio/labnotebook"><img src="https://static.igem.org/mediawiki/2018/c/c1/T--iTesla-Soundbio--writing1.jpg" alt= "labnotebook", width= 100%, height=400px></a>
 
 
        <div class="centered">LabNotebook</div>
 
        </div>
 
 
 
        <div class="column" style="background-color:#bbb;"><div class= "container1">
 
         
 
        <div class="centered">Project Description</div>
 
        </div>
 
 
        <div class="column" style="background-color:#ccc;"><div class= "container">
 
     
 
 
        <div class="centered">Human Practices</div>
 
        </div>
 
 
    </div>
 
-->
 
    </div>
 
 
</body>
 
</body>
 
</html>
 
</html>

Revision as of 22:08, 27 August 2018

{{iTesla-SoundBio}}