Difference between revisions of "Template:UC Davis/header"

Line 1: Line 1:
 
<html>
 
<html>
 
 
<head>
 
<head>
 
   <title>iGEM</title>
 
   <title>iGEM</title>
Line 27: Line 26:
 
   /*-------------------------------------------------------------------*/
 
   /*-------------------------------------------------------------------*/
  
  /*----------------------Header Styling-------------------------*/
+
/*----------------------Header Styling-------------------------*/
  
  #topnav {
 
    display: flex;
 
    justify-content: center;
 
    background-color: #002855;
 
    margin: 0;
 
    list-style: none;
 
    padding: 40px;
 
  
  }
 
  
  #topnav div,
+
/**/
  a {
+
#topnav {
    text-decoration: none;
+
display: flex;
  }
+
justify-content: center;
 +
align-items: center;
 +
background-color: #002855;
 +
margin: 0;
 +
list-style: none;
 +
padding: 40px;
 +
width: 100%;
 +
overflow: hidden;
  
  #topnav li a:hover {
+
}
    text-decoration: none;
+
#topnav div, a {
  }
+
  text-decoration: none;
 +
}
 +
#topnav li.logo {
 +
  display: inline-flex;
 +
  justify-content: center;
  
  #topnav .nav-item:visited {
+
}
    color: white;
+
#topnav .b-nav-item:visited {
   }
+
  color: #525b65;
 +
}
 +
.dropdown {
 +
   padding-left: 15px;
 +
  padding-right: 15px;
 +
}
 +
.dropdown-main,
 +
.nav-item {
 +
  font-size: 15px;
 +
  color: white;
 +
}
  
  #topnav .b-nav-item:visited {
+
.dropdown-content {
    color: #525b65;
+
display: none;
  }
+
position: absolute;
 +
background-color: #f9f9f9;
 +
min-width: 200px;
 +
border-radius: 7px;
 +
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
 +
z-index: 1;
 +
}
  
  .dropdown {
+
.dropdown-content a {
    padding-left: 15px;
+
float: none;
    padding-right: 15px;
+
font-size: 14px;
  }
+
color: #525b65;
 +
padding: 12px 16px;
 +
display: block;
 +
text-align:left;
 +
}
 +
.dropdown:hover .dropdown-content {
 +
display: block;
 +
}
  
  .dropdown-main,
+
.dropdown-content a:hover {
  .nav-item {
+
color: black;
    font-size: 15px;
+
}
    color: white;
+
  }
+
  
  .dropdown-content {
+
/*-----------Burger Menu Styling-------------*/
    display: none;
+
    position: absolute;
+
    background-color: #f9f9f9;
+
    min-width: 200px;
+
    border-radius: 7px;
+
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
+
    z-index: 1;
+
  }
+
  
  .dropdown-content a {
+
#topnav .burger {
    float: none;
+
  display: none;
    font-size: 14px;
+
  margin-right: 20px;
    color: #525b65;
+
  color: #d9a900;
    padding: 12px 16px;
+
  font-size: 20px;
    display: block;
+
}
    text-align: left;
+
  }
+
  
  .dropdown:hover .dropdown-content {
 
    display: block;
 
  }
 
  
  .dropdown-content a:hover {
+
.burger-content {
    color: black;
+
  display: none;
   }
+
  position: absolute;
 +
  background-color: #f9f9f9;
 +
   border-radius: 7px;
 +
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
 +
  z-index: 1;
 +
  width: 200px;
 +
  margin-left: -200px;
  
  /*-----------Burger Menu Styling-------------*/
+
}
  
  #topnav .burger {
+
.b-dropdown-main {
    display: none;
+
font-weight: bold;
    margin-right: 20px;
+
font-size: 18px;
    color: #d9a900;
+
color: #525b65;
    font-size: 18px;
+
padding: 12px 16px;
   }
+
display: block;
 +
text-align: left;
 +
overflow: hidden;
 +
}
 +
.b-dropdown-content {
 +
  display: none;
 +
  position: block;
 +
  color: #525b65;
 +
  padding: 12px;
 +
}
 +
.b-dropdown-content a {
 +
  display: block;
 +
  padding: 5px;
 +
  color: #525b65;
 +
  font-weight: normal;
 +
   font-size: 14px;
  
  .burger-content {
+
}
    display: none;
+
#topnav .b-dropdown:hover .b-dropdown-content {
    position: absolute;
+
  display: block;
    background-color: #f9f9f9;
+
}
    border-radius: 7px;
+
#topnav .b-dropdown-content a:hover {
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
+
  color: black;
    z-index: 1;
+
}
    width: 200px;
+
#topnav .b-dropdown-content a:visited {
    margin-left: -200px;
+
  color: black;
 +
}
  
   }
+
input[type=checkbox]{
 +
   display: none;
 +
}
 +
input[type=checkbox]:checked ~ .burger-content {
 +
  display: block;
 +
}
  
  .b-dropdown-main {
+
@media screen and (max-width:750px) {
    font-weight: bold;
+
  #topnav li  {
    font-size: 15px;
+
    color: #525b65;
+
    padding: 12px 16px;
+
    display: block;
+
    text-align: left;
+
    overflow: hidden;
+
  }
+
 
+
  .b-dropdown-content {
+
 
     display: none;
 
     display: none;
    position: block;
 
    color: #525b65;
 
    padding: 12px;
 
 
   }
 
   }
 +
  #topnav {
 +
justify-content: space-between;
 +
}
  
   .b-dropdown-content a {
+
   #topnav li.burger {
 
     display: block;
 
     display: block;
    padding: 5px;
 
    color: #525b65;
 
    font-weight: normal;
 
    font-size: 14px;
 
 
  }
 
 
  #topnav .b-dropdown:hover .b-dropdown-content {
 
    display: block;
 
  }
 
 
  #topnav .b-dropdown-content a:hover {
 
    color: black;
 
  }
 
 
  #topnav .b-dropdown-content a:visited {
 
    color: black;
 
  }
 
 
  input[type=checkbox] {
 
    display: none;
 
  }
 
 
  input[type=checkbox]:checked~.burger-content {
 
    display: block;
 
  }
 
 
  @media screen and (max-width:720px) {
 
    #topnav li {
 
      display: none;
 
    }
 
    #topnav {
 
      justify-content: flex-end;
 
    }
 
 
    #topnav li.burger {
 
      display: block;
 
    }
 
 
   }
 
   }
 +
  #topnav li.logo{
 +
display: block; }
 +
}
 +
.logolink {
 +
  display: flex;
 +
  justify-content: center;
 +
  align-items: center;
 +
  padding-right: 40px;
 +
}
 
</style>
 
</style>
 
 
<body>
 
<body>
 
   <!--______________Top Navigation Bar_________________________-->
 
   <!--______________Top Navigation Bar_________________________-->
  <ul id="topnav">
+
<ul = id="topnav">
    <li class="dropdown"><a href="PROJECT" class="dropdown-main">PROJECT</a>
+
<li class="dropdown"><a href="PROJECT" class="dropdown-main">PROJECT</a>
      <div class="dropdown-content">
+
<div class="dropdown-content">
         <a href="#">Design</a>
+
         <a href="https://2018.igem.org/Team:UC_Davis/Design">Design</a>
 
         <a href="#">Results</a>
 
         <a href="#">Results</a>
 
         <a href="#">Modelling</a>
 
         <a href="#">Modelling</a>
         <a href="#">InterLab</a>
+
         <a href="https://2018.igem.org/Team:UC_Davis/InterLab">InterLab</a>
      </div>
+
        <a href="https://2018.igem.org/Team:UC_Davis/SupplementalMaterials">Supplementary Material</a>
    </li>
+
</div>
    <li class="dropdown"><a href="Human-Resources" class="dropdown-main">HUMAN RESOURCES</a>
+
</li>
      <div class="dropdown-content">
+
<li class="dropdown"><a href="Human-Resources" class="dropdown-main">HUMAN RESOURCES</a>
         <a href="#">Motivation</a>
+
<div class="dropdown-content">
         <a href="#">Outreach</a>
+
         <a href="#">Human Practices</a>
 +
         <a href="#">Education & Engagement</a>
 
         <a href="#">Policy</a>
 
         <a href="#">Policy</a>
      </div>
+
</div>
    </li>
+
</li>
    <li class="dropdown"><a href="Parts" class="dropdown-main">PARTS</a>
+
<li class="dropdown"><a href="Parts" class="dropdown-main">PARTS</a>
      <div class="dropdown-content">
+
<div class="dropdown-content">
 +
        <a href="#">Parts Overview</a>
 
         <a href="#">Basic</a>
 
         <a href="#">Basic</a>
 
         <a href="#">Composite</a>
 
         <a href="#">Composite</a>
 
         <a href="#">Parts Collection</a>
 
         <a href="#">Parts Collection</a>
      </div>
+
</div>
     </li>
+
</li>
 +
     <!--______________Logo_________________________-->
 +
<li class="logo" style="background-color: #002855">
 +
  <a class="logolink" href="https://2018.igem.org/Team:UC_Davis">
 +
    <img src="https://static.igem.org/mediawiki/2018/7/73/T--UC_Davis--anchor.png" alt="Cenozoic logo" style="width: 125px;";>
 +
    <div style = 'margin-left: -40px; font-size: 25px; color: #d9a900'; ><b>Cenozoic</b></div>
 +
  </a>
 +
</li>
 
     <li class="navlogo"><img src="" alt=""></li>
 
     <li class="navlogo"><img src="" alt=""></li>
    <li class="dropdown"><a href="Lab" class="dropdown-main">LAB WORK</a>
+
<li class="dropdown"><a href="Lab" class="dropdown-main">LAB WORK</a>
      <div class="dropdown-content">
+
<div class="dropdown-content">
         <a href="#">Notebook</a>
+
         <a href="#">Experiments</a>
         <a href="#">Methods and Materials</a>
+
         <a href="#">Lab Notebook</a>
 
         <a href="#">Safety</a>
 
         <a href="#">Safety</a>
      </div>
+
</div>
    </li>
+
</li>
    <li class="dropdown"><a href="Team" class="nav-item">TEAM</a>
+
<li class="dropdown"><a href="Team" class="nav-item">TEAM</a>
 
       <div class="dropdown-content">
 
       <div class="dropdown-content">
 
         <a href="#">Meet the Team</a>
 
         <a href="#">Meet the Team</a>
         <a href="#">Advisors</a>
+
         <a href="#">Attributions</a>
         <a href="#">Sposors</a>
+
         <a href="#">Sponsors</a>
      </div>
+
</div>
    </li>
+
  </li>
    <li class="dropdown"><a href="Achievements" class="nav-item">ACHIEVEMENTS</a>
+
  <li class="dropdown"><a href="Achievements" class="nav-item">ACHIEVEMENTS</a>
      <div class="dropdown-content">
+
    <div class="dropdown-content">
        <a href="#">Medal Requirements</a>
+
      <a href="#">Medal Requirements</a>
        <a href="#">Outreach</a>
+
      <a href="#">Awards</a>
      </div>
+
    </div>
    </li>
+
</li>
  
    <!--___________________________________Burger Menu____________________________________________-->
+
<!--___________________________________Burger Menu____________________________________________-->
    <li class="burger"><input type="checkbox" id="b-control"><label for="b-control">&#9776;</label>
+
<li class="burger"><input type="checkbox" id="b-control"><label for="b-control">&#9776;</label>
      <div class="burger-content">
+
<div class="burger-content">
        <div class="b-dropdown"><a href="PROJECT" class="b-dropdown-main">Project</a>
+
<div class="b-dropdown"><a href="PROJECT" class="b-dropdown-main">Project</a>
          <div class="b-dropdown-content">
+
<div class="b-dropdown-content">
             <a href="#">Design</a>
+
             <a href="https://2018.igem.org/Team:UC_Davis/Design">Design</a>
 
             <a href="#">Results</a>
 
             <a href="#">Results</a>
 
             <a href="#">Modelling</a>
 
             <a href="#">Modelling</a>
             <a href="#">InterLab</a>
+
             <a href="https://2018.igem.org/Team:UC_Davis/InterLab">InterLab</a>
          </div>
+
            <a href="https://2018.igem.org/Team:UC_Davis/SupplementalMaterials">Supplementary Material</a>
        </div>
+
</div>
        <div class="b-dropdown"><a href="Human-Resources" class="b-dropdown-main">Human Resources</a>
+
</div>
          <div class="b-dropdown-content">
+
<div class="b-dropdown"><a href="Human-Resources" class="b-dropdown-main">Human Resources</a>
             <a href="#">Motivation</a>
+
<div class="b-dropdown-content">
             <a href="#">Outreach</a>
+
             <a href="#">Human Practices</a>
 +
             <a href="#">Education & Engagement</a>
 
             <a href="#">Policy</a>
 
             <a href="#">Policy</a>
          </div>
+
</div>
        </div>
+
</div>
        <div class="b-dropdown"><a href="Parts" class="b-dropdown-main">Parts</a>
+
<div class="b-dropdown"><a href="Parts" class="b-dropdown-main">Parts</a>
          <div class="b-dropdown-content">
+
<div class="b-dropdown-content">
 +
            <a href="#">Parts Overview</a>
 
             <a href="#">Basic</a>
 
             <a href="#">Basic</a>
 
             <a href="#">Composite</a>
 
             <a href="#">Composite</a>
 
             <a href="#">Parts Collection</a>
 
             <a href="#">Parts Collection</a>
          </div>
+
</div>
        </div>
+
</div>
        <div class="b-dropdown"><a href="Lab" class="b-dropdown-main">Lab Work</a>
+
<div class="b-dropdown"><a href="Lab" class="b-dropdown-main">Lab Work</a>
          <div class="b-dropdown-content">
+
<div class="b-dropdown-content">
             <a href="#">Notebook</a>
+
             <a href="#">Experiments</a>
             <a href="#">Methods and Materials</a>
+
             <a href="#">Lab Notebook</a>
 
             <a href="#">Safety</a>
 
             <a href="#">Safety</a>
          </div>
+
</div>
        </div>
+
</div>
 
         <div class="b-dropdown"><a href="Team" class="b-dropdown-main">Team</a>
 
         <div class="b-dropdown"><a href="Team" class="b-dropdown-main">Team</a>
          <div class="b-dropdown-content">
+
<div class="b-dropdown-content">
 
             <a href="#">Meet the Team</a>
 
             <a href="#">Meet the Team</a>
 
             <a href="#">Advisors</a>
 
             <a href="#">Advisors</a>
 
             <a href="#">Sposors</a>
 
             <a href="#">Sposors</a>
          </div>
+
</div>
        </div>
+
</div>
 
         <div class="b-dropdown"><a href="Achievements" class="b-dropdown-main">Achievements</a>
 
         <div class="b-dropdown"><a href="Achievements" class="b-dropdown-main">Achievements</a>
          <div class="b-dropdown-content">
+
<div class="b-dropdown-content">
 
             <a href="#">Medal Requirements</a>
 
             <a href="#">Medal Requirements</a>
             <a href="#">Outreach</a>
+
             <a href="#">Awards</a>
          </div>
+
</div>
        </div>
+
</div>
      </div>
+
</div>
    </li>
+
</li>
  </ul>
+
</ul>
  <!--__________________________________________________________________________________________-->
+
<!--__________________________________________________________________________________________-->
  
  <!--______________________________________________________________________________-->
+
<!--______________________________________________________________________________-->
  
 
</body>
 
</body>

Revision as of 18:20, 9 August 2018

iGEM