Difference between revisions of "Template:Elanvitalkorea"

 
Line 1: Line 1:
 +
{{ElanVitalKoreaMWlook}}
 +
 
<html>
 
<html>
 +
<head>
 +
<style>
 +
html, body, .wrapper{       
 +
        width: 100%;
 +
        height: 100%;
 +
        background-color: transparent;
 +
    }
  
 +
#cssmenu {padding: 0; margin: 0; border: 0; text-align:center;}
 +
#cssmenu ul, #cssmenu li {list-style: none; margin: 0; padding: 0;}
 +
#cssmenu ul {position: relative; z-index: 597; display:inline-block; list-style:none;}
 +
#cssmenu ul li { float: left; min-height: 1px; vertical-align: middle;}
 +
#cssmenu ul li.hover,
 +
#cssmenu ul li:hover {position: relative; z-index: 599; cursor: default;}
 +
#cssmenu ul ul {visibility: hidden; position: absolute; top: 100%; left: 0; z-index: 598; width: 100%;}
 +
#cssmenu ul ul li {float: none;}
 +
#cssmenu ul ul ul {top: 0; left: auto; right: -99.5%; }
 +
#cssmenu ul li:hover > ul { visibility: visible;}
 +
#cssmenu ul ul {bottom: 0; left: 0;}
 +
#cssmenu ul ul {margin-top: 0; }
 +
#cssmenu ul ul li {font-weight: normal;}
 +
#cssmenu a { display: block; line-height: 1em; text-decoration: none; }
  
<style type="text/css">
+
#cssmenu li {
body {
+
text-align:left;
    background-image: url('https://static.igem.org/mediawiki/2015/2/24/ElanVital_Bg.png');
+
    background-repeat: no-repeat;
+
    background-position: center;
+
    background-attachment: fixed;
+
    -webkit-background-size: cover;
+
    -moz-background-size: cover;
+
    -o-background-size: cover;
+
    background-size: cover;
+
    margin:0;
+
    padding:0;
+
    border:0;
+
    width:100%;
+
    min-width:386px;
+
    min-height:100%;
+
    height:1px;
+
    font-size:90%;
+
 
}
 
}
  
div.column {
+
#cssmenu {
   max-width: 800px;
+
   background: #333;
 +
  border-bottom: 4px solid #1b9bff;
 +
  font-family: 'Oxygen Mono', Tahoma, Arial, sans-serif;
 +
  font-size: 12px;
 
}
 
}
  
IMG.displayed {
+
  #cssmenu > ul { *display: inline-block; }
    display: block;
+
    margin-left: auto;
+
    margin-right: auto;
+
    height: auto;
+
    width: auto;
+
margin-top:10%;
+
    max-width: 100%;
+
}
+
  
IMG.scrollarrow {
+
  #cssmenu:after, #cssmenu ul:after {
 +
    content: '';
 
     display: block;
 
     display: block;
     margin-left: auto;
+
     clear: both;
    margin-right: auto;
+
    margin-bottom: 10%;
+
  max-width: 100%;
+
  height: auto;  
+
 
}
 
}
  
h3.scrolltext {
+
#cssmenu a {
margin-top:7%;
+
    background: #333;
 +
    color: #CBCBCB;
 +
    padding: 0 20px;
 
}
 
}
 +
#cssmenu ul { text-transform: uppercase; }
  
 
+
    #cssmenu ul ul {
h3 {
+
      border-top: 4px solid #1b9bff;
color:white;
+
      text-transform: none;
 +
      min-width: 190px;
 
}
 
}
 +
      #cssmenu ul ul a {
 +
        background: #1b9bff;
 +
        color: #FFF;
 +
        border: 1px solid #0082e7;
 +
        border-top: 0 none;
 +
        line-height: 150%;
 +
        padding: 16px 20px;
 +
}
 +
      #cssmenu ul ul ul { border-top: 0 none; }
  
<!-- End of Background image & logo & scroll--!>
+
      #cssmenu ul ul li { position: relative }
+
  
 +
#cssmenu > ul > li > a { line-height: 48px;  }
  
#cssmenu {
+
#cssmenu ul ul li:first-child > a { border-top: 1px solid #0082e7; }
  padding: 0;
+
        #cssmenu ul ul li:hover > a { background: #35a6ff; }
  margin: 0;
+
  border: 0;
+
  width: auto;
+
}
+
#cssmenu ul,
+
#cssmenu li {
+
  list-style: none;
+
  margin: 0;
+
  padding: 0;
+
}
+
#cssmenu ul {
+
  position: relative;
+
  z-index: 597;
+
  margin-left: auto;
+
  margin-bottom: 0;
+
  margin-right: auto;
+
  margin-top: 0px;
+
  clear:left;
+
  float:left;
+
float:right;
+
margin:0;
+
  padding:0;
+
  right:37%;
+
 
+
  
 +
        #cssmenu ul ul li:last-child > a {
 +
          border-radius: 0 0 3px 3px;
 +
          box-shadow: 0 1px 0 #1b9bff;
 
}
 
}
#cssmenu ul li {
+
        #cssmenu ul ul li:last-child:hover > a { border-radius: 0 0 0 3px; }
  float: left;
+
  min-height: 1px;
+
  verticalalign: middle;
+
}
+
  
 
+
        #cssmenu ul ul li.has-sub > a:after {
 
+
          content: '+';
 
+
          position: absolute;
 
+
          top: 50%;
 
+
          right: 15px;
 
+
          margin-top: -8px;
 
+
#cssmenu > ul > li {
+
    display:inline-block;
+
    margin-left: 15px;       /* This is when the drop down box appears */
+
    position: relative;
+
 
}
 
}
  
 
+
    #cssmenu ul li:hover > a, #cssmenu ul li.active > a {
 
+
      background: #1b9bff;
 
+
      color: #FFF;
 
+
#cssmenu ul li.hover,
+
#cssmenu ul li:hover {
+
  position: relative;
+
  z-index: 599;
+
  cursor: default;
+
 
}
 
}
#cssmenu ul ul {
+
    #cssmenu ul li.has-sub > a:after {
  visibility: hidden;
+
      content: '+';
  position: absolute;
+
      margin-left: 5px;
  top: 100%;
+
  left: 0;
+
  z-index: 598;
+
  width: 100%;
+
 
}
 
}
#cssmenu ul ul li {
+
    #cssmenu ul li.last ul {
  float: none;
+
      left: auto;
 +
      right: 0;
 
}
 
}
#cssmenu ul ul ul {
+
      #cssmenu ul li.last ul ul {
  top: 0;
+
        left: auto;
  left: 190px;
+
        right: 99.5%;
  width: 190px;
+
}
+
#cssmenu ul li:hover > ul {
+
  visibility: visible;
+
}
+
#cssmenu ul ul {
+
  bottom: 0;
+
  left: 0;
+
}
+
#cssmenu ul ul {
+
  margin-top: 0;
+
}
+
#cssmenu ul ul li {
+
  font-weight: normal;
+
}
+
#cssmenu a {
+
  display: block;
+
  line-height: 1em;
+
  text-decoration: none;
+
}
+
/* Custom CSS Styles */
+
#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;
+
 
}
 
}
 
 
  
  
 
</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>
  
 +
<div id='cssmenu'>
 +
  <ul>
 +
    <li class='has-sub'><a href='#'>Team</a>
 +
        <ul>
 +
          <li><a href='#'>Members</a>
 +
          <li><a href='#'>Attribution</a>
 +
        </ul>
 +
    <li class='has-sub'><a href='#'>Project</a>
 +
        <ul>
 +
          <li><a href='#'>Project Overview</a>
 +
          <li><a href='#'>Background Information</a>
 +
          <li class='has-sub '><a>Method & Materials</a>
 +
              <ul>
 +
                <li><a href='#'>Plasmid Design</a></li>
 +
                <li><a href='#'>Protocols</a></li>
 +
              </ul>
 +
          <li><a href='#'>Result</a>
 +
          <li><a href='#'>Conclusions</a>
 +
          <li><a href='#'>Future Plans</a>
 +
</ul>
 +
</li>
  
 +
    <li class='has-sub'><a href='#'>Wetlab</a>
 +
        <ul>
 +
          <li><a href='#'>Notebook</a>
 +
          <li><a href='#'>Protocal</a>
 +
          <li><a href='#'>Safety</a>
 +
</ul>
 +
</li>
  
<div id='cssmenu'>
+
     <li class='has-sub'><a href='#'>Human Practice</a>
<ul>
+
         <ul>
  <li><a href='#'><span>Team</span></a>
+
          <li><a href='#'>Focus</a>
     <ul>
+
          <li><a href='#'>Korea Youth Expo</a>
        <li><a href='https://2015.igem.org/Team:elan_vital_korea/Members'><span>Members</span></a>
+
          <li><a href='#'>Education & Public Awareness</a>
        <li><a href='https://2015.igem.org/Team:elan_vital_korea/Attribution'><span>Attribution</span></a>
+
          <li><a href='#'>Policy Recommendations</a>
    </ul>
+
          <li><a href='#'>Blog</a>
  <li><a href='#'><span>Projects</span></a>
+
          <li><a href='#'>Interview</a>
    <ul>
+
          <li><a href='#'>Regional Meet-ups</a>
        <li><a href='https://2015.igem.org/Team:elan_vital_korea/Project_Overview><span>Project Overview</span></a>
+
          <li><a href='#'>Articles</a>
        <li><a href='https://2015.igem.org/Team:elan_vital_korea/Background_Information'><span>Background Information</span></a>
+
          <li><a href='#'>Video</a>
        <li class='active has-sub'><a href='#'><span>Method & Materials</span></a>
+
          <li><a href='#'>Presentations</a>
            <ul>
+
              <li><a href='https://2015.igem.org/Team:elan_vital_korea/Plasma_Design'><span>Plasma Design</span></a></li>
+
              <li class='last'><a href='https://2015.igem.org/Team:elan_vital_korea/Protocal1'><span>Protocal</span></a></li>
+
            </ul>
+
        <li><a href='https://2015.igem.org/Team:elan_vital_korea/Result'><span>Result</span></a>
+
        <li><a href='https://2015.igem.org/Team:elan_vital_korea/Future_Plans'><span>Future Plans</span></a>
+
    </ul>
+
         <li><a href='#'><span>Web Lab</span></a>
+
    <ul>
+
        <li><a href='https://2015.igem.org/Team:elan_vital_korea/Notebook'><span>Notebook</span></a>
+
        <li><a href='https://2015.igem.org/Team:elan_vital_korea/Protocal'><span>Protocal</span></a>
+
        <li><a href='https://2015.igem.org/Team:elan_vital_korea/Saftey'><span>Safety</span></a>
+
    </ul>
+
  <li><a href='#'><span>Human Practice</span></a>
+
    <ul>
+
        <li><a href='https://2015.igem.org/Team:elan_vital_korea/Focus'><span>Focus</span></a>
+
        <li><a href='https://2015.igem.org/Team:elan_vital_korea/Korea_Youth_Expo'><span>Korea Youth Expo</span></a>
+
        <li><a href='https://2015.igem.org/Team:elan_vital_korea/Education_Public_Awareness'><span>Education Public Awareness</span></a>
+
        <li><a href='https://2015.igem.org/Team:elan_vital_korea/Policy_Recommendations'><span>Policy Recommnedations</span></a>
+
        <li><a href='https://2015.igem.org/Team:elan_vital_korea/Blog'><span>Blog</span></a>
+
        <li><a href='https://2015.igem.org/Team:elan_vital_korea/Interview'><span>Interview</span></a>
+
        <li><a href='https://2015.igem.org/Team:elan_vital_korea/Regional_Meetups'><span>Regional Meet-ups</span></a>
+
        <li><a href='https://2015.igem.org/Team:elan_vital_korea/Articles'><span>Articles</span></a>
+
        <li><a href='https://2015.igem.org/Team:elan_vital_korea/Video'><span>Vdieo</span></a>
+
        <li><a href='https://2015.igem.org/Team:elan_vital_korea/Presentations'><span>Presentations</span></a>
+
    </ul>
+
  <li><a href='#'><span>iGEM Resource</span></a>
+
    <ul>
+
        <li><a href='https://2015.igem.org/Team:elan_vital_korea/Medal_Requirement'><span>Medal Requirement</span></a>
+
        <li><a href='https://2015.igem.org/Team:elan_vital_korea/Module_Description'><span>Module Description</span></a>
+
    </ul>
+
 
</ul>
 
</ul>
 +
</li>
 +
 +
    <li class='has-sub'><a href='#'>iGEM Resource</a>
 +
        <ul>
 +
          <li><a href='#'>Medal Requirement</a>
 +
          <li><a href='#'>Module Description</a>
 +
  </ul>
 +
</li>
 
</div>
 
</div>
  
  
 +
</body>
  
 
+
</html>
<html>
+

Latest revision as of 11:19, 31 August 2015