Difference between revisions of "Team:elan vital korea"

 
(154 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<html lang=''>
+
{{ElanVitalKoreaMWlook}}
 +
{{ElanVitalKorea}}
 +
 
 +
<html>
 +
 
 +
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
 +
<script>
 +
$(document).ready(function(){
 +
    // Cache the Window object
 +
    $window = $(window);
 +
               
 +
  $('section[data-type="background"]').each(function(){
 +
    var $bgobj = $(this); // assigning the object
 +
                   
 +
      $(window).scroll(function() {
 +
                   
 +
        // Scroll the background at var speed
 +
        // the yPos is a negative value because we're scrolling it UP!                               
 +
        var yPos = -($window.scrollTop() / $bgobj.data('speed'));
 +
       
 +
        // Put together our final background position
 +
        var coords = '50% '+ yPos + 'px';
 +
 
 +
        // Move the background
 +
        $bgobj.css({ backgroundPosition: coords });
 +
       
 +
}); // window scroll Ends
 +
 
 +
});   
 +
 
 +
});
 +
/*
 +
* Create HTML5 elements for IE's sake
 +
*/
 +
 
 +
document.createElement("article");
 +
document.createElement("section");
 +
</script>
 
<style>
 
<style>
body {
+
body{
     margin: 10px 0 0 0;
+
     margin:0;
     padding: 0;}
+
     padding:0;
#top-section {
+
}
     width: 965px;
+
 
     height: 0;
+
 
 +
#home {
 +
     background: url(https://static.igem.org/mediawiki/2015/archive/2/24/20150829203509!ElanVital_Bg.png) 50% 0 no-repeat fixed;
 +
     height: 1000px; 
 +
    margin: 0 auto;
 +
    width: 100%;
 +
    max-width: 1920px;
 +
    position: relative;
 +
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
 +
}
 +
#about {
 +
    background: url(https://static.igem.org/mediawiki/2015/2/28/Elan_Vital_solidbg.JPG) 50% 0 no-repeat fixed;
 +
    height: 1000px;
 
     margin: 0 auto;
 
     margin: 0 auto;
     padding: 0;
+
     width: 100%;
     border: none;}
+
     max-width: 1920px;
#menubar {
+
     position: relative;
    font-size: 65%;
+
     box-shadow: 0 0 50px rgba(0,0,0,0.8);
     top: -14px;}
+
}
.left-menu:hover {
+
 
     background-color: transparent;}
+
/* Introduction */
#menubar li a {
+
    background-color: transparent;}
+
#menubar:hover {
+
    color: white;}
+
#menubar li a {
+
    color: transparent;}
+
#menubar:hover li a {
+
    color: white;}
+
  
 +
#home article { background: url("#") no-repeat scroll center top transparent; height: 458px; position: absolute; text-indent: -9999px; top: 291px; width: 100%; }
  
 +
#about article { background: url("#") no-repeat scroll center top transparent; height: 458px; position: absolute; text-indent: -9999px; top: 291px; width: 100%; }
  
  
#cssmenu {
+
 
  padding: 0;
+
 
  margin: 0;
+
.galleryItem {
  border: 0;
+
    color: #797478;
  width: auto;
+
    font: 10px/1.5 Verdana, Helvetica, sans-serif;
 +
    float: left;    
 +
    width: 16%;
 +
    margin:  2% 2% 50px 2%;
 
}
 
}
#cssmenu ul,
+
#cssmenu li {
+
.galleryItem h2 {
  list-style: none;
+
    text-transform: uppercase;
  margin: 0;
+
  padding: 0;
+
 
}
 
}
#cssmenu ul {
+
  position: relative;
+
.galleryItem img {
  z-index: 597;
+
    max-width: 100%;
 +
    -webkit-border-radius: 5px;
 +
    -moz-border-radius: 5px;
 +
    border-radius: 5px;
 
}
 
}
#cssmenu ul li {
+
 
  float: left;
+
 
  min-height: 1px;
+
 
  vertical-align: middle;
+
.center {
}
+
#cssmenu ul li.hover,
+
#cssmenu ul li:hover {
+
  position: relative;
+
  z-index: 599;
+
  cursor: default;
+
}
+
#cssmenu ul ul {
+
  visibility: hidden;
+
 
   position: absolute;
 
   position: absolute;
   top: 100%;
+
   margin: auto;
  left: 0;
+
  z-index: 598;
+
  width: 100%;
+
}
+
#cssmenu ul ul li {
+
  float: none;
+
}
+
#cssmenu ul ul ul {
+
 
   top: 0;
 
   top: 0;
   left: 190px;
+
   right: 0;
  width: 190px;
+
}
+
#cssmenu ul li:hover > ul {
+
  visibility: visible;
+
}
+
#cssmenu ul ul {
+
 
   bottom: 0;
 
   bottom: 0;
 
   left: 0;
 
   left: 0;
 +
  width: 100px;
 +
  height: 100px;
 +
  border-radius: 3px;
 
}
 
}
#cssmenu ul ul {
+
 
  margin-top: 0;
+
IMG.displayed {
 +
    display: block;
 +
    margin-left: auto;
 +
    margin-right: auto; }
 +
 
 +
h4 {
 +
color:white;
 +
font-size: 24px;
 +
letter-spacing:1px;
 +
line-height:25px;
 
}
 
}
#cssmenu ul ul li {
+
 
  font-weight: normal;
+
h5{
 +
text-decoration:none;
 +
font-size: 24px;
 +
letter-spacing:1px;
 +
line-height:25px;
 
}
 
}
#cssmenu a {
+
 
  display: block;
+
 
  line-height: 1em;
+
IMG.igem {
  text-decoration: none;
+
float:right;
}
+
width:5%;
/* Custom CSS Styles */
+
margin:20px;
#cssmenu {
+
  background: #333333;
+
  border-bottom: 4px solid #1b9bff;
+
  font-family: 'Oxygen Mono', Tahoma, Arial, sans-serif;
+
  font-size: 12px;
+
}
+
#cssmenu > ul {
+
  *display: inline-block;
+
}
+
#cssmenu:after,
+
#cssmenu ul:after {
+
  content: '';
+
  display: block;
+
  clear: both;
+
}
+
#cssmenu ul {
+
  text-transform: uppercase;
+
}
+
#cssmenu ul ul {
+
  border-top: 4px solid #1b9bff;
+
  text-transform: none;
+
  min-width: 190px;
+
}
+
#cssmenu ul ul a {
+
  background: #1b9bff;
+
  color: #ffffff;
+
  border: 1px solid #0082e7;
+
  border-top: 0 none;
+
  line-height: 150%;
+
  padding: 16px 20px;
+
  font-size: 12px;
+
}
+
#cssmenu ul ul ul {
+
  border-top: 0 none;
+
}
+
#cssmenu ul ul li {
+
  position: relative;
+
}
+
#cssmenu ul ul li:first-child > a {
+
  border-top: 1px solid #0082e7;
+
}
+
#cssmenu ul ul li:hover > a {
+
  background: #4eb1ff;
+
  color: #ffffff;
+
}
+
#cssmenu ul ul li:last-child > a {
+
  -moz-border-radius: 0 0 3px 3px;
+
  -webkit-border-radius: 0 0 3px 3px;
+
  border-radius: 0 0 3px 3px;
+
  -moz-background-clip: padding;
+
  -webkit-background-clip: padding-box;
+
  background-clip: padding-box;
+
  -moz-box-shadow: 0 1px 0 #1b9bff;
+
  -webkit-box-shadow: 0 1px 0 #1b9bff;
+
  box-shadow: 0 1px 0 #1b9bff;
+
}
+
#cssmenu ul ul li:last-child:hover > a {
+
  -moz-border-radius: 0 0 0 3px;
+
  -webkit-border-radius: 0 0 0 3px;
+
  border-radius: 0 0 0 3px;
+
  -moz-background-clip: padding;
+
  -webkit-background-clip: padding-box;
+
  background-clip: padding-box;
+
}
+
#cssmenu ul ul li.has-sub > a:after {
+
  content: '+';
+
  position: absolute;
+
  top: 50%;
+
  right: 15px;
+
  margin-top: -8px;
+
}
+
#cssmenu ul li:hover > a,
+
#cssmenu ul li.active > a {
+
  background: #1b9bff;
+
  color: #ffffff;
+
}
+
#cssmenu ul li.has-sub > a:after {
+
  content: '+';
+
  margin-left: 5px;
+
}
+
#cssmenu ul li.last ul {
+
  left: auto;
+
  right: 0;
+
}
+
#cssmenu ul li.last ul ul {
+
  left: auto;
+
  right: 99.5%;
+
}
+
#cssmenu a {
+
  background: #333333;
+
  color: #CBCBCB;
+
  padding: 0 20px;
+
}
+
#cssmenu > ul > li > a {
+
  line-height: 48px;
+
  font-size: 12px;
+
}
+
body {
+
    background-image: url('https://static.igem.org/mediawiki/2015/2/24/ElanVital_Bg.png');
+
    background-position: 9% 0%;
+
background-repeat: no-repeat;
+
 
}
 
}
  
 
</style>
 
</style>
<head>
+
 
  <meta charset='utf-8'>
+
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
+
  <meta name="viewport" content="width=device-width, initial-scale=1">
+
  <link rel="stylesheet" href="styles.css">
+
  <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
+
  <script src="script.js"></script>
+
 
</head>
 
</head>
 +
 
<body>
 
<body>
 +
    <!-- Section #1 -->
 +
        <section id="home" data-speed="10" data-type="background">
 +
        <a href="#"> <img class="igem" src="https://static.igem.org/mediawiki/2015/7/70/IGEM_Logo.gif"></a>
 +
         
 +
            <br>
 +
            <br>
 +
            <br>
 +
            <br>
 +
            <br>
 +
            <br>
 +
            <br>
 +
<div class="center;">
 +
                <a href="https://2015.igem.org/Team:elan_vital_korea">
 +
                    <img class="displayed" src="https://static.igem.org/mediawiki/2015/d/d5/ElanVital_Logo.png">
 +
                </a>
  
<div id='cssmenu'>
+
                <h4 style="text-align:center;">
<ul>
+
                    HOME <br>
  <li><a href='#'><span>Team</span></a>
+
                </h4>
    <ul>
+
                </div>
        <li><a href='#'><span>Members</span></a>
+
          </div>
        <li><a href='#'><span>Attribution</span></a>
+
    </section>
    </ul>
+
  <li><a href='#'><span>Projects</span></a>
+
    <ul>
+
        <li><a href='#'><span>Project Overview</span></a>
+
        <li><a href='#'><span>Background Information</span></a>
+
        <li class='active has-sub'><a href='#'><span>Method & Materials</span></a>
+
            <ul>
+
              <li><a href='#'><span>Plasma Design</span></a></li>
+
              <li class='last'><a href='#'><span>Protocal</span></a></li>
+
            </ul>
+
        <li><a href='#'><span>Result</span></a>
+
        <li><a href='#'><span>Future Plans</span></a>
+
    </ul>
+
        <li><a href='#'><span>Web Lab</span></a>
+
    <ul>
+
        <li><a href='#'><span>Notebook</span></a>
+
        <li><a href='#'><span>Protocal</span></a>
+
        <li><a href='#'><span>Safety</span></a>
+
    </ul>
+
  <li><a href='#'><span>Human Practice</span></a>
+
    <ul>
+
        <li><a href='#'><span>Focus</span></a>
+
        <li><a href='#'><span>Korea Youth Expo</span></a>
+
        <li><a href='#'><span>Education Public Awareness</span></a>
+
        <li><a href='#'><span>Policy Recommnedations</span></a>
+
        <li><a href='#'><span>Blog</span></a>
+
        <li><a href='#'><span>Interview</span></a>
+
        <li><a href='#'><span>Regional Meet-ups</span></a>
+
        <li><a href='#'><span>Articles</span></a>
+
        <li><a href='#'><span>Vdieo</span></a>
+
        <li><a href='#'><span>Presentations</span></a>
+
    </ul>
+
  <li><a href='#'><span>iGEM Resource</span></a>
+
    <ul>
+
        <li><a href='#'><span>Medal Requirement</span></a>
+
        <li><a href='#'><span>Module Description</span></a>
+
    </ul>
+
</ul>
+
</div>
+
  
 +
<script>
 +
$('a').click(function(){
 +
    $('html, body').animate({
 +
        scrollTop: $( $(this).attr('href') ).offset().top
 +
    }, 500);
 +
    return false;
 +
});
 +
</script>
  
 +
</body>
  
 
+
</html>
<a href="#"><img src="https://static.igem.org/mediawiki/2015/d/d5/ElanVital_Logo.png"></a>
+
 
+
 
+
</body>
+
<html>
+

Latest revision as of 09:13, 7 September 2015








HOME