Difference between revisions of "Team:UChile OpenBio-CeBiB/Template/2"

Line 21: Line 21:
  
 
     if($(window).scrollTop()>100)
 
     if($(window).scrollTop()>100)
     $("nav").css({"background-color" : "rgba(0,0,0,.5)"});
+
     $("nav.top").css({"background-color" : "rgba(0,0,0,.5)"});
  
 
     else
 
     else
     $("nav").css({"background-color" : "rgba(0,0,0,1)"});
+
     $("nav.top").css({"background-color" : "rgba(0,0,0,1)"});
  
  
Line 521: Line 521:
 
<!--NAVBAR BEGIN-->
 
<!--NAVBAR BEGIN-->
 
<header>
 
<header>
<nav class="navbar fixed-top navbar-expand-lg navbar-light" style="background-color: #acd7a4" ng-controller="HeaderController">
+
<nav class="navbar top fixed-top navbar-expand-lg navbar-light" style="background-color: #acd7a4" ng-controller="HeaderController">
 
   <a class="navbar-brand" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB">
 
   <a class="navbar-brand" href="https://2017.igem.org/Team:UChile_OpenBio-CeBiB">
 
   <img src="https://static.igem.org/mediawiki/2017/9/9d/T--UChile_OpenBio-CeBiB--logo1.png" width="200" height="55" alt="">
 
   <img src="https://static.igem.org/mediawiki/2017/9/9d/T--UChile_OpenBio-CeBiB--logo1.png" width="200" height="55" alt="">

Revision as of 23:50, 19 October 2017

Document