Team:Amsterdam/Sandbox
From 2011.igem.org
(Difference between revisions)
Pvandieken (Talk | contribs) |
Pvandieken (Talk | contribs) |
||
Line 1: | Line 1: | ||
- | <html | + | <html> |
- | + | ||
- | < | + | <link rel="stylesheet" type="text/css" href="" /> |
+ | <style type="text/css"> | ||
+ | /* | ||
+ | GALLERY FOTO EFFETTO POLAROID CON | ||
+ | ROTAZIONE ED ANIMAZIONE | ||
- | + | Creata da Enrico Deleo | |
+ | www.lysergicstudio.com | ||
+ | www.enricodeleo.com | ||
+ | www.erriko.it | ||
- | + | LICENZA: rilasciato sotto Creative Commons 3.0 BY-NC | |
- | + | */ | |
- | + | /*************************/ | |
- | + | /******* RESET CSS *******/ | |
- | + | /*************************/ | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
+ | 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; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | body{ | |
- | + | width:100%; | |
- | + | height: 100%; | |
- | + | background: #e2e2e2 url(images/bg.jpg) top left repeat; | |
- | + | font-family: Georgia, serif; | |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | #contenuto{ | |
- | + | width:778px; | |
- | + | display: block; | |
- | + | margin: 50px auto; | |
} | } | ||
- | + | .polaroid{ | |
- | + | width:150px; | |
- | + | background-color: #fff; | |
- | + | border: 1px solid #c2c2c2; | |
- | + | ||
- | + | /* CSS3 box shadow */ | |
+ | -moz-box-shadow:0 0 20px #292929; | ||
+ | -webkit-box-shadow:2px 5px 8px #292929; | ||
+ | box-shadow:2px 5px 8px #292929; | ||
+ | /* fine box shadow */ | ||
+ | |||
+ | padding: 10px 10px 50px 10px; | ||
+ | margin-right: 30px; | ||
+ | float: left; | ||
+ | position: relative; | ||
+ | |||
+ | /* setto la trasformazione per i vari browser che lo supportano*/ | ||
+ | -webkit-transition: all 0.5s ease-in-out; | ||
+ | -moz-transition: all 0.5s ease-in-out; | ||
+ | -o-transition: all 0.5s ease-in-out; | ||
} | } | ||
- | + | .polaroid:last-child{ | |
- | + | margin-right: 0 !important; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | .polaroid img{ | |
- | + | border: 1px solid #222; | |
- | + | background: #000; | |
- | + | width: 150px; | |
- | + | height: 150px; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | . | + | .polaroid span{ |
- | + | position: absolute; | |
- | + | bottom: 20px; | |
- | + | left: 10px; | |
+ | font-style: italic; | ||
} | } | ||
- | . | + | .polaroid:hover{ |
- | + | /* ruoto il box di 8 gradi a sx */ | |
- | + | -webkit-transform: rotate(-8deg); | |
- | + | -moz-transform: rotate(-8deg); | |
- | + | transform: rotate(-8deg); | |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | h1 { | |
- | + | font-size: 40px; | |
- | + | width: 100%; | |
- | + | text-align: right; | |
- | + | font-family: 'Annie Use Your Telescope', arial, serif; | |
- | + | color: #333; | |
- | + | } | |
- | + | ||
- | + | h2 { | |
- | + | font-size: 20px; | |
- | + | width: 100%; | |
- | + | padding-bottom: 20px; | |
- | + | text-align: right; | |
- | + | font-family: 'Annie Use Your Telescope', arial, serif; | |
- | + | color: #333; | |
- | + | } | |
- | + | ||
- | + | a{ | |
- | + | color: #333; | |
- | + | font-weight: bold; | |
- | + | text-decoration: none; | |
- | + | } | |
- | } | + | |
- | + | a#comeback{ | |
- | - | + | font-family: Arial, sans-serif; |
- | + | font-size: 30px; | |
- | + | position: absolute; | |
- | + | bottom: 30px; | |
- | + | left: 20px; | |
- | + | color: #888; | |
- | + | text-shadow: 1px 1px 0px #fff; | |
- | + | } | |
- | + | ||
- | + | a#comeback:hover{ | |
- | + | color: #333; | |
- | + | text-shadow: 1px 1px 0px #fff; | |
- | + | } | |
- | + | ||
- | + | </style> | |
- | + | </head> | |
- | + | <body> | |
- | + | <div id="contenuto"> | |
- | + | <div class="polaroid"><img src="https://static.igem.org/mediawiki/2011/5/53/Jantine2%2C0.jpg" /><span>Jantine Broek</span></div> | |
- | + | <div class="polaroid"><img src="https://static.igem.org/mediawiki/2011/f/ff/Paul2%2C0.jpg" /><span>Paul van Dieken</span></div> | |
- | + | <div class="polaroid"><img src="https://static.igem.org/mediawiki/2011/3/3b/Isoude2%2C0.jpg" /><span>Isoude Kuijper</span></div> | |
- | + | <div class="polaroid"><img src="https://static.igem.org/mediawiki/2011/2/25/Jorick2%2C0.jpg" /><span>Jorick Mul</span></div> | |
- | + | </div> | |
- | + | <div style="clear:both;"></div> | |
- | + | </body> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | </ | + | |
- | + | ||
- | + | ||
- | <body> | + | |
- | + | ||
- | <div id=" | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | <img src = "https://static.igem.org/mediawiki/2011/ | + | |
- | + | ||
- | + | ||
- | + | ||
- | <img src = "https://static.igem.org/mediawiki/2011/ | + | |
- | + | ||
- | + | ||
- | + | ||
- | <img src = "https://static.igem.org/mediawiki/2011/ | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | </div> | + | |
- | + | ||
- | </body> | + | |
- | + | ||
</html> | </html> |
Revision as of 09:09, 9 September 2011
Jantine Broek
Paul van Dieken
Isoude Kuijper
Jorick Mul