Difference between revisions of "Template:DTU-Denmark"

 
(8 intermediate revisions by the same user not shown)
Line 50: Line 50:
 
           $('nav').addClass('black');
 
           $('nav').addClass('black');
 
         }else {
 
         }else {
if($(window).width()>1006){
+
if($(window).width()>1200){
 
           $('nav').removeClass('black');
 
           $('nav').removeClass('black');
 
}
 
}
Line 129: Line 129:
  
 
$(document).ready(function() {
 
$(document).ready(function() {
   if ($(window).width()< 800 ) {
+
   if ($(window).width()< 850 ) {
 
     //if the window is less than 700 wide then turn on footer as coloumn.
 
     //if the window is less than 700 wide then turn on footer as coloumn.
 
smallscreennavbar();
 
smallscreennavbar();
Line 137: Line 137:
 
}
 
}
  
if ($(window).width() < 1006) {
+
if ($(window).width() < 1070) {
 
     //if the window is less than 700 wide then turn on footer as coloumn.
 
     //if the window is less than 700 wide then turn on footer as coloumn.
 
$('nav').addClass('black');
 
$('nav').addClass('black');
Line 149: Line 149:
 
$(window).resize(function() {
 
$(window).resize(function() {
 
   windowsize = $(window).width();
 
   windowsize = $(window).width();
   if (windowsize < 800 ) {
+
   if (windowsize < 850 ) {
 
     //if the window is less than 700 wide then turn on footer as coloumn.
 
     //if the window is less than 700 wide then turn on footer as coloumn.
 
smallscreennavbar();
 
smallscreennavbar();
Line 157: Line 157:
 
}
 
}
  
   if (windowsize < 1006) {
+
   if (windowsize < 1070) {
 
     //if the window is less than 700 wide then turn on footer as coloumn.
 
     //if the window is less than 700 wide then turn on footer as coloumn.
 
$('nav').addClass('black');
 
$('nav').addClass('black');
Line 973: Line 973:
 
       </div>
 
       </div>
 
       <ul id='menu'>
 
       <ul id='menu'>
          
+
         <li class="dropdown">
       <a href="https://2019.igem.org/Team:DTU-Denmark/Awards" class="dropbtn">Awards</a>
+
       <a href="https://2019.igem.org/Team:DTU-Denmark/Awards" class="dropbtn"><img src="https://static.igem.org/mediawiki/2019/c/c0/T--DTU-Denmark--medallogo.svg" style="height:30px;" alt="Awards"></a>
 
+
</li>
 
           <li class="dropdown">
 
           <li class="dropdown">
 
               <a href="https://2019.igem.org/Team:DTU-Denmark/Description" class="dropbtn">Project</a>
 
               <a href="https://2019.igem.org/Team:DTU-Denmark/Description" class="dropbtn">Project</a>

Latest revision as of 00:46, 13 December 2019