Difference between revisions of "Template:William and Mary/NAV BAR"

 
(131 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<html lang='en'>   
 
<html lang='en'>   
<head>
+
 
  
 
<style>
 
<style>
  
 
.dropdown {
 
.dropdown {
    position: relative;
+
  z-index: 9999;
    display: inline-block;
+
 
color: black;
+
}
  
 +
#wnm-top-nav ul {
 +
  margin: 0 0 0 0;
 +
 +
#wnm-top-nav li {
 +
  margin: 0 0 0 0;
 +
}
 +
 +
#wnm-top-nav li {
 +
  display: inline-block;
 +
}
 +
#wnm-top-nav li:hover {
 +
  background: #ECECEC;
 +
}
 +
#wnm-top-nav li:hover ul {
 +
  display: block;
 +
}
 +
#wnm-top-nav li ul {
 +
  position: absolute;
 +
  width: 150px;
 +
  display: none;
 +
font-size: 15px;
 +
}
 +
#wnm-top-nav li ul li {
 +
background: #ECECEC;
 +
 
 +
  display: block;
 
}
 
}
 +
#wnm-top-nav li ul li a {display:block !important;}
 +
#wnm-top-nav li ul li:hover {background: #D0D0D0;}
  
.dropdown-content {
+
.nav.navbar-nav.navbar-right li a {
     display: none;
+
     color: black;
    position: absolute;
+
    background-color: white;
+
    min-width: 160px;
+
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
+
    padding: 10px 16px;
+
    z-index: 1;
+
 
}
 
}
.dropdown-content a {
+
.dropdown-content ul li a {
     text-color: black;
+
     color: black;
 
     padding: 10px 13px;
 
     padding: 10px 13px;
 
     text-decoration: none;
 
     text-decoration: none;
 
     display: block;
 
     display: block;
 
     font-size: 13px;
 
     font-size: 13px;
}
 
.dropdown-content a:hover {
 
background-color: #C0C0C0;
 
color: black;
 
 
}
 
}
  
.dropdown:hover .dropdown-content {
 
    display: block;
 
}
 
.nav.navbar-nav.navbar-right li a {
 
    color: #f6f6f7;
 
font-family:Helvetica;
 
}
 
 
.nav.navbar-nav.navbar-right li a:hover {
 
    text-decoration: underline;
 
}
 
 
</style>
 
</style>
  
</head>
 
  
<body>  
+
<div class="dropdown">
  <nav style="background-color: blue;" class="navbar navbar-default navbar-transparent navbar-fixed-top" role="navigation">
+
  <nav style="background-color: #FFFFFF" class="navbar navbar-default navbar-fixed-top" role="navigation">
<!--"navbar-burger" will create an invisible navbar like the one in our 2015 page-->
+
    <!-- navbar adjusted to fix full-screen issue on auxillary pages resulting in whitespace at top of screen. -->
<div class="container">
+
    <div class="container">
<div class="navbar-header">
+
      <div class="navbar-header"style='float: left;'>
<button id="menu-toggle" type="button" class="navbar-toggle" data-toggle="collapse" data-target="#example">
+
        <button id="menu-toggle" type="button" class="navbar-toggle" data-toggle="collapse" data-target="#example">
<span class="sr-only">Toggle navigation</span>
+
          <span class="sr-only">Toggle navigation</span>
<span class="icon-bar bar1"></span>
+
          <span class="icon-bar bar1"></span>
<span class="icon-bar bar2"></span>
+
          <span class="icon-bar bar2"></span>
<span class="icon-bar bar3"></span>
+
          <span class="icon-bar bar3"></span>
</button>
+
        </button>
<a href='https://2018.igem.org/Team:William_and_Mary' class="navbar-brand">
+
        <a href='https://2018.igem.org/Team:William_and_Mary' class="navbar-brand">
W&M
+
<div style='padding-top: 3px; padding-left: -10px;'>
</a>
+
          <img src="https://static.igem.org/mediawiki/2018/e/ec/T--William_and_Mary--DecodeLogo1.jpg" height = "30px"/></div>
</div>
+
        </a>
<div id="navbar" class="collapse navbar-collapse">
+
      </div>
<ul class="nav navbar-nav navbar-right navbar-uppercase">
+
   
<!--li class="social-links">
+
      <div class="collapse navbar-collapse">
<a href="https://www.facebook.com/WMiGEM16/?fref=ts">  
+
        <ul id = "wnm-top-nav" class="nav navbar-nav navbar-left navbar-uppercase dropdown">
<i class="fa fa-facebook"></i>
+
</a>
+
 
<a href="https://twitter.com/wmigem">  
+
            <li>
<i class="fa fa-twitter"></i>
+
              <a href="https://2018.igem.org/Team:William_and_Mary/Description">
</a-->
+
                Project
<!--
+
              </a>
<a href="#">  
+
 
<i class="fa fa-instagram"></i>
+
 
</a>
+
<ul class="dropdown-content">
-->
+
             
<!--/li-->
+
                <li> <center><a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Description">
<li>
+
                Background
<a href="https://2018.igem.org/Team:William_and_Mary">  
+
                </a></center></li>
Home
+
 
</a>
+
                <li> <center> <a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Results">  
</li>
+
                Results
                                 
+
                </a></center></li>
<li class="dropdown"><a id = "wnm-top-nav" class="nav-link dropdown-toggle" data-toggle="dropdown" href="#">Project<span class="caret"></span></a>
+
 
                                              <ul style="right: -15px; top: 55px;" class="dropdown-content">
+
 
                                                    <a href="#"><font color="black">Freezing Cells</font></a>
+
                </a></center></li>
                                                    <a href="#"><font color="black">3G Assembly</font></a>  
+
                <li> <center> <a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Heat">  
                                              </ul>
+
                Temperature Systems
</li>
+
                </a></center></li>
<li>
+
 
<a href="#">  
+
                </a></center></li>
Results
+
                <li> <center> <a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Experiments">  
</a>
+
                Methods and Data
</li>
+
                </a></center></li>
<li>
+
 
<a href="#">  
+
 
Modeling
+
</ul>
</a>
+
</li>
</li>
+
 
<li>
+
       
<a href="#">  
+
          <li>
Human practices
+
            <a href="https://2018.igem.org/Team:William_and_Mary/3G">
</a>
+
              3G Assembly
</li>
+
            </a>
<li>
+
            <ul class="dropdown-content">
+
             
<a href="#">  
+
                <li> <center> <a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/3G">  
Database
+
                Method Overview
</a>
+
                </a></center></li>
</li>
+
 
                                        <li>
+
                <li> <center> <a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Collaborations">
<a href="#">
+
                Collaborations
Judging
+
                </a></center></li>
</a>
+
 
</li>
+
                </a></center></li>
<li>
+
                <li> <center> <a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/3G_Mixed">  
<a href="https://2018.igem.org/Team:William_and_Mary/Team">  
+
                Parallel Circuit Testing
Team
+
                </a></center></li>
</a>
+
 
</li>
+
                <li> <center> <a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Part_Collection">  
</ul>
+
                3G Parts
</div>
+
                </a></center></li>
</div>
+
 
 +
                <li> <center> <a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/3GProtocols">
 +
                Protocol
 +
                </a></center></li>
 +
 
 +
 
 +
               
 +
              </ul>
 +
            </li>
 +
 
 +
 
 +
            <li>
 +
              <a href="https://2018.igem.org/Team:William_and_Mary/Model">
 +
                Modeling
 +
              </a>
 +
            </li>
 +
 
 +
          <li>
 +
            <a href="https://2018.igem.org/Team:William_and_Mary/Public_Engagement">
 +
              Human Practices
 +
            </a>
 +
            <ul class="dropdown-content">
 +
             
 +
 
 +
                <li><center> <a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Public_Engagement">
 +
                  Overview
 +
                </a></center></li>
 +
                <li><center> <a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Human_Practices/Incorporating_new_communities">  
 +
                  Incorporating New Communities
 +
                </a></center></li>
 +
                <li><center> <a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Human_Practices/A_Statewide_Standard">  
 +
                  A Statewide Standard
 +
                </a></center></li>
 +
                <li><center> <a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Human_Practices/Continuing_the_Conversation">  
 +
                  Continuing the Conversation
 +
                </a></center></li>
 +
                <li><center><a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Human_Practices">
 +
                  IHP/Silver
 +
                </a></center></li>
 +
 
 +
               
 +
              </ul>
 +
            </li>
 +
 
 +
 
 +
<!--->
 +
 
 +
<li>
 +
            <a href="https://2018.igem.org/Team:William_and_Mary/Database">
 +
              Database
 +
            </a>
 +
            <ul class="dropdown-content">
 +
             
 +
 
 +
                <li><center> <a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Database_Overview">  
 +
                  Database Overview
 +
                </a></center></li>
 +
                <li><center> <a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Database">  
 +
                  Database
 +
                </a></center></li>
 +
               
 +
               
 +
              </ul>
 +
            </li>
 +
 
 +
 
 +
 
 +
<!---->
 +
 
 +
<!-- <li>
 +
            <a href="https://2018.igem.org/Team:William_and_Mary/Protocols">  
 +
              Protocols
 +
            </a>
 +
            <ul class="dropdown-content">
 +
             
 +
 
 +
                <li> <center> <a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Protocols">
 +
                Protocols
 +
                </a></center></li>     
 +
                <li> <center> <a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/3GProtocols">  
 +
                3G Assembly
 +
                </a></center></li>
 +
                <li> <center> <a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Flow_Protocol">
 +
              Sample Preservation
 +
                </a></center></li>
 +
              </ul>
 +
            </li>-->
 +
 
 +
         
 +
            <li>
 +
              <a href="#">  
 +
                Judging
 +
              </a>
 +
            <ul class="dropdown-content">
 +
             
 +
              <!--<li style='font-family: "Optima";'>
 +
<center>
 +
                <a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Achievements">
 +
                  Achievements
 +
                </a></center> </li>-->
 +
               
 +
                <li style='font-family: "Optima";'> <center><a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Medal Requirements">  
 +
                  Medal Requirements
 +
                </a></center></li>
 +
 
 +
                <li> <center><a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Measurement">
 +
                  Measurement
 +
                </a></center></li>
 +
               
 +
                <li><center><a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Demonstrate">  
 +
                  Demonstrate
 +
                </a></center> </li>
 +
 
 +
 
 +
                <li> <center><a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Part_Collection">  
 +
                  Best Part Collection
 +
                </a></center></li>
 +
 
 +
                <li> <center><a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Parts">
 +
                  Parts
 +
                </a></center></li>
 +
 
 +
                <li> <center><a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Improve">  
 +
                Improve
 +
                </a></center></li>
 +
 
 +
                <li> <center><a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/InterLab">  
 +
                  Interlab
 +
                </a> </center></li>
 +
 
 +
              </ul>
 +
 
 +
 
 +
            </li>
 +
 
 +
 
 +
 
 +
                <li>
 +
            <a href="https://2018.igem.org/Team:William_and_Mary/Team">  
 +
              Team
 +
            </a>
 +
            <ul class="dropdown-content">
 +
             
 +
 
 +
                <li> <center> <a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Team">
 +
                  Meet the Team
 +
                </a></center></li>
 +
                <li> <center> <a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Attributions">
 +
                  Attributions
 +
                </a></center></li>
 +
                <li> <center> <a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Notebook">
 +
                  Notebook
 +
                </a></center></li>
 +
                <li> <center> <a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Protocols">  
 +
                Protocols
 +
                </a></center></li>
 +
                <li> <center> <a style="color: black" href="https://2018.igem.org/Team:William_and_Mary/Safety">
 +
                  Safety
 +
                </a></center></li>
 +
 
 +
 
 +
               
 +
              </ul>
 +
            </li>
 +
   
 +
 
 +
                     
 +
          </ul>
 +
        </div>
 +
      </div>
 
     </nav>
 
     </nav>
</body>
+
  </div>
</html>
+
  </html>

Latest revision as of 02:43, 18 October 2018