Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <script type="text/javascript" src="http://codysherman.com/tools/infinite-scrolling/code"></script>
- <script type="text/javascript"
- src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
- <script>
- $(document).ready(function() {
- //
- $('a.poplight[href^=#]').click(function() {
- var popID = $(this).attr('rel'); //Get Popup Name
- var popURL = $(this).attr('href'); //Get Popup href to define size
- var query= popURL.split('?');
- var dim= query[1].split('&');
- var popWidth = dim[0].split('=')[1]; //Gets the first query string value
- $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"><img src="http://png.findicons.com/files/icons/1714/dropline_neu/24/dialog_close.png" class="btn_close" title="Close" alt="Close" /></a>');
- var popMargTop = ($('#' + popID).height() + 80) / 2;
- var popMargLeft = ($('#' + popID).width() + 80) / 2;
- //Apply Margin to Popup
- $('#' + popID).css({
- 'margin-top' : -popMargTop,
- 'margin-left' : -popMargLeft
- });
- $('body').append('<div id="fade"></div>');
- $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
- return false;
- });
- $('a.close, #fade').live('click', function() {
- $('#fade , .popup_block').fadeOut(function() {
- $('#fade, a.close').remove(); //fade them both out
- });
- return false;
- });
- });
- </script>
- <style type="text/css">
- @font-face {font-family: "handy"; src: url('http://static.tumblr.com/8ls1oxv/AfJlyd5ev/handy00.ttf');}
- @font-face {font-family: "tinytots";src: url('http://static.tumblr.com/rmj06l2/Usellxb4i/tinytots.ttf');}
- body{
- color:black;
- font-family:tinytots;
- font-size:8px;
- color:#bbb;
- background:url(http://media.tumblr.com/tumblr_lpwovn6XPC1qcn2vb.png);
- }
- a:link, a:active, a:visited{
- color: #5f5f5f;
- text-decoration: none;
- -webkit-transition: all 0.6s ease-out;-moz-transition: all 0.6s ease-out;-o-transition: all 0.6s ease-out;transition: all 0.6s ease-out;
- }
- a:hover{
- color:#fff;
- text-decoration: none;
- -webkit-transition: all 0.3s ease-out;-moz-transition: all 0.3s ease-out;-o-transition: all 0.3s ease-out;transition: all 0.3s ease-out;
- text-shadow:0px 0px 2px #999;
- cursor: url(http://i.imgur.com/2qleX.jpg), auto;
- }
- #fade { /*--Transparent background layer--*/
- display: none; /*--hidden by default--*/
- background: #000;
- position: fixed; left: 0; top: 0;
- width: 100%; height: 100%;
- opacity: .80;
- z-index: 9999;
- }
- .popup_block{
- display: none; /*--hidden by default--*/
- background-image:url(http://static.tumblr.com/jdjsstr/nzFmdcmva/tumblr_m15diud8ke1qe92a9.png);
- padding: 20px;
- border: 1px solid #aaa;
- float: left;
- font-size: 8px;
- font-family:'handy';
- position: fixed;
- top: 50%; left: 50%;
- z-index: 99999;
- /*--CSS3 Box Shadows--*/
- -webkit-box-shadow: 0px 0px 20px #000;
- -moz-box-shadow: 0px 0px 20px #000;
- box-shadow: 0px 0px 20px #000;
- /*--CSS3 Rounded Corners--*/
- -webkit-border-radius: 10px;
- -moz-border-radius: 10px;
- border-radius: 10px;
- }
- img.btn_close {
- float: right;
- margin: -5px -5px 0 0;
- }
- /*--Making IE6 Understand Fixed Positioning--*/
- *html #fade {
- position: absolute;
- }
- *html .popup_block {
- position: absolute;
- }
- #posts{
- float:center;
- {block:indexpage}
- width:700px;
- {/block:indexpage}
- {block:permalinkpage}
- width:900px;
- {/block:permalinkpage}
- margin-left: 500px;
- margin-top: 0px;
- }
- #entry{
- font-family: tinytots;
- text-transform:uppercase;
- font-size: 8px;
- line height: 11px;
- text-align:center;
- float:left;
- width: 330px;
- height: auto;
- {block:PermalinkPage}
- width: 600px;
- height: auto;
- {/block:PermalinkPage}
- line-height:8px;
- background-color:#fff;
- padding:3px;
- padding-bottom:2px;
- margin-right:10px;
- overflow:hidden;
- margin-bottom:10px;
- border: 1px dotted #999;
- opacity:0.8;
- box-shadow: 0px 0px 5px #ddd;
- -o-transition-transition: all 1.0s ease-out;
- -webkit-transition: all 1.0s ease-out;
- -moz-transition: all 1.0s ease-out;
- }
- #entry:hover{
- opacity: 1.0;
- transition: all 1.0s ease-out;
- -o-transition-transition: all 1.0s ease-out;
- -webkit-transition: all 1.0s ease-out;
- -moz-transition: all 1.0s ease-out;
- }
- #entry .perma a{
- color:;}
- #entry .permalinktext {
- width:100px;
- height: auto;
- padding:2px;
- font-family: 'handy';
- text-transform:uppercase;
- position: absolute;
- font-size: 8px;
- line-height: 11px;
- text-align: center;
- overflow:hidden;
- border: 1px dotted #999;
- opacity: 0.0;
- background-color:#fff;
- letter-spacing:0px;
- margin-top:5px;
- margin-left: -5px;
- border-radius: 0px;
- -webkit-transition: opacity 0.5s linear; opacity: 0.0;
- -webkit-transition: all 0.5s linear;
- -moz-transition: all 0.5s linear;
- transition: all 0.5s linear;
- }
- #entry:hover .permalinktext {
- margin-top: 5px;
- opacity: 0.8;
- margin-left: 5px;
- width: 100px;
- text-transform:uppercase;
- overflow:visible;
- -webkit-transition: all 0.5s linear;
- -webkit-transition: all 0.5s linear;
- -moz-transition: all 0.5s linear;
- transition: all 0.5s linear;
- }
- #entry .perma a{
- color:;
- -webkit-transition: color 0.9s ease-out;
- -moz-transition: color 0.9s ease-out;
- }
- #entry .perma{
- width:100px;
- height: auto;
- padding:2px;
- font-family: 'handy';
- text-transform:uppercase;
- position: absolute;
- font-size: 8px;
- line-height: 11px;
- text-align: center;
- overflow:hidden;
- border: 1px dotted #999;
- opacity: 0.0;
- background-color:#fff;
- letter-spacing:0px;
- margin-top:5px;
- margin-left: -5px;
- border-radius: 0px;
- -webkit-transition: opacity 0.5s linear; opacity: 0.0;
- -webkit-transition: all 0.5s linear;
- -moz-transition: all 0.5s linear;
- transition: all 0.5s linear;
- }
- #entry:hover .perma{
- margin-top: 5px;
- opacity: 0.8;
- margin-left: 5px;
- width: 100px;
- text-transform:uppercase;
- overflow:visible;
- -webkit-transition: all 0.5s linear;
- -webkit-transition: all 0.5s linear;
- -moz-transition: all 0.5s linear;
- transition: all 0.5s linear;
- }
- #sidebar{
- border:1px dotted #aaa;
- background:white;
- width:300px;
- height:200px;
- margin-top:160px;
- margin-left:50px;
- position:fixed;
- padding:5px;
- -box-shadow: 0px 0px 5px #ffbfbf;
- }
- #sidebottom{
- border:1px dotted #aaa;
- background:white;
- width:300px;
- position:fixed;
- padding:5px;
- margin-top:380px;
- margin-left:50px;
- }
- .top{
- position:fixed;
- font-family:'Lobster';
- font-size:50px;
- color:#CF864A;
- margin-top:100px;
- margin-left:50px;
- border-bottom:5px dotted #ddd;
- }
- h2{
- font-family:'Lobster';
- font-size:30px;
- line-height:20px;
- text-transform:none;
- color:#aaa;
- }
- h3{
- width:306px;
- background:white;
- margin-left:-5px;
- margin-top:-30px;
- padding:1px;
- z-index:9;
- opacity:.9;
- border:1px dotted #ddd;
- }
- #links{
- margin-left:370px;
- margin-top:180px;
- position:fixed;
- }
- .chicken{
- width: 50px;
- overflow:hidden;
- border:3px solid #transp;
- background-color:#transp;}
- .pot{
- padding-top:-5px;
- text-align:center;
- width:50px;
- font-family:calibri;
- text-transform:uppercase;
- letter-spacing:1px;
- font-size:8px;
- background-color:#transp;}
- .pot a{
- color:#aaa;
- -webkit-transition: all 0.5s ease;
- -moz-transition: all 0.5s ease;
- -o-transition: all 0.5s ease;
- }
- .pot a:hover {
- color:#aaa;
- -webkit-transition: all 0.5s ease;
- -moz-transition: all 0.5s ease;
- -o-transition: all 0.5s ease;
- }
- #string{
- margin-left:-50px;
- -webkit-transition: all 0.8s ease-out;-moz-transition: all 0.8s ease-out;transition: all 0.8s ease-out;}
- #string:hover{
- margin-left:0px;}
- {CustomCSS}
- </style>
- </head>
- <link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>
- <body>
- <div class="top">{Title}</div>
- <div id="links">
- <div class="chicken">
- <table border="0" cellpadding="0" cellspacing="0" id="string"><tr>
- <td><div class="pot"><font size="3"><a href="/">Home</a></font></div></td><td><a href="/"><img src="http://static.tumblr.com/ejm8w78/lhflz2pxj/home.png" style="padding-bottom:0px;" width="30px"></a></td></tr></table></div><br><br><br>
- <div class="chicken">
- <table border="0" cellpadding="0" cellspacing="0" id="string"><tr>
- <td><div class="pot"><font size="3"><a href="#?w=500" rel="mailbox" class="poplight">Ask</a></font></div></td><td><a href="#?w=390" rel="ask" class="poplight"><img src="http://static.tumblr.com/ejm8w78/w3Qlz2pzs/email.png" style="padding-bottom:0px;" width="30px"></a></td></tr></table></div><br><br><br>
- <div class="chicken">
- <table border="0" cellpadding="0" cellspacing="0" id="string"><tr>
- <td><div class="pot"><font size="3"><a href="#?w=500" rel="more" class="poplight">More</a></font></div></td><td><a href="#?w=390" rel="ask" class="poplight"><a href="#?w=330" rel="link" class="poplight"><img src="http://static.tumblr.com/ejm8w78/onElz2rsp/folder.png" style="padding-bottom:0px;" width="30px"></a></td></tr></table></div><br><br><br>
- <div class="chicken">
- <table border="0" cellpadding="0" cellspacing="0" id="string"><tr>
- <td><div class="pot"><font size="3"><a href="#?w=500" rel="credits" class="poplight">Cred</a></font></div></td><td><a href="#?w=390" rel="ask" class="poplight"><a href="http://themesmadebybrianna.tumblr.com/" target="_blank"><img src="http://static.tumblr.com/ejm8w78/5j5lz2s6p/heart.png" width="30px"></a></td></tr></table></div><br><br><br>
- </div>
- <div id="sidebar">
- <img src="http://25.media.tumblr.com/018e5788f0993a7deaf85908e83ef1fa/tumblr_mfadatDTjv1qd8q7fo1_500.jpg" width="300" class="description">
- <h3><center><a href="/">Link</a> · <a href="/">Link</a> · <a href="/">Link</a> · <a href="/">Link</a></center></h3>
- </div>
- <div id="sidebottom">
- {Description}<br><br>
- Themed By Flatte-Cafe<br>
- Based Codes from Z4yner
- </div>
- <div id="posts">
- {block:Posts}
- <div id="entry">
- {block:IndexPage}
- <div class="perma">
- <a href="{permalink}">{NoteCountWithLabel}</a> · <a> <a href="{ReblogURL}" target="_blank"> reblog </a></span></div>
- {/block:IndexPage}
- {block:Text}
- {block:Title}<h2>{Title}</h2>{/block:Title}
- <span class="entrytext">{Body}</span>
- {/block:Text}
- {block:Link}
- <a href="{URL}" class="title"><h2>{Name}</h2></a>
- {block:Description}{Description}{/block:Description}
- {block:Link}
- {block:Photo}
- {block:IndexPage}<img src="{PhotoURL-500}" alt="{PhotoAlt}" width="330" /></a>{/block:IndexPage}{block:PermalinkPage}{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"width=460px/>{LinkCloseTag}{/block:PermalinkPage}
- {/block:Photo}
- {block:Quote}
- <span class="entrytext"><h2>{Quote}</h2></span>
- {block:Source}<b><a href="{Permalink}">{Source}</a></b>{/block:Source}
- {/block:Quote}
- {block:Chat}
- {block:Title}<span class="title"><h2>{Title}</span>{/block:Title}
- <ul class="chat">
- {block:Lines}
- <li class="user_{UserNumber}">
- {block:Label}
- <span class="label">{Label}</span>
- {/block:Label}
- {Line}
- </li>
- {/block:Lines}
- </ul>
- {/block:Chat}
- {block:Audio}
- <center><div style="width:300px; height:28px;"><div style="float:left">{AudioPlayerGrey}</div><div style="margin-top:10px; float:left;">
- {block:ExternalAudio}{/block:ExternalAudio}</div></div></center><br>
- {/block:Audio}
- {block:Video}<center>
- <div style="padding-top:0px; padding-bottom:2px;">
- {Video-250}</div>
- <div style="padding-bottom:5px;">{block:Caption}{/block:Caption}</div>
- {block:Video}
- {block:Answer}
- <br>
- <div style="border-radius:5px; border: 3px double #dddddd; margin: 3px; margin-top: -2px; height:30px; overflow:auto; padding: 3px; background: white; box-shadow: 0px 0px 5px 3px #eee;">
- <img src="{AskerPortraitURL-30}" width="30" align="left" style="margin-right:3px; box-shadow: 0px 0px 0px 2px #E6DFDF; border-radius: 3px;"/>
- <askk>{Asker}</askk>: {Question}<br></div>
- <div style="font-family: arma; font-size: 8px;">
- {Answer}
- </div>
- {/block:Answer}
- {block:PostNotes}<div align="middle">{caption}</div>
- <center>
- {block:NoteCount}{NoteCountWithLabel}<br>{/block:NoteCount}
- {block:HasTags}
- tags: {block:Tags}<a href="{TagURL}">{Tag}. </a>{/block:Tags}<br> {/block:HasTags}
- {block:RebloggedFrom}
- reblogged from <a href="{ReblogParentURL}">{ReblogParentName}</a><br>
- posted by <a href="{ReblogRootURL}">{ReblogRootName}</a>
- {/block:RebloggedFrom}
- </center></span>
- <br>
- <div id="postnotes">{PostNotes}</div><br>
- <center>{block:ContentSource}
- <br><a href="{SourceURL}">
- {lang:Source}:
- {block:SourceLogo}
- <img src="{BlackLogoURL}" width="{LogoWidth}"
- height="{LogoHeight}" alt="{SourceTitle}" />
- {/block:SourceLogo}
- {block:NoSourceLogo}
- {SourceLink}
- {/block:NoSourceLogo}
- </a>
- {/block:ContentSource}</center>
- {/block:PostNotes}
- </div>
- {/block:Posts}
- </div></div>
- {block:indexpage}
- {block:NextPage}<div id="page-nav"><a href="{NextPage}"></a></div>{/block:NextPage}
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
- <script type="text/javascript" src="http://static.tumblr.com/bswe8t6/UFVlryaq2/jquerymsnryv2.js"></script>
- <script type="text/javascript">
- $(window).load(function(){
- var $wall = $('#posts');
- $wall.imagesLoaded(function(){
- $wall.masonry({
- itemSelector: '#entry, #entry_photo',
- isAnimated : false
- });
- });
- $wall.infinitescroll({
- navSelector : '#page-nav',
- nextSelector : '#page-nav a',
- itemSelector : '#entry, #entry_photo',
- bufferPx : 2000,
- debug : false,
- errorCallback: function() {
- $('#infscr-loading').fadeOut('normal');
- }},
- function( newElements ) {
- var $newElems = $( newElements );
- $newElems.hide();
- $newElems.imagesLoaded(function(){
- $wall.masonry( 'appended', $newElems,{isAnimated: false}, function(){$newElems.fadeIn('slow');} );
- });
- }); $('#content').show(500);
- });
- </script>
- {/block:indexpage}
- </body>
- <div id="more" class="popup_block">
- <center><font size="5" color="#aaa" face="Lobster">More Links<p></font>*ADD MORE LINKS HERE*
- </center></div>
- <div id="mailbox" class="popup_block">
- <center><font size="5" color="#aaa" face="Lobster">Ask Me Anything<p></font><iframe frameborder="0" scrolling="yes" width="100%" height="150" src="http://www.tumblr.com/ask_form/{Name}.tumblr.com" style="background-color:transparent; overflow:hidden;" id="ask_form">
- </center></div>
- <div id="credits" class="popup_block">
- <center><font size="5" color="#aaa" face="Lobster">Thanks to<p></font>
- <center>Themed by <a href="http://flatte-cafe.tumblr.com/">Flatte-Cafe</a><br>Based Codes from <a href="http://z4yner.tumblr.com/">Z4yner</a><br>Optimized for Gooogle Chrome<br>Powered by Tumblr.</center>
- </div>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement