Difference between revisions of "Template:Hawaii/Navbar"

 
(34 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
<html>
 
<html>
<nav id="top-nav">
+
<!-- NAV -->
       <ul>
+
    <nav class="main-nav">
         <li>
+
       <ul class="main-ul">
          <a href="index.html">Home</a>
+
         <li><a href="https://2018.igem.org/Team:Hawaii">HOME</a></li>
         </li>
+
        <li><a href="https://2018.igem.org/Team:Hawaii/Description">PROJECT</a></li>
 +
         <li><a href="https://2018.igem.org/Team:Hawaii/Experiments">EXPERIMENTS</a></li>
 +
        <li><a href="https://2018.igem.org/Team:Hawaii/Notebook">NOTEBOOK</a></li>
 +
        <li><a href="https://2018.igem.org/Team:Hawaii/Parts">PARTS</a></li>
 +
        <li><a href="https://2018.igem.org/Team:Hawaii/Team">TEAM</a></li>
 
         <li class="dropdown">
 
         <li class="dropdown">
           <a href="team.html">Team</a>
+
           <div>
          <i class="fas fa-angle-down"></i>
+
            <a href="">MORE</a>
          <div class="dropdown-content">
+
            <ul class="dropdown-content">
            <div><a href="https://2018.igem.org/Team:Hawaii/Team">Team Members</a></div>
+
              <li><a href="https://2018.igem.org/Team:Hawaii/Safety">SAFETY</a></li>
            <div><a href="https://2018.igem.org/Team:Hawaii/Collaborations">Collaborations</a></div>
+
              <li><a href="https://2018.igem.org/Team:Hawaii/Collaborations">COLLABORATIONS</a></li>
 +
              <li><a href="https://2018.igem.org/Team:Hawaii/Human_Practices">HUMAN PRACTICES</a></li>
 +
              <li><a href="https://2018.igem.org/Team:Hawaii/Model">MODELLING</a></li>
 +
              <li><a href="https://2018.igem.org/Team:Hawaii/Demonstrate">DEMONSTRATE</a></li>
 +
              <li><a href="https://2018.igem.org/Team:Hawaii/Attributions">ATTRIBUTIONS</a></li>
 +
              <li><a href="https://2018.igem.org/Team:Hawaii/Characterization">CHARACTERIZATION</a></li>
 +
              <li><a href="https://2018.igem.org/Team:Hawaii/Calendar">CALENDAR</a></li>
 +
            </ul>
 
           </div>
 
           </div>
 
         </li>
 
         </li>
 +
      </ul>
 +
    </nav>
  
        <li class="dropdown">
+
<style>
          <a href="project.html">Project</a>
+
          <i class="fas fa-angle-down"></i>
+
          <div class="dropdown-content">
+
            <div><a href="https://2018.igem.org/Team:Hawaii/Description">Description</a></div>
+
            <div><a href="https://2018.igem.org/Team:Hawaii/Design">Design</a></div>
+
            <div><a href="https://2018.igem.org/Team:Hawaii/Experiments">Experiments</a></div>
+
            <div><a href="https://2018.igem.org/Team:Hawaii/Notebookl">Notebook</a></div>
+
            <div><a href="https://2018.igem.org/Team:Hawaii/Interlab">Interlab</a></div>
+
            <div><a href="https://2018.igem.org/Team:Hawaii/Model">Model</a></div>
+
            <div><a href="https://2018.igem.org/Team:Hawaii/Results">Results</a></div>
+
            <div><a href="https://2018.igem.org/Team:Hawaii/Demonstrate">Demonstrate</a></div>
+
            <div><a href="https://2018.igem.org/Team:Hawaii/Improve">Improve</a></div>
+
            <div><a href="https://2018.igem.org/Team:Hawaii/Attributions">Attributions</a></div>
+
          </div>
+
        </li>
+
 
+
        <li class="dropdown">
+
          <a href="parts.html">Parts</a>
+
          <i class="fas fa-angle-down"></i>
+
          <div class="dropdown-content">
+
            <div><a href="https://2018.igem.org/Team:Hawaii/Parts">Parts Overview</a></div>
+
            <div><a href="https://2018.igem.org/Team:Hawaii/Basic_Part">Basic Parts</a></div>
+
            <div><a href="https://2018.igem.org/Team:Hawaii/Composite_Partl">Composite Parts</a></div>
+
            <div><a href="https://2018.igem.org/Team:Hawaii/Part_Collectionl">Part Collection</a></div>
+
          </div>
+
        </li>
+
 
+
        <li>
+
          <a href="https://2018.igem.org/Team:Hawaii/Safety">Safety</a>
+
        </li>
+
 
+
        <li class="dropdown">
+
          <a href="https://2018.igem.org/Team:Hawaii/Human_Practices">Human Practices</a>
+
          <i class="fas fa-angle-down"></i>
+
          <div class="dropdown-content">
+
            <div><a href="https://2018.igem.org/Team:Hawaii/Human_Practices">Human Practices</a></div>
+
            <div><a href="https://2018.igem.org/Team:Hawaii/Public_Engagement">Public Engagement</a></div>
+
          </div>
+
        </li>
+
 
+
        <li class="dropdown">
+
          <a href="html/awards.html">Awards</a>
+
          <i class="fas fa-angle-down"></i>
+
          <div class="dropdown-content">
+
            <div><a href="https://2018.igem.org/Team:Hawaii/Applied_Design">Applied Design</a></div>
+
            <div><a href="https://2018.igem.org/Team:Hawaii/Entrepreneurship">Entrepreneurship</a></div>
+
            <div><a href="https://2018.igem.org/Team:Hawaii/Hardware">Hardware</a></div>
+
            <div><a href="https://2018.igem.org/Team:Hawaii/Model">Model</a></div>
+
            <div><a href="https://2018.igem.org/Team:Hawaii/Plant">Plant</a></div>
+
            <div><a href="https://2018.igem.org/Team:Hawaii/Software">Software</a></div>
+
        </div>
+
      </li>
+
    </ul>
+
</nav>
+
  
<style>
+
/* NAV */
#top-nav {
+
.main-nav {
  width: 100%;
+
 
   height: 100px;
 
   height: 100px;
 
   display: flex;
 
   display: flex;
 
   justify-content: center;
 
   justify-content: center;
   align-items: center;
+
   font-family: 'Oswald', sans-serif;
   letter-spacing: 1px;
+
   box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
   background-color: yellow;
+
   background-color: white;
 +
  position: relative;
 +
  z-index: 3;  
 
}
 
}
#top-nav ul {
+
.main-ul {
   width: 1100px;
+
   width: 80%;
 
   padding: 0px;
 
   padding: 0px;
 +
  margin: 0px;
 
   display: flex;
 
   display: flex;
 
   justify-content: space-around;
 
   justify-content: space-around;
 
   align-items: center;
 
   align-items: center;
  flex-direction: row;
+
 
  z-index: 1;
+
 
}
 
}
.dropdown {
+
.main-ul li {
   position: relative;
+
  list-style-type: none;
 +
  border: none;
 +
  font-size: 20px;
 +
  letter-spacing: 2px;
 +
  height: 100%;
 +
  display: flex;
 +
  align-items: center;
 +
  margin: 0px;
 +
  /* min-width: 150px; */
 +
}
 +
.main-ul a {
 +
  height: 100%;
 +
  width: 100%;
 +
  justify-content: center;
 +
  padding-left: 20px;
 +
  padding-right: 20px;
 +
  display: flex;
 +
  align-items: center;
 +
}
 +
.main-ul a:hover {
 +
  border: none;
 +
  text-decoration: none;
 +
}
 +
.main-ul a:focus {
 +
  border: none;
 +
  text-decoration: none;
 +
}
 +
a {
 +
  text-decoration: none;
 +
  color: rgb(50,50,50);
 +
  margin: 0px;
 +
  padding: 0px;
 +
}
 +
.main-ul a:hover {
 +
  color: white;
 +
  background-color: rgb(30,30,30);
 +
}
 +
.dropdown div {
 +
   height: 100%;
 +
}
 +
.dropdown a {
 +
  text-align: justify;
 +
  height: 100%;
 
}
 
}
 
.dropdown-content {
 
.dropdown-content {
  height: auto;
 
  width: auto;
 
 
   display: none;
 
   display: none;
 
   position: absolute;
 
   position: absolute;
 
   background-color: white;
 
   background-color: white;
   padding: 20px;
+
   padding: 0px;
 +
  z-index: 4;  
 
}
 
}
.dropdown-content div {
+
.dropdown-content {
   padding-bottom: 10px;
+
   background-color: rgb(220,220,220);
 +
}
 +
.dropdown-content a {
 +
  display: flex;
 +
  justify-content: flex-start;
 
   padding-top: 10px;
 
   padding-top: 10px;
 +
  padding-bottom: 10px;
 +
}
 +
.dropdown-content a:hover {
 +
  background-color: rgb(50,50,50);
 
}
 
}
 
.dropdown:hover .dropdown-content {
 
.dropdown:hover .dropdown-content {
Line 111: Line 120:
 
   justify-content: space-around;
 
   justify-content: space-around;
 
}
 
}
.dropdown-content div:hover {
+
 
  color: rgb(200,200,200);
+
}
+
 
</style>
 
</style>
 
</html>
 
</html>

Latest revision as of 03:58, 18 October 2018