Difference between revisions of "Team:UC Davis/AchalaTestPage"

Line 10: Line 10:
 
#content { margin-left:0px; margin-top:-7px; padding:0px; width:100%;}
 
#content { margin-left:0px; margin-top:-7px; padding:0px; width:100%;}
 
   /*-------------------------------------------------------------------*/
 
   /*-------------------------------------------------------------------*/
  /*----Top Navigation Styling-----*/
 
 
   /*----Top Navigation Styling-----*/
 
   /*----Top Navigation Styling-----*/
 
   #topnav {
 
   #topnav {
Line 34: Line 33:
 
     display: block;
 
     display: block;
 
   }
 
   }
   /*--------------------------------*/
+
   #topnav li a:hover {
  /* The dropdown container */
+
     background-color: #123b68;
  .dropdown {
+
     float: left;
+
    overflow: hidden;
+
 
   }
 
   }
 
  /* Dropdown button */
 
  .dropdown .dropbtn {
 
    font-size: 20px;
 
    border: none;
 
    outline: none;
 
    color: white;
 
    padding: 14px 16px;
 
    background-color: inherit;
 
    font-family: inherit; /* Important for vertical align on mobile phones */
 
    margin: 0; /* Important for vertical align on mobile phones */
 
  }
 
/* Adds navy blue color to backgroup to navbar links 
 
#topnav li a:hover, .dropdown:hover .dropbtn {
 
  background-color: #123b68;
 
}*/
 
  /* Dropdown content (hidden by default) */
 
.dropdown-content {
 
  display: none;
 
  position: absolute;
 
  background-color: #eff1f2;
 
  min-width: 160px;
 
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
 
  z-index: 1;
 
}
 
 
/* Links inside the dropdown */
 
.dropdown-content a {
 
  float: none;
 
  color: black;
 
  padding: 12px 16px;
 
  text-decoration: none;
 
  display: block;
 
  text-align: left;
 
}
 
 
/* Add a grey background color to dropdown links on hover */
 
.dropdown-content a:hover {
 
  background-color: #ddd;
 
}
 
 
/* Show the dropdown menu on hover */
 
.dropdown:hover .dropdown-content {
 
  display: block;
 
}
 
 
 
   /*--------------------------------*/
 
   /*--------------------------------*/
 
</style>
 
</style>
<style>
 
.contain {
 
max-width:960px;
 
text-align:center;
 
}
 
 
.category {
 
position:relative;
 
display: inline-block;
 
float:left;
 
padding:10px;
 
}
 
 
.category2 {
 
position:relative;
 
display: inline-block;
 
pading:10px;
 
}
 
.category3 {
 
position:relative;
 
display: inline-block;
 
float:right;
 
margin-right:50%;
 
padding:10px;
 
}
 
</style>
 
<style>
 
.content {
 
    max-width: 100%;
 
    margin: auto;
 
}
 
</style>
 
 
 
<body>
 
<body>
<div class="content">
+
   <div class="CenozoicLogo" style="background-color: #002855">
  <!--______________Cental logo____________-->
+
    <img src="https://static.igem.org/mediawiki/2018/1/1b/T--UC_Davis--DNA_refined.png" alt="Cenozoic logo" style="display: block;margin-left: auto;margin-right: auto;">
   
+
   <div align="center" class="category" style="background-color: #002855">
+
<img  
+
src="https://static.igem.org/mediawiki/2018/4/40/T--UC_Davis--UC_Davis_Logo.png"  
+
alt="uc davis logo"  
+
style="display: block;margin-left: auto;margin-right:auto;  
+
"width="147px";
+
height="25px";
+
Padding: 0>
+
 
+
 
   </div>
 
   </div>
 
 
    <!--______________UC Davis logo____________-->
 
   
 
    <div align="center" class="category2" style="background-color: #002855">
 
      <img src="https://static.igem.org/mediawiki/2018/1/1b/T--UC_Davis--DNA_refined.png" alt="Cenozoic logo" style="display: block;margin-left: auto;margin-right: auto;"width="301px"; height="301px";>
 
    </div>
 
 
 
 
    <!--______________iGEM logo____________-->
 
 
    <div align="center" class="category3" style="background-color: #002855">
 
      <img src="https://static.igem.org/mediawiki/2018/2/2b/T--UC_Davis--iGEM.png" alt="uc davis logo" style="display: block;margin-left: auto;margin-right: auto; width="112px"; height="90px";>
 
    </div>
 
 
 
   <!--______________Top Navigation Bar____________-->
 
   <!--______________Top Navigation Bar____________-->
 
   <ul id="topnav">
 
   <ul id="topnav">
     <div class="topnav">
+
     <li><a href="Project">Project</a></li>
        <!--______________Project____________-->
+
    <li><a href="Human_Practices">Human Practices</a></li>
      <div class="dropdown">
+
    <li><a href="Tools">Tools</a></li>
    <button class="dropbtn">Project</button>
+
    <li><a href="Safety">Safety</a></li>
    <div class="dropdown-content">
+
    <li><a href="Acknowledgements">Acknowledgements</a></li>
      <a href="#">Link 1</a>
+
    <li><a href="iGEM">iGEM</a></li>
      <a href="#">Link 2</a>
+
      <a href="#">Link 3</a>
+
    </div>
+
</div>
+
</div>
+
  <!--______________Human Resources____________-->
+
<div class="dropdown">
+
<button class="dropbtn">Human Resources</button>
+
<div class="dropdown-content">
+
<a href="#">Link 1</a>
+
<a href="#">Link 2</a>
+
<a href="#">Link 3</a>
+
</div>
+
</div>
+
  <!--______________Tools____________-->
+
  <div class="dropdown">
+
  <button class="dropbtn">Tools</button>
+
  <div class="dropdown-content">
+
  <a href="#">Link 1</a>
+
  <a href="#">Link 2</a>
+
  <a href="#">Link 3</a>
+
  </div>
+
  </div>
+
      <!--______________Safety____________-->
+
      <div class="dropdown">
+
      <button class="dropbtn">Safety</button>
+
      <div class="dropdown-content">
+
      <a href="#">Link 1</a>
+
      <a href="#">Link 2</a>
+
      <a href="#">Link 3</a>
+
      </div>
+
      </div>
+
      <!--______________Acknowledgements____________-->
+
      <div class="dropdown">
+
      <button class="dropbtn">Acknowledgements</button>
+
      <div class="dropdown-content">
+
      <a href="#">Link 1</a>
+
      <a href="#">Link 2</a>
+
      <a href="#">Link 3</a>
+
      </div>
+
      </div>
+
      <!--______________iGEM____________-->
+
      <div class="dropdown">
+
      <button class="dropbtn">iGEM</button>
+
      <div class="dropdown-content">
+
      <a href="#">Link 1</a>
+
      <a href="#">Link 2</a>
+
      <a href="#">Link 3</a>
+
      </div>
+
      </div>
+
 
</ul>
 
</ul>
</div>
+
 
 
</body>
 
</body>
 
</html>
 
</html>

Revision as of 06:01, 25 July 2018

iGEM