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

 
(15 intermediate revisions by the same user not shown)
Line 453: Line 453:
  
 
.blackbar{
 
.blackbar{
     position: absolute;
+
     position: fixed;
     top: 1px;
+
     top: 15px;
 
     left: -90px;
 
     left: -90px;
 
     width: 240px;
 
     width: 240px;
Line 462: Line 462:
 
}
 
}
  
.main{text-decoration:none;position: fixed; top:0px; left:150px;width: 100%; background: #203864;}
+
.main{text-decoration:none;position: fixed; top:16px; left:150px;width: 100%; background: #203864;}
 
/*General Menu Styling*/
 
/*General Menu Styling*/
 
.mainnav{text-decoration:none;margin: 0 auto;}
 
.mainnav{text-decoration:none;margin: 0 auto;}
Line 481: Line 481:
 
.mainnav li ul li:hover a,.mainnav li ul li ul li:hover a{color: maroon;transition: ease-in-out .35s;-moz-transition: ease-in-out .35s;-webkit-transition: ease-in-out .35s;text-decoration:none;}
 
.mainnav li ul li:hover a,.mainnav li ul li ul li:hover a{color: maroon;transition: ease-in-out .35s;-moz-transition: ease-in-out .35s;-webkit-transition: ease-in-out .35s;text-decoration:none;}
 
/*Second Level*/
 
/*Second Level*/
.hassubs .hassubs .dropdown .subs{text-decoration:none;left: 15px;position: relative;width: 165px;top: 0px;}
+
.hassubs .hassubs .dropdown .subs{text-decoration:none;left: 15px;position: relative;width: 280px;top: 0px;}
.hassubs .hassubs .dropdown{text-decoration:none;position: absolute;width: 150px;left: 120px;top: 0px;opacity: 0;visibility: hidden;transition: ease-out .35s;-moz-transition: ease-out .35s;-webkit-transition: ease-out .35s;}
+
.hassubs .hassubs .dropdown{text-decoration:none;position: absolute;width: 280px;left: 120px;top: 0px;opacity: 0;visibility: hidden;transition: ease-out .35s;-moz-transition: ease-out .35s;-webkit-transition: ease-out .35s;}
  
 
</style>
 
</style>

Latest revision as of 03:32, 18 October 2018