Difference between revisions of "Template:Groningen"

 
(7 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
$(document).ready(function() {
 
$(document).ready(function() {
 
$("#HQ_page").attr('id','');
 
$("#HQ_page").attr('id','');
// call the functions that control the menu  
+
// call the functions that control the menu
 
menu_functionality();
 
menu_functionality();
 
hide_show_menu();
 
hide_show_menu();
Line 211: Line 211:
 
  text-decoration:none;
 
  text-decoration:none;
 
  text-align:center;
 
  text-align:center;
  cursor:pointer;white-space:nowrap
+
  cursor:pointer;
 +
white-space:nowrap;
 
}
 
}
  
Line 569: Line 570:
 
     background-color:rgba(160, 192, 239, 0.25);
 
     background-color:rgba(160, 192, 239, 0.25);
 
     transition: all .1s ease-out;
 
     transition: all .1s ease-out;
 +
    cursor: pointer
 
}
 
}
 
#primary_nav_wrap ul ul
 
#primary_nav_wrap ul ul
Line 597: Line 599:
 
     visibility: visible;
 
     visibility: visible;
 
     margin: 0;
 
     margin: 0;
 +
 
}
 
}
  
Line 629: Line 632:
 
   <li class="mobicon"> <a href="javascript:void(0);" onclick="mobnavtoggle()">≡ Menu</a></li>
 
   <li class="mobicon"> <a href="javascript:void(0);" onclick="mobnavtoggle()">≡ Menu</a></li>
 
   <li><a href="https://2017.igem.org/Team:Groningen">Home</a></li>
 
   <li><a href="https://2017.igem.org/Team:Groningen">Home</a></li>
   <li style=""><a href="https://2017.igem.org/Team:Groningen/Description">Project</a>
+
   <li><a onclick="">Project</a>
 
     <ul>
 
     <ul>
 
     <li><a href="https://2017.igem.org/Team:Groningen/Description">Description</a></li>
 
     <li><a href="https://2017.igem.org/Team:Groningen/Description">Description</a></li>
Line 641: Line 644:
 
     </ul>
 
     </ul>
 
   </li>
 
   </li>
   <li><a href="https://2017.igem.org/Team:Groningen/Overview">Human Practices</a>
+
   <li><a onclick="">Human Practices</a>
 
     <ul>
 
     <ul>
 
     <li><a href="https://2017.igem.org/Team:Groningen/Overview">Overview</a></li>
 
     <li><a href="https://2017.igem.org/Team:Groningen/Overview">Overview</a></li>
Line 654: Line 657:
 
   <li><a href="https://2017.igem.org/Team:Groningen/Parts">Parts</a></li>
 
   <li><a href="https://2017.igem.org/Team:Groningen/Parts">Parts</a></li>
 
   <li><a href="https://2017.igem.org/Team:Groningen/Collaborations">Collaborations</a></li>
 
   <li><a href="https://2017.igem.org/Team:Groningen/Collaborations">Collaborations</a></li>
   <li><a href="https://2017.igem.org/Team:Groningen/Team">Team</a>
+
   <li><a onclick="">Team</a>
 
     <ul>
 
     <ul>
 
     <li class="dir"><a href="https://2017.igem.org/Team:Groningen/Team">Team Members</a></li>
 
     <li class="dir"><a href="https://2017.igem.org/Team:Groningen/Team">Team Members</a></li>
Line 1,019: Line 1,022:
 
}
 
}
  
#myScrollspy ul li.active
+
#myScrollspy ul li.active {
{background:green;}
+
  background:green;
#myScrollspy ul li.active:hover
+
  transition: all .1s ease-out;
{background-color:rgba(120, 255, 180, 0.5);}
+
}
#myScrollspy ul li:hover
+
#myScrollspy ul li.active:hover {
{background-color:rgba(160, 192, 239, 0.5);}
+
  background-color:rgba(120, 255, 180, 0.5);
 +
  transition: all .1s ease-out;
 +
}
 +
#myScrollspy ul li:hover {
 +
  background-color:rgba(160, 192, 239, 0.5);
 +
  transition: all .1s ease-out;
 +
}
  
 
#myScrollspy.sticky {
 
#myScrollspy.sticky {
Line 1,144: Line 1,153:
 
   }
 
   }
 
   return false;
 
   return false;
}
 
 
if (versionshitie != false) {
 
  scnavbar.classList.add("sticky")
 
 
}
 
}
  

Latest revision as of 03:01, 2 November 2017