Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <head>
- <!--theme by Lennon Byrd. leave ALL credit or you will be reported, if you remove the credit your theme will also messup and I will get a message saying you did ;) follow the rules!-->
- <title>{title}</title>
- <link rel="shortcut icon" href="{Favicon}"/>
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
- <meta name="color:Background" content="#ffffff"/>
- <meta name="color:Text" content="#000000"/>
- <meta name="color:Link" content="#555555"/>
- <meta name="color:Link Hover" content="#cccccc"/>
- <meta name="image:background" content=""/>
- <meta name="if:2 Column" content="1"/>
- <meta name="image:Sidebar" content=""/>
- <meta name="text:Link1" content="/" />
- <meta name="text:Link1 Title" content="" />
- <meta name="text:Link2" content="/" />
- <meta name="text:Link2 Title" content="" />
- <meta name="text:Link3" content="/" />
- <meta name="text:Link3 Title" content="" />
- <meta name="text:Link4" content="/" />
- <meta name="text:Link4 Title" content="" />
- <style type="text/css">
- body{
- color:{color:Text};
- font-family:verdana;
- font-size:10px;
- background-color:{color:Background};
- background:{color:background} url('{image:background}')no-repeat center fixed ;
- -webkit-background-size: cover;
- -moz-background-size: cover;
- -o-background-size: cover;
- background-size: cover;
- }
- #post{
- {block:If2Column}
- width:600px;{/block:If2Column}
- {block:IfNot2Column}width:508px;{block:IfNot2Column}
- margin-left:auto;
- margin-right:auto;
- background-color:#fff;
- padding:5px;
- }
- a{color:{color:Link};text-decoration:none;} a:hover{color:{color:Link Hover};}
- .entry{
- padding:2px;
- background-color:#fff;
- {block:If2Column}width:250px;{block:If2Column}
- {block:IfNot2Column}width:500px;{block:IfNot2Column}
- float:left;
- margin:2px;
- }
- .entry .perma{
- background:#fff;
- padding:5px;
- text-align:center;
- border-radius:5px;
- margin-top:3px;
- margin-left:-30px;
- position:absolute;
- opacity:0.0;
- -webkit-transition: opacity 0.5s linear;
- -webkit-transition: all 0.5s linear;
- -moz-transition: all 0.5s linear;
- }
- .entry:hover .perma{opacity:.7;margin-left:4px; -webkit-transition: opacity 0.5s linear;
- -webkit-transition: all 0.5s linear;
- -moz-transition: all 0.5s linear;}
- #sidebar{
- background-color:#fff;
- width:200px;
- margin-top:180px;
- margin-left:10px;
- position:fixed;
- padding:3px;
- text-align:center;
- float:center;
- }
- #sidebar img{border:1px solid #000;width:150px;height:auto;padding:5px;}
- .pagination {
- display: none;
- }
- {CustomCSS]</style>
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
- <script src="http://static.tumblr.com/6hsqxdt/vmwm2rb4g/infinitescrolling.js"></script><script src="http://static.tumblr.com/6hsqxdt/QBym35odk/jquery.masonry.js"></script>
- <script>
- $(function(){
- var $container = $('#post');
- $container.imagesLoaded(function(){
- $container.masonry({
- itemSelector: '.entry',
- });
- });
- $container.infinitescroll({
- itemSelector : ".entry",
- navSelector : "div.pagination",
- nextSelector : ".pagination a#next",
- loadingImg : "",
- loadingText : "<em></em>",
- bufferPx : 10000,
- extraScrollPx: 12000,
- },
- // trigger Masonry as a callback
- function( newElements ) {
- var $newElems = $( newElements ).css({ opacity: 0 });
- // ensure that images load before adding to masonry layout
- $newElems.imagesLoaded(function(){
- $newElems.animate({ opacity: 1 });
- $container.masonry( 'appended', $newElems, true );
- });
- }
- );
- });
- </script>
- </head>
- <body>
- <div id="sidebar">
- <img src="{image:Sidebar}">
- <br>
- {description}<br><br>{block:ifLink1}<a href="{text:Link1}">{text:Link1 Title}</a>{/block:ifLink1}
- {block:ifLink2}<a href="{text:Link2}">{text:Link2 Title}</a>{/block:ifLink2}
- {block:ifLink3}<a href="{text:Link3}">{text:Link3 Title}</a>{/block:ifLink3}
- {block:ifLink4}<a href="{text:Link4}">{text:Link4 Title}</a>{/block:ifLink4}
- <a href="http://lennonbyrd.tk/">credit</a>
- </div></div>
- <div id="post">
- {block:Posts}
- <div class="entry">
- <div class="perma"><a href="{ReblogURL}">Reblog</a><br><a href="{Permalink}">{NoteCountWithLabel}</a></div>
- {block:Title}<h1>{Title}</h1>{/block:Title}
- {block:Text}{Body}{/block:Text}
- {block:Photo}
- {block:If2Column}
- <a href="{permalink}"><img src="{PhotoURL-500}" width="250"/></a>{/block:If2Column}
- {block:IfNot2Column}
- <a href="{permalink}"><img src="{PhotoURL-500}" width="500"/></a>{/block:IfNot2Column}
- {/block:Photo}
- {block:Photoset}
- {block:If2Column}
- {Photoset-250}
- {/block:If2Column}
- {block:IfNot2Column}
- {Photoset-500}
- {/block:IfNot2Column}
- {/block:Photoset}
- {block:Quote}
- {Quote}
- <div align="right">
- {block:Source}-{Source}{/block:Source}
- </div>
- {/block:Quote}
- {block:Video}
- {block:If2Column}
- {Video-250}
- {/block:If2Column}
- {block:IfNot2Column}
- {Video-500}
- {/block:IfNot2Column}<br>
- {PlayCountWithLabel}
- {/block:Video}
- {block:Link}
- <h1><a href="{URL}" class="link" {Target}>{Name}</a></h1>
- {block:Description}{Description}{/block:Description}
- {/block:Link}
- {block:Chat}
- {block:Lines}
- {block:Label}
- <br>{Label}
- {/block:Label}
- {Line}
- {/block:Lines}
- {/block:Chat}
- {block:Audio}
- {AudioPlayerGrey}
- <br><div align="right">{block:Artist}
- Artist: {Artist}</div>
- {/block:Artist}<br>
- {block:Caption}{Caption}{/block:Caption}
- {/block:Audio}
- {block:Answer}
- {Asker} asked <b>{Question}</b><Br>
- {Answer}
- {/block:Answer}
- {block:PermalinkPage}
- {block:Caption}
- {Caption}
- {/block:Caption}
- <br>
- {block:NoteCount}
- {NoteCount} notes
- {/block:NoteCount}
- <Br>
- {block:PostNotes}{PostNotes}{/block:PostNotes}</div>
- {/block:PermalinkPage}
- </div>
- {/block:Posts}
- </div>
- <div class="pagination">
- {block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">previous</a> ·{/block:PreviousPage} {block:NextPage}<a href="{NextPage}" id="next">next</a>{/block:NextPage}{/block:Pagination}
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement