|
|
(148 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | {{Template_All_Teams}} | + | {{ElanVitalKoreaMWlook}} |
− | <!-- Declare that you are going to use html code instead of wiki code -->
| + | {{ElanVitalKorea}} |
| + | |
| <html> | | <html> |
| | | |
− | <!-- Start of CSS-->
| + | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> |
− | <style type="text/css">
| + | <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'; |
| | | |
− | /* PAGE LAYOUT */
| + | // Move the background |
− |
| + | $bgobj.css({ backgroundPosition: coords }); |
− | /* page background color*/
| + | |
− | body {
| + | }); // window scroll Ends |
− | background-color: #A7A9AB;
| + | |
− | }
| + | |
| | | |
| + | }); |
| | | |
− | /* Creates a container that will wrap all of the content inside your wiki pages. */
| + | }); |
− | #mainContainer {
| + | /* |
− | width: 980px;
| + | * Create HTML5 elements for IE's sake |
− | overflow: hidden;
| + | */ |
− | float:left;
| + | |
− | margin-left: 20px;
| + | |
− | background-color: #EEEDEA;
| + | |
− | border-bottom: 6px solid #EE3e53;
| + | |
− | }
| + | |
| | | |
− | /* Creates the container for the menu */
| + | document.createElement("article"); |
− | #menuContainer {
| + | document.createElement("section"); |
− | float:right;
| + | </script> |
− | width: 150px;
| + | <style> |
− | background-color: #0e232f;
| + | body{ |
− | height: 100%;
| + | margin:0; |
− | border-top: 6px solid #EE3e53;
| + | padding:0; |
− | font-family: "Arial", Helvetica, sans-serif;
| + | } |
− | }
| + | |
| | | |
− | /* Creates the container for the content */
| |
− | #contentContainer {
| |
− | background-color: #EEEDEA;
| |
− | width: 810px;
| |
− | float: left;
| |
− | padding: 10px;
| |
− | border-top: 6px solid #EE3e53;
| |
− | }
| |
| | | |
| + | #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; |
| + | width: 100%; |
| + | max-width: 1920px; |
| + | position: relative; |
| + | box-shadow: 0 0 50px rgba(0,0,0,0.8); |
| + | } |
| | | |
− | /*Set up height place holder for the banner*/
| + | /* Introduction */ |
− | #bannerContainer {
| + | |
− | height:200px;
| + | |
− | margin:auto;
| + | |
− | text-align:center;
| + | |
− | color: #24B694;
| + | |
− | }
| + | |
| | | |
− | /*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
| + | #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%; } |
| | | |
− | /*Change the styling of text for everything inside main container*/
| |
− | #mainContainer p {
| |
− | font-family: "Arial", Helvetica, sans-serif;
| |
− | font-size: 12px;
| |
− | color: #0e232f;
| |
− | }
| |
− |
| |
− | /*This changes the color and font family */
| |
− | #contentContainer h1, h2, h3, h4, h5, h6 {
| |
− | font-family: "Arial", Helvetica, sans-serif;
| |
− | color: #0e232f;
| |
− | border-bottom: none;
| |
− | font-weight: bold;
| |
− | text-transform: uppercase;
| |
− | }
| |
| | | |
− | /*Style of the links - links are different inside the menu */
| |
− | #contentContainer a {
| |
− | font-weight: bold;
| |
− | color: #ee3e53;
| |
− | }
| |
| | | |
− | /* Styling links on hover- links are different inside the menu */
| |
− | #contentContainer a:hover{
| |
− | color: #f4b248;
| |
− | }
| |
| | | |
− | /*Change the styling of tables */
| + | .galleryItem { |
− | #contentContainer table {
| + | color: #797478; |
− | border: 1px solid #0e232f;
| + | font: 10px/1.5 Verdana, Helvetica, sans-serif; |
− | border-collapse: collapse;
| + | float: left; |
− | width: 90%
| + | width: 16%; |
− | margin: auto;
| + | margin: 2% 2% 50px 2%; |
− | margin-bottom: 15px;
| + | } |
− | margin-top: 15px;
| + | |
− | margin-right: 10px;
| + | .galleryItem h2 { |
− | margin-left: 10px;
| + | text-transform: uppercase; |
− | }
| + | } |
| + | |
| + | .galleryItem img { |
| + | max-width: 100%; |
| + | -webkit-border-radius: 5px; |
| + | -moz-border-radius: 5px; |
| + | border-radius: 5px; |
| + | } |
| | | |
− | /*Change the styling of table cells*/
| |
− | #contentContainer td {
| |
− | padding: 10px;
| |
− | border: 1px solid #0e232f;
| |
− | border-collapse: collapse;
| |
− | vertical-align: text-top;
| |
− | background-color: #EEEDEA;
| |
− | }
| |
| | | |
− | /*Change the styling of table headers */
| |
− | #contentContainer th {
| |
− | padding: 10px;
| |
− | border: 1px solid #0e232f;
| |
− | border-collapse: collapse;
| |
− | vertical-align: text-top;
| |
− | background-color: #e8d5b7;
| |
− | }
| |
| | | |
− | | + | .center { |
− | | + | |
− | #cssmenu {
| + | |
− | padding: 0;
| + | |
− | margin: 0;
| + | |
− | border: 0;
| + | |
− | width: auto;
| + | |
− | }
| + | |
− | #cssmenu ul,
| + | |
− | #cssmenu li {
| + | |
− | list-style: none;
| + | |
− | margin: 0;
| + | |
− | padding: 0;
| + | |
− | }
| + | |
− | #cssmenu ul {
| + | |
− | position: relative;
| + | |
− | z-index: 597;
| + | |
− | }
| + | |
− | #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; | | 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; |
− | #cssmenu ul ul {
| + | height: 100px; |
− | margin-top: 0; | + | border-radius: 3px; |
− | }
| + | |
− | #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;
| + | |
− | }
| + | |
− | body {
| + | |
− | background-image: url('https://static.igem.org/mediawiki/2015/2/24/ElanVital_Bg.png');
| + | |
− | background-position: 9% 0%;
| + | |
− | background-repeat: no-repeat;
| + | |
| } | | } |
| | | |
− | div.logo {
| + | IMG.displayed { |
− | display: block;
| + | display: block; |
| margin-left: auto; | | margin-left: auto; |
− | margin-right: auto | + | margin-right: auto; } |
| + | |
| + | h4 { |
| + | color:white; |
| + | font-size: 24px; |
| + | letter-spacing:1px; |
| + | line-height:25px; |
| } | | } |
| | | |
− | </style>
| + | h5{ |
| + | text-decoration:none; |
| + | font-size: 24px; |
| + | letter-spacing:1px; |
| + | line-height:25px; |
| + | } |
| | | |
| | | |
| + | IMG.igem { |
| + | float:right; |
| + | width:5%; |
| + | margin:20px; |
| + | } |
| | | |
| + | </style> |
| | | |
| + | </head> |
| | | |
− |
| |
− |
| |
− |
| |
− | <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>
| |
| <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='https://2015.igem.org/Team:elan_vital_korea/Members'><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> |
| | | |
− | <div class=logo> | + | </html> |
− | <a href="#"><img src="https://static.igem.org/mediawiki/2015/d/d5/ElanVital_Logo.png"></a>
| + | |
− | </div>
| + | |
− | | + | |
− | </body>
| + | |
− | <html>
| + | |