|
|
(5 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| + | {{ElanVitalKoreaMWlook}} |
| + | |
| <html> | | <html> |
| + | <head> |
| + | <style> |
| + | html, body, .wrapper{ |
| + | width: 100%; |
| + | height: 100%; |
| + | background-color: transparent; |
| + | } |
| | | |
− | <!-- Start of CSS-->
| + | #cssmenu {padding: 0; margin: 0; border: 0; text-align:center;} |
− | <style type="text/css">
| + | #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; } |
| | | |
− |
| |
− |
| |
− |
| |
− | #cssmenu {
| |
− | padding: 0;
| |
− | margin: 0;
| |
− | border: 0;
| |
− | width: auto;
| |
− | }
| |
− | #cssmenu ul,
| |
| #cssmenu li { | | #cssmenu li { |
− | list-style: none;
| + | text-align:left; |
− | 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 { |
− | #cssmenu ul li { | + | background: #333; |
− | float: left; | + | border-bottom: 4px solid #1b9bff; |
− | min-height: 1px; | + | font-family: 'Oxygen Mono', Tahoma, Arial, sans-serif; |
− | verticalalign: middle; | + | font-size: 12px; |
| } | | } |
| | | |
| + | #cssmenu > ul { *display: inline-block; } |
| | | |
− | | + | #cssmenu:after, #cssmenu ul:after { |
− | | + | content: ''; |
− | | + | display: block; |
− | | + | clear: both; |
− | | + | |
− | | + | |
− | #cssmenu > ul > li { | + | |
− | display:inline-block; | + | |
− | margin-left: 15px; /* This is when the drop down box appears */ | + | |
− | position: relative; | + | |
| } | | } |
| | | |
− |
| |
− |
| |
− |
| |
− |
| |
− | #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: 190px;
| |
− | 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 { | | #cssmenu a { |
− | display: block;
| + | background: #333; |
− | line-height: 1em;
| + | color: #CBCBCB; |
− | text-decoration: none;
| + | padding: 0 20px; |
| } | | } |
− | /* Custom CSS Styles */
| + | #cssmenu ul { text-transform: uppercase; } |
− | #cssmenu { | + | |
− | background: #333333;
| + | #cssmenu ul ul { |
− | border-bottom: 4px solid #1b9bff;
| + | border-top: 4px solid #1b9bff; |
− | font-family: 'Oxygen Mono', Tahoma, Arial, sans-serif;
| + | text-transform: none; |
− | font-size: 12px;
| + | min-width: 190px; |
| } | | } |
− | #cssmenu > ul {
| + | #cssmenu ul ul a { |
− | *display: inline-block;
| + | background: #1b9bff; |
− | }
| + | color: #FFF; |
− | #cssmenu:after,
| + | border: 1px solid #0082e7; |
− | #cssmenu ul:after {
| + | border-top: 0 none; |
− | content: '';
| + | line-height: 150%; |
− | display: block;
| + | padding: 16px 20px; |
− | 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;
| + | |
| } | | } |
| + | #cssmenu ul ul ul { border-top: 0 none; } |
| | | |
− | body {
| + | #cssmenu ul ul li { position: relative } |
− | 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%;
| + | |
| | | |
− | } | + | #cssmenu > ul > li > a { line-height: 48px; } |
| | | |
| + | #cssmenu ul ul li:first-child > a { border-top: 1px solid #0082e7; } |
| + | #cssmenu ul ul li:hover > a { background: #35a6ff; } |
| | | |
− | div.column {
| + | #cssmenu ul ul li:last-child > a { |
− | max-width: 800px;
| + | border-radius: 0 0 3px 3px; |
| + | box-shadow: 0 1px 0 #1b9bff; |
| } | | } |
| + | #cssmenu ul ul li:last-child:hover > a { border-radius: 0 0 0 3px; } |
| | | |
− | IMG.displayed {
| + | #cssmenu ul ul li.has-sub > a:after { |
− | display: block;
| + | content: '+'; |
− | margin-left: auto;
| + | position: absolute; |
− | margin-right: auto;
| + | top: 50%; |
− | height: auto;
| + | right: 15px; |
− | width: auto;
| + | margin-top: -8px; |
− | margin-top:10%; | + | |
− | max-width: 100%;
| + | |
| } | | } |
| | | |
− | | + | #cssmenu ul li:hover > a, #cssmenu ul li.active > a { |
− | IMG.scrollarrow {
| + | background: #1b9bff; |
− | display: block;
| + | color: #FFF; |
− | margin-left: auto;
| + | |
− | margin-right: auto;
| + | |
− | margin-bottom: 10%;
| + | |
− | max-width: 100%;
| + | |
− | height: auto;
| + | |
| } | | } |
− | | + | #cssmenu ul li.has-sub > a:after { |
− | h3.scrolltext {
| + | content: '+'; |
− | margin-top:7%; | + | margin-left: 5px; |
| } | | } |
− | | + | #cssmenu ul li.last ul { |
− | | + | left: auto; |
− | h3 {
| + | right: 0; |
− | color:white;
| + | } |
| + | #cssmenu ul li.last ul ul { |
| + | left: auto; |
| + | right: 99.5%; |
| } | | } |
− |
| |
− |
| |
| | | |
| | | |
| </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'> | | <div id='cssmenu'> |
− | <ul> | + | <ul> |
− | <li><a href='#'><span>Team</span></a>
| + | <li class='has-sub'><a href='#'>Team</a> |
− | <ul>
| + | <ul> |
− | <li><a href='https://2015.igem.org/Team:elan_vital_korea/Members'><span>Members</span></a>
| + | <li><a href='#'>Members</a> |
− | <li><a href='https://2015.igem.org/Team:elan_vital_korea/Attribution'><span>Attribution</span></a>
| + | <li><a href='#'>Attribution</a> |
− | </ul>
| + | </ul> |
− | <li><a href='#'><span>Projects</span></a>
| + | <li class='has-sub'><a href='#'>Project</a> |
− | <ul>
| + | <ul> |
− | <li><a href='https://2015.igem.org/Team:elan_vital_korea/Project_Overview><span>Project Overview</span></a>
| + | <li><a href='#'>Project Overview</a> |
− | <li><a href='https://2015.igem.org/Team:elan_vital_korea/Background_Information'><span>Background Information</span></a>
| + | <li><a href='#'>Background Information</a> |
− | <li class='active has-sub'><a href='#'><span>Method & Materials</span></a>
| + | <li class='has-sub '><a>Method & Materials</a> |
− | <ul>
| + | <ul> |
− | <li><a href='https://2015.igem.org/Team:elan_vital_korea/Plasma_Design'><span>Plasma Design</span></a></li>
| + | <li><a href='#'>Plasmid Design</a></li> |
− | <li class='last'><a href='https://2015.igem.org/Team:elan_vital_korea/Protocal1'><span>Protocal</span></a></li>
| + | <li><a href='#'>Protocols</a></li> |
− | </ul>
| + | </ul> |
− | <li><a href='https://2015.igem.org/Team:elan_vital_korea/Result'><span>Result</span></a>
| + | <li><a href='#'>Result</a> |
− | <li><a href='https://2015.igem.org/Team:elan_vital_korea/Future_Plans'><span>Future Plans</span></a>
| + | <li><a href='#'>Conclusions</a> |
− | </ul>
| + | <li><a href='#'>Future Plans</a> |
− | <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> |
− | </div> | + | </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> |
| | | |
| + | <li class='has-sub'><a href='#'>Human Practice</a> |
| + | <ul> |
| + | <li><a href='#'>Focus</a> |
| + | <li><a href='#'>Korea Youth Expo</a> |
| + | <li><a href='#'>Education & Public Awareness</a> |
| + | <li><a href='#'>Policy Recommendations</a> |
| + | <li><a href='#'>Blog</a> |
| + | <li><a href='#'>Interview</a> |
| + | <li><a href='#'>Regional Meet-ups</a> |
| + | <li><a href='#'>Articles</a> |
| + | <li><a href='#'>Video</a> |
| + | <li><a href='#'>Presentations</a> |
| + | </ul> |
| + | </li> |
| | | |
− | <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" style="max-width:100%;height:auto;" align="middle"></a> | + | <li class='has-sub'><a href='#'>iGEM Resource</a> |
− | | + | <ul> |
− | <br> | + | <li><a href='#'>Medal Requirement</a> |
− | <br> | + | <li><a href='#'>Module Description</a> |
− | | + | </ul> |
− | <h3 class="scrolltext" align="middle"> Scroll down to find out more </h3> | + | </li> |
− | <a href="#pagedown"><img class="scrollarrow" src="https://static.igem.org/mediawiki/2015/d/d2/Scroll_arrow.png" style="max-width:100%, height:auto;" align="middle"></a> | + | |
− | | + | |
− | <br> | + | |
− | <br> | + | |
− | <br>
| + | |
− | <br>
| + | |
− | <div id="pagedown">
| + | |
| </div> | | </div> |
| | | |
− | <script>
| |
− | $(document).ready(function(){
| |
− | $('a[href^="#"]').on('click',function (e) {
| |
− | e.preventDefault();
| |
| | | |
− | var target = this.hash;
| + | </body> |
− | var $target = $(target);
| + | |
| | | |
− | $('html, body').stop().animate({
| + | </html> |
− | 'scrollTop': $target.offset().top
| + | |
− | }, 900, 'swing', function () {
| + | |
− | window.location.hash = target;
| + | |
− | });
| + | |
− | });
| + | |
− | });
| + | |
− | </script> | + | |
− | | + | |
− | | + | |
− | | + | |
− | <html>
| + | |