Template:Team:TPHS/Main

From 2014hs.igem.org

(Difference between revisions)
Line 1: Line 1:
-
<html>
+
<!--<html>
<head>
<head>
<!-- Reset for BodyContent -->
<!-- Reset for BodyContent -->
Line 779: Line 779:
</header>
</header>
</body>
</body>
-
</html>
+
</html>-->

Revision as of 17:31, 19 June 2014

<style> #content{ width: 100%; margin: 0; padding: 0; background-color:transparent; border: none; }

#bodyContent{ width: 100%; margin: 0; padding: 0; background-color:transparent; border: none; } </style>


<link href='http://fonts.googleapis.com/css?family=Raleway:400,500,600' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Antic+Slab' rel='stylesheet' type='text/css'>


<style>

  1. top-section{

height: 25px; margin-bottom: 0; border: none; background: #737373; width: 100%; position: fixed; top: 0; z-index: 10; }

  1. header {

width: 1050px; text-align: left; margin-left: auto; margin-right: auto; margin-bottom: 0; }

  1. p-logo {

display: none; }

  1. search-controls {

overflow:hidden; display:none; background: none; position: absolute; top: 170px; right: 40px; }

  1. searchform {
   display: none;

}

.left-menu, .right-menu{ position: absolute; background: none; color: black; margin-top: 4px; }

.left-menu a, .left-menu li {

   color: #000000;

}

.left-menu ul:hover a { color: #000000; }

.left-menu ul li, .right-menu ul li a { background: none; color: #000000; }

.left-menu li a:hover, .right-menu li a:hover, .left-menu li:hover, .right-menu li:hover {

   color: #000000;

}

  1. top-section div#menubar.left-menu ul li:nth-child(7) {

display: none; }

.left-menu ul:hover, .right-menu ul:hover { background: #737373; color: #000000; }

  1. content{

margin-top: -13px; padding: 0; border: 0; }

.firstHeading { visibility:hidden; display:none; }

  1. catlinks{

display:none; }

  1. menubar ul:hover {

color: transparent; } /*important for background colours*/ .mediawiki{ background: #ffffff; }

  1. footer-box {

display: none; } /*End minimal header*/

/* reset browser styles */ html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 16px; vertical-align: baseline; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }

body { line-height: 1.2; }

table { border-collapse: collapse; border-spacing: 0; }

ol { padding-left: 1.4em; list-style: decimal; }

ul { padding-left: 1.4em; list-style: square; }

blockquote, q { quotes: none; }

blockquote:before, blockquote:after, q:before, q:after { content: ; content: none; }

  • {

box-sizing: border-box; -moz-box-sizing: border-box; } /* end reset browser styles */

</style>

<style>

  1. TopBar {

background: #590E13; width: 100%; min-width: 762px; height: 89px; z-index: 10; position: fixed; text-align: center; top: 25px; }

  1. TopBar #TopLvlNavLink {

display: none; }

  1. TopBar ul {

background: #590E13; list-style: none; position: relative; display: inline-table; padding: 0; margin: 0; }

  1. TopBar ul:after {

content: ""; clear: both; display: block; }

  1. TopBar li {

float: left; width: 124px; text-align: center; }

  1. TopBar li:hover > a {

text-decoration: underline; }

  1. TopBar a {

display: block; width: 100%; height: 100%; padding: 15px 0; color: #FFFFFF; text-decoration: none; font: 24px Raleway, Arial, san-serif; }

  1. TopBar > #TopLvlNav > li > a {

padding: 29px 0; }

  1. TopBar ul ul {

display: none; background: #590E13; padding: 0 10px; position: absolute; top: 95%; z-index: 10; margin-left: -10px; }

  1. TopBar ul li:hover > ul {

display: block; }

  1. TopBar ul ul li {

float: none; position: relative; }

  1. TopBar ul ul a {

font-size: 18px; }

  1. TopBar ul ul ul {

position: absolute; left: 100%; top: 0; margin: 0; }

@keyframes rotate {

 from {
   transform: rotate(0deg);
   -ms-transform: rotate(0deg);
 }
 to {
   transform: rotate(59deg);
   -ms-transform: rotate(59deg);
 }

}

@-webkit-keyframes rotate {

 from {
   -webkit-transform: rotate(0deg);
 }
 to { 
   -webkit-transform: rotate(59deg);
 }

}

@-moz-keyframes rotate {

 from {
   transform: rotate(0deg);
 }
 to { 
   transform: rotate(59deg);
 }

}

@-o-keyframes rotate {

 from {
   transform: rotate(0deg);
 }
 to { 
   transform: rotate(59deg);
 }

}

  1. TopBar #LogoItem:hover > img {
   -webkit-animation-name:             rotate; 
   -webkit-animation-duration:         .5s; 
   -webkit-animation-iteration-count:  infinite;
   -webkit-animation-timing-function: linear;

}

  1. TopBar #LogoItem {

padding: 8px 0; }

  1. TopBarCollapse {

position: fixed; width: 120px; height: 60px; top: 25px; background: orange; z-index: 10; }

  1. TopBarCollapse #TopLvlNavLink {

display: block; width: 100%; height: 100%; }

  1. TopBarCollapse:after {

content: ""; clear: both; display: block; }

  1. TopBarCollapse ul {

display: none; list-style: none; padding: 0; }

  1. TopBarCollapse ul:after {

content: ""; clear: both; display: block; }

  1. TopBarCollapse li {

float: left; display: block; clear: both; width: 120px; padding: 0; background: green; }

  1. TopBarCollapse li:hover {

background: pink; }

  1. TopBarCollapse a {

color: #FFFFFF; display: block; text-decoration: none; padding: 10px 15px; }

  1. TopBarCollapse #LogoItem {

display: none !important; }</style>


<style>


html{ background-image:url('http://fc04.deviantart.net/fs71/f/2011/293/0/1/dark_textured_background_6_by_dianascreations-d4dgfhb.jpg'); }

body { min-width: 766px; }

  1. globalWrapper {

padding-bottom: 0; }

  1. bodyContent {

background-image:url('http://fc04.deviantart.net/fs71/f/2011/293/0/1/dark_textured_background_6_by_dianascreations-d4dgfhb.jpg'); text-align: center; }

  1. contentSub{
   display: none;

}


  1. Banner h1 {

font: 72px/180px Raleway, Arial, sans-serif; font-weight: 900; color: #231F20; }

  1. Banner i {

font-size: 72px; }

  1. Content {

position: relative; top: 108px; height: 100%; width: 100%; max-width: 1200px; background: #E7E7E7; display: inline-block; padding: 30px 50px; box-shadow: 0px 8px 10px #888, -10px 8px 15px #888, 10px 8px 15px #888; margin-bottom: 20px; }

  1. Content img {

margin: 4px 20px 12px 20px; }

  1. Content h1, #Content h2, #Content h3, #Content h4, #Content h5, #Content h6 {

font-family: 'Raleway', Helvetica, Arial, sans-serif; line-height: 1.6; text-align: left; }

  1. Content h1 {

font-size: 35px; font-weight: 700; border-bottom: 3px solid #5A5A5A; color: #111111; margin: 0 -20px 30px -20px; padding-left: 20px; }

  1. Content h1 > i, #Content h1 > em {

font-size: 35px; }

  1. Content h2 {

font-size: 28px; font-weight: 600; color: #333333; margin-top: 30px; }

  1. Content h2 > i, #Content h2 > em {

font-size: 28px; }

  1. Content h3 {

font-size: 26px; font-weight: 500; color: #333333; padding-left: 20px; }

  1. Content h4 {

font-size: 20px; font-weight: 500; color: #333333; padding-left: 20px; }

  1. Content h3 > i, #Content h3 > em {

font-size: 26px; }

  1. Content p {

font: 18px/1.6 'Segoe UI', Calibri, Helvetica, sans-serif; margin: 4px 0 12px 0; padding-left: 20px; text-indent:55px; color: #000000; text-align:justify; text-justify:inter-word; }

  1. Content a {

font: 18px/1.6 'Segoe UI', Calibri, Helvetica, sans-serif; }

  1. Content i, #Content em, #Content b, #Content strong {

font-size: 18px; }

  1. Content li a {

line-height: 1; }

  1. Content sub {

vertical-align: sub; font-size: 69%; }

  1. Content sup {

vertical-align: super; font-size: 69%; }

  1. Content span {

font-size: inherit; }

  1. Content .noIndent {

text-indent: 0; }

  1. Content .Blue, #Content .blue {

color: #299D7F; }

  1. Content .Green, #Content .green {

color: #87CA7A; }

  1. Content .Orange, #Content .orange {

color: #FF5900; }

  1. Content .Yellow, #Content .yellow {

color: #EDB74B; }

  1. Content ul, #Content ol {

padding-left: 40px; }

  1. Content li {

font: 18px/1 'Segoe UI', Calibri, Helvetica, sans-serif; margin: 4px 0 12px 0; color: #000000; text-align:justify; text-justify:inter-word; }

  1. Content table {

background: none; margin: 4px 20px 12px 20px; }

  1. Content td {

border: 1px solid #000000; padding: 5px; }

  1. Content figure {

margin-bottom: 20px; }

  1. Content figcaption {

padding: 0 50px; }

  1. Content figcaption p, #Content figcaption b, #Content figcaption i, #Content figcaption u, #Content figcaption em, #Content figcaption strong {

font-family: Arial, sans-serif; font-size: 14px; text-indent: 0; text-align: center; }

  1. Content h3 + p, h3 + p + p, h3 + p + p + p, h3 + p + p + p + p {

padding-left: 40px; }

  1. ButtonsSection {

overflow: hidden; width: 100%; margin: 0 auto; padding: 10px; text-align: center; }

  1. ButtonsSection a:hover {

text-decoration: none; }

  1. ButtonsSection .Button {

float: left; margin: 5px; width: 280px; }

  1. ButtonsSection .Button img{

margin: 20px; }

  1. ButtonsSection .Clear {

clear: both; }

  1. ButtonsSection .Wrap {

padding: 5px; margin: auto; width: 580px; display: block; margin: auto; border: 0; padding: 0; }

  1. ButtonsSection .Button {

background: #4F494A; padding: 20px; position: relative; }

  1. ButtonsSection .Button p {

padding-left: 0; text-indent: 0; position: absolute; bottom: 10px; padding-right: 20px; }

  1. ButtonsSection .Button h2 {

margin: 0 0 20px 0; }

  1. ButtonsSection #Button1 {

background: #299D77; }

  1. ButtonsSection #Button1:hover {

background: #53B092; }

  1. ButtonsSection #Button2 {

background: #87CA7A; }

  1. ButtonsSection #Button2:hover {

background: #9FD494; }

  1. ButtonsSection #Button3 {

background: #E68930; }

  1. ButtonsSection #Button3:hover {

background: #EBA059; }

  1. ButtonsSection #Button4 {

background: #EDB74B; }

  1. ButtonsSection #Button4:hover {

background: #F0C56E; }

  1. ButtonsSection #Button5 {

background: #CB1F10; margin-left: 150px; }

  1. ButtonsSection #Button5:hover {

background: #D54B3F; } </style>






<script> $(document).ready(function() { $('a[href^="http://"]').not('[href*="Team:TP_CC-SanDiego"]').attr('target', '_blank'); $('a[href^="https://"]').not('[href*="Team:TP_CC-SanDiego"]').attr('target', '_blank');

if ($('body').width() > 868) { $('#LogoItem').css('display', 'block'); } else if ($('body').width() <= 868) { $('#LogoItem').css('display', 'none'); }

$(window).resize(function() { if ($('body').width() > 868) { $('#LogoItem').css('display', 'block'); } else if ($('body').width() <= 868) { $('#LogoItem').css('display', 'none'); } });

$('a[href^="#"]').click(function() { var target = $(this.hash); if (target.length == 0) target = $('a[name="' + this.hash.substr(1) + '"]'); if (target.length == 0) target = $('html'); $('html, body').animate({ scrollTop: target.offset().top-100 }, 1000); return false; }); }); </script>

</head>

<body>

<section id="Page"> <header id="TopBar">