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

 
(86 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<html>
 
<html>
 +
<!DOCTYPE html>
 
<head>
 
<head>
 
   <title>iGEM</title>
 
   <title>iGEM</title>
Line 5: Line 6:
 
<style>
 
<style>
 
   /*------------Get rid of iGEM stuff----------------------------------*/
 
   /*------------Get rid of iGEM stuff----------------------------------*/
 +
 
   #home_logo,
 
   #home_logo,
 
   #sideMenu {
 
   #sideMenu {
Line 18: Line 20:
 
   #content {
 
   #content {
 
     margin-left: 0px;
 
     margin-left: 0px;
     margin-top: -7px;
+
     margin-top: -20px;
 
     padding: 0px;
 
     padding: 0px;
 
     width: 100%;
 
     width: 100%;
Line 25: Line 27:
 
   /*-------------------------------------------------------------------*/
 
   /*-------------------------------------------------------------------*/
  
   /*----Top Navigation Styling-----*/
+
   /*----------------------Header Styling-------------------------*/
  
#topnav {
+
  #topnav {
display: table;
+
  z-index: 1000;
background-color: #002855;
+
font-family: 'proxima-nova', sans-serif;
margin: 0;
+
font-size:8px;
text-align: center;
+
    display: flex;
white-space: nowrap;
+
    justify-content: center;
     padding: 10px;
+
    align-items: center;
     width: 100%;
+
    background-color: #002855;
     float: right;
+
     list-style: none;
}
+
     padding: 40px;
 +
     margin: 0;
 +
  }
  
#topnav li {
+
  #topnav li,
display: table-cell;
+
  a {
text-decoration: none;
+
    text-decoration: none;
display: inline-block;
+
  }
line-height: 50px;
+
width: 220px;
+
    border: 1px solid
+
}
+
  
#topnav a:visited {
+
  #topnav .nav-item:visited {
color: #abb2b8;
+
    color: white;
}
+
  }
  
.dropdown-main,
+
  #topnav .b-dropdown-main:visited {
.nav-item {
+
    color: #525b65;
text-decoration: none;
+
  }
font-size: 20px;
+
color: #abb2b8;
+
/* box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); */
+
}
+
  
.no-dropdown {
+
  #topnav li:hover,
text-decoration: none;
+
  a:hover {
}
+
    text-decoration: none;
 +
  }
  
.dropdown-content {
+
  .dropdown {
display: none;
+
    flex-grow: 1;
position: absolute;
+
    max-width: 150px;
background-color: #f9f9f9;
+
    white-space: nowrap;
min-width: 150px;
+
    text-align: center;
margin-left: 30px;
+
  }
     border-radius:7px;
+
 
}
+
  .dropdown-main,
 +
  .nav-item {
 +
    font-size: 15px;
 +
    color: white;
 +
  }
 +
 
 +
  .dropdown-content {
 +
    display: none;
 +
    position: absolute;
 +
    background-color: #f9f9f9;
 +
    min-width: 200px;
 +
    border-radius: 4px;
 +
     box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
 +
    z-index: 1;
 +
  }
 +
 
 +
  .dropdown-content a {
 +
    float: none;
 +
    font-size: 14px;
 +
    color: #525b65;
 +
    padding: 12px 16px;
 +
    display: block;
 +
    text-align: left;
 +
  }
 +
 
 +
  .dropdown:hover .dropdown-content {
 +
    display: block;
 +
  }
  
.dropdown-content a {
 
color: #525b65;
 
padding: 6px 8px;
 
text-decoration: none;
 
display: block;
 
text-align: left;
 
    font-weight: bold; 
 
}
 
 
   .dropdown-content a:hover {
 
   .dropdown-content a:hover {
     color: black;
+
     color:#48fb47;
}
+
  }
#topnav li a:hover {
+
text-decoration: none;
+
}
+
.dropdown:hover .dropdown-content {
+
display: block;
+
}
+
  
/*--------------------------------*/
+
  #navlogo {
 +
    flex-grow: 2;
 +
    max-width: 300px;
 +
  }
  
</style>
+
  .navlogo {
 +
    display: flex;
 +
    justify-content: center;
 +
    align-items: center;
 +
  }
  
 +
  .navlogo-img {
 +
    width: 125px;
 +
    margin-left: -43px;
 +
    margin-right: -35px;
 +
    margin-bottom: -7px;
 +
  }
  
 +
  .logo-word {
 +
    text-decoration: none;
 +
    color: #d9a900;
 +
    font-size: 30px;
 +
    font-weight: normal;
 +
  }
  
<body>
+
  /*-----------Burger Menu Styling-------------*/
  
<!--______________Top Navigation Bar_________________________-->
+
  #topnav .burger {
 +
    display: none;
 +
    margin-right: 20px;
 +
    color: #d9a900;
 +
    font-size: 22px;
 +
  }
  
<ul id="topnav">
+
  .burger-content {
<li class="dropdown"><a href="Project" class="dropdown-main">Project</a>
+
    display: none;
<div class="dropdown-content">
+
    position: absolute;
<a href="#">Link 1</a>
+
    background-color: #f9f9f9;
<a href="#">Link 2</a>
+
    border-radius: 7px;
<a href="#">Link 3</a>
+
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
</div>
+
    z-index: 1;
</li>
+
    width: 200px;
<li class="dropdown"><a href="Practices" class="dropdown-main">Practices</a>
+
    margin-left: -185px;
<div class="dropdown-content">
+
<a href="#">Link 1</a>
+
<a href="#">Link 2</a>
+
<a href="#">Link 3</a>
+
</div>
+
</li>
+
<li class="dropdown"><a href="Tools" class="dropdown-main">Tools</a>
+
<div class="dropdown-content">
+
<a href="#">Link 1</a>
+
<a href="#">Link 2</a>
+
<a href="#">Link 3</a>
+
</div>
+
</li>
+
<li class="dropdown"><a href="Acknowledgements" class="dropdown-main">Acknowledgements</a>
+
<div class="dropdown-content">
+
<a href="#">Link 1</a>
+
<a href="#">Link 2</a>
+
<a href="#">Link 3</a>
+
</div>
+
</li>
+
<li class="no-dropdown"><a href="Safety" class="nav-item">Safety</a></li>
+
<li class="no-dropdown"><a href="iGEM" class="nav-item">iGEM</a></li>
+
</ul>
+
<!--_________________________________________________________-->
+
  
 +
  }
  
 +
  .b-dropdown-main {
 +
    font-weight: bold;
 +
    font-size: 15px;
 +
    color: #525b65;
 +
    padding: 12px 16px;
 +
    display: block;
 +
    text-align: left;
 +
    overflow: hidden;
 +
  }
  
</body>
+
  .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;
  
 +
  }
 +
 
 +
  #topnav .b-dropdown-content a:visited {
 +
      color: #525b65;
 +
    }
 +
 +
  #topnav .b-dropdown:hover .b-dropdown-content {
 +
    display: block;
 +
  }
 +
 +
  #topnav .b-dropdown-content a:hover {
 +
    color:#525b65;
 +
  }
 +
 +
  input[type=checkbox] {
 +
    display: none;
 +
  }
 +
 +
  input[type=checkbox]:checked~.burger-content {
 +
    display: block;
 +
  }
 +
 +
  @media screen and (max-width:730px) {
 +
    #topnav li {
 +
      display: none;
 +
    }
 +
    #topnav {
 +
      justify-content: space-between;
 +
    }
 +
 +
    #topnav li.burger {
 +
      display: block;
 +
    }
 +
    #topnav li#navlogo {
 +
      display: block;
 +
      flex-grow: 0;
 +
    }
 +
  }
 +
</style>
 +
 +
<body>
 +
  <!--______________Top Navigation Bar_________________________-->
 +
  <ul id="topnav">
 +
    <li class="dropdown"><div class="dropdown-main">PROJECT</div>
 +
      <div class="dropdown-content">
 +
        <a href="https://2018.igem.org/Team:UC_Davis/Design">Design</a>
 +
<a href="https://2018.igem.org/Team:UC_Davis/Measurement">Measurement</a>
 +
        <a href="https://2018.igem.org/Team:UC_Davis/Demonstrate">Results</a>
 +
        <a href="https://2018.igem.org/Team:UC_Davis/Modeling">Modeling</a>
 +
        <a href="https://2018.igem.org/Team:UC_Davis/InterLab">InterLab</a>
 +
   
 +
      </div>
 +
    </li>
 +
    <li class="dropdown"><div class="dropdown-main">HUMAN PRACTICES</div>
 +
      <div class="dropdown-content">
 +
        <a href="https://2018.igem.org/Team:UC_Davis/Human_Practices">Integrating Human Practices</a>
 +
   
 +
        <a href="https://2018.igem.org/Team:UC_Davis/Education">Education & Outreach</a>
 +
      </div>
 +
    </li>
 +
    <li class="dropdown"><a href="https://2018.igem.org/Team:UC_Davis/Parts" class="nav-item" class="dropdown-main">PARTS</a>
 +
 
 +
    </li>
 +
    <li id="navlogo">
 +
      <a class="navlogo" href="https://2018.igem.org/Team:UC_Davis"><img src="https://static.igem.org/mediawiki/2018/7/73/T--UC_Davis--anchor.png" alt="DNA logo" class="navlogo-img"><b class="logo-word">Cenozoic</b></a>
 +
    </li>
 +
    <li class="dropdown"><div class="dropdown-main">LAB WORK</div>
 +
      <div class="dropdown-content">
 +
        <a href="https://2018.igem.org/Team:UC_Davis/Experiments">Experiments</a>
 +
        <a href="https://2018.igem.org/Team:UC_Davis/Notebook">Lab Notebook</a>
 +
  <a href="https://2018.igem.org/Team:UC_Davis/SupplementalMaterials">Supplementary Material</a>
 +
        <a href="https://2018.igem.org/Team:UC_Davis/Safety">Safety</a>
 +
      </div>
 +
    </li>
 +
    <li class="dropdown"><div class="nav-item">TEAM</div>
 +
      <div class="dropdown-content">
 +
        <a href="https://2018.igem.org/Team:UC_Davis/Team">Meet the Team</a>
 +
        <a href="https://2018.igem.org/Team:UC_Davis/Attributions">Attributions</a>
 +
        <a href="https://2018.igem.org/Team:UC_Davis/Sponsors">Sponsors</a>
 +
      </div>
 +
    </li>
 +
    <li class="dropdown"><div class="nav-item">ACHIEVEMENTS</div>
 +
      <div class="dropdown-content">
 +
        <a href="https://2018.igem.org/Team:UC_Davis/Medal_Requirements">Medal Requirements</a>
 +
<a href="https://2018.igem.org/Team:UC_Davis/Collaborations">Collaborations</a>
 +
       
 +
      </div>
 +
    </li>
 +
 +
    <!--___________________________________Burger Menu____________________________________________-->
 +
    <li class="burger"><input type="checkbox" id="b-control"><label for="b-control">&#9776;</label>
 +
      <div class="burger-content">
 +
        <div class="b-dropdown"><div class="b-dropdown-main">Project</div>
 +
          <div class="b-dropdown-content">
 +
            <a href="https://2018.igem.org/Team:UC_Davis/Design">Design</a>
 +
<a href="https://2018.igem.org/Team:UC_Davis/Measurement">Measurement</a>
 +
            <a href="https://2018.igem.org/Team:UC_Davis/Demonstrate">Results</a>
 +
            <a href="https://2018.igem.org/Team:UC_Davis/Modeling">Modeling</a>
 +
            <a href="https://2018.igem.org/Team:UC_Davis/InterLab">InterLab</a>
 +
           
 +
          </div>
 +
        </div>
 +
        <div class="b-dropdown"><div class="b-dropdown-main">Human Practices</div>
 +
          <div class="b-dropdown-content">
 +
            <a href="https://2018.igem.org/Team:UC_Davis/Human_Practices">Integrating Human Practices</a>
 +
         
 +
            <a href="https://2018.igem.org/Team:UC_Davis/Education">Education & Outreach</a>
 +
           
 +
          </div>
 +
        </div>
 +
        <div class="b-dropdown"><a href="https://2018.igem.org/Team:UC_Davis/Parts" class="b-dropdown-main">Parts</a>
 +
     
 +
          </div>
 +
        </div>
 +
        <div class="b-dropdown"><div class="b-dropdown-main">Lab Work</div>
 +
          <div class="b-dropdown-content">
 +
            <a href="https://2018.igem.org/Team:UC_Davis/Experiments">Experiments</a>
 +
            <a href="https://2018.igem.org/Team:UC_Davis/Notebook">Lab Notebook</a>
 +
<a href="https://2018.igem.org/Team:UC_Davis/SupplementalMaterials">Supplementary Material</a>
 +
            <a href="https://2018.igem.org/Team:UC_Davis/Safety">Safety</a>
 +
          </div>
 +
        </div>
 +
        <div class="b-dropdown"><div class="b-dropdown-main">Team</div>
 +
          <div class="b-dropdown-content">
 +
            <a href="https://2018.igem.org/Team:UC_Davis/Team">Meet the Team</a>
 +
            <a href="#">Advisors</a>
 +
            <a href="https://2018.igem.org/Team:UC_Davis/Sponsors">Sposors</a>
 +
          </div>
 +
        </div>
 +
        <div class="b-dropdown"><div class="b-dropdown-main">Achievements</div>
 +
          <div class="b-dropdown-content">
 +
            <a href="https://2018.igem.org/Team:UC_Davis/Medal_Requirements">Medal Requirements</a>
 +
<a href="https://2018.igem.org/Team:UC_Davis/Collaborations">Collaborations</a>
 +
         
 +
          </div>
 +
        </div>
 +
      </div>
 +
    </li>
 +
  </ul>
 +
  <!--__________________________________________________________________________________________-->
 +
 +
  <!--_________________________________________________________-->
 +
<script>
 +
$(document).ready(function() {
 +
$("#HQ_page").attr('id','');
 +
});
 +
</script>
 +
</body>
  
 
</html>
 
</html>

Latest revision as of 22:58, 17 October 2018

iGEM