Difference between revisions of "Template:ElanVitalKorea"
Line 1: | Line 1: | ||
{{ElanVitalKoreaMWlook}} | {{ElanVitalKoreaMWlook}} | ||
− | |||
<html> | <html> | ||
<head> | <head> | ||
<style> | <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; } | ||
− | + | #cssmenu li { | |
+ | text-align:left; | ||
+ | } | ||
− | + | #cssmenu { | |
− | + | background: #333; | |
+ | 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 a { | |
− | + | background: #333; | |
− | + | color: #CBCBCB; | |
− | + | padding: 0 20px; | |
− | + | ||
− | + | ||
} | } | ||
− | + | #cssmenu ul { text-transform: uppercase; } | |
− | + | ||
− | text-transform: | + | #cssmenu ul ul { |
+ | border-top: 4px solid #1b9bff; | ||
+ | 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; } | ||
+ | |||
+ | #cssmenu ul ul li { position: relative } | ||
+ | |||
+ | #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; } | ||
− | # | + | #cssmenu ul ul li:last-child > a { |
− | + | 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; } | ||
+ | #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 { | |
− | color: | + | background: #1b9bff; |
− | + | color: #FFF; | |
− | + | } | |
+ | #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%; | ||
} | } | ||
− | + | #center { | |
− | + | /*Centering Method 2*/ | |
− | + | margin: 10% 0 10% 0%; | |
− | + | left: 50%; | |
− | + | top: 50%; | |
+ | } | ||
+ | |||
+ | |||
+ | img.displayed { | ||
+ | display: block; | ||
+ | margin-left: auto; | ||
+ | margin-right: auto; | ||
} | } | ||
− | + | h4 { | |
color:white; | color:white; | ||
− | font-size: | + | letter-spacing:2px; |
+ | font-size: 24px; | ||
} | } | ||
− | + | a:link { | |
− | + | text-decoration: none; | |
− | + | } | |
− | + | a:visited { | |
− | + | text-decoration: none; | |
− | + | } | |
− | + | a:hover { | |
− | + | text-decoration: none; | |
− | + | } | |
− | + | a:active { | |
− | + | text-decoration: none; | |
− | + | } | |
− | + | ||
− | + | body { | |
− | + | /* Location of the image */ | |
− | + | background-image: url("https://static.igem.org/mediawiki/2015/archive/2/24/20150829203509!ElanVital_Bg.png"); | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | /* Background image is centered vertically and horizontally at all times */ | |
− | + | background-position: center center; | |
− | + | ||
− | + | /* Background image doesn't tile */ | |
− | + | background-repeat: no-repeat; | |
+ | |||
+ | /* Background image is fixed in the viewport so that it doesn't move when | ||
+ | the content's height is greater than the image's height */ | ||
+ | background-attachment: fixed; | ||
+ | |||
+ | /* This is what makes the background image rescale based | ||
+ | on the container's size */ | ||
+ | background-size: cover; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | </style> | |
− | + | </head> | |
− | + | ||
− | + | ||
− | + | ||
− | + | <body> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | <div id='cssmenu'> | |
− | <a href= | + | <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> | ||
− | + | <li class='has-sub'><a href='#'>Human Practice</a> | |
− | <a href= | + | <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> | ||
+ | <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 id="center"> | ||
+ | <a href=#"><img class="displayed" src="https://static.igem.org/mediawiki/2015/d/d5/ElanVital_Logo.png"></a> | ||
− | < | + | <br> |
− | < | + | <br> |
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <h4 style="text-align:center;"> | ||
+ | MEMBERS <br> | ||
+ | </h4> | ||
+ | |||
+ | <a href="#"><img class="displayed" src="https://static.igem.org/mediawiki/2015/d/d2/Scroll_arrow.png" width="1.8%;" height="1.8%;" ></a> | ||
+ | </div> | ||
+ | |||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | |||
+ | </body> | ||
</html> | </html> |
Revision as of 16:19, 30 August 2015