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

 
(75 intermediate revisions by the same user not shown)
Line 1: Line 1:
<html lang="en">
+
{{Template_All_Teams}}
 
+
<html>
 +
  <head>
 
     <style>
 
     <style>
    body {
+
      #globalWrapper,#content{
background: #2B2B2B;
+
        width: 99.5%;
 +
      } 
 +
      #main-container{
 +
        width: 100%;
 +
        height :100%;
 +
        text-align: center;
 +
        float: center;
 +
        overflow:auto;
 +
        margin:0;
 +
        background-color: white;
 +
        font-family:  sans-serif;
 +
      }
 +
body{
 +
background:white;
 
}
 
}
    html, body{
+
  #header-container {
    width: 100%;
+
        background: #397886;
    height: 100%;
+
        width: 100%;
    }
+
        position: variable;
    header {
+
        float:right;
      text-align:right;
+
        padding-top: 15px;
    }
+
        top:-1px;
    .container {
+
        left: -1px;
      background: #F6F6F6;
+
        z-index:10;
      left:-125px;
+
       }
      width:125%;
+
       #content-container {
      height: 50px;
+
        padding-top:250px;
       position: absolute;
+
        margin:auto;
       top: -2px;
+
        margin-bottom: 30px;
    }
+
        width: 85%;
    .logo {
+
        padding-left: 25px;
    width: 150px;
+
        font-family: sans-serif;
    height: 150px;
+
        text-align: left;
    }
+
    .title {
+
      font-family: "Comic Sans MS", Helvetica;
+
      color: #5C7A99;
+
      float: left;
+
      padding-left: 20px;
+
      font-size: 24px;
+
      margin-top: 7px;
+
      letter-spacing: -1px;
+
     
+
    }
+
  
    ul {
+
      }
       text-align: left;
+
      #header-container .arrow {
      display: inline;
+
        font-size:11px;
      margin: 0;
+
        line-height:0%;
      padding: 15px 0px 17px 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);
+
      .title {
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
+
        margin: 0.3em 0 -0.7em 0;
    }
+
        color: white;
    ul li a {
+
        font-weight: normal;
    text-decoration: none;
+
        font-family: 'Ultra', sans-serif; 
    color: #5C7A99;
+
        font-size: 20px;
    font-family: Helvetica, Arial, sans-serif;
+
        line-height: 42px;
    }
+
 
    ul li {
+
      }
      font: bold 12px/18px sans-serif;
+
.logo{
      display: inline-block;
+
display:block;
      margin-right: -4px;
+
margin:auto;
      position: relative;
+
}
      padding: 15px 30px;
+
      .list {
      cursor: pointer;
+
        width: 100%;
      width: 70px;
+
        text-align: center;
      -webkit-transition: all 0.2s;
+
        display: inline;
      -moz-transition: all 0.2s;
+
        margin: 0;
      -ms-transition: all 0.2s;
+
        padding: 5px 0px 5px 0px;
      -o-transition: all 0.2s;
+
        list-style: none;
      transition: all 0.2s;
+
        -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);
 +
      }
 +
 
 +
      .list-item a, .dropdown-list-item a {
 +
        text-decoration: none;
 +
        opacity: 0.9;
 +
        color: #F6F6F6;
 +
        font-family: Helvetica, Arial, sans-serif;
 +
      }
 +
      .list-item,.dropdown-list-item {
 +
        font: bold 12px/18px sans-serif;
 +
        display: inline-block;
 +
        margin-right: -4px;
 +
        position: relative;
 +
        padding: 13px 40px;
 +
        cursor: pointer;
 +
        width: auto;
 +
        -webkit-transition: all 0.2s;
 +
        -moz-transition: all 0.2s;
 +
        -ms-transition: all 0.2s;
 +
        -o-transition: all 0.2s;
 +
        transition: all 0.2s;
 +
      }
 +
      .dropdown-list-item {
 +
        width: auto;
 +
        margin-right: 0px;
 +
      }
 +
      .list-item a:visited, .dropdown-list-item a:visited{
 +
        color: #F6F6F6;
 +
      }
 +
      .list-item a:hover{
 +
        color: #66cccc;
 +
      }
 +
      .dropdown-list {
 +
        padding: 0;
 +
        position: absolute;
 +
        top: 40px;
 +
        left: 0;
 +
        z-index:100;
 +
        -webkit-box-shadow: none;
 +
        -moz-box-shadow: none;
 +
        box-shadow: none;
 +
        display: none;
 +
        background: #397886;
 +
        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;
 +
      }
 +
      .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>
  
    ul li:hover {
+
<div id="content-container">
      background: #70DBFF;
+
      color: #000000;
+
    }
+
    ul li ul {
+
      padding: 0;
+
      position: absolute;
+
      top: 48px;
+
      left: 0;
+
      width: 70px;
+
      -webkit-box-shadow: none;
+
      -moz-box-shadow: none;
+
      box-shadow: none;
+
      display: none;
+
      opacity: 0;
+
      visibility: hidden;
+
      -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 {
+
      background: #70DBFF;
+
      display: block;
+
      /*text-shadow: 0 -1px 0 #000;*/
+
    }
+
    ul li ul li:hover { background: #85E0FF; }
+
    ul li:hover ul {
+
      display: block;
+
      opacity: 1;
+
      visibility: visible;
+
    }
+
    </style>
+
  
  <header>
+
     
    <div class="container">
+
          <h2 class="title">Exterminator Coli</h2>
+
          <ul>
+
            <li class="dropdown"> <a href="https://2015.igem.org/Team:NYU-AD">Home</a></li>
+
            <li class="dropdown">
+
              <a href="https://2015.igem.org/Team:NYU-AD/Project" data-toggle="dropdown">Project <i class="icon-arrow"></i></a>
+
              <ul class="dropdown-menu">
+
                <li><a href="https://2015.igem.org/Team:NYU-AD/Overview">Overview</a></li>
+
                <li><a href="https://2015.igem.org/Team:NYU-AD/Trap">Trap</a></li>
+
                <li><a href="https://2015.igem.org/Team:NYU-AD/Kill">Kill</a></li>
+
                <li><a href="https://2015.igem.org/Team:NYU-AD/Digest">Digest</a></li>
+
              </ul>
+
            </li>
+
            <li class="dropdown">
+
              <a href="https://2015.igem.org/Team:NYU-AD/Achievements" data-toggle="dropdown">Achievements<i class="icon-arrow"></i></a>
+
              <ul class="dropdown-menu">
+
                <li><a href="https://2015.igem.org/Team:NYU-AD/Parts">Parts</a></li>
+
                <li><a href="https://2015.igem.org/Team:NYU-AD/Results">Results</a></li>
+
                <li><a href="https://2015.igem.org/Team:NYU-AD/MedalFulfillment">Medal Fulfillment</a></li>
+
              </ul>
+
            </li>
+
            <li class="dropdown">
+
              <a href="https://2015.igem.org/Team:NYU-AD/Notebook" data-toggle="dropdown">Notebook <i class="icon-arrow"></i></a>
+
              <ul class="dropdown-menu">
+
                <li><a href="https://2015.igem.org/Team:NYU-AD/DayNotes">Day Notes</a></li>
+
                <li><a href="https://2015.igem.org/Team:NYU-AD/Protocols">Protocols</a></li>
+
                <li><a href="https://2015.igem.org/Team:NYU-AD/Bibliography">Bibliography</a></li>
+
              </ul>
+
            </li>
+
           
+
            <li class="dropdown"> <a href="#">Modelling</a></li>
+
            <li class="dropdown">
+
              <a href="https://2015.igem.org/Team:NYU-AD/Team" data-toggle="dropdown">Team <i class="icon-arrow"></i></a>
+
              <ul class="dropdown-menu">
+
                <li><a href="https://2015.igem.org/Team:NYU-AD/TeamMembers">Team Members</a></li>
+
                <li><a href="https://2015.igem.org/Team:NYU-AD/Gallery">Gallery</a></li>
+
                <li><a href="http://nyuad.nyu.edu">The University</a></li>
+
                <li><a href="https://2015.igem.org/Team:NYU-AD/Attributions">Attributions</a></li>
+
              </ul>
+
            </li>
+
           
+
          </ul>
+
    </div>
+
  </header>
+
 
</html>
 
</html>

Latest revision as of 20:26, 18 September 2015