Line 18: | Line 18: | ||
<!-- Modernizr js source: --> | <!-- Modernizr js source: --> | ||
<script type="text/javascript" src="https://2016.igem.org/Team:DTU-Denmark/modernizr-costum-js?action=raw&ctype=text/javascript"></script> | <script type="text/javascript" src="https://2016.igem.org/Team:DTU-Denmark/modernizr-costum-js?action=raw&ctype=text/javascript"></script> | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<!-- Javascripts --> | <!-- Javascripts --> | ||
<!-- Hover --> | <!-- Hover --> | ||
Line 41: | Line 38: | ||
/* Navigation CSS */ | /* Navigation CSS */ | ||
+ | |||
+ | #active { | ||
+ | display: inline; | ||
+ | } | ||
#top-section { | #top-section { | ||
Line 95: | Line 96: | ||
#sub-navigation-wrapper a:active { | #sub-navigation-wrapper a:active { | ||
text-decoration:none; | text-decoration:none; | ||
− | color: | + | color:#555; |
} | } | ||
Line 171: | Line 172: | ||
float:left; | float:left; | ||
margin-right:10px; | margin-right:10px; | ||
+ | } | ||
+ | |||
+ | #sub-navigation > ul { | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | #sub-navigation ul.active-sub { | ||
+ | display: inline; | ||
} | } | ||
Line 275: | Line 284: | ||
border-top-right-radius: 10px; | border-top-right-radius: 10px; | ||
color: white; | color: white; | ||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Line 390: | Line 395: | ||
}); | }); | ||
</script>--> | </script>--> | ||
− | + | ||
+ | <!-- jquery --> | ||
+ | <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> | ||
+ | <!-- /jquery --> | ||
</head> <!-- --> | </head> <!-- --> | ||
Line 664: | Line 672: | ||
<div id="sub-navigation"> | <div id="sub-navigation"> | ||
− | <ul id="achievements-sub"> | + | <ul id="achievements-sub" > |
− | <li><a href="# | + | <li><a href="#">Medal Requirements</a></li> |
</ul> | </ul> | ||
− | + | ||
+ | |||
<ul id="project-sub"> | <ul id="project-sub"> | ||
<li><a href="#" class="sub-nav-item">Description</a></li> | <li><a href="#" class="sub-nav-item">Description</a></li> | ||
Line 741: | Line 750: | ||
</header> | </header> | ||
+ | |||
+ | <!-- live update --> | ||
+ | <script>document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1"></' + 'script>')</script> | ||
+ | <!-- /live update --> | ||
<body> | <body> | ||
Line 764: | Line 777: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<!-- Codrops Mobile nav js source: | <!-- Codrops Mobile nav js source: | ||
<script type="text/javascript" src="https://2016.igem.org/Team:DTU-Denmark/mobile-nav-js?action=raw&ctype=text/javascript"></script> | <script type="text/javascript" src="https://2016.igem.org/Team:DTU-Denmark/mobile-nav-js?action=raw&ctype=text/javascript"></script> |
Revision as of 11:03, 4 August 2016