Kumi momos (Talk | contribs) |
Kumi momos (Talk | contribs) |
||
(230 intermediate revisions by 4 users not shown) | |||
Line 6: | Line 6: | ||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | ||
<![endif]--> | <![endif]--> | ||
− | + | <link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet"> | |
+ | <link href="https://fonts.googleapis.com/css?family=K2D|Open+Sans" rel="stylesheet"> | ||
<style> | <style> | ||
+ | |||
#home_logo, #sideMenu { display:none; } | #home_logo, #sideMenu { display:none; } | ||
#sideMenu, #top_title, .patrollink {display:none;} | #sideMenu, #top_title, .patrollink {display:none;} | ||
− | #content { margin-left:0px; margin-top:-2px; padding:0px; width:100%;} | + | #content { margin-left:0px; margin-right: 0px; margin-top:-2px; padding:0px; width:100%;} |
body {background-color:white; } | body {background-color:white; } | ||
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; } | #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; } | ||
Line 18: | Line 20: | ||
.judges-will-not-evaluate { border: 4px solid #e4dede; padding: 2% !important; width: 92%!important;} | .judges-will-not-evaluate { border: 4px solid #e4dede; padding: 2% !important; width: 92%!important;} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | #footer-img{ | ||
+ | |||
+ | height: 80px; | ||
+ | padding: 10px; | ||
+ | display: block; | ||
+ | float: left; | ||
+ | } | ||
+ | |||
+ | #footer-icon{ | ||
+ | |||
+ | height: 30px; | ||
+ | padding: 10px; | ||
+ | display: block; | ||
+ | float: right; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | .footer { | ||
+ | margin-top: 100px; | ||
+ | position: absolute; | ||
+ | right: 0; | ||
+ | bottom: -170px; | ||
+ | left: 0; | ||
+ | padding: 1rem; | ||
+ | background-color: #ffffff; | ||
+ | text-align: center; | ||
+ | min-height: 100px; | ||
+ | } | ||
Line 23: | Line 58: | ||
#globalWrapper { | #globalWrapper { | ||
font-size: inherit; | font-size: inherit; | ||
+ | margin-left:0px; margin-right: 0px; | ||
width: 100vw; | width: 100vw; | ||
padding: none; | padding: none; | ||
Line 41: | Line 77: | ||
background-color: #fff; | background-color: #fff; | ||
color: #777; | color: #777; | ||
− | font: normal 15px | + | font: normal 15px; |
+ | font-family: 'Open Sans', sans-serif; | ||
} | } | ||
#bodyContent p { | #bodyContent p { | ||
line-height: 2em; | line-height: 2em; | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
− | font: | + | font-size: 15px; |
+ | font-family: 'Open Sans', sans-serif; | ||
+ | color: #444; | ||
} | } | ||
+ | |||
+ | ol li { | ||
+ | line-height: 2em; | ||
+ | font-size: 15px; | ||
+ | font-family: 'Open Sans', sans-serif; | ||
+ | color: #444; | ||
+ | } | ||
+ | |||
+ | ol ol li{ | ||
+ | list-style-type: lower-alpha; | ||
+ | color: #444; | ||
+ | } | ||
+ | |||
+ | |||
+ | #bodyContent table, th, td{ | ||
+ | text-align: left; | ||
+ | font-family: 'Raleway'; | ||
+ | } | ||
+ | |||
+ | table, th, td{ | ||
+ | text-align: left; | ||
+ | font-family: 'Raleway'; | ||
+ | font-size: 15px; | ||
+ | } | ||
+ | |||
#bodyContent h1 { | #bodyContent h1 { | ||
− | font-family: ' | + | font-family: 'Raleway'; |
font-weight: bold; | font-weight: bold; | ||
color: #444; | color: #444; | ||
− | font-size: | + | font-size: 60px; |
margin-bottom: 20px; | margin-bottom: 20px; | ||
+ | line-height: 1em; | ||
+ | text-align: center; | ||
+ | -webkit-text-stroke-width: 30%; | ||
+ | -webkit-text-stroke-color: #444; | ||
+ | |||
} | } | ||
#bodyContent h2 { | #bodyContent h2 { | ||
+ | font-family: 'Raleway', sans-serif; | ||
font-weight: 300; | font-weight: 300; | ||
− | color: # | + | color: #2F86A1; |
− | font-size: | + | font-size: 50px; |
− | text-transform: | + | text-transform: none; |
text-align: center; | text-align: center; | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
+ | line-height: 1em; | ||
} | } | ||
#bodyContent h3 { | #bodyContent h3 { | ||
− | font-size: | + | display: block; |
+ | margin: 0 auto 20px auto; | ||
+ | font-family: 'K2D', sans-serif; | ||
+ | line-height: 1em; | ||
+ | font-size: 40px; | ||
color: #444; | color: #444; | ||
font-weight: bold; | font-weight: bold; | ||
− | text-transform: | + | text-transform: none; |
text-align: center; | text-align: center; | ||
− | + | max-width: 400px; | |
+ | border-bottom: 1px solid #2F86A1; | ||
+ | padding: 0 0 0px 0; | ||
} | } | ||
#bodyContent h4 { | #bodyContent h4 { | ||
− | font-size: | + | font-family: 'Raleway'; |
− | color: # | + | font-size: 30px; |
+ | color: #2F86A1; | ||
font-weight: bold; | font-weight: bold; | ||
− | text-transform: | + | text-transform: none; |
+ | |||
margin-bottom: 20px; | margin-bottom: 20px; | ||
+ | line-height: 1em; | ||
} | } | ||
#bodyContent h5 { | #bodyContent h5 { | ||
− | font-size: | + | font-family: 'Raleway'; |
+ | font-size: 20px; | ||
color: #444; | color: #444; | ||
font-weight: bold; | font-weight: bold; | ||
− | text-transform: | + | text-transform: none; |
+ | line-height: 1em; | ||
+ | |||
+ | |||
+ | |||
+ | #bodyContent ins { | ||
+ | font-size: 15px; | ||
+ | color: #2F86A1; | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
} | } | ||
a { | a { | ||
Line 108: | Line 199: | ||
} | } | ||
− | # | + | #grey-div{ |
+ | background-color: #444; | ||
+ | min-height: 400px; | ||
+ | } | ||
+ | |||
+ | #grey-div h1{ | ||
+ | color: #E86D06; | ||
+ | } | ||
+ | |||
+ | #grey-div p{ | ||
+ | color: #fff; | ||
+ | padding-left: 40px; | ||
+ | padding-right: 40px; | ||
+ | } | ||
.clear { | .clear { | ||
Line 118: | Line 222: | ||
width: 940px; | width: 940px; | ||
} | } | ||
+ | |||
+ | .wrapper ul li{ | ||
+ | line-height: 2em; | ||
+ | font-size: 13px; | ||
+ | font-family: 'Open Sans', sans-serif; | ||
+ | list-style: disc; | ||
+ | } | ||
+ | |||
.parallax-window { | .parallax-window { | ||
Line 168: | Line 280: | ||
} | } | ||
+ | #maintext{ | ||
+ | |||
+ | padding-top: 0px; | ||
+ | min-height: 2800px; | ||
+ | background: #f8fafa; | ||
+ | padding-bottom: 0px; | ||
+ | } | ||
+ | |||
+ | #maintext p{ | ||
+ | |||
+ | padding-top: 5px; | ||
+ | line-height: 1.5em; | ||
+ | font-size: 20px; | ||
+ | } | ||
#primary-content { | #primary-content { | ||
Line 174: | Line 300: | ||
text-align: center; | text-align: center; | ||
} | } | ||
+ | |||
#primary-content h3 { | #primary-content h3 { | ||
+ | |||
display: block; | display: block; | ||
margin: 0 auto 20px auto; | margin: 0 auto 20px auto; | ||
width: 400px; | width: 400px; | ||
− | border-bottom: 1px solid # | + | border-bottom: 1px solid #2F86A1; |
padding: 0 0 20px 0; | padding: 0 0 20px 0; | ||
} | } | ||
Line 192: | Line 320: | ||
+ | #header1{ | ||
+ | background: #ffffff; | ||
+ | } | ||
− | + | </style> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | <style> | ||
+ | |||
+ | |||
+ | #cssmenu, | ||
+ | #cssmenu ul, | ||
+ | #cssmenu ul li, | ||
+ | #cssmenu ul li a, | ||
+ | #cssmenu #menu-button { | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | border: 0; | ||
+ | list-style: none; | ||
+ | line-height: 1; | ||
+ | display: block; | ||
+ | position: relative; | ||
+ | -webkit-box-sizing: border-box; | ||
+ | -moz-box-sizing: border-box; | ||
+ | box-sizing: border-box; | ||
} | } | ||
− | # | + | #cssmenu:after, |
− | + | #cssmenu > ul:after { | |
− | + | content: "."; | |
− | + | display: block; | |
+ | clear: both; | ||
+ | visibility: hidden; | ||
+ | line-height: 0; | ||
+ | height: 0; | ||
} | } | ||
− | # | + | #cssmenu #menu-button { |
− | + | display: none; | |
− | + | ||
} | } | ||
− | # | + | #cssmenu { |
− | + | width: 100%; | |
− | + | font-family: 'K2D', sans-serif; | |
− | + | line-height: 1; | |
+ | background: #ffffff; | ||
+ | box-shadow: 0px 10px 10px rgba(0,0,0,0.3); | ||
+ | position: fixed; | ||
+ | z-index: 5; | ||
+ | |||
} | } | ||
− | # | + | #menu-line { |
− | + | position: absolute; | |
+ | top: 0; | ||
+ | left: 0; | ||
+ | height: 3px; | ||
+ | background: #2F86A1; | ||
+ | -webkit-transition: all 0.25s ease-out; | ||
+ | -moz-transition: all 0.25s ease-out; | ||
+ | -ms-transition: all 0.25s ease-out; | ||
+ | -o-transition: all 0.25s ease-out; | ||
+ | transition: all 0.25s ease-out; | ||
+ | } | ||
+ | #cssmenu > ul > li { | ||
+ | float: right; | ||
+ | } | ||
+ | #cssmenu.align-center > ul { | ||
+ | font-size: 0; | ||
+ | text-align: center; | ||
+ | } | ||
+ | #cssmenu.align-center > ul > li { | ||
+ | display: inline-block; | ||
+ | float: none; | ||
+ | } | ||
+ | #cssmenu.align-center ul ul { | ||
+ | text-align: left; | ||
+ | } | ||
+ | #cssmenu.align-right > ul > li { | ||
+ | float: right; | ||
+ | } | ||
+ | #cssmenu.align-right ul ul { | ||
+ | text-align: right; | ||
+ | } | ||
+ | #cssmenu > ul > li > a { | ||
+ | padding: 20px; | ||
+ | font-size: 16px; | ||
+ | text-decoration: none; | ||
+ | text-transform: uppercase; | ||
+ | color: #000000; | ||
+ | -webkit-transition: color .2s ease; | ||
+ | -moz-transition: color .2s ease; | ||
+ | -ms-transition: color .2s ease; | ||
+ | -o-transition: color .2s ease; | ||
+ | transition: color .2s ease; | ||
+ | } | ||
+ | #cssmenu > ul > li:hover > a, | ||
+ | #cssmenu > ul > li.active > a { | ||
+ | color: #2F86A1; | ||
+ | } | ||
+ | #cssmenu > ul > li.has-sub > a { | ||
+ | padding-right: 25px; | ||
+ | } | ||
+ | #cssmenu > ul > li.has-sub > a::after { | ||
+ | position: absolute; | ||
+ | top: 21px; | ||
+ | right: 10px; | ||
+ | width: 4px; | ||
+ | height: 4px; | ||
+ | border-bottom: 1px solid #000000; | ||
+ | border-right: 1px solid #000000; | ||
+ | content: ""; | ||
+ | -webkit-transform: rotate(45deg); | ||
+ | -moz-transform: rotate(45deg); | ||
+ | -ms-transform: rotate(45deg); | ||
+ | -o-transform: rotate(45deg); | ||
+ | transform: rotate(45deg); | ||
+ | -webkit-transition: border-color 0.2s ease; | ||
+ | -moz-transition: border-color 0.2s ease; | ||
+ | -ms-transition: border-color 0.2s ease; | ||
+ | -o-transition: border-color 0.2s ease; | ||
+ | transition: border-color 0.2s ease; | ||
+ | } | ||
+ | |||
+ | #cssmenu img{ | ||
+ | height: 80px; | ||
+ | } | ||
+ | |||
+ | |||
+ | #cssmenu .logo-wrapper { | ||
+ | position: absolute; | ||
+ | top: -30px; | ||
+ | background: white; | ||
+ | height: 145px; | ||
+ | width: 145px; | ||
+ | border-radius: 130px; | ||
+ | box-shadow: 0px 10px 10px rgba(0,0,0,0.3); | ||
+ | } | ||
+ | #cssmenu .logo-wrapper img { | ||
+ | height: 100px; | ||
+ | width: 100px; | ||
+ | border-radius: 30px; | ||
+ | padding: 30px 0px 0px 25px; | ||
+ | } | ||
+ | #cssmenu .logo-wrapper #team-logo { | ||
+ | left: -95px; | ||
+ | } | ||
+ | |||
+ | |||
+ | #cssmenu > ul > li.has-sub:hover > a::after { | ||
+ | border-color: #2F86A1; | ||
+ | } | ||
+ | #cssmenu ul ul { | ||
+ | position: absolute; | ||
+ | left: -9999px; | ||
+ | } | ||
+ | #cssmenu li:hover > ul { | ||
+ | left: auto; | ||
+ | } | ||
+ | #cssmenu.align-right li:hover > ul { | ||
+ | right: 0; | ||
+ | } | ||
+ | #cssmenu ul ul ul { | ||
+ | margin-left: 100%; | ||
+ | top: 0; | ||
+ | } | ||
+ | #cssmenu.align-right ul ul ul { | ||
+ | margin-left: 0; | ||
+ | margin-right: 100%; | ||
+ | } | ||
+ | #cssmenu ul ul li { | ||
+ | height: 0; | ||
+ | -webkit-transition: height .2s ease; | ||
+ | -moz-transition: height .2s ease; | ||
+ | -ms-transition: height .2s ease; | ||
+ | -o-transition: height .2s ease; | ||
+ | transition: height .2s ease; | ||
+ | } | ||
+ | #cssmenu ul li:hover > ul > li { | ||
+ | height: 32px; | ||
+ | } | ||
+ | #cssmenu ul ul li a { | ||
+ | padding: 10px 20px; | ||
+ | width: 160px; | ||
+ | font-size: 12px; | ||
+ | background: #333333; | ||
+ | text-decoration: none; | ||
+ | color: #dddddd; | ||
+ | -webkit-transition: color .2s ease; | ||
+ | -moz-transition: color .2s ease; | ||
+ | -ms-transition: color .2s ease; | ||
+ | -o-transition: color .2s ease; | ||
+ | transition: color .2s ease; | ||
+ | } | ||
+ | #cssmenu ul ul li:hover > a, | ||
+ | #cssmenu ul ul li a:hover { | ||
+ | color: #ffffff; | ||
+ | } | ||
+ | #cssmenu ul ul li.has-sub > a::after { | ||
+ | position: absolute; | ||
+ | top: 13px; | ||
+ | right: 10px; | ||
+ | width: 4px; | ||
+ | height: 4px; | ||
+ | border-bottom: 1px solid #dddddd; | ||
+ | border-right: 1px solid #dddddd; | ||
+ | content: ""; | ||
+ | -webkit-transform: rotate(-45deg); | ||
+ | -moz-transform: rotate(-45deg); | ||
+ | -ms-transform: rotate(-45deg); | ||
+ | -o-transform: rotate(-45deg); | ||
+ | transform: rotate(-45deg); | ||
+ | -webkit-transition: border-color 0.2s ease; | ||
+ | -moz-transition: border-color 0.2s ease; | ||
+ | -ms-transition: border-color 0.2s ease; | ||
+ | -o-transition: border-color 0.2s ease; | ||
+ | transition: border-color 0.2s ease; | ||
+ | } | ||
+ | #cssmenu.align-right ul ul li.has-sub > a::after { | ||
+ | right: auto; | ||
+ | left: 10px; | ||
+ | border-bottom: 0; | ||
+ | border-right: 0; | ||
+ | border-top: 1px solid #dddddd; | ||
+ | border-left: 1px solid #dddddd; | ||
+ | } | ||
+ | #cssmenu ul ul li.has-sub:hover > a::after { | ||
+ | border-color: #ffffff; | ||
+ | } | ||
+ | @media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) { | ||
+ | #cssmenu { | ||
+ | width: 100%; | ||
+ | } | ||
+ | #cssmenu ul { | ||
+ | width: 100%; | ||
+ | display: none; | ||
+ | } | ||
+ | #cssmenu.align-center > ul, | ||
+ | #cssmenu.align-right ul ul { | ||
+ | text-align: left; | ||
+ | } | ||
+ | #cssmenu ul li, | ||
+ | #cssmenu ul ul li, | ||
+ | #cssmenu ul li:hover > ul > li { | ||
+ | width: 100%; | ||
+ | height: auto; | ||
+ | border-top: 1px solid rgba(120, 120, 120, 0.15); | ||
+ | } | ||
+ | #cssmenu ul li a, | ||
+ | #cssmenu ul ul li a { | ||
+ | width: 100%; | ||
+ | } | ||
+ | #cssmenu > ul > li, | ||
+ | #cssmenu.align-center > ul > li, | ||
+ | #cssmenu.align-right > ul > li { | ||
+ | float: none; | ||
+ | display: block; | ||
+ | } | ||
+ | #cssmenu ul ul li a { | ||
+ | padding: 20px 20px 30px 30px; | ||
+ | font-size: 12px; | ||
+ | color: #000000; | ||
+ | background: none; | ||
+ | } | ||
+ | #cssmenu ul ul li:hover > a, | ||
+ | #cssmenu ul ul li a:hover { | ||
+ | color: #000000; | ||
+ | } | ||
+ | #cssmenu ul ul ul li a { | ||
+ | padding-left: 40px; | ||
+ | } | ||
+ | #cssmenu ul ul, | ||
+ | #cssmenu ul ul ul { | ||
+ | position: relative; | ||
+ | left: 0; | ||
+ | right: auto; | ||
+ | width: 100%; | ||
+ | margin: 0; | ||
+ | } | ||
+ | #cssmenu > ul > li.has-sub > a::after, | ||
+ | #cssmenu ul ul li.has-sub > a::after { | ||
+ | display: none; | ||
+ | } | ||
+ | #menu-line { | ||
+ | display: none; | ||
+ | } | ||
+ | #cssmenu #menu-button { | ||
+ | display: block; | ||
+ | padding: 20px; | ||
+ | color: #000000; | ||
+ | cursor: pointer; | ||
+ | font-size: 12px; | ||
+ | text-transform: uppercase; | ||
+ | } | ||
+ | #cssmenu #menu-button::after { | ||
+ | content: ''; | ||
+ | position: absolute; | ||
+ | top: 20px; | ||
+ | right: 20px; | ||
+ | display: block; | ||
+ | width: 15px; | ||
+ | height: 2px; | ||
+ | background: #000000; | ||
+ | } | ||
+ | #cssmenu #menu-button::before { | ||
+ | content: ''; | ||
+ | position: absolute; | ||
+ | top: 25px; | ||
+ | right: 20px; | ||
+ | display: block; | ||
+ | width: 15px; | ||
+ | height: 3px; | ||
+ | border-top: 2px solid #000000; | ||
+ | border-bottom: 2px solid #000000; | ||
+ | } | ||
+ | #cssmenu .submenu-button { | ||
+ | position: absolute; | ||
+ | z-index: 10; | ||
+ | right: 0; | ||
+ | top: 0; | ||
+ | display: block; | ||
+ | border-left: 1px solid rgba(120, 120, 120, 0.15); | ||
+ | height: 52px; | ||
+ | width: 52px; | ||
+ | cursor: pointer; | ||
+ | } | ||
+ | #cssmenu .submenu-button::after { | ||
+ | content: ''; | ||
+ | position: absolute; | ||
+ | top: 21px; | ||
+ | left: 26px; | ||
+ | display: block; | ||
+ | width: 1px; | ||
+ | height: 11px; | ||
+ | background: #000000; | ||
+ | z-index: 99; | ||
+ | } | ||
+ | #cssmenu .submenu-button::before { | ||
+ | content: ''; | ||
+ | position: absolute; | ||
+ | left: 21px; | ||
+ | top: 26px; | ||
+ | display: block; | ||
+ | width: 11px; | ||
+ | height: 1px; | ||
+ | background: #000000; | ||
+ | z-index: 99; | ||
+ | } | ||
+ | #cssmenu .submenu-button.submenu-opened:after { | ||
+ | display: none; | ||
+ | } | ||
} | } | ||
</style> | </style> | ||
− | < | + | <script> |
− | + | ||
− | #cssmenu, | + | (function($) { |
− | #cssmenu ul, | + | |
− | # | + | $.fn.menumaker = function(options) { |
+ | |||
+ | var cssmenu = $(this), settings = $.extend({ | ||
+ | title: "Menu", | ||
+ | format: "dropdown", | ||
+ | sticky: false | ||
+ | }, options); | ||
+ | |||
+ | return this.each(function() { | ||
+ | cssmenu.prepend('<div id="menu-button">' + settings.title + '</div>'); | ||
+ | $(this).find("#menu-button").on('click', function(){ | ||
+ | $(this).toggleClass('menu-opened'); | ||
+ | var mainmenu = $(this).next('ul'); | ||
+ | if (mainmenu.hasClass('open')) { | ||
+ | mainmenu.hide().removeClass('open'); | ||
+ | } | ||
+ | else { | ||
+ | mainmenu.show().addClass('open'); | ||
+ | if (settings.format === "dropdown") { | ||
+ | mainmenu.find('ul').show(); | ||
+ | } | ||
+ | } | ||
+ | }); | ||
+ | |||
+ | cssmenu.find('li ul').parent().addClass('has-sub'); | ||
+ | |||
+ | multiTg = function() { | ||
+ | cssmenu.find(".has-sub").prepend('<span class="submenu-button"></span>'); | ||
+ | cssmenu.find('.submenu-button').on('click', function() { | ||
+ | $(this).toggleClass('submenu-opened'); | ||
+ | if ($(this).siblings('ul').hasClass('open')) { | ||
+ | $(this).siblings('ul').removeClass('open').hide(); | ||
+ | } | ||
+ | else { | ||
+ | $(this).siblings('ul').addClass('open').show(); | ||
+ | } | ||
+ | }); | ||
+ | }; | ||
+ | |||
+ | if (settings.format === 'multitoggle') multiTg(); | ||
+ | else cssmenu.addClass('dropdown'); | ||
+ | |||
+ | if (settings.sticky === true) cssmenu.css('position', 'fixed'); | ||
+ | |||
+ | resizeFix = function() { | ||
+ | if ($( window ).width() > 768) { | ||
+ | cssmenu.find('ul').show(); | ||
+ | } | ||
+ | |||
+ | if ($(window).width() <= 768) { | ||
+ | cssmenu.find('ul').hide().removeClass('open'); | ||
+ | } | ||
+ | }; | ||
+ | resizeFix(); | ||
+ | return $(window).on('resize', resizeFix); | ||
+ | |||
+ | }); | ||
+ | }; | ||
+ | })(jQuery); | ||
+ | |||
+ | (function($){ | ||
+ | $(document).ready(function(){ | ||
+ | |||
+ | $(document).ready(function() { | ||
+ | $("#cssmenu").menumaker({ | ||
+ | title: "Menu", | ||
+ | format: "multitoggle" | ||
+ | }); | ||
+ | |||
+ | $("#cssmenu").prepend("<div id='menu-line'></div>"); | ||
+ | |||
+ | var foundActive = false, activeElement, linePosition = 0, menuLine = $("#cssmenu #menu-line"), lineWidth, defaultPosition, defaultWidth; | ||
+ | |||
+ | $("#cssmenu > ul > li").each(function() { | ||
+ | if ($(this).hasClass('active')) { | ||
+ | activeElement = $(this); | ||
+ | foundActive = true; | ||
+ | } | ||
+ | }); | ||
+ | |||
+ | if (foundActive === false) { | ||
+ | activeElement = $("#cssmenu > ul > li").first(); | ||
+ | } | ||
+ | |||
+ | defaultWidth = lineWidth = activeElement.width(); | ||
+ | |||
+ | defaultPosition = linePosition = activeElement.position().left; | ||
+ | |||
+ | menuLine.css("width", lineWidth); | ||
+ | menuLine.css("left", linePosition); | ||
+ | |||
+ | $("#cssmenu > ul > li").hover(function() { | ||
+ | activeElement = $(this); | ||
+ | lineWidth = activeElement.width(); | ||
+ | linePosition = activeElement.position().left; | ||
+ | menuLine.css("width", lineWidth); | ||
+ | menuLine.css("left", linePosition); | ||
+ | }, | ||
+ | function() { | ||
+ | menuLine.css("left", defaultPosition); | ||
+ | menuLine.css("width", defaultWidth); | ||
+ | }); | ||
+ | |||
+ | }); | ||
+ | |||
+ | |||
+ | }); | ||
+ | })(jQuery); | ||
+ | |||
+ | </script> | ||
+ | |||
+ | <body id="bodyContent"> | ||
+ | |||
+ | <div id='cssmenu' class='hov'> | ||
+ | <ul> | ||
+ | |||
+ | <li> | ||
+ | <a href="https://igem.org/2018_Judging_Form?team=ICT-Mumbai">Judging Form ⇗</a> | ||
+ | </li> | ||
+ | |||
+ | <li class='has-sub'><a href='#'>Team</a> | ||
+ | <ul> | ||
+ | <li><a href="https://2018.igem.org/Team:ICT-Mumbai/Team">Team Members</a></li> | ||
+ | <li clas='has-sub'><a href="https://2018.igem.org/Team:ICT-Mumbai/Collaborations">Collaborations</a></li> | ||
+ | |||
+ | </ul> | ||
+ | </li> | ||
+ | |||
+ | |||
+ | <li><a href='https://2018.igem.org/Team:ICT-Mumbai/Software'>Software</a></li> | ||
+ | <li class='has-sub'><a href='#'>Human Practices</a> | ||
+ | <ul> | ||
+ | <li><a href="https://2018.igem.org/Team:ICT-Mumbai/Human_Practices">Integrated Human practices</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:ICT-Mumbai/Public_Engagement">Education and Engagement</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | |||
+ | |||
+ | <li><a href="https://2018.igem.org/Team:ICT-Mumbai/Safety">Safety</a></li> | ||
+ | |||
+ | |||
+ | <li class='has-sub'><a href='#'>Parts</a> | ||
+ | <ul> | ||
+ | <li><a href="https://2018.igem.org/Team:ICT-Mumbai/Parts">Parts overview</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:ICT-Mumbai/Composite_Part">Composite Parts</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | |||
+ | |||
+ | <li class='has-sub'><a href='#'>Project</a> | ||
+ | <ul> | ||
+ | <li><a href="https://2018.igem.org/Team:ICT-Mumbai/Description">Description</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:ICT-Mumbai/Design">Design</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:ICT-Mumbai/Experiments">Experiments</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:ICT-Mumbai/Notebook">Notebook</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:ICT-Mumbai/InterLab">InterLab</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:ICT-Mumbai/Model">Model</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:ICT-Mumbai/Results">Results</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:ICT-Mumbai/Attributions">Attributions</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | |||
+ | |||
+ | </ul> | ||
+ | |||
+ | <div class="logo-wrapper"><a href='https://2018.igem.org/Team:ICT-Mumbai'><img src="https://static.igem.org/mediawiki/2018/1/17/T--ICT-Mumbai--logo_new.jpg"></img></a></div> | ||
+ | |||
+ | </div> | ||
+ | |||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | |||
+ | <div class="footer"> | ||
+ | <a href="https://www.facebook.com/igemictmumbai/"><img style="padding-top: 50px;" id="footer-icon" src="https://static.igem.org/mediawiki/2018/6/68/T--ICT-Mumbai--facebook.png"></img></a> | ||
+ | <a href="https://www.instagram.com/igem_ictmumbai/"><img style="padding-top: 50px;" id="footer-icon" src="https://static.igem.org/mediawiki/2018/8/85/T--ICT-Mumbai--Instagram.png"></img></a> | ||
+ | <p style="display: block; float: right; padding-top: 50px;"> | ||
+ | Contact us: <i>igemteamictmumbai@gmail.com</i> | Follow us: | ||
+ | </p> | ||
+ | |||
+ | </div> | ||
+ | </body> | ||
+ | </html> |
Latest revision as of 02:32, 18 October 2018