Difference between revisions of "Template:NYU-AD-Header"

 
(74 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{Template_All_Teams}}
 
<html>
 
<html>
<head>
+
  <head>
<style>
+
    <style>
#contentSub, #contentcontainer, #footer-box, #sitesub, #catlinks, #search-controls, #p-logo, .h3, .printfooter, .firstHeading, .visualClear {
+
      #globalWrapper,#content{
display: none;
+
        width: 99.5%;
}  
+
      }
.container {
+
      #main-container{
  background: #F6F6F6;
+
        width: 100%;
  width: 100%;
+
        height :100%;
  height: 210px;
+
        text-align: center;
  position: absolute;
+
        float: center;
  top: -2px;
+
        overflow:auto;
  border-bottom: solid 4px #DE1B1B;
+
        margin:0;
}
+
        background-color: white;
.container .arrow {
+
        font-family: sans-serif;
  font-size:11px;
+
      }  
  line-height:0%;
+
body{
}
+
background:white;
.logo {
+
  width: 150px;
+
  height: 150px;
+
}
+
.title {
+
  font-family: "Comic Sans MS", Helvetica;
+
  color: #2B2B2B;
+
}
+
ul {
+
  text-align: left;
+
  display: inline;
+
  margin: 0;
+
  padding: 15px 180px 17px 210px;
+
  list-style: none;
+
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.15)
+
  -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
+
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
+
}
+
body {
+
  font-family: Helvetica, Arial, sans-serif;
+
  font-size: 13px;
+
  text-align: center;
+
  background-color: #2B2B2B;
+
}
+
ul li a {
+
text-decoration: none;
+
  opacity: 0.5;
+
color: #F6F6F6;
+
font-family: Helvetica, Arial, sans-serif;
+
}
+
ul li {
+
  font: bold 12px/18px sans-serif;
+
  display: inline-block;
+
  margin-right: -4px;
+
  position: relative;
+
  padding: 15px 30px;
+
  cursor: pointer;
+
  width: 90px;
+
  -webkit-transition: all 0.2s;
+
  -moz-transition: all 0.2s;
+
  -ms-transition: all 0.2s;
+
  -o-transition: all 0.2s;
+
  transition: all 0.2s;
+
 
}
 
}
 +
  #header-container {
 +
        background: #397886;
 +
        width: 100%;
 +
        position: variable;
 +
        float:right;
 +
        padding-top: 15px;
 +
        top:-1px;
 +
        left: -1px;
 +
        z-index:10;
 +
      }
 +
      #content-container {
 +
        padding-top:250px;
 +
        margin:auto;
 +
        margin-bottom: 30px;
 +
        width: 85%;
 +
        padding-left: 25px;
 +
        font-family:  sans-serif;
 +
        text-align: left;
  
ul li:hover > a {
+
      }
    opacity: 1;
+
      #header-container .arrow {
    text-decoration: none;
+
        font-size:11px;
}
+
        line-height:0%;
ul li ul {
+
      }
  padding: 0;
+
  position: absolute;
+
  top: 48px;
+
  left: 0;
+
  -webkit-box-shadow: none;
+
  -moz-box-shadow: none;
+
  box-shadow: none;
+
  display: none;
+
  opacity: 0;
+
  visibility: hidden;
+
  border: 2px solid #F6F6F6;
+
  border-radius: 10px;
+
  -webkit-transiton: opacity 0.2s;
+
  -moz-transition: opacity 0.2s;
+
  -ms-transition: opacity 0.2s;
+
  -o-transition: opacity 0.2s;
+
  -transition: opacity 0.2s;
+
}
+
ul li ul li {
+
  left:0;
+
  text-shadow: 0 -1px 0 #000;
+
}
+
ul li ul li:hover{
+
  background: #383838;
+
  border-radius:5px;
+
}
+
  
ul li:hover ul {
+
  display: block;
+
      .title {
   opacity: 1;
+
        margin: 0.3em 0 -0.7em 0;
   visibility: visible;
+
        color: white;
 +
        font-weight: normal;
 +
        font-family: 'Ultra', sans-serif;    
 +
        font-size: 20px;
 +
        line-height: 42px;
 +
    
 +
      }
 +
.logo{
 +
display:block;
 +
margin:auto;
 
}
 
}
</style>   
+
      .list {
</head>
+
        width: 100%;
 +
        text-align: center;
 +
        display: inline;
 +
        margin: 0;
 +
        padding: 5px 0px 5px 0px;
 +
        list-style: none;
 +
        -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.15)
 +
        -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
 +
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
 +
      }
  
<body>
+
      .list-item a, .dropdown-list-item a {
   <div class="container">
+
        text-decoration: none;
   <img class="logo"src="LOGO.jpg">
+
        opacity: 0.9;
  <h2 class="title"><span>Exterminator Coli</span></h2>
+
        color: #F6F6F6;
  <ul>
+
        font-family: Helvetica, Arial, sans-serif;
    <li class="dropdown"> <a href="#">Home</a></li>
+
      }
    <li class="dropdown">  
+
      .list-item,.dropdown-list-item {
      <a href="#" data-toggle="dropdown">Project <span class="arrow">&#9660;</span><i class="icon-arrow"></i></a>
+
        font: bold 12px/18px sans-serif;
      <ul class="dropdown-menu">
+
        display: inline-block;
        <li><a href="#">Overview</a></li>
+
        margin-right: -4px;
        <li><a href="#">Trap</a></li>
+
        position: relative;
        <li><a href="#">Kill</a></li>
+
        padding: 13px 40px;
        <li><a href="#">Digest</a></li>
+
        cursor: pointer;
      </ul>
+
        width: auto;
    </li>
+
        -webkit-transition: all 0.2s;
    <li class="dropdown">  
+
        -moz-transition: all 0.2s;
      <a href="#" data-toggle="dropdown">Achievements<span class="arrow">&#9660;</span><i class="icon-arrow"></i></a>
+
        -ms-transition: all 0.2s;
      <ul class="dropdown-menu">
+
        -o-transition: all 0.2s;
        <li><a href="#">Parts</a></li>
+
        transition: all 0.2s;
         <li><a href="#">Results</a></li>
+
      }
        <li><a href="#">Medal Fulfillment</a></li>
+
      .dropdown-list-item {
       </ul>
+
        width: auto;
    </li>
+
        margin-right: 0px;
    <li class="dropdown">  
+
      }
      <a href="#" data-toggle="dropdown">Notebook <span class="arrow">&#9660;</span><i class="icon-arrow"></i></a>
+
      .list-item a:visited, .dropdown-list-item a:visited{
      <ul class="dropdown-menu">
+
        color: #F6F6F6;
        <li><a href="#">Day Notes</a></li>
+
      }
        <li><a href="#">Protocols</a></li>
+
      .list-item a:hover{
        <li><a href="#">Bibliography</a></li>
+
        color: #66cccc;
      </ul>
+
      }
    </li>
+
      .dropdown-list {
   
+
        padding: 0;
    <li class="dropdown"> <a href="#">Modelling</a></li>
+
        position: absolute;
     <li class="dropdown">  
+
        top: 40px;
      <a href="#" data-toggle="dropdown">Team <span class="arrow">&#9660;</span><i class="icon-arrow"></i></a>
+
        left: 0;
      <ul class="dropdown-menu">
+
        z-index:100;
        <li><a href="#">Team Members</a></li>
+
        -webkit-box-shadow: none;
        <li><a href="#">Gallery</a></li>
+
        -moz-box-shadow: none;
        <li><a href="#">The University</a></li>
+
        box-shadow: none;
        <li><a href="#">Attributions</a></li>
+
        display: none;
      </ul>
+
        background: #397886;
    </li>
+
        opacity: 0;
   
+
        visibility: hidden;
  </ul>
+
        border: 2px solid #F6F6F6;
 +
        border-radius: 10px;
 +
        -webkit-transiton: opacity 0.2s;
 +
        -moz-transition: opacity 0.2s;
 +
        -ms-transition: opacity 0.2s;
 +
        -o-transition: opacity 0.2s;
 +
        -transition: opacity 0.2s;
 +
      }
 +
      .dropdown-list-item:hover{
 +
        background: #2B2B2B;
 +
        border-radius:5px;
 +
      }
 +
 
 +
      .list-item:hover .dropdown-list {
 +
        display: block;
 +
        opacity: 1;
 +
        visibility: visible;
 +
      }
 +
    </style>    
 +
   </head>
 +
<div id="main-container">
 +
   <div id="header-container">
 +
<img class="logo" src="https://static.igem.org/mediawiki/2015/b/b2/NYUAD-LogoFinal.png">
 +
    <ul class="list">
 +
      <li class="list-item"> <a href="https://2015.igem.org/Team:NYU-AD">Home</a></li>
 +
      <li class="list-item">  
 +
        <a href="#">Project <span class="arrow">&#9660;</span><i class="icon-arrow"></i></a>
 +
        <ul class="dropdown-list">
 +
          <li class="dropdown-list-item"><a href="https://2015.igem.org/Team:NYU-AD/Description">Description</a></li>
 +
          <li class="dropdown-list-item"><a href="https://2015.igem.org/Team:NYU-AD/Experiments">Experiments & Protocols</a></li>    
 +
          <li class="dropdown-list-item"><a href="https://2015.igem.org/Team:NYU-AD/Results">Results</a></li>
 +
          <li class="dropdown-list-item"><a href="https://2015.igem.org/Team:NYU-AD/Design">Design</a></li>
 +
         
 +
         </ul>
 +
      </li>
 +
      <li class="list-item">  
 +
        <a href="https://2015.igem.org/Team:NYU-AD/Parts">Parts</a>
 +
       </li>
 +
      <li class="list-item">  
 +
        <a href="#">Notebook <span class="arrow">&#9660;</span><i class="icon-arrow"></i></a>
 +
        <ul class="dropdown-list">
 +
          <li class="dropdown-list-item"><a href="https://2015.igem.org/Team:NYU-AD/Notebook">Wet Lab</a></li>
 +
<li class="dropdown-list-item"><a href="https://2015.igem.org/Team:NYU-AD/DryLab">Dry Lab</a></li>
 +
          <li class="dropdown-list-item"><a href="https://2015.igem.org/Team:NYU-AD/Safety">Safety</a></li>
 +
        </ul>
 +
      </li>  
 +
      <li class="list-item">  
 +
        <a href="https://2015.igem.org/Team:NYU-AD/Practices">Human Practices</a>
 +
      </li>     
 +
      <li class="list-item">  
 +
        <a href="#">About Us <span class="arrow">&#9660;</span><i class="icon-arrow"></i></a>
 +
        <ul class="dropdown-list">
 +
          <li class="dropdown-list-item"><a href="https://2015.igem.org/Team:NYU-AD/Team">Team</a></li>
 +
      <li class="dropdown-list-item"><a href="https://2015.igem.org/Team:NYU-AD/Advisors">Advisors</a></li>
 +
          <li class="dropdown-list-item"><a href="https://2015.igem.org/Team:NYU-AD/Attributions">Attributions</a></li>
 +
 
 +
        </ul>
 +
      </li>
 +
     
 +
    </ul>
 
</div>
 
</div>
  
</body>  
+
<div id="content-container">
 
+
  
 +
     
 
</html>
 
</html>

Latest revision as of 20:26, 18 September 2015