Difference between revisions of "Template:UCLA"

 
(33 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
   <head>
 
   <head>
  
<meta name="viewport" content="width=device-width, initial-scale=1">  
+
    <!--
  </head>
+
    > CSS is inlined into the webpage for sake of speed
 +
    -->
 +
 
 +
    <!-- Banner CSS -->
  
 
     <style>
 
     <style>
  
      body {
+
 
 +
#content {
 +
  width: 100%;
 +
  margin: 0;
 +
  padding: 0;
 +
}
 +
 
 +
#bars_item img {
 +
  max-width: none;
 +
}
 +
 
 +
#top_title {
 +
  display: none;
 +
}
 +
 
 +
#content {
 +
  margin-top: -18px;
 +
}
 +
 
 +
#sideMenu {
 +
  display: none;
 +
}
 +
 
 +
.ucla-scroll-down {
 +
  display: block;
 +
  margin: 10px auto;
 +
  width: 50px;
 +
}
 +
.top-bar {
 +
  width: 100%;
 +
}
 +
#header-menu h2 {
 +
  color: white;
 +
}
 +
 
 +
 
 +
 
 +
 
 +
            body {
 
         margin: 0;
 
         margin: 0;
 
         margin-top: 16px;
 
         margin-top: 16px;
Line 19: Line 60:
  
 
       #footer-bar {
 
       #footer-bar {
        position: absolute;
 
 
         width: 100%;
 
         width: 100%;
 
         height: 3em;
 
         height: 3em;
        bottom: 0;
 
 
         background-color: #00004d;
 
         background-color: #00004d;
 +
      }
 +
 +
      #sponsor-footer-bar {
 +
        width: 100%;
 +
        height: 3em;
 +
        background-color: darkgray;
 +
      }
 +
 +
      #sponsor-footer-bar img {
 +
        display: inline-block;
 +
        height: 3em;
 +
        width: auto;
 
       }
 
       }
  
Line 89: Line 140:
 
         text-decoration: none;
 
         text-decoration: none;
 
         font-size: 1.2em;
 
         font-size: 1.2em;
 +
        cursor: pointer;
 
       }
 
       }
  
Line 118: Line 170:
  
 
       .dropdown-content a:hover { background-color: #001a33; }
 
       .dropdown-content a:hover { background-color: #001a33; }
 +
 +
      #project-header {
 +
        width: 100%;
 +
        height: 12em;
 +
        background-color: #1b1b32;
 +
        border-top: solid 1.5px white;
 +
        border-bottom: solid 1px white;
 +
        text-align: center;
 +
      }
  
 
     </style>
 
     </style>
  
 +
  </head>
  
 
<link rel="stylesheet" href="https://2016.igem.org/Team:UCLA/core/customcss?action=raw&amp;ctype=text/css" />
 
<link rel="stylesheet" href="https://2016.igem.org/Team:UCLA/core/customcss?action=raw&amp;ctype=text/css" />
     <link rel="stylesheet" href="https://2016.igem.org/Team:UCLA/core/foundationcss?action=raw&amp;ctype=text/css" />
+
     <div id="header-bar">
<script>
+
      <div id="header-logo-ucla-container">
 +
        <a href="https://2016.igem.org/Team:UCLA"><img id="header-logo-ucla" src="https://static.igem.org/mediawiki/2016/8/8f/UCLA_iGEM_Logo.png"></a>
 +
      </div>
 +
      <div class="header-logo-general-container">
 +
        <a target="_blank" href="https://2016.igem.org"><img class="header-logo-general" src="https://static.igem.org/mediawiki/2016/b/b2/T--UCLA--logowhite.png"></a>
 +
      </div>
 +
      <div id="header-menu-container">
 +
        <ul id="header-menu">
  
 +
          <li class="dropdown">
 +
            <a><h2>Projects</h2></a>
 +
            <div class="dropdown-content">
 +
              <a href="https://2016.igem.org/Team:UCLA/Protein_Cages">Protein Cages</a>
 +
              <a href="https://2016.igem.org/Team:UCLA/Super_Soldier_Bacteria">Super Soldier Systems</a>
 +
              <a href="https://2016.igem.org/Team:UCLA/InterLab">Interlab Study</a>
 +
            </div>
 +
          </li>
 +
 +
          <li class="dropdown">
 +
            <a href="https://2016.igem.org/Team:UCLA/Parts"><h2>Parts</h2></a>
 +
            <div class="dropdown-content">
 +
              <a href="https://2016.igem.org/Team:UCLA/Basic_Part">Basic Parts</a>
 +
              <a href="https://2016.igem.org/Team:UCLA/Composite_Part">Composite Parts</a>
 +
              <a href="https://2016.igem.org/Team:UCLA/Part_Collection">Part Collection</a>
 +
            </div>
 +
          </li>
 +
 +
          <li class="dropdown">
 +
            <a><h2>Outreach</h2></a>
 +
            <div class="dropdown-content">
 +
              <a href="https://2016.igem.org/Team:UCLA/HP/Silver">Human Practices</a>
 +
              <a href="https://2016.igem.org/Team:UCLA/Collaborations">Collaborations</a>
 +
            </div>
 +
          </li>
 +
 +
          <li class="dropdown">
 +
            <a><h2>Judging</h2></a>
 +
            <div class="dropdown-content">
 +
              <a href="https://2016.igem.org/Team:UCLA/Medal_Requirements">Medal Requirements</a>
 +
              <a href="https://2016.igem.org/Team:UCLA/Safety">Safety</a>
 +
            </div>
 +
          </li>
 +
 +
          <li class="dropdown">
 +
            <a><h2>Team</h2></a>
 +
            <div class="dropdown-content">
 +
              <a href="https://2016.igem.org/Team:UCLA/Team">Meet the Team</a>
 +
              <a href="https://2016.igem.org/Team:UCLA/Attributions">Attributions</a>
 +
            </div>
 +
          </li>
 +
 +
        </ul>
 +
      </div>
 +
    </div>
 +
 +
<script>
 
// This is the jquery part of your template.  Try not modify any of this code since it makes your menu work.
 
// This is the jquery part of your template.  Try not modify any of this code since it makes your menu work.
  

Latest revision as of 03:54, 20 October 2016