Difference between revisions of "Template:NUS Singapore-A"

Line 218: Line 218:
  
 
/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
 
/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
+
@media screen and (max-width: 800px) {
 
   .nav a:not(:first-child), .dropdown .dropbtn {
 
   .nav a:not(:first-child), .dropdown .dropbtn {
 
     display: none;
 
     display: none;
Line 229: Line 229:
  
 
/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
 
/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
+
@media screen and (max-width: 800px) {
 
   .nav.responsive {position: relative;}
 
   .nav.responsive {position: relative;}
 
   .nav.responsive a.icon {
 
   .nav.responsive a.icon {

Revision as of 20:52, 15 October 2018

CONNECT WITH US