Difference between revisions of "Team:Uppsala/test5"

 
(9 intermediate revisions by 2 users not shown)
Line 31: Line 31:
  
  
 
+
@media only screen and ( max-width: 900px ) {
@media only screen and (max-width: 800px) {
+
    #toc{
+
        display: none;
+
    }
+
 
     .content-text{
 
     .content-text{
    margin-right:50vw;
+
    margin-right:1em !important;
 +
    margin-left:1em !important;
 +
    width:90% !important;
 +
 
 +
   
 
     }
 
     }
 
}
 
}
 +
  
 
</style>
 
</style>
Line 354: Line 355:
 
$( document ).ready(function() {
 
$( document ).ready(function() {
  
$(window).resize(function() {
 
if ( $(window).width() < 800) {
 
  
 +
/*
 
   // Since side navigation is displayed at start at the very top and jumps down at scrolling
 
   // Since side navigation is displayed at start at the very top and jumps down at scrolling
 
   // ... We hide it a very short time, so we dont se it jumping down and then fade it in!  
 
   // ... We hide it a very short time, so we dont se it jumping down and then fade it in!  
Line 372: Line 372:
 
        
 
        
 
     });
 
     });
 
+
*/
  
  
Line 414: Line 414:
 
     });
 
     });
  
  }
 
  
else {
 
    $("#toc").css('visibility','hidden');
 
}
 
 
  });
 
 
});
 
});
  

Latest revision as of 22:40, 17 October 2018




Uppsala iGEM 2018