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

Line 469: Line 469:
 
.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;}
 
.mainnav li{text-decoration:none;float: left;padding: 5px;background: #203864;}
 
.mainnav li{text-decoration:none;float: left;padding: 5px;background: #203864;}
.mainnav li:first-child{border: none;}
+
.mainnav li:first-child{text-decoration:none;border: none;}
 
.mainnav li a{text-decoration:none;color:black; display: block;padding: 5px 20px;color: #fff;font-family: arial;}
 
.mainnav li a{text-decoration:none;color:black; display: block;padding: 5px 20px;color: #fff;font-family: arial;}
.mainnav li:hover{background: #fff;transition: ease-in .35s;-moz-transition: ease-in .35s;-webkit-transition: ease-in .35s;}
+
.mainnav li:hover{text-decoration:none;background: #fff;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;}
 
.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*/

Revision as of 22:21, 17 October 2018