Difference between revisions of "Template:Hawaii/Navbar"

 
(29 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
<html>
 
<html>
<nav>
+
<!-- NAV -->
     <ul>
+
     <nav class="main-nav">
       <li class="dropdown_outer-container">
+
       <ul class="main-ul">
         <div>
+
         <li><a href="https://2018.igem.org/Team:Hawaii">HOME</a></li>
          <a class="list-item_title list-item_title--active" href="https://2018.igem.org/Team:Hawaii">Home</a>
+
        <li><a href="https://2018.igem.org/Team:Hawaii/Description">PROJECT</a></li>
         </div>
+
         <li><a href="https://2018.igem.org/Team:Hawaii/Experiments">EXPERIMENTS</a></li>
      </li>
+
        <li><a href="https://2018.igem.org/Team:Hawaii/Notebook">NOTEBOOK</a></li>
      <li class="dropdown_outer-container">
+
         <li><a href="https://2018.igem.org/Team:Hawaii/Parts">PARTS</a></li>
         <div>
+
        <li><a href="https://2018.igem.org/Team:Hawaii/Team">TEAM</a></li>
          <a class="list-item_title list-item_title--active" href="">Project</a>
+
        <li class="dropdown">
          <div class="dropdown_inner-container">
+
          <div>
            <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Description">Description</a></div>
+
            <a href="">MORE</a>
            <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Design">Design</a></div>
+
            <ul class="dropdown-content">
            <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Experiments">Experiments</a></div>
+
              <li><a href="https://2018.igem.org/Team:Hawaii/Safety">SAFETY</a></li>
            <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Notebook">Notebook</a></div>
+
              <li><a href="https://2018.igem.org/Team:Hawaii/Collaborations">COLLABORATIONS</a></li>
            <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Results">Results</a></div>
+
              <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>
         </div>
+
         </li>
 
+
       </ul>
      </li>
+
     </nav>
       <li class="dropdown_outer-container">
+
        <div>
+
          <a href="" class="list-item_title list-item_title--active">Parts</a>
+
          <div class="dropdown_inner-container">
+
            <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Parts">Part Overview</a></div>
+
            <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Basic_Parts">Basic Parts</a></div>
+
            <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Composite_Parts">Composite Parts</a></div>
+
            <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Part_Collection">Part Collection</a></div>
+
          </div>
+
        </div>
+
      </li>
+
      <li class="dropdown_outer-container">
+
        <div>
+
          <a href="" class="list-item_title list-item_title--active">Team</a>
+
          <div class="dropdown_inner-container">
+
            <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Parts">Members</a></div>
+
            <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Collaborations">Collaborations</a></div>
+
          </div>
+
        </div>
+
      </li>
+
      <li class="dropdown_outer-container">
+
        <div>
+
          <a href=""><i class="fas fa-ellipsis-h"></i></a>
+
          <div class="dropdown_inner-container">
+
            <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Safety">Safety</a></div>
+
            <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Human_Practices">Human Practices</a></div>
+
            <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Parts">Part Overview</a></div>
+
            <div><a class="list-item_link list-item_link--active" href="https://2018.igem.org/Team:Hawaii/Awards">Awards</a></div>
+
          </div>
+
        </div>
+
      </li>
+
     </ul>
+
  </nav>
+
  
 
<style>
 
<style>
nav {
+
 
  width: 100%;
+
/* NAV */
 +
.main-nav {
 
   height: 100px;
 
   height: 100px;
  position: absolute;
 
  background-color: rgb(60,60,60);
 
  color: white;
 
 
   display: flex;
 
   display: flex;
   justify-content: flex-end;
+
   justify-content: center;
 +
  font-family: 'Oswald', sans-serif;
 +
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
 +
  background-color: white;
 +
  position: relative;
 +
  z-index: 3;  
 
}
 
}
ul {
+
.main-ul {
 +
  width: 80%;
 
   padding: 0px;
 
   padding: 0px;
 
   margin: 0px;
 
   margin: 0px;
  width: 55%;
 
 
   display: flex;
 
   display: flex;
  flex-direction: row;
 
 
   justify-content: space-around;
 
   justify-content: space-around;
   align-items: flex-end;
+
   align-items: center;
 +
 
 
}
 
}
li {
+
.main-ul li {
   width: 100%;
+
   list-style-type: none;
 +
  border: none;
 +
  font-size: 20px;
 +
  letter-spacing: 2px;
 
   height: 100%;
 
   height: 100%;
 
   display: flex;
 
   display: flex;
   align-items: flex-end;
+
   align-items: center;
   list-style-type: none;
+
  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;  
 
}
 
}
li div {
+
.main-ul a:focus {
   margin-bottom: 10px;
+
   border: none;
 +
  text-decoration: none;  
 
}
 
}
 
a {
 
a {
 
   text-decoration: none;
 
   text-decoration: none;
   color: inherit;
+
   color: rgb(50,50,50);
   margin-left: 10px;
+
   margin: 0px;
 +
  padding: 0px;
 
}
 
}
h3 {
+
.main-ul a:hover {
   letter-spacing: 10px;
+
   color: white;
 +
  background-color: rgb(30,30,30);
 
}
 
}
 
+
.dropdown div {
/* NAV */
+
   height: 100%;
.fa-ellipsis-h {
+
   color: rgb(74,74,74);
+
  background-color: white;
+
  border-radius: 200px;
+
  padding: 2px;
+
 
}
 
}
.dropdown_outer-container {
+
.dropdown a {
   position: relative;
+
   text-align: justify;
 +
  height: 100%;
 
}
 
}
.dropdown_outer-container:hover {
+
.dropdown-content {
 +
  display: none;
 +
  position: absolute;
 
   background-color: white;
 
   background-color: white;
   color: rgb(74,74,74);
+
   padding: 0px;
 +
  z-index: 4;  
 
}
 
}
.dropdown_outer-container:hover .dropdown_inner-container {
+
.dropdown-content {
 +
  background-color: rgb(220,220,220);
 +
}
 +
.dropdown-content a {
 +
  display: flex;
 +
  justify-content: flex-start;
 +
  padding-top: 10px;
 +
  padding-bottom: 10px;
 +
}
 +
.dropdown-content a:hover {
 +
  background-color: rgb(50,50,50);
 +
}
 +
.dropdown:hover .dropdown-content {
 
   display: flex;
 
   display: flex;
 
   flex-direction: column;
 
   flex-direction: column;
 
   justify-content: space-around;
 
   justify-content: space-around;
 
}
 
}
.dropdown_inner-container {
+
 
  display: none;
+
  background-color: white;
+
  width: 100%;
+
  position: absolute;
+
}
+
.dropdown_inner-container div {
+
  margin-top: 30px;
+
}
+
.list-item_link--active:hover {
+
  font-weight: bold;
+
  border-bottom: 1px solid grey;
+
}
+
 
</style>
 
</style>
 
</html>
 
</html>

Latest revision as of 03:58, 18 October 2018