Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- Put anything here. Like the name of the theme or credits,rules etc.
- Base Code by repealinq.tumblr.com , causedthemes.tumblr.com
- -->
- <!--Go to www.tumblr.com/docs/en/custom_themes for more assistance-->
- <head>
- <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}
- <!--Default Variables-->
- <meta name="color:Text" content="#000000"/>
- <meta name="color:Link" content="#555555"/>
- <meta name="color:Link Hover" content="#cccccc"/>
- <meta name="if:2 Column" content="1"/>
- <meta name="image:Sidebar" content=""/>
- <meta name="image:Background" content=""/>
- <meta name="color:Menu 1" content=""/>
- <meta name="color:Menu 3" content=""/>
- <meta name="color:Menu 5" content=""/>
- <meta name="color:Menu Hover 1" content=""/>
- <meta name="color:Menu Hover 3" content=""/>
- <meta name="color:Menu Hover 5" content=""/>
- <meta name="text:Link URL 1" content="">
- <meta name="text:Link URL 3" content="">
- <meta name="text:Link URL 5" content="">
- <!--Styling,css-->
- <style type="text/css">
- body{
- color:{color:Text};
- font-family:calibri;/* The main font, you can change this anytime*/
- font-size:11px;/* Font size */
- background-color:{color:Background};/* Background color */
- background-image: url('{image:Background}');no-repeat;
- background-size: cover;
- background-attachment: fixed;
- }
- /* What your entries are on*/
- #post{
- {block:If2Column}
- width:600px;{/block:If2Column}
- {block:IfNot2Column}width:508px;{block:IfNot2Column}
- margin-left:auto;
- margin-right:auto;
- background-color:#fff opacity: .8;/* Background color for posts*/
- padding:5px;
- }
- /* Links */
- a{color:{color:Link};text-decoration:none;} a:hover{color:{color:Link Hover};}
- /* Entries */
- .entry{
- padding:2px;
- background-color:#fff;
- {block:If2Column}width:250px;{block:If2Column}
- {block:IfNot2Column}width:300px;{block:IfNot2Column}
- float:right;
- margin:2px;/* Spacing of entries*/
- }
- .entry img{
- {block:IfNot2Column}width:300px;{block:IfNot2Column}
- float:right;
- margin:2px;
- }
- /* Permalinks on hover*/
- .entry .perm{
- background:#fff;
- padding:5px;
- text-align:center;
- margin-top:3px;
- margin-left:-20px;
- position:absolute;
- opacity:0.0;
- }
- .entry:hover .perm{opacity:.7;margin-left:0px; }
- /* Sidebar*/
- #sidebar{
- background-color:#fff, opacity: .9;
- width:250px;
- margin-bottom:0px;
- margin-left:0px;
- position:fixed;
- padding:10px;
- border:1px solid #eee;
- text-align:center;
- float:center;
- border-radius: 50px 0px 50px 0px;
- opacity: ;
- }
- /* Sidebar image*/
- #sidebar img{border:1px solid #eee;width:180px;height:auto;padding:5px;
- }
- #sidebar2{
- background-color:#fff, opacity: .9;
- width:250px;
- margin-bottom:0px;
- margin-left:0px;
- position:fixed;
- padding:10px;
- border:1px solid #eee;
- text-align:center;
- float:center;
- border-radius: 50px 0px 50px 0px;
- }
- #sidebar img2{border:1px solid #eee;width:180px;height:auto;padding:5px;
- }
- .menu{display:block;width:50px;height:50px;border-radius:50px;margin-top:-30px;color:color:#000;line-height:100px;background:{color:Menu 1}}.menu:hover{color:#000;background:{color:Menu Hover 1}
- }
- .menu5{display:block;width:50px;height:50px;border-radius:50px;margin-left:200px;margin-top:50px;color:#000;text-align:center;text-decoration:none;background:{color:Menu 5};margin-top:-50px;}.menu5:hover{color:#ccc;text-decoration:none;background:{color:Menu Hover 5}
- }
- .menu3{display:block;width:50px;height:50px;border-radius:50px;margin-left:100px;font-size:20px;color:#000;line-height:100px;text-align:center;text-decoration:none;background:{color:Menu 3}}.menu3:hover{color:#ccc;text-decoration:none;background:{color:Menu Hover 3}
- }
- .pagination {
- display: none;
- }
- {CustomCSS]</style>
- <!--I reccommend not touching any ofthis unless you don't want infinite scroll!-->
- <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>
- <!--Sidebar-->
- <div id="sidebar">
- <img src="{image:Sidebar}">
- <br>
- {description}<br><br>
- <a href="/">Home</a> /
- <a href="/ask">Ask</a> /
- <a href="/">Links</a>
- <a href="{text: Link 1 URL}" class="menu"></a>
- <a href="{text: Link 5 URL}" class="menu5"></a>
- <a href="{text: Link 3 URL}" class="menu3"></a>
- </div></div><!--End of sidebar-->
- <div id="triangle-up">
-
- </div>
- <div id="triangle-down">
-
- </div>
- <!--Posts and entries-->
- <div id="post">
- {block:Posts}
- <div class="entry">
- <div class="perm"><a href="{Permalink}">{TimeAgo}</a> <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>
- <!--Pagination-->
- <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>
- <!--You can delete this because this is a base code or replace it with yours x-->
- <div style="bottom:5px;left:10px;position:fixed;font-size:8px;"><a href="http://repealinq.tumblr.com" title="Base code by repealinq on tumblr">CREDIT</a></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement