Difference between revisions of "Team:UNIK Copenhagen"

Line 59: Line 59:
 
}
 
}
  
.bkgd{
 
    margin: 0 auto;
 
  cursor: all-scroll;
 
 
  width: 100%;
 
  height: 0;
 
  padding-bottom: 100%;
 
 
  background-image: url(https://static.igem.org/mediawiki/2015/9/96/Unik_copenhagen_Mars_background.jpg);
 
  background-size: cover;
 
  background-position: 100% 0;
 
 
  transition: background-position 1s linear;
 
}
 
  
 
/* Extra markup and styles for table-esque vertical and horizontal centering */
 
/* Extra markup and styles for table-esque vertical and horizontal centering */
Line 207: Line 193:
 
   <body>
 
   <body>
  
<div class="bkgd">
 
 
     <div class="site-wrapper">
 
     <div class="site-wrapper">
 
         <h3 class="masthead-brand"><img src="https://static.igem.org/mediawiki/igem.org/6/60/Igemlogo_300px.png"</h3>
 
         <h3 class="masthead-brand"><img src="https://static.igem.org/mediawiki/igem.org/6/60/Igemlogo_300px.png"</h3>
Line 253: Line 238:
 
     <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
 
     <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
 
     <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
 
     <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
 
    <script type="text/javascript">
 
        $(function () {
 
 
            var $panorama = $('.bkgd');
 
 
            var left = $panorama.offset().left;
 
            var width = $panorama.width();
 
 
        $('.bkgd').mousemove(function (e) {
 
            var offset = e.pageX - left;
 
            var percentage = offset / width * 100;
 
 
    $panorama.css('background-position', percentage + '% 0');
 
 
  });
 
 
});
 
  
 
     <script src="js/ie10-viewport-bug-workaround.js"></script>
 
     <script src="js/ie10-viewport-bug-workaround.js"></script>
 
   </body>
 
   </body>
 
</html>
 
</html>

Revision as of 16:04, 30 May 2015

Cover Template for Bootstrap

SpaceMoss - University of Copenhagen iGEM 2015

Can we use biology to make it easier to get to Mars? We are modifying moss to survive in the harsh Martian environment, and then produce compounds which are useful for astronauts.

Learn more