Team:Amsterdam/Sandbox
From 2011.igem.org
(Difference between revisions)
Pvandieken (Talk | contribs) |
Pvandieken (Talk | contribs) |
||
Line 1: | Line 1: | ||
- | <html> | + | <html> |
+ | <script type="text/javascript" src="http://www.lokeshdhakar.com/projects/lightbox2/js/prototype.js"></script> | ||
+ | <script type="text/javascript" src="http://www.lokeshdhakar.com/projects/lightbox2/js/scriptaculous.js?load=effects,builder"></script> | ||
+ | <script type="text/javascript" src="http://www.lokeshdhakar.com/projects/lightbox2/js/lightbox.js"></script> | ||
+ | <link rel="stylesheet" href="http://www.lokeshdhakar.com/projects/lightbox2/css/lightbox.css" type="text/css" media="screen" /> | ||
- | < | + | <style type="text/css"> |
+ | /* Place all stylesheet code here */ | ||
+ | |||
+ | div#header a img, div#header h4 a { opacity: 1; text-shadow: 0 0 1px rgba(0,0,0,.01); } | ||
- | + | body { background: #fff url(/playground/css3-polaroids/wood-bg.jpg); } | |
- | + | ||
- | + | ||
- | + | div#content a { color: #000; font-weight: bold; } | |
- | + | div#content a:hover { color: #333; } | |
- | + | ||
- | + | div#content h1, div#content h2, div#content h3, div#content h4, div#content h5, div#content h6, div#content p { text-shadow: 0 1px 1px rgba(255,255,255,.5); } | |
- | + | div#content h1, div#content h2, div#content h3, div#content h4, div#content h5, div#content h6 { color: #62412e; } | |
- | + | div#content h2 { margin-bottom: 0; } | |
- | + | div#content p { font-size: 14px; line-height: 20px; margin-bottom: 20px; color: #584941; } | |
- | + | div#content p small { display: block; font-size: 12px; line-height: 18px; color: #584941; } | |
- | + | ||
- | + | div#footer { padding: 0 0 36px; } | |
- | + | ||
- | + | div#pageHeader h1 { font-size: 45px; margin-bottom: 4px; color: #62412e; text-shadow: 0 1px 1px rgba(255,255,255,.5); } | |
- | + | div#pageHeader p { font-size: 18px; line-height: 24px; margin-right: 25%; margin-bottom: 20px; color: #584941; text-shadow: 0 1px 1px rgba(255,255,255,.5); } | |
- | + | div#pageHeader p small { font-size: 14px; line-height: 18px; color: #584941; opacity: .75; } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
+ | div.zurb.divider { background-image: url(/playground/css3-polaroids/zurb-divider.png); } | ||
+ | pre { background: #f5f5f5; margin: 0 0 18px; padding: 13px 18px 14px; -webkit-border-radius: 3px; -moz-border-radius: 3px; text-shadow: 0 1px 1px #fff; font-size: 11px; line-height: 16px; } | ||
- | </ | + | /* -------------------------------------------------- */ |
- | </ | + | |
+ | ul.polaroids { width: 970px; margin: 0 0 18px -30px; } | ||
+ | ul.polaroids li { display: inline; } | ||
+ | ul.polaroids a { background: #fff; display: inline; float: left; margin: 0 0 27px 30px; width: auto; padding: 10px 10px 15px; text-align: center; font-family: "Marker Felt", sans-serif; text-decoration: none; color: #333; font-size: 18px; -webkit-box-shadow: 0 3px 6px rgba(0,0,0,.25); -moz-box-shadow: 0 3px 6px rgba(0,0,0,.25); -webkit-transform: rotate(-2deg); -webkit-transition: -webkit-transform .15s linear; -moz-transform: rotate(-2deg); } | ||
+ | ul.polaroids img { display: block; width: 190px; margin-bottom: 12px; } | ||
+ | ul.polaroids a:after { content: attr(title); } | ||
+ | |||
+ | ul.polaroids li:nth-child(even) a { -webkit-transform: rotate(2deg); -moz-transform: rotate(2deg); } | ||
+ | ul.polaroids li:nth-child(3n) a { -webkit-transform: none; position: relative; top: -5px; -moz-transform: none; } | ||
+ | ul.polaroids li:nth-child(5n) a { -webkit-transform: rotate(5deg); position: relative; right: 5px; -moz-transform: rotate(5deg); } | ||
+ | ul.polaroids li:nth-child(8n) a { position: relative; right: 5px; top: 8px; } | ||
+ | ul.polaroids li:nth-child(11n) a { position: relative; left: -5px; top: 3px; } | ||
+ | |||
+ | ul.polaroids li.messy a { margin-top: -375px; margin-left: 160px; -webkit-transform: rotate(-5deg); -moz-transform: rotate(-5deg); } | ||
+ | |||
+ | ul.polaroids li a:hover { -webkit-transform: scale(1.25); -moz-transform: scale(1.25); -webkit-box-shadow: 0 3px 6px rgba(0,0,0,.5); -moz-box-shadow: 0 3px 6px rgba(0,0,0,.5); position: relative; z-index: 5; } | ||
+ | |||
+ | code { background: rgba(0,0,0,.5); padding: 2px 3px; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.75); -webkit-border-radius: 3px; -moz-border-radius: 3px; } | ||
+ | |||
+ | ol.code { background: rgba(0,0,0,.75); margin-bottom: 18px; border: solid rgba(0,0,0,.75); border-width: 1px 1px 0; -webkit-border-radius: 3px; -moz-border-radius: 3px; -webkit-box-shadow: 0 1px 1px rgba(255,255,255,.5); } | ||
+ | ol.code li, ol.code li code { font-size: 14px !important; } | ||
+ | ol.code code { background: none; } | ||
+ | </style> | ||
+ | <ul class="polaroids"> | ||
+ | <li> | ||
+ | <a href="https://static.igem.org/mediawiki/2011/d/dc/P1130190.jpg" rel="lightbox" title="Roeland!"> | ||
+ | <img src="https://static.igem.org/mediawiki/2011/d/dc/P1130190.jpg" alt="Roeland!" /> | ||
+ | </a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="http://www.flickr.com/photos/zurbinc/3985295842/" title="Discussion"> | ||
+ | <img src="/playground/css3-polaroids/image-02.jpg" alt="Discussion" /> | ||
+ | </a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="http://www.flickr.com/photos/zurbinc/3993123611/" title="A Hearty Laugh"> | ||
+ | <img src="/playground/css3-polaroids/image-03.jpg" alt="A Hearty Laugh" /> | ||
+ | </a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="http://www.flickr.com/photos/zurbinc/4001991326/" title="Evil Matt Coding"> | ||
+ | <img src="/playground/css3-polaroids/image-04.jpg" alt="Evil Matt Coding" /> | ||
+ | </a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="http://www.flickr.com/photos/zurbinc/4001992350/" title="Amanda Glares..."> | ||
+ | <img src="/playground/css3-polaroids/image-05.jpg" alt="Amanda Glares..." /> | ||
+ | </a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="http://www.flickr.com/photos/zurbinc/4001229589/" title="Scribble scribble..."> | ||
+ | <img src="/playground/css3-polaroids/image-06.jpg" alt="Scribbles" /> | ||
+ | </a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="http://www.flickr.com/photos/zurbinc/3957026139/" title="The Dougernaut"> | ||
+ | <img src="/playground/css3-polaroids/image-07.jpg" alt="The Dougernaut" /> | ||
+ | </a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="http://www.flickr.com/photos/zurbinc/3428777148/" title="I See You!"> | ||
+ | <img src="/playground/css3-polaroids/image-08.jpg" alt="I See You!" /> | ||
+ | </a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="http://www.flickr.com/photos/zurbinc/3799720274/" title="Rock Hard Balls"> | ||
+ | <img src="/playground/css3-polaroids/image-09.jpg" alt="Rock Hard Balls" /> | ||
+ | </a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="http://www.flickr.com/photos/zurbinc/3799719490/" title="Bocce Ball"> | ||
+ | <img src="/playground/css3-polaroids/image-10.jpg" alt="Bocce Ball" /> | ||
+ | </a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="http://www.flickr.com/photos/zurbinc/3888563172/" title='Boris "Tatooine"'> | ||
+ | <img src="/playground/css3-polaroids/image-11.jpg" alt='Boris "Tatooine"' /> | ||
+ | </a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="http://www.flickr.com/photos/zurbinc/3427934527/" title="Sneakers & Stilettos"> | ||
+ | <img src="/playground/css3-polaroids/image-12.jpg" alt="Sneakers & Stilettos" /> | ||
+ | </a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </html |
Revision as of 13:10, 13 September 2011