Template:Team:Uppsala/test
From 2013.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
- | + | <html> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
<style type="text/css"> | <style type="text/css"> | ||
+ | |||
+ | |||
+ | /* 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; | ||
+ | } | ||
+ | |||
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo { | #contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo { | ||
Line 35: | Line 71: | ||
} | } | ||
+ | body { | ||
- | + | background-image: url(https://static.igem.org/mediawiki/2013/2/26/Background.png); /* bakgrund för hela sidan */ | |
+ | border: none; | ||
+ | font-family : Tahoma, sans-serif; | ||
+ | } | ||
+ | h1 { | ||
+ | color: #0089d1; | ||
+ | } | ||
+ | /* | ||
+ | p { | ||
+ | color: #22409a; | ||
+ | } | ||
+ | */ | ||
+ | #main_frame { | ||
- | + | min-height: 1400px; | |
- | + | width: 950px; | |
- | + | margin-left: auto; | |
- | + | margin-right: auto; | |
+ | background-color: #fff; | ||
+ | border: 1px solid light gray; | ||
+ | border-radius: 15px; | ||
+ | box-shadow: 0px 0px 30px rgba(110,110,110, .8); | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | + | #header { | |
- | + | width:100%; | |
- | + | margin-left:auto; | |
- | + | margin-right:auto; | |
- | + | } | |
- | + | ||
- | + | section { | |
- | + | min-height: 1300px; | |
- | + | padding: 20px; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | header { | |
display: inline-block; | display: inline-block; | ||
position: relative; | position: relative; | ||
- | width: 100%; | + | width: 100%; |
} | } | ||
+ | |||
+ | #igem_logo { | ||
+ | width: 500px; | ||
+ | padding: 10px; | ||
+ | padding-top: 30px; | ||
+ | float: right; | ||
+ | } | ||
+ | |||
- | + | ||
- | + | #logo { | |
- | + | width: 300px; | |
- | + | float: left; | |
- | + | } | |
- | + | ||
- | + | #home-knapp { | |
- | + | position: relative; | |
- | } | + | z-index: 1; |
- | + | float: left; | |
- | + | } | |
- | + | ||
- | + | ||
+ | |||
+ | #n_container { | ||
+ | padding-top: 1px; | ||
+ | height::100px; | ||
+ | width:950px; | ||
+ | clear:both; | ||
} | } | ||
+ | /* | ||
- | + | #button_1 { | |
- | + | position: relative;left:15px;top:-15px; | |
- | + | float:left; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | #navbar { | |
- | + | background-color: #22409a; | |
- | + | margin-top: 60px; | |
- | + | width: 94%; | |
- | + | margin-left: 6%; | |
- | + | height: 55px; | |
- | + | vertical-align: middle; | |
- | + | text-align: center; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
+ | */ | ||
- | + | .sublogo { | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | width: 150px; | |
- | + | margin-left: 475px; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | ||
- | + | .logo { | |
- | + | padding-top: 40px; | |
- | + | width: 200px; | |
- | + | float: left; | |
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | + | ||
- | { | + | .navbar-text { |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | ||
- | + | /* NAVBAR code begins */ | |
- | + | ||
- | + | ||
- | + | /* | |
- | + | ||
- | + | .nav ul { | |
- | + | text-align: left; | |
- | + | display: inline; | |
- | + | margin: 0; | |
- | + | padding: 15px 4px 17px 0; | |
- | + | 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); | ||
+ | box-shadow: 0 0 5px rgba(0, 0, 0, 0.15); | ||
+ | } | ||
+ | .nav ul li { | ||
+ | font: bold 12px/18px sans-serif; | ||
+ | display: inline-block; | ||
+ | margin-right: -4px; | ||
+ | position: relative; | ||
+ | padding: 15px 20px; | ||
+ | background: #fff; | ||
+ | cursor: pointer; | ||
+ | -webkit-transition: all 0.2s; | ||
+ | -moz-transition: all 0.2s; | ||
+ | -ms-transition: all 0.2s; | ||
+ | -o-transition: all 0.2s; | ||
+ | transition: all 0.2s; | ||
+ | } | ||
+ | .nav ul li:hover { | ||
+ | background: #555; | ||
+ | color: #fff; | ||
+ | } | ||
+ | .nav ul li ul { | ||
+ | padding: 0; | ||
+ | position: absolute; | ||
+ | top: 48px; | ||
+ | left: 0; | ||
+ | width: 150px; | ||
+ | -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; | ||
+ | } | ||
+ | .nav ul li ul li { | ||
+ | background: #555; | ||
+ | display: block; | ||
+ | color: #fff; | ||
+ | text-shadow: 0 -1px 0 #000; | ||
+ | } | ||
+ | .nav ul li ul li:hover { background: #666; } | ||
+ | .nav ul li:hover ul { | ||
+ | display: block; | ||
+ | opacity: 1; | ||
+ | visibility: visible; | ||
+ | } | ||
+ | |||
+ | .a { | ||
+ | width: 100px; height: 60px; | ||
+ | padding-bottom: 30px; | ||
+ | } | ||
+ | |||
+ | */ | ||
+ | |||
+ | } | ||
+ | .content { | ||
+ | clear:both; | ||
+ | } | ||
+ | |||
+ | |||
+ | .igem_logo { | ||
+ | width: 400px; | ||
+ | float: right; | ||
+ | } | ||
+ | |||
+ | |||
+ | #bottom-pic { | ||
+ | width: 100%; | ||
+ | height: 200px; | ||
+ | margin-top: 50px; | ||
+ | } | ||
+ | |||
+ | #project-description { | ||
+ | padding-top: 30px; | ||
+ | width: 100%; | ||
+ | border-bottom: 1px solid #22409a; | ||
+ | padding-bottom: 10px; | ||
+ | } | ||
+ | |||
+ | .project-text { | ||
+ | padding-top: px; | ||
+ | } | ||
+ | |||
+ | .first-background-text { | ||
+ | padding-top: px; | ||
+ | } | ||
+ | |||
+ | .second-background-text { | ||
+ | padding-top: px; | ||
+ | } | ||
+ | |||
+ | #grid-matrix { | ||
+ | width: 64%; | ||
+ | float: left; | ||
+ | padding-top: 20px; | ||
+ | } | ||
+ | |||
+ | #sidebar { | ||
+ | width: 34%; | ||
+ | float: right; | ||
+ | padding-top: 20px; | ||
+ | } | ||
+ | |||
+ | #twitter-feed { | ||
+ | padding-top:20px; | ||
+ | } | ||
+ | |||
+ | #grid-a { | ||
+ | width: 276.5px; float: left; | ||
+ | height: 276.5px; border: 3px solid; | ||
+ | background-image: url(https://static.igem.org/mediawiki/2013/1/1f/Background-new.png); | ||
+ | } | ||
+ | |||
+ | #grid-b { | ||
+ | width: 276.5px; float: right; | ||
+ | height: 276.5px; border: 3px solid; | ||
+ | background-image: url(https://static.igem.org/mediawiki/2013/1/18/Vision.png); | ||
+ | } | ||
+ | |||
+ | #grid-c { | ||
+ | width: 276.5px; float: left; | ||
+ | height: 276.5px; border: 3px solid; | ||
+ | margin-top: 20px; | ||
+ | background-image: url(https://static.igem.org/mediawiki/2013/a/a7/Metabolic_engineering.png); | ||
+ | |||
+ | } | ||
+ | |||
+ | #grid-d { | ||
+ | width: 276.5px; float: right; | ||
+ | height: 276.5px; border: 3px solid; | ||
+ | margin-top: 20px; | ||
+ | background-image: url(https://static.igem.org/mediawiki/2013/1/1b/Chassi.png); | ||
+ | } | ||
+ | |||
+ | #grid-e { | ||
+ | width: 276.5px; float: left; | ||
+ | height: 276.5px; border: 3px solid; | ||
+ | margin-top: 20px; | ||
+ | background-image: url(https://static.igem.org/mediawiki/2013/f/fd/Society.png); | ||
+ | } | ||
+ | |||
+ | #grid-f { | ||
+ | width: 276.5px; float: right; | ||
+ | height: 276.5px; border: 3px solid; | ||
+ | margin-top: 20px; | ||
+ | background-image: url(https://static.igem.org/mediawiki/2013/6/6f/Safty.png); | ||
+ | } | ||
+ | |||
+ | |||
+ | /* Hover effect on grid pictures begin */ | ||
+ | |||
+ | #grid-a img { | ||
+ | -webkit-transition: opacity 0.2s ease-in-out; | ||
+ | -moz-transition: opacity 0.2s ease-in-out; | ||
+ | -o-transition: opacity 0.2s ease-in-out; | ||
+ | transition: opacity 0.2s ease-in-out; | ||
+ | } | ||
+ | |||
+ | #grid-a img.top:hover { | ||
+ | opacity:0; | ||
+ | } | ||
+ | |||
+ | #grid-b img { | ||
+ | -webkit-transition: opacity 0.2s ease-in-out; | ||
+ | -moz-transition: opacity 0.2s ease-in-out; | ||
+ | -o-transition: opacity 0.2s ease-in-out; | ||
+ | transition: opacity 0.2s ease-in-out; | ||
+ | } | ||
+ | |||
+ | #grid-b img.top:hover { | ||
+ | opacity:0; | ||
+ | } | ||
+ | |||
+ | #grid-c img { | ||
+ | -webkit-transition: opacity 0.2s ease-in-out; | ||
+ | -moz-transition: opacity 0.2s ease-in-out; | ||
+ | -o-transition: opacity 0.2s ease-in-out; | ||
+ | transition: opacity 0.2s ease-in-out; | ||
+ | } | ||
+ | |||
+ | #grid-c img.top:hover { | ||
+ | opacity:0; | ||
+ | } | ||
+ | |||
+ | #grid-d img { | ||
+ | -webkit-transition: opacity 0.2s ease-in-out; | ||
+ | -moz-transition: opacity 0.2s ease-in-out; | ||
+ | -o-transition: opacity 0.2s ease-in-out; | ||
+ | transition: opacity 0.2s ease-in-out; | ||
+ | } | ||
+ | |||
+ | #grid-d img.top:hover { | ||
+ | opacity:0; | ||
+ | } | ||
+ | |||
+ | #grid-e img { | ||
+ | -webkit-transition: opacity 0.2s ease-in-out; | ||
+ | -moz-transition: opacity 0.2s ease-in-out; | ||
+ | -o-transition: opacity 0.2s ease-in-out; | ||
+ | transition: opacity 0.2s ease-in-out; | ||
+ | } | ||
+ | |||
+ | #grid-e img.top:hover { | ||
+ | opacity:0; | ||
+ | } | ||
+ | |||
+ | #grid-f img { | ||
+ | -webkit-transition: opacity 0.2s ease-in-out; | ||
+ | -moz-transition: opacity 0.2s ease-in-out; | ||
+ | -o-transition: opacity 0.2s ease-in-out; | ||
+ | transition: opacity 0.2s ease-in-out; | ||
+ | } | ||
+ | |||
+ | #grid-f img.top:hover { | ||
+ | opacity:0; | ||
+ | } | ||
+ | |||
+ | /* Hover effect in grid pictures end | ||
+ | Grid pictures styling begin */ | ||
+ | |||
+ | .top { | ||
+ | width: 277px; | ||
+ | } | ||
+ | |||
+ | .grid-pic { | ||
+ | width: 276.5px; | ||
+ | } | ||
+ | |||
+ | .grid-test { | ||
+ | width: 200px; | ||
+ | } | ||
+ | |||
+ | /* Grid pictures styling ends */ | ||
+ | |||
+ | |||
+ | |||
+ | #drop-down ul { | ||
+ | text-align: left; | ||
+ | display: inline; | ||
+ | margin: 0; | ||
+ | /*padding: 15px 4px 17px 0;*/ | ||
+ | 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); | ||
+ | box-shadow: 0 0 5px rgba(0, 0, 0, 0.15); | ||
+ | } | ||
+ | #drop-down ul li { | ||
+ | font: bold 12px/18px sans-serif; | ||
+ | display: inline-block; | ||
+ | margin-right: -4px; | ||
+ | position: relative; | ||
+ | padding: 6.5px 0px; | ||
+ | background: #22409a; | ||
+ | cursor: pointer; | ||
+ | -webkit-transition: all 0.2s; | ||
+ | -moz-transition: all 0.2s; | ||
+ | -ms-transition: all 0.2s; | ||
+ | -o-transition: all 0.2s; | ||
+ | transition: all 0.2s; | ||
+ | } | ||
+ | #drop-down ul li:hover { | ||
+ | background: #0089d1; | ||
+ | color: #fff; | ||
+ | } | ||
+ | #drop-down ul li ul { | ||
+ | padding: 0; | ||
+ | position: absolute; | ||
+ | top: 54px; | ||
+ | left: 0; | ||
+ | width: 150px; | ||
+ | -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; | ||
+ | } | ||
+ | #drop-down ul li ul li { | ||
+ | background: #22409a; | ||
+ | display: block; | ||
+ | color: #fff; | ||
+ | text-shadow: 0 -1px 0 #000; | ||
+ | } | ||
+ | #drop-down ul li ul li:hover { background: #0089d1; } | ||
+ | #drop-down ul li:hover ul { | ||
+ | display: block; | ||
+ | opacity: 1; | ||
+ | visibility: visible; | ||
+ | } | ||
+ | |||
+ | #drop-down ul li a { | ||
+ | display: block; | ||
+ | text-decoration: none; | ||
+ | color: #fff; | ||
+ | font-size: 14px; | ||
+ | padding-left: 5px; | ||
+ | z-index: 122112122 | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | #navbar { | ||
+ | width: 900px; | ||
+ | height: 60px; | ||
+ | background-color: #22409a; | ||
+ | margin-left: 50px; | ||
+ | margin-top: 75px; | ||
+ | } | ||
+ | |||
+ | .ad { | ||
+ | margin-left: 5px; | ||
+ | } | ||
+ | |||
+ | |||
+ | </style> | ||
+ | </html> |
Revision as of 18:16, 15 August 2013