Team:Amsterdam/Sandbox

From 2011.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
-
<script type="text/javascript" src="http://www.lokeshdhakar.com/projects/lightbox2/js/prototype.js"></script>
+
<style type="text/css">
-
<script type="text/javascript" src="http://www.lokeshdhakar.com/projects/lightbox2/js/scriptaculous.js?load=effects,builder"></script>
+
*, body {
-
<script type="text/javascript" src="http://www.lokeshdhakar.com/projects/lightbox2/js/lightbox.js"></script>
+
margin:0;
-
<link rel="stylesheet" href="http://www.lokeshdhakar.com/projects/lightbox2/css/lightbox.css" type="text/css" media="screen" />
+
padding:0;
 +
}
 +
#imageGallery {
 +
margin:25px;
 +
width:640px;
 +
border: 1px solid #f0f0f0;
 +
}
 +
.imageZoom ul {
 +
  height:420px;
 +
  padding:10px;
 +
  margin:0;
 +
}
 +
.imageZoom ul li {
 +
list-style: none;
 +
margin:0;
 +
padding:0;
 +
float:left;
 +
width:0;
 +
height:130px;
 +
}
-
<style type="text/css">
+
.imageZoom ul li img {
-
/* Place all stylesheet code here */
+
margin:0;
-
+
width:0;
-
div#header a img, div#header h4 a { opacity: 1; text-shadow: 0 0 1px rgba(0,0,0,.01); }
+
height:0;
-
+
border:0;
-
body { background: #fff url(/playground/css3-polaroids/wood-bg.jpg); }
+
overflow: hidden;
-
+
 
-
div#content a { color: #000; font-weight: bold; }
+
}
-
div#content a:hover { color: #333; }
+
.imageZoom ul li:target img {
-
+
width:640px;
-
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); }
+
height:420px;
-
div#content h1, div#content h2, div#content h3, div#content h4, div#content h5, div#content h6 { color: #62412e; }
+
border:1px solid #f0f0f0;
-
div#content h2 { margin-bottom: 0; }
+
}
-
div#content p { font-size: 14px; line-height: 20px; margin-bottom: 20px; color: #584941; }
+
.imagePreview {
-
div#content p small { display: block; font-size: 12px; line-height: 18px; color: #584941; }
+
height:120px;
-
+
  margin:0;
-
div#footer { padding: 0 0 36px; }
+
  padding:0;
-
+
  background: #f0f0f0;
-
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); }
+
.imagePreview ul {
-
div#pageHeader p small { font-size: 14px; line-height: 18px; color: #584941; opacity: .75; }
+
    margin:0;
-
+
    padding:0;
-
div.zurb.divider { background-image: url(/playground/css3-polaroids/zurb-divider.png); }
+
    list-style: none;
-
+
}
-
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; }
+
.imagePreview ul li{
-
+
float: left;
-
/* -------------------------------------------------- */
+
text-align: center;
-
+
  margin:10px;
-
ul.polaroids { width: 970px; margin: 0 0 18px -30px; }
+
padding:0;
-
ul.polaroids li { display: inline; }
+
  background: #f0f0f0;
-
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); }
+
.imagePreview ul li img {
-
+
  border: 1px solid #9f9f9f;
-
ul.polaroids li:nth-child(even) a { -webkit-transform: rotate(2deg); -moz-transform: rotate(2deg); }
+
  padding:2px;
-
ul.polaroids li:nth-child(3n) a { -webkit-transform: none; position: relative; top: -5px;  -moz-transform: none; }
+
margin:0;   
-
ul.polaroids li:nth-child(5n) a { -webkit-transform: rotate(5deg); position: relative; right: 5px;  -moz-transform: rotate(5deg); }
+
background-color: #fff;
-
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; }
+
.imagePreview ul li a {
-
+
outline: 0;
-
ul.polaroids li.messy a { margin-top: -375px; margin-left: 160px; -webkit-transform: rotate(-5deg); -moz-transform: rotate(-5deg); }
+
}
-
+
.imagePreview ul li a:hover img,
-
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; }
+
.imagePreview ul li a:active img,
-
+
.imagePreview ul li a:focus img {
-
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; }
+
  border-color:#fff;
-
+
}
-
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); }
+
</style>
-
ol.code li, ol.code li code { font-size: 14px !important; }
+
 
-
ol.code code { background: none; }
+
<body>
-
    </style>  
+
 
-
<ul class="polaroids">  
+
<div id="imageGallery">
-
<li>  
+
 
-
<a href="https://static.igem.org/mediawiki/2011/d/dc/P1130190.jpg" rel="lightbox" title="Roeland!">  
+
<div class="imageZoom">
-
<img src="https://static.igem.org/mediawiki/2011/d/dc/P1130190.jpg" alt="Roeland!" />  
+
 
-
</a>  
+
<ul>
-
</li>  
+
 
-
<li>  
+
<li id="slide1"><a href="https://static.igem.org/mediawiki/2011/d/dc/P1130190.jpg" title="Yuri and Jorick working hard in the lab"><img alt=Yuri and Jorick working hard in the lab" src="https://static.igem.org/mediawiki/2011/d/dc/P1130190.jpg" /></a></li>
-
<a href="http://www.flickr.com/photos/zurbinc/3985295842/" title="Discussion">  
+
 
-
<img src="/playground/css3-polaroids/image-02.jpg" alt="Discussion" />  
+
<li id="slide2"><a href="https://static.igem.org/mediawiki/2011/9/9a/P1130193.jpg" title="Yuri and Jorick working hard in the lab"><img alt=Yuri and Jorick working hard in the lab" src="https://static.igem.org/mediawiki/2011/9/9a/P1130193.jpg" /></a></li>
-
</a>  
+
 
-
</li>  
+
<li id="slide3"><a href="https://static.igem.org/mediawiki/2011/d/dc/P1130190.jpg" title="Yuri and Jorick working hard in the lab"><img alt=Yuri and Jorick working hard in the lab" src="https://static.igem.org/mediawiki/2011/d/dc/P1130190.jpg" /></a></li>
-
<li>  
+
 
-
<a href="http://www.flickr.com/photos/zurbinc/3993123611/" title="A Hearty Laugh">  
+
<li id="slide4"><a href="https://static.igem.org/mediawiki/2011/9/9a/P1130193.jpg" title="Yuri and Jorick working hard in the lab"><img alt=Yuri and Jorick working hard in the lab" src="https://static.igem.org/mediawiki/2011/9/9a/P1130193.jpg" /></a></li>
-
<img src="/playground/css3-polaroids/image-03.jpg" alt="A Hearty Laugh" />  
+
 
-
</a>  
+
</ul>
-
</li>  
+
 
-
<li>  
+
</div>
-
<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" />  
+
<div class="imagePreview">
-
</a>  
+
 
-
</li>  
+
<ul>
-
<li>  
+
 
-
<a href="http://www.flickr.com/photos/zurbinc/4001992350/" title="Amanda Glares...">  
+
<li><a href="#slide1"><img alt="img1" height= "80" src="https://static.igem.org/mediawiki/2011/d/dc/P1130190.jpg" /></a></li>
-
<img src="/playground/css3-polaroids/image-05.jpg" alt="Amanda Glares..." />  
+
<li><a href="#slide2"><img alt="img1" height= "80" src="https://static.igem.org/mediawiki/2011/9/9a/P1130193.jpg" /></a></li>
-
</a>  
+
<li><a href="#slide3"><img alt="img1" height= "80" src="https://static.igem.org/mediawiki/2011/d/dc/P1130190.jpg" /></a></li>
-
</li>
+
<li><a href="#slide4"><img alt="img1" height= "80" src="https://static.igem.org/mediawiki/2011/9/9a/P1130193.jpg" /></a></li>
-
<li>  
+
 
-
<a href="http://www.flickr.com/photos/zurbinc/4001229589/" title="Scribble scribble...">  
+
</ul>
-
<img src="/playground/css3-polaroids/image-06.jpg" alt="Scribbles" />
+
 
-
</a>
+
</div>
-
</li>
+
 
-
<li>
+
</div>
-
<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>  
+
</body>
-
<li>  
+
 
-
<a href="http://www.flickr.com/photos/zurbinc/3428777148/" title="I See You!">  
+
</html>
-
<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 &amp; Stilettos">  
+
-
<img src="/playground/css3-polaroids/image-12.jpg" alt="Sneakers &amp; Stilettos" />
+
-
</a>  
+
-
</li>  
+
-
</ul>  
+
-
</html
+

Revision as of 13:25, 13 September 2011

  • Yuri
  • Yuri
  • Yuri
  • Yuri
  • img1
  • img1
  • img1
  • img1