Difference between revisions of "Team:elan vital korea"

 
(161 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>
#cssmenu {
+
body{
  padding: 0;
+
    margin:0;
  margin: 0;
+
    padding:0;
  border: 0;
+
  width: auto;
+
 
}
 
}
#cssmenu ul,
+
 
#cssmenu li {
+
 
  list-style: none;
+
#home {
  margin: 0;
+
    background: url(https://static.igem.org/mediawiki/2015/archive/2/24/20150829203509!ElanVital_Bg.png) 50% 0 no-repeat fixed;
  padding: 0;
+
    height: 1000px;
 +
    margin: 0 auto;
 +
    width: 100%;
 +
    max-width: 1920px;
 +
    position: relative;
 +
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
 
}
 
}
#cssmenu ul {
+
#about {
  position: relative;
+
    background: url(https://static.igem.org/mediawiki/2015/2/28/Elan_Vital_solidbg.JPG) 50% 0 no-repeat fixed;
  z-index: 597;
+
    height: 1000px;
 +
    margin: 0 auto;
 +
    width: 100%;
 +
    max-width: 1920px;
 +
    position: relative;
 +
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
 
}
 
}
#cssmenu ul li {
+
 
  float: left;
+
/* Introduction */
  min-height: 1px;
+
 
  vertical-align: middle;
+
#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%; }
 +
 
 +
 
 +
 
 +
 
 +
.galleryItem {
 +
    color: #797478;
 +
    font: 10px/1.5 Verdana, Helvetica, sans-serif;
 +
    float: left;   
 +
    width: 16%;
 +
    margin: 2% 2% 50px 2%;
 
}
 
}
#cssmenu ul li.hover,
+
#cssmenu ul li:hover {
+
.galleryItem h2 {
  position: relative;
+
    text-transform: uppercase;
  z-index: 599;
+
  cursor: default;
+
 
}
 
}
#cssmenu ul ul {
+
  visibility: hidden;
+
.galleryItem img {
  position: absolute;
+
    max-width: 100%;
  top: 100%;
+
    -webkit-border-radius: 5px;
  left: 0;
+
    -moz-border-radius: 5px;
  z-index: 598;
+
    border-radius: 5px;
  width: 100%;
+
 
}
 
}
#cssmenu ul ul li {
+
 
   float: none;
+
 
}
+
 
#cssmenu ul ul ul {
+
.center {
 +
   position: absolute;
 +
  margin: auto;
 
   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>
+
<script>
    <ul>
+
$('a').click(function(){
        <li><a href='#'><span>Project Overview</span></a>
+
    $('html, body').animate({
        <li><a href='#'><span>Background Information</span></a>
+
         scrollTop: $( $(this).attr('href') ).offset().top
        <li><a href='#'><span>Method & Materials</span></a>
+
    }, 500);
            <ul>
+
    return false;
              <li><a href='#'><span>Plasma Design</span></a></li>
+
});
              <li class='last'><a href='#'><span>Protocal</span></a></li>
+
</script>
            </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>
+
  
 
</body>
 
</body>
<html>
+
 
 +
</html>

Latest revision as of 09:13, 7 September 2015








HOME