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

Line 464: Line 464:
 
.main{position: absolute; top:0px; left:150px;width: 100%; background: #203864;}
 
.main{position: absolute; top:0px; left:150px;width: 100%; background: #203864;}
 
/*General Menu Styling*/
 
/*General Menu Styling*/
.mainnav{margin: 0 auto}
+
.mainnav{text-decoration:none;margin: 0 auto}
li{list-style: none;}
+
li{text-decoration:none;list-style: none;}
 
li a{text-decoration: none;}
 
li a{text-decoration: none;}
 
.dropdown{text-decoration:none;position: absolute; width: 150px;top: 43px; opacity: 0;visibility: hidden;transition: ease-out .35s;-moz-transition: ease-out .35s;-webkit-transition: ease-out .35s;}
 
.dropdown{text-decoration:none;position: absolute; width: 150px;top: 43px; opacity: 0;visibility: hidden;transition: ease-out .35s;-moz-transition: ease-out .35s;-webkit-transition: ease-out .35s;}
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 {left: -45px;position: relative;top: 0px;width: 175px;border-left: none !important; border-bottom: 1px dotted #fff !important;}
+
.subs {text-decoration:none;left: -45px;position: relative;top: 0px;width: 175px;border-left: none !important; border-bottom: 1px dotted #fff !important;}
 
.subs:last-child{border: none !important;}
 
.subs:last-child{border: none !important;}
.hassubs:hover .dropdown,.hassubs .hassubs:hover .dropdown{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;}
 
.mainnav li:hover ul a,.mainnav li:hover ul li ul li a{color: white;text-decoration:none;}
 
.mainnav li:hover ul a,.mainnav li:hover ul li ul li a{color: white;text-decoration:none;}
 
.mainnav li ul li:hover,.mainnav li ul li ul li:hover{background: #fff;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,.mainnav li ul li ul li:hover{background: #fff;transition: ease-in-out .35s;-moz-transition: ease-in-out .35s;-webkit-transition: ease-in-out .35s;text-decoration:none;}

Revision as of 22:20, 17 October 2018