Team:Oxford
From 2014.igem.org
(Difference between revisions)
Line 3: | Line 3: | ||
<script> | <script> | ||
$(document).ready(function() { | $(document).ready(function() { | ||
- | + | /* $.vegas({src:'http://www.designsnext.com/wp-content/uploads/2014/04/Oxford-University-UK.jpg',fade:1000}); */ | |
$('.hasdropdown').hover(function() { | $('.hasdropdown').hover(function() { | ||
$(this).find('.dropdown').stop(true,true).slideToggle(200); | $(this).find('.dropdown').stop(true,true).slideToggle(200); | ||
Line 15: | Line 15: | ||
<style> | <style> | ||
- | |||
- | + | @import url(http://fonts.googleapis.com/css?family=PT+Serif|Open+Sans:300italic,400,300); | |
- | + | ||
- | + | ||
- | + | ||
- | + | body { | |
- | + | } | |
- | + | #content { | |
- | + | border:none; | |
- | + | width:100%; | |
- | + | margin:0; | |
- | + | padding:0; | |
- | + | background:none; | |
- | + | } | |
- | + | ||
- | + | #catlinks { | |
- | + | display:none; | |
- | + | } | |
- | + | #contentSub { | |
- | + | display:none; | |
- | + | } | |
- | + | #menubar { | |
- | + | position: absolute; | |
- | + | white-space: nowrap; | |
- | + | top: 0px; | |
- | + | width: 400px; | |
- | + | z-index: 5; | |
- | + | font-family: sans-serif; | |
- | + | font-size: 95%; | |
- | + | line-height: 1em; | |
- | + | } | |
- | + | #menubar ul { | |
- | + | padding:10px; | |
- | + | } | |
- | + | #menubar ul li:last-child { | |
- | + | display:none; | |
- | + | } | |
- | + | #search-controls { | |
- | + | display:none; | |
- | + | } | |
- | + | #top-section { | |
- | + | height:0px; | |
- | + | width:100%; | |
- | + | border:none; | |
- | + | } | |
- | + | #footer-box { | |
- | + | border:none; | |
- | + | display:none; | |
- | + | width:100%; | |
- | + | } | |
- | + | #p-logo { | |
- | + | display:none; | |
- | + | } | |
- | + | .firstHeading { | |
- | + | display:none; | |
- | + | } | |
- | + | #bodyContent p{ | |
- | + | display:none; | |
- | + | } | |
- | + | ||
- | + | .right-menu li a { | |
- | + | background:none; | |
- | + | padding:10px; | |
- | + | } | |
- | + | .right-menu li a:hover { | |
- | + | color:#fff; | |
- | + | } | |
- | + | a.new:visited, #p-personal a.new:visited { | |
- | + | color:#fff; | |
- | + | } | |
- | + | /* http://meyerweb.com/eric/tools/css/reset/ | |
- | + | v2.0 | 20110126 | |
- | + | License: none (public domain) | |
- | + | */ | |
- | + | ||
- | + | html, body, div, span, applet, 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: 100%; | |
- | + | font: inherit; | |
- | + | vertical-align: baseline; | |
- | + | } | |
- | + | /* HTML5 display-role reset for older browsers */ | |
- | + | article, aside, details, figcaption, figure, | |
- | + | footer, header, hgroup, menu, nav, section { | |
- | + | display: block; | |
- | + | } | |
- | + | body { | |
- | + | line-height: 1; | |
- | + | } | |
- | + | ol, ul { | |
- | + | list-style: none; | |
- | + | } | |
- | + | blockquote, q { | |
- | + | quotes: none; | |
- | + | } | |
- | + | blockquote:before, blockquote:after, | |
- | + | q:before, q:after { | |
- | + | content: ''; | |
- | + | content: none; | |
- | + | } | |
- | + | table { | |
- | + | border-collapse: collapse; | |
- | + | border-spacing: 0; | |
- | + | } | |
- | + | /** | |
- | + | * For modern browsers | |
- | + | * 1. The space content is one way to avoid an Opera bug when the | |
- | + | * contenteditable attribute is included anywhere else in the document. | |
- | + | * Otherwise it causes space to appear at the top and bottom of elements | |
- | + | * that are clearfixed. | |
- | + | * 2. The use of `table` rather than `block` is only necessary if using | |
- | + | * `:before` to contain the top-margins of child elements. | |
- | + | */ | |
- | + | .cf:before, | |
- | + | .cf:after { | |
- | + | content: " "; /* 1 */ | |
- | + | display: table; /* 2 */ | |
- | + | } | |
- | + | ||
- | + | .cf:after { | |
- | + | clear: both; | |
- | + | } | |
- | + | ||
- | + | /** | |
- | + | * For IE 6/7 only | |
- | + | * Include this rule to trigger hasLayout and contain floats. | |
- | + | */ | |
- | + | .cf { | |
- | + | *zoom: 1; | |
- | + | } | |
- | + | ||
- | + | .container p { | |
- | + | display:block !important; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | body { | |
- | + | font-family: 'Open Sans', 'helvetica', sans-serif; | |
- | + | font-size: 10px; | |
- | + | font-weight: 300; | |
- | + | background: #f5f5f5; | |
- | + | } | |
- | + | ||
+ | p { | ||
+ | font-size: 14px; | ||
+ | margin-bottom: 10px; | ||
+ | line-height: 1.5; | ||
+ | } | ||
+ | |||
+ | p:last-child { | ||
+ | margin-bottom: 0; | ||
+ | } | ||
+ | |||
+ | .container{ | ||
max-width: 920px; | max-width: 920px; | ||
+ | min-width:600px; | ||
margin: 0 auto; | margin: 0 auto; | ||
display: block !important; | display: block !important; | ||
-webkit-backface-visibility: hidden; | -webkit-backface-visibility: hidden; | ||
- | + | position: relative; | |
- | } | + | } |
+ | |||
+ | .row { | ||
+ | margin-top:1em; | ||
+ | margin-bottom: 2.5em; | ||
+ | } | ||
+ | |||
+ | @media all and (max-width: 1000px) { | ||
+ | .container, #footer-box { | ||
+ | margin-left: 4%; | ||
+ | margin-right: 4%; | ||
+ | width: 92%; | ||
+ | position: relative; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | .column { | ||
+ | float: left; | ||
+ | max-width: none; | ||
+ | display: block; } | ||
+ | |||
+ | .full { | ||
+ | width: 100%; } | ||
+ | |||
+ | .half { | ||
+ | width: 50%; } | ||
+ | |||
+ | .quarter { | ||
+ | width: 25%; } | ||
+ | |||
+ | .fourty { | ||
+ | width: 40%; } | ||
+ | |||
+ | .sixty { | ||
+ | width: 60%; } | ||
+ | |||
+ | .third { | ||
+ | width: 33.333333%; } | ||
+ | |||
+ | .two-third { | ||
+ | width: 66.666666%; } | ||
+ | |||
+ | .sixth { | ||
+ | width: 16.6666666%; } | ||
+ | |||
+ | .two-ninth { | ||
+ | width: 22.2222222%; } | ||
+ | |||
+ | h1 { | ||
+ | font-size: 20px; | ||
+ | font-weight: 400; | ||
+ | font-family: 'PT Serif', serif; | ||
+ | margin-bottom: .5em; | ||
+ | } | ||
+ | |||
+ | h2 { | ||
+ | font-size: 14px; | ||
+ | font-weight: 400; | ||
+ | font-family: 'PT Serif', serif; | ||
+ | margin-bottom: 5px; | ||
+ | } | ||
+ | |||
+ | |||
+ | nav li { | ||
+ | font-size: 14px; | ||
+ | cursor:pointer; | ||
+ | |||
+ | } | ||
+ | |||
+ | header { | ||
+ | background: url('https://static.igem.org/mediawiki/2014/8/8e/OxfordSkyline.jpg'); | ||
+ | background-size: cover; | ||
+ | background-position: center center; | ||
+ | height: 150px; | ||
+ | min-width:600px; | ||
+ | } | ||
#full { | #full { | ||
margin-top: 30px; | margin-top: 30px; | ||
Line 300: | Line 381: | ||
</html> | </html> | ||
- | |||
{{:Team:Oxford/templates/nav}} | {{:Team:Oxford/templates/nav}} | ||
<html> | <html> |
Revision as of 01:17, 5 August 2014