Team:Imperial College/Templates/Banner

From 2013.igem.org

(Difference between revisions)
m
 
(204 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
-
<head>
+
<style type="text/css">
-
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+
    #imperial-banner {
 +
        position: relative; /* this is to allow positioning of elements within */
 +
        text-align: right;
 +
        height: 100px;
 +
        margin: 0 15px 1em 15px;
 +
        line-height: 100px;
 +
    }
-
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
+
    #imperial-igem-banner {
 +
        position: absolute;
 +
        left: 0;
 +
        top: 0;
 +
    }
-
  <script>
+
    #igem-logo,
-
  $( document ).ready(function() {
+
    #imperial-logo {
-
  $('#cssmenu ul ul li:odd').addClass('odd');
+
        display: inline-block;
-
  $('#cssmenu ul ul li:even').addClass('even');
+
        margin-left: 5px;
-
  $('#cssmenu > ul > li > a').click(function() {
+
    }
-
  $('#cssmenu li').removeClass('active');
+
-
  $(this).closest('li').addClass('active');
+
-
 
+
-
  var checkElement = $(this).next();
+
-
  if((checkElement.is('ul')) && (checkElement.is(':visible'))) {
+
-
  return false;
+
-
  }
+
-
  if((checkElement.is('ul')) && (!checkElement.is(':visible'))) {
+
-
  $('#cssmenu ul ul:visible').slideUp('normal');
+
-
  checkElement.slideDown('normal');
+
-
  return false;
+
-
  }
+
-
  });
+
-
  });
+
-
  <\script>
+
-
  <style type="text/css">
+
    #imperial-igem-banner img,
 +
    #igem-logo img {
 +
        height: 100px;
 +
    }
-
@import url(http://fonts.googleapis.com/css?family=Lato);
+
    #igem-logo img {
-
@charset 'UTF-8';
+
        -webkit-transition: all 1s ease-in-out;
-
/* Base Styles */
+
        -moz-transition: all 1s ease-in-out;
-
#cssmenu,
+
        -ms-transition: all 1s ease-in-out;
-
#cssmenu ul,
+
        -o-transition: all 1s ease-in-out;
-
#cssmenu li,
+
        transition: all 1s ease-in-out;
-
#cssmenu a {
+
    }
-
  margin: 0;
+
-
  padding: 0;
+
-
  border: 0;
+
-
  list-style: none;
+
-
  font-weight: normal;
+
-
  text-decoration: none;
+
-
  line-height: 1;
+
-
  font-family: 'Lato', sans-serif;
+
-
  font-size: 14px;
+
-
  position: relative;
+
-
}
+
-
#cssmenu a {
+
-
  line-height: 1.3;
+
-
  padding: 6px 15px;
+
-
}
+
-
#cssmenu {
+
-
  width: 200px;
+
-
}
+
-
#cssmenu > ul > li {
+
-
  cursor: pointer;
+
-
  background: #000;
+
-
  border-bottom: 1px solid #797a80;
+
-
}
+
-
#cssmenu > ul > li:last-child {
+
-
  border-bottom: 1px solid #3e3d3c;
+
-
}
+
-
#cssmenu > ul > li > a {
+
-
  font-size: 13px;
+
-
  display: block;
+
-
  color: #ffffff;
+
-
  text-shadow: 0 1px 1px #000;
+
-
  background: #6a6b72;
+
-
  background: -moz-linear-gradient(#6a6b72 0%, #4c4e53 100%);
+
-
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #6a6b72), color-stop(100%, #4c4e53));
+
-
  background: -webkit-linear-gradient(#6a6b72 0%, #4c4e53 100%);
+
-
  background: linear-gradient(#6a6b72 0%, #4c4e53 100%);
+
-
}
+
-
#cssmenu > ul > li > a:hover {
+
-
  text-decoration: none;
+
-
}
+
-
#cssmenu > ul > li.active {
+
-
  border-bottom: none;
+
-
}
+
-
#cssmenu > ul > li.active > a {
+
-
  background: #a5ce27;
+
-
  background: -moz-linear-gradient(#a5ce27 0%, #709400 100%);
+
-
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #a5ce27), color-stop(100%, #709400));
+
-
  background: -webkit-linear-gradient(#a5ce27 0%, #709400 100%);
+
-
  background: linear-gradient(#a5ce27 0%, #709400 100%);
+
-
  color: #4e5800;
+
-
  text-shadow: 0 1px 1px #a5ce27;
+
-
}
+
-
#cssmenu > ul > li.has-sub > a:after {
+
-
  content: '';
+
-
  position: absolute;
+
-
  top: 10px;
+
-
  right: 10px;
+
-
  border: 5px solid transparent;
+
-
  border-left: 5px solid #ffffff;
+
-
}
+
-
#cssmenu > ul > li.has-sub.active > a:after {
+
-
  right: 14px;
+
-
  top: 12px;
+
-
  border: 5px solid transparent;
+
-
  border-top: 5px solid #4e5800;
+
-
}
+
-
/* Sub menu */
+
-
#cssmenu ul ul {
+
-
  padding: 0;
+
-
  display: none;
+
-
}
+
-
#cssmenu ul ul a {
+
-
  background: #efefef;
+
-
  display: block;
+
-
  color: #797979;
+
-
  font-size: 13px;
+
-
}
+
-
#cssmenu ul ul li {
+
-
  border-bottom: 1px solid #c9c9c9;
+
-
}
+
-
#cssmenu ul ul li.odd a {
+
-
  background: #e5e5e5;
+
-
}
+
-
#cssmenu ul ul li:last-child {
+
-
  border: none;
+
-
}
+
 +
    #igem-logo img:hover {
 +
        -webkit-transform: rotate(360deg);
 +
        -moz-transform: rotate(360deg);
 +
        -o-transform: rotate(360deg);
 +
        -ms-transform: rotate(360deg);
 +
        transform: rotate(360deg);
 +
    }
 +
    #imperial-logo img {
 +
        height: 50px;
 +
    }
 +
#BackToTop,
 +
#BackToTop:link,
 +
#BackToTop:visited {
 +
    position: fixed;
 +
    bottom: 5px;
 +
    right: 5px;
 +
    text-decoration: none;
 +
    color: #36a9e1;
 +
}
-
  #top-section {
+
#BackToTop:hover {
-
  width: 975px;
+
     color: #a3c4e9;
-
  height: 20px;
+
}
-
  background-color: #ffffff;
+
      #Sitemap {
-
  border: none;
+
      position:fixed;
-
  }
+
      bottom:5px;
-
 
+
      left:5px;
-
  #p-logo {
+
      }
-
  display: none;}
+
</style>
-
 
+
    <a name="top"></a>
-
  #search-controls {
+
-
  display: none;}
+
-
 
+
-
  .right-menu li a, .right-menu li a:hover {
+
-
  color: #3c6b27;
+
-
  background-color: transparent;
+
-
  }
+
-
 
+
-
  .firstHeading {
+
-
     display: none;}
+
-
 
+
-
  #imperiallogo {
+
-
  position: relative;
+
-
  text-align:center;
+
-
  z-index:-1;
+
-
  }
+
-
 
+
-
  #iGEMLogo {
+
-
  position:absolute;
+
-
  top:80px;
+
-
  left:15px;
+
-
  }
+
-
 
+
-
  #ImperialLogo {
+
-
  position:absolute;
+
-
  top:100px;
+
-
  left:790px;
+
-
  }
+
-
 
+
-
  body {
+
-
  background-color:#58D3F7;
+
-
  }
+
-
 
+
-
  #menucontainer {
+
-
  overflow:visible;
+
-
  position:relative;
+
-
  z-index:3;
+
-
  }
+
-
 
+
-
  #content {
+
-
  position: relative;
+
-
  width: 975px;
+
-
  margin: 0 auto;
+
-
  padding-top:1px;
+
-
  padding-left:0px;
+
-
  padding-right:0px;
+
-
  padding-bottom:0px;
+
-
  background: #ffffff;
+
-
  color: black;
+
-
  border: none;
+
-
  line-height: 1.5em;
+
-
  z-index: 2;
+
-
  }
+
-
 
+
-
  #contentSub {
+
-
  margin: 0 0 0 0;
+
-
  }
+
-
 
+
-
  #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 {
+
-
  margin-bottom: 0;
+
-
  }
+
-
 
+
-
  a {color:#93B825;}
+
-
  a:link {color:#93B825;}
+
-
  a:visited {color:#728F1D;}
+
-
  a:hover {color:#93B825;}
+
-
  a:active {color:#93B825;}
+
-
  a[name]:hover {text-decoration:none;}
+
-
 
+
-
  a.sitemap:link,a.sitemap:visited {color:#000000;font-decoration:none;}
+
-
  a.sitemap:hover,a.sitemap:active {color:#000000;font-decoration:underline;}
+
-
 
+
-
  h1 {
+
-
  font-family: arial,sans-serif;
+
-
  color: #225323;
+
-
  background: #ffffff;
+
-
  font-weight: bold;
+
-
  font-size: 2.2em;
+
-
  margin: 0 0 0 0;
+
-
  padding: 20px 20px 12px 20px;
+
-
  border-bottom: none;
+
-
  }
+
-
 
+
-
  h2 {
+
-
  font-family: arial,sans-serif;
+
-
  color: #225323;
+
-
  background: #ffffff;
+
-
  font-weight: bold;
+
-
  font-size: 1.7em;
+
-
  margin: 0 0 0 0;
+
-
  padding: 18px 20px 7px 20px;
+
-
  border-bottom: none;
+
-
  }
+
-
 
+
-
  h3 {
+
-
  font-family: arial,sans-serif;
+
-
  color: #225323;
+
-
  background: #ffffff;
+
-
  font-weight: bold;
+
-
  font-size: 1.4em;
+
-
  margin: 0 0 0 0;
+
-
  padding: 16px 20px 2px 20px;
+
-
  border-bottom: none;
+
-
  }
+
-
 
+
-
  h4 {
+
-
  font-family: arial,sans-serif;
+
-
  color: #225323;
+
-
  background: #ffffff;
+
-
  font-weight: bold;
+
-
  font-size: 1.1em;
+
-
  margin: 0 0 0 0;
+
-
  padding: 13.5px 20px 1px 20px;
+
-
  border-bottom: none;
+
-
  }
+
-
 
+
-
  p {
+
-
  font-family: arial,sans-serif;
+
-
  color: #000000;
+
-
  background: #ffffff;
+
-
  font-weight: normal;
+
-
  font-size: 1em;
+
-
  line-height: 1.7em;
+
-
  text-align: justify;
+
-
  margin: 0 0 0 0;
+
-
  padding: 5px 20px 0px 20px;
+
-
  }
+
-
 
+
-
  .border {
+
-
  border:1px solid #B2B2B2;
+
-
  z-index:101;
+
-
  }
+
-
 
+
-
  .borderMagnify {
+
-
  border:1px solid #B2B2B2;
+
-
  z-index:101;
+
-
  margin-left:-9px;
+
-
  margin-right:9px;
+
-
  }
+
-
 
+
-
  .imgbox {
+
-
  margin:20px;
+
-
  padding:10px;
+
-
  border:1px solid black;
+
-
  text-align:center;
+
-
  }
+
-
 
+
-
  .vidbox {
+
-
  margin:20px;
+
-
  padding:10px;
+
-
  border:1px solid black;
+
-
  text-align:center;
+
-
  }
+
-
 
+
-
  .newouterbox {
+
-
  background-color:#FF944D;border:1px solid #CCCCCC;margin:20px;padding-bottom:0px;
+
-
  }
+
-
 
+
-
  .newinnerbox {
+
-
  border:1px solid #CCCCCC;margin:10px 20px 20px 20px;padding-top:0px;padding-bottom:13px;background-color:#ffffff;
+
-
  }
+
-
 
+
-
  .newtext {
+
-
  text-align:center;background-color:#FF944D;color:#000000;
+
-
  }
+
-
 
+
-
  ul.a {
+
-
  margin: 0 0 0 40px;
+
-
  list-style-image: none;
+
-
  list-style-type:disc;
+
-
  font-family: arial,sans-serif;
+
-
  color: #000000;
+
-
  background: #ffffff;
+
-
  font-weight: normal;
+
-
  font-size: 1em;
+
-
  line-height: 1.7em;
+
-
  text-align: justify;
+
-
  padding: 5px 20px 0px 20px;
+
-
  }
+
-
 
+
-
  ol.a {
+
-
  margin: 0 0 0 30px;
+
-
  list-style-position:inside;
+
-
  font-family: arial,sans-serif;
+
-
  color: #000000;
+
-
  background: #ffffff;
+
-
  font-weight: normal;
+
-
  font-size: 1em;
+
-
  line-height: 1.7em;
+
-
  text-align: justify;
+
-
  padding: 5px 20px 0px 20px;
+
-
  }
+
-
 
+
-
  iframe {
+
-
  padding: 10px 20px 10px 20px;
+
-
  }
+
-
 
+
-
  #BackToTop {
+
-
  position:fixed;
+
-
  bottom:0;
+
-
  right:0;
+
-
  }
+
-
 
+
-
  #Sitemap {
+
-
  position:fixed;
+
-
  bottom:0;
+
-
  left:0;
+
-
  }
+
-
 
+
-
  </style>
+
-
  </head>
+
-
<body>
+
    <div id="imperial-banner">
 +
      <a id='imperial-igem-banner' href='https://2013.igem.org/Team:Imperial_College'>
 +
        <img src="https://static.igem.org/mediawiki/2013/d/d9/ImperialLogo2013.png"  />
 +
      </a>
-
<a name="top"></a>
+
        <a id='igem-logo' href='https://2013.igem.org/Main_Page' target="_blank">
-
<div id='imperiallogo'>
+
          <img src='https://static.igem.org/mediawiki/2011/b/be/ICL_iGEM_Logo.png' />
-
  <a href = 'https://2013.igem.org/Team:Imperial_College'>
+
        </a>
-
    <img src="https://static.igem.org/mediawiki/2013/6/67/Imperiallogo.png" style="width:300px;" />
+
-
  </a>
+
-
</div>
+
-
<div id='iGEMLogo'>
+
-
  <a href='https://2013.igem.org/Main_Page' target="_blank">
+
-
    <img src='https://static.igem.org/mediawiki/2011/b/be/ICL_iGEM_Logo.png' style="width:90px;" />
+
-
  </a>
+
-
</div>
+
-
<div id='ImperialLogo'>
+
-
  <a href='http://www3.imperial.ac.uk/' target="_blank">
+
-
    <img src='https://static.igem.org/mediawiki/2011/1/19/ImperialLogo.png' style="width:160px;" />
+
-
  </a>
+
-
</div>
+
-
<div id="BackToTop">
+
        <a id='imperial-logo' href='http://www3.imperial.ac.uk/' target="_blank">
-
<a href="#top">
+
          <img src='https://static.igem.org/mediawiki/2011/1/19/ImperialLogo.png' />
-
<img src="https://static.igem.org/mediawiki/2011/6/62/ICL_BackToTop2.png" width="48px" />
+
    </div>
-
</a>
+
-
</div>
+
-
<div id="Sitemap">
+
<a class="" href="#top" id="BackToTop"><i class="icon-chevron-sign-up icon-3x"></i></a>
-
<a href="https://2011.igem.org/Team:Imperial_College_London/Sitemap">
+
-
<img src="https://static.igem.org/mediawiki/2011/f/f5/ICL_SitemapBtn.png" width="80px" />
+
-
</a>
+
-
</div>
+
-
</body>
+
    <div id="Sitemap">
 +
        <a href="https://2013.igem.org/Team:Imperial_College/Sitemap">
 +
            <img src="https://static.igem.org/mediawiki/2013/8/84/ICL_SitemapBtn13.png" width="80px" />
 +
        </a>
 +
    </div>
 +
</html>

Latest revision as of 14:54, 28 August 2013