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

 
(18 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: absolute; 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: 10px;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>
Line 573: Line 573:
 
                         <li class="subs"><a href="https://2018.igem.org/Team:NUS_Singapore-Sci/Cas_Talks">#CasTalks</a></li>
 
                         <li class="subs"><a href="https://2018.igem.org/Team:NUS_Singapore-Sci/Cas_Talks">#CasTalks</a></li>
 
                         <li class="subs"><a href="https://2018.igem.org/Team:NUS_Singapore-Sci/Cas_Teaches">#CasTeaches</a></li>
 
                         <li class="subs"><a href="https://2018.igem.org/Team:NUS_Singapore-Sci/Cas_Teaches">#CasTeaches</a></li>
                         <li class="subs"><a href="https://2018.igem.org/Team:NUS_Singapore-Sci/Cas_Writes">#CasWrites</a></li>
+
                         <li class="subs hassubs"><a href="#">#CasWrites</a>
 +
                            <ul class="dropdown">
 +
                                <li class="subs"><a href="https://2018.igem.org/Team:NUS_Singapore-Sci/Cas_Writes">#CasWrites: Discussion</a></li>
 +
                                <li class="subs"><a href="https://2018.igem.org/Team:NUS_Singapore-Sci/Cas_Writes_Collab">#CasWrites: Collaboration</a></li>
 +
                                <li class="subs"><a href="https://2018.igem.org/Team:NUS_Singapore-Sci/Cas_Writes_Bioethics">#CasWrites: BioEthics</a></li>
 +
                            </ul>
 +
                        </li>
 
                          
 
                          
 
                     </ul>
 
                     </ul>

Latest revision as of 03:32, 18 October 2018