|
|
(24 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| + | {{iTesla-SoundBio}} |
| + | |
| <html> | | <html> |
− | <style> /*STYLE FOR ALL PAGES*/
| + | <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> |
− | body { background: #9cb8b3; }
| + | <script> |
− | { /* Replaces "root" div -- filtered out all iGEM wiki settings (see first <script>)*/
| + | $(document).ready(function(){ |
− | width: 100%;
| + | // Add smooth scrolling to all links |
− | height: 100vh;
| + | $("a").on('click', function(event) { |
− | background-size:cover;
| + | |
− | background-repeat:no-repeat;
| + | // Make sure this.hash has a value before overriding default behavior |
− | /*background-image:url("https://raddinteractive.com/wp-content/uploads/Chalkboard-background-e1463542024446.jpg");
| + | if (this.hash !== "") { |
− | */
| + | // Prevent default anchor click behavior |
− | background-color: whitesmoke;
| + | event.preventDefault(); |
− | margin: 0px;
| + | |
− | padding: 0px;
| + | // Store hash |
− | }
| + | var hash = this.hash; |
− | /* Style the top navigation bar */ | + | |
− | .topnav { | + | // Using jQuery's animate() method to add smooth page scroll |
− | overflow: hidden;
| + | // The optional number (800) specifies the number of milliseconds it takes to scroll to the specified area |
− | background-color: #333;
| + | $('html, body').animate({ |
− | font-family: Bahnschrift;
| + | scrollTop: $(hash).offset().top |
− | font-size: 15px;
| + | }, 800, function(){ |
− | width: 100%;
| + | |
− | margin-top: -10px;
| + | // Add hash (#) to URL when done scrolling (default click behavior) |
− | }
| + | window.location.hash = hash; |
− | /* Style the topnav links */ | + | }); |
− | .topnav a { | + | } // End if |
− | float: right;
| + | }); |
− | display: block;
| + | }); |
− | color: #f2f2f2;
| + | </script> |
− | text-align: center;
| + | <style> |
− | padding: 14px 16px;
| + | body { |
− | text-decoration: none;
| + | font-family: "Lato", sans-serif; |
− | /*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 { | + | .sidenav { |
− | font-size: 16px; | + | height: 100%; |
− | border: none; | + | width: 180px; |
− | outline: none;
| + | position: fixed; |
− | 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; | | z-index: 1; |
| + | top: 0; |
| + | left: 0; |
| + | background-color: #111; |
| + | overflow-x: hidden; |
| + | padding-top: 100px; |
| } | | } |
− | .dropdown-content a { | + | |
− | float: none;
| + | .sidenav a { |
− | color: black;
| + | padding-top: 5px 5px 5px 5px; |
− | padding: 12px 16px; | + | |
| text-decoration: none; | | text-decoration: none; |
| + | font-size: 20px; |
| + | color: #818181; |
| display: block; | | display: block; |
− | text-align: left;
| |
| } | | } |
| | | |
− | .dropdown-content a:hover { | + | .sidenav a:hover { |
− | background-color: white; | + | color: #f1f1f1; |
| } | | } |
| | | |
− | .dropdown:hover .dropdown-content { | + | .main { |
− | display: block; | + | margin-left: 180px; /* Same as the width of the sidenav */ |
− | /*
| + | padding: 0px 10px; |
− | opacity: 1; | + | font-family: arial; |
− | transition: all 1s ease; | + | font-size: 20px; |
− | -webkit-transition: all 1s ease; | + | padding: 30px |
− | */ | + | |
| } | | } |
− | /* Base DIVs for whole website */
| + | @media screen and (max-height: 450px) { |
− | #root {
| + | .sidenav {padding-top: 15px;} |
− | position: absolute;
| + | .sidenav a {font-size: 18px;} |
− | 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> |
| | | |
− | <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*/ | + | <div class="sidenav"> |
− | .container { | + | <a href="https://2018.igem.org/Team:iTesla-SoundBio">Main Page</a> |
− | position: relative;
| + | <br> |
− | text-align: center;
| + | <a href=#top>Top</a> |
− | color: black
| + | <br> |
− | }
| + | <a href=#Research><img src="https://static.igem.org/mediawiki/2018/d/d8/T--iTesla-Soundbio--Researchpic.png" alt="Research" style="width:100%"></a> |
− | .container1 { | + | <br> |
− | position: relative;
| + | <a href=#Education><img src="https://static.igem.org/mediawiki/2018/6/6b/T--itesla-soundbio--educationpic.png" alt="Education" style="width:100%"></a> |
− | text-align: center;
| + | <br> |
− | color: white
| + | <a href=#Design><img src="https://static.igem.org/mediawiki/2018/3/3e/T--iTesla-Soundbio--Designpic.png" alt="Design" style="width:100%"></a> |
− | }
| + | </div> |
− | | + | <script> |
− | .centered {
| + | $("#title").text("Human Practices") |
− | 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="main"> |
− | <div class="topnav">
| + | <div id="top"></div> |
− | <a class="logo" href="#"><img src="https://static.igem.org/mediawiki/2018/8/87/T--iTesla-SoundBio--teamlogo.png"></a>
| + | <div id="Research"> |
− | | + | <h1><strong>Research</strong></h1> |
− | <!-- Floats right hence in opposite order -->
| + | </div> |
− | <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 id="Education"> |
− |
| + | <h1><strong>Education</strong></h1> |
| + | </div> |
| | | |
− | <div class="centered">Human Practices</div>
| |
− | </div>
| |
| | | |
− | </div>
| + | <div id="Design"> |
− | -->
| + | <h1><strong>Design</strong></h1> |
− | </div>
| + | </div> |
− | </body> | + | </div> |
| </html> | | </html> |