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>
 +
<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" />
-
<title>An Awesome CSS3 Lightbox Gallery With jQuery | Tutorialzine demo</title>  
+
<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); }
   
   
-
<link rel="stylesheet" type="text/css" href="http://demo.tutorialzine.com/2009/11/hovering-gallery-css3-jquery/demo.css" />
+
body { background: #fff url(/playground/css3-polaroids/wood-bg.jpg); }
-
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/ui-darkness/jquery-ui.css" type="text/css" media="all" />
+
-
<link rel="stylesheet" type="text/css" href="http://demo.tutorialzine.com/2009/11/hovering-gallery-css3-jquery/fancybox/jquery.fancybox-1.2.6.css" />
+
   
   
-
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
+
div#content a { color: #000; font-weight: bold; }
-
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
+
div#content a:hover { color: #333; }
-
<script type="text/javascript" src="http://demo.tutorialzine.com/2009/11/hovering-gallery-css3-jquery/fancybox/jquery.fancybox-1.2.6.pack.js"></script>
+
-
<script type="text/javascript" src="http://demo.tutorialzine.com/2009/11/hovering-gallery-css3-jquery/script.js"></script>
+
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; }
-
<body>
+
div#content h2 { margin-bottom: 0; }
-
+
div#content p { font-size: 14px; line-height: 20px; margin-bottom: 20px; color: #584941; }
-
<div id="main">
+
div#content p small { display: block; font-size: 12px; line-height: 18px; color: #584941; }
-
 
+
-
<div id="gallery">
+
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 id="pic-1" class="pic" style="top:13px;left:438px;background:url(img/thumbs/colosseum.jpg) no-repeat 50% 50%; -moz-transform:rotate(20deg); -webkit-transform:rotate(20deg);">
+
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); }
-
<a class="fancybox" rel="fncbx" href="img/original/colosseum.jpg" target="_blank">colosseum</a>
+
div#pageHeader p small { font-size: 14px; line-height: 18px; color: #584941; opacity: .75; }
-
</div>
+
-
<div id="pic-2" class="pic" style="top:143px;left:595px;background:url(https://static.igem.org/mediawiki/2011/9/9a/P1130193.jpg) no-repeat 50% 50%; -moz-transform:rotate(-38deg); -webkit-transform:rotate(-38deg);">
+
-
<a class="fancybox" rel="fncbx" href="https://static.igem.org/mediawiki/2011/9/9a/P1130193.jpg" target="_blank">industrial-mech</a>
+
-
</div>
+
-
<div id="pic-3" class="pic" style="top:155px;left:271px;background:url(img/thumbs/4-green-beach.jpg) no-repeat 50% 50%; -moz-transform:rotate(-8deg); -webkit-transform:rotate(-8deg);">
+
-
<a class="fancybox" rel="fncbx" href="img/original/4-green-beach.jpg" target="_blank">4-green-beach</a>
+
-
</div>
+
-
<div id="pic-4" class="pic" style="top:248px;left:4px;background:url(img/thumbs/2-breast-stroke.jpg) no-repeat 50% 50%; -moz-transform:rotate(-20deg); -webkit-transform:rotate(-20deg);">
+
-
<a class="fancybox" rel="fncbx" href="img/original/2-breast-stroke.jpg" target="_blank">2-breast-stroke</a>
+
-
</div>
+
-
<div id="pic-5" class="pic" style="top:140px;left:536px;background:url(img/thumbs/sands-of-life.jpg) no-repeat 50% 50%; -moz-transform:rotate(-17deg); -webkit-transform:rotate(-17deg);">
+
-
<a class="fancybox" rel="fncbx" href="img/original/sands-of-life.jpg" target="_blank">sands-of-life</a>
+
-
</div>
+
-
<div id="pic-6" class="pic" style="top:180px;left:306px;background:url(img/thumbs/sahale-wa.jpg) no-repeat 50% 50%; -moz-transform:rotate(38deg); -webkit-transform:rotate(38deg);">
+
-
<a class="fancybox" rel="fncbx" href="img/original/sahale-wa.jpg" target="_blank">sahale-wa</a>
+
-
</div>
+
-
<div id="pic-7" class="pic" style="top:263px;left:274px;background:url(img/thumbs/bamboo.jpg) no-repeat 50% 50%; -moz-transform:rotate(28deg); -webkit-transform:rotate(28deg);">
+
-
<a class="fancybox" rel="fncbx" href="img/original/bamboo.jpg" target="_blank">bamboo</a>
+
-
</div>
+
-
<div id="pic-8" class="pic" style="top:37px;left:207px;background:url(img/thumbs/1-california-surfing.jpg) no-repeat 50% 50%; -moz-transform:rotate(-12deg); -webkit-transform:rotate(-12deg);">
+
-
<a class="fancybox" rel="fncbx" href="img/original/1-california-surfing.jpg" target="_blank">1-california-surfing</a>
+
-
</div>
+
-
<div id="pic-9" class="pic" style="top:216px;left:55px;background:url(img/thumbs/farm.jpg) no-repeat 50% 50%; -moz-transform:rotate(20deg); -webkit-transform:rotate(20deg);">
+
-
<a class="fancybox" rel="fncbx" href="img/original/farm.jpg" target="_blank">farm</a>
+
-
</div>
+
-
<div id="pic-10" class="pic" style="top:250px;left:414px;background:url(img/thumbs/spice.jpg) no-repeat 50% 50%; -moz-transform:rotate(-22deg); -webkit-transform:rotate(-22deg);">
+
-
<a class="fancybox" rel="fncbx" href="img/original/spice.jpg" target="_blank">spice</a>
+
-
</div>
+
-
<div id="pic-11" class="pic" style="top:141px;left:41px;background:url(img/thumbs/sports-car.jpg) no-repeat 50% 50%; -moz-transform:rotate(-20deg); -webkit-transform:rotate(-20deg);">
+
-
<a class="fancybox" rel="fncbx" href="img/original/sports-car.jpg" target="_blank">sports-car</a>
+
-
</div>
+
-
<div id="pic-12" class="pic" style="top:138px;left:488px;background:url(img/thumbs/endurance.jpg) no-repeat 50% 50%; -moz-transform:rotate(9deg); -webkit-transform:rotate(9deg);">
+
-
<a class="fancybox" rel="fncbx" href="img/original/endurance.jpg" target="_blank">endurance</a>
+
-
</div>
+
-
<div id="pic-13" class="pic" style="top:69px;left:278px;background:url(img/thumbs/bahnhoff.jpg) no-repeat 50% 50%; -moz-transform:rotate(40deg); -webkit-transform:rotate(40deg);">
+
-
<a class="fancybox" rel="fncbx" href="img/original/bahnhoff.jpg" target="_blank">bahnhoff</a>
+
-
</div>
+
-
<div id="pic-14" class="pic" style="top:322px;left:144px;background:url(img/thumbs/blue-green-nature.jpg) no-repeat 50% 50%; -moz-transform:rotate(10deg); -webkit-transform:rotate(10deg);">
+
-
<a class="fancybox" rel="fncbx" href="img/original/blue-green-nature.jpg" target="_blank">blue-green-nature</a>
+
-
</div>
+
-
<div id="pic-15" class="pic" style="top:279px;left:295px;background:url(img/thumbs/tonemapped.jpg) no-repeat 50% 50%; -moz-transform:rotate(38deg); -webkit-transform:rotate(38deg);">
+
-
<a class="fancybox" rel="fncbx" href="img/original/tonemapped.jpg" target="_blank">tonemapped</a>
+
-
</div>
+
-
<div id="pic-16" class="pic" style="top:83px;left:466px;background:url(img/thumbs/whoooosh.jpg) no-repeat 50% 50%; -moz-transform:rotate(-7deg); -webkit-transform:rotate(-7deg);">
+
-
<a class="fancybox" rel="fncbx" href="img/original/whoooosh.jpg" target="_blank">whoooosh</a>
+
-
</div>    <div class="drop-box">
+
-
    </div>
+
-
   
+
-
</div>
+
-
   
+
-
<div class="clear"></div>
+
-
   
+
   
   
 +
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; }
   
   
-
</body>  
+
/* -------------------------------------------------- */
-
</html>
+
 +
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 &amp; Stilettos">
 +
<img src="/playground/css3-polaroids/image-12.jpg" alt="Sneakers &amp; Stilettos" />
 +
</a>
 +
</li>
 +
</ul>
 +
</html

Revision as of 13:10, 13 September 2011