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

(Undo revision 487023 by Randkim (talk))
Line 474: Line 474:
 
.mainnav li:hover a{text-decoration:none;color: maroon;transition: ease-in .35s;-moz-transition: ease-in .35s;-webkit-transition: ease-in .35s;}
 
.mainnav li:hover a{text-decoration:none;color: maroon;transition: ease-in .35s;-moz-transition: ease-in .35s;-webkit-transition: ease-in .35s;}
 
/*First Level*/
 
/*First Level*/
.subs {text-decoration:none;left: -45px;position: relative;top: 0px;width: 230px;border-left: none !important; border-bottom: 1px #fff !important;}
+
.subs {text-decoration:none;left: -45px;position: relative;top: 0px;width: 175px;border-left: none !important; border-bottom: 1px #fff !important;}
 
.subs:last-child{border: none !important;}
 
.subs:last-child{border: none !important;}
 
.hassubs:hover .dropdown,.hassubs .hassubs:hover .dropdown{text-decoration:none;opacity: 1;visibility: visible; transition: ease-in .35s;-moz-transition: ease-in .35s;-webkit-transition: ease-in .35s;}
 
.hassubs:hover .dropdown,.hassubs .hassubs:hover .dropdown{text-decoration:none;opacity: 1;visibility: visible; transition: ease-in .35s;-moz-transition: ease-in .35s;-webkit-transition: ease-in .35s;}
Line 482: Line 482:
 
/*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: 165px;top: 0px;}
.hassubs .hassubs .dropdown{text-decoration:none;position: absolute;width: 200px;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: 150px;left: 120px;top: 0px;opacity: 0;visibility: hidden;transition: ease-out .35s;-moz-transition: ease-out .35s;-webkit-transition: ease-out .35s;}
  
 
</style>
 
</style>

Revision as of 03:24, 18 October 2018