Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <!--
- theme #41
- - by cathms -
- Last update:
- - don't take parts of this code
- - don't remove this comment
- - don't remove the credit
- -->
- <html>
- <head>
- <title>{Title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="altertnate" type="application/rss+xml" href="{RSS}">
- {block:Description}
- <meta name="description" content="{MetaDescription}" />
- {/block:Description}
- <meta http-equiv="x-dns-prefetch-control" content="off"/>
- <meta name="image:Background" content="">
- <meta name="image:Sidebar" content="">
- <meta name="color:Background" content="#ffffff" />
- <meta name="color:Text" content="#999999" />
- <meta name="color:Link" content="#444444" />
- <meta name="color:Link hover" content="#999999" />
- <meta name="color:Info" content="#444444" />
- <meta name="color:Bold" content="#444444" />
- <meta name="color:Border" content="#eeeeee" />
- <meta name="color:Scrollbar" content="#444444" />
- <meta name="select:Posts width" content="250" title="250px"/>
- <meta name="select:Posts width" content="300" title="300px"/>
- <meta name="select:Posts width" content="350" title="350px"/>
- <meta name="select:Posts width" content="400" title="400px"/>
- <meta name="select:Posts width" content="450" title="450px"/>
- <meta name="select:Posts width" content="500" title="500px"/>
- <meta name="select:Posts width" content="540" title="540px"/>
- <meta name="select:Caption" content="inline" title="Inline"/>
- <meta name="select:Caption" content="normal" title="Normal"/>
- <meta name="select:Caption" content="hide" title="Hide"/>
- <meta name="if:Infinite scroll" content="0">
- <meta name="if:Manual load" content="0">
- <meta name="if:No rescaling" content="0">
- <meta name="if:Custom gutter" content="0">
- <meta name="text:Margin" content="90" />
- <meta name="text:Gutter" content="3" />
- <meta name="text:Link 1 URL" content="" />
- <meta name="text:Link 1 title" content="Link 01">
- <meta name="text:Link 2 URL" content="" />
- <meta name="text:Link 2 title" content="Link 02">
- <meta name="text:Link 3 URL" content="" />
- <meta name="text:Link 3 title" content="Link 03">
- <link href='https://fonts.googleapis.com/css?family=Maven+Pro:400,600,500,700' rel='stylesheet' type='text/css'>
- <style type="text/css">
- @-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
- @-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1;} }
- @keyframes fadeIn { from { opacity:0; } to { opacity:1;} }
- .fade-in {
- opacity:0;
- -webkit-animation:fadeIn ease-in 1;
- -moz-animation:fadeIn ease-in 1;
- animation:fadeIn ease-in 1;
- -webkit-animation-fill-mode:forwards;
- -moz-animation-fill-mode:forwards;
- animation-fill-mode:forwards;
- -webkit-animation-duration:1s;
- -moz-animation-duration:1s; animation-duration:1s; }
- .fade-in.one { -webkit-animation-delay: 0.2s; -moz-animation-delay: 0.2s; animation-delay: 0.2s; }
- body {
- font:10px maven pro, arial;
- -moz-osx-font-smoothing:grayscale;
- -webkit-font-smoothing:antialiased;
- font-smoothing:antialiased;
- margin:0;
- line-height:150%;
- color:{color:text};
- background:{color:Background} {block:ifBackgroundImage}url('{image:Background}') fixed{/block:ifBackgroundImage};
- background-position: {select:background position};
- background-repeat: {select:background repeat};}
- a {
- color:{color:link};
- text-decoration: none;
- -webkit-transition:all 0.6s ease-in-out;/*chrome-safari*/
- -o-transition:all 0.6s ease-in-out;/*opera*/
- -moz-transition:all 0.6s ease-in-out;/*mozilla firefox*/
- -ms-transition:all 0.6s ease-in-out;/*ie*/
- transition:all 0.6s ease-in-out;/*w3c*/}
- a:hover {
- color:{color:link hover};}
- b, strong {
- color:{color:bold};
- font-weight:500!important;
- }
- small {
- font-size:10px;}
- ol, ul {
- padding:0;
- padding-left:5px;
- list-style-type:none;
- }
- ol li,
- ul li {
- position:relative;
- padding-left:10px;
- }
- .posts ol li:before{
- content:'›';
- position:absolute;
- margin-top:-1.5px;
- left:0;
- font-size:10px;
- }
- .posts ul li:before {
- content:'›';
- position:absolute;
- margin-top:-1.5px;
- left:0;
- font-size:10px;
- }
- sub, sup{font-size: 10px;}
- .container {
- width:{select:posts width}px;
- margin:0 auto;
- padding-bottom:{text:margin}px;
- padding-top:{text:margin}px;
- overflow:auto;
- }
- .entries{
- width:{select:posts width}px;}
- .posts {
- width:{select:posts width}px;
- overflow:hidden;
- word-wrap: break-word;
- {block:IndexPage}
- margin-top:{text:Margin}px;
- {/block:IndexPage}
- position:relative;
- {block:permalinkpage}
- margin-bottom:30px;
- {/block:permalinkpage}
- }
- {block:IndexPage}
- .posts:first-of-type{
- margin-top:0;
- }
- {/block:IndexPage}
- .posts h1{
- font-size:18px;
- font-weight:bold;
- color:{color:link};
- }
- .posts blockquote {
- border-left: 1px solid {color:border};
- padding-left: 5px;
- margin:05px;}
- .posts img, .posts li, .posts blockquote {max-width: 100%;height:auto;}
- .tmblr-full img {
- width:100%;}
- .posts .images{
- {block:ifNotNoRescaling}
- width: 100%;
- {/block:ifNotNoRescaling}
- display:block;}
- /* sidebar */
- .sidebar {
- width: 130px;
- margin-left:calc({text:Margin}px / 2 + {select:posts width}px);
- position:fixed;
- }
- .sidebar .sidebar-image{
- max-width:55px;
- border-radius:3px;
- display:block;}
- .sb-title{
- font-family:helvetica neue, helvetica, arial;
- font-weight:bold;
- font-size:18px;
- margin-top:15px;
- margin-bottom:15px;
- }
- /* description */
- .description{
- text-align:left;
- margin-top:15px;
- margin-bottom:15px;
- }
- /* navigation */
- .navi{
- border-top:1px solid {color:border};
- line-height:200%;
- padding-top:15px;
- }
- /* pagination */
- .prev, .current_page, .next, .jump_page {
- padding: 4px 8px;
- }
- /* quote post */
- .quote {
- padding:0 10px 0 10px;
- text-align:right;
- font-style:italic;
- }
- .quotetext-short {
- font-size: 16px;
- text-align:center;
- }
- .quotetext-medium {
- font-size: 14px;
- text-align:center;
- }
- .quotetext-long {
- font-size: 11px;
- text-align:center;
- }
- .quote-source {
- text-align:right;
- display:inline-block;
- text-transform:lowercase;
- font-style:normal;
- padding-top:10px;
- padding-bottom:10px;
- margin-top:10px;
- border-top:1px solid {color:border};
- }
- /* chat post */
- .odd, .even {
- margin:0px;
- padding:0;
- padding-top:10px;
- padding-bottom:10px;
- border-top:1px solid {color:border};}
- .odd:first-of-type {
- border-top:0;}
- /* audio post */
- .audio {
- width:auto;
- overflow:hidden;
- max-height:80px;
- position:relative;
- clear:both;
- border:1px solid {color:border};
- }
- .tumblr_audio_player {
- height:25px;
- width:30px;
- padding:28px;
- margin-right:20px;
- display:block;
- float:left;
- clear:both;
- background-color:transparent;
- opacity:1;
- }
- .audio-player{background:black !important}
- .au-info {
- position:relative;
- overflow:auto;
- text-transform:uppercase;
- height:80px;
- padding-right:10px;
- display: table-cell;
- vertical-align: middle;
- text-align:right;
- width:{select:posts width}px;
- }
- img.au-image{
- float:right;
- width:25px;
- border-radius:100%;
- margin:28px;
- margin-left:0;
- }
- /* video post*/
- .video{
- overflow:hidden;
- width:{select:posts width}px;}
- .video .instagram-media {
- max-height:none!important;
- box-shadow:none!important;
- border:1px solid {color:border}!important;
- max-width:calc({select:posts width}px - 3px)!important;}
- /* ask post */
- .question{
- padding:15px;
- background-color:#fafafa;
- }
- /* caption */
- .caption{
- border-top:1px solid {color:border};
- margin-top:15px;
- }
- .caption a, .bod a, kk{
- border-bottom:1px solid {color:border}!important;
- }
- .inline {
- padding-top:15px;
- }
- .inline blockquote, .inline p:first-child, .inline pre{
- display:inline;
- margin:0;
- border:0;
- padding:0;
- }
- .inline blockquote::after, .inline p::after, .inline pre{ content:" "; }
- .hide {
- display:none;
- }
- /* post info */
- .posts-info{
- margin-top:15px;
- color:{color:info};
- margin-bottom:1px;}
- .posts-info a{
- color:{color:info};
- }
- a.tag {
- text-decoration:none;
- padding:5px;
- }
- .tags{
- margin-bottom:2px;
- }
- .posts-info .tags svg{
- float:left;
- padding:3px;
- padding-left:0;
- display:inline-block;
- fill: {color:info};
- }
- .date{
- }
- .date a{
- margin-right:05px;
- margin-left:05px;
- }
- .date a:first-of-type{
- margin-left:0px;
- }
- .posts-info .date svg{
- display:inline-block;
- margin-bottom:-1px;
- margin-right:05px;
- }
- /* notes */
- .notess{
- padding-top:30px;
- border-top:1px solid {color:border};
- width:{select:posts width}px;
- margin-left:0px;
- overflow-x: hidden;
- }
- .notes img{border-radius:100%;}
- ol.notes {
- padding: 0px;
- margin: 0;
- list-style-type: none;}
- ol.notes li.note {padding: 0px;}
- ol.notes li.note img.avatar {
- vertical-align: -4px;
- float:left;
- margin-right: 10px;
- width: 16px;
- height: 16px;
- display:none;
- }
- ol.notes li.note span.action {}
- ol.notes li.note .answer_content {font-weight: normal;}
- ol.notes li.note blockquote {
- border-color: {color:border};
- padding: 4px 10px;
- margin: 10px 0px 0px 25px;}
- /* extras */
- a.c{
- position:fixed;
- bottom:25px;
- right:25px;
- font:07px 'trebuchet ms';
- text-transform:uppercase;
- letter-spacing:1px;
- text-align:right;
- z-index:9999999;
- background-color:#fff;
- border:1px solid #e9e9e9;
- padding:05px;
- border-radius:100%;
- color:#8c8c8c;
- }
- .vignette, #vignette {
- opacity:0;
- }
- .lightbox-image, #tumblr_lightbox img {
- box-shadow:none !important;
- border-radius:0 !important;
- max-width:none;
- }
- .tmblr-lightbox, #tumblr_lightbox {
- background-color:rgba(255,255,255,.8) !important;
- }
- #tumblr_lightbox img {
- border:3px solid #fff !important;
- -moz-box-sizing:border-box;
- box-sizing:border-box;
- }
- .lightbox-image {
- padding:3px;
- background-color:rgba(255,255,255,1) !important;
- }
- ::-webkit-scrollbar {
- width: 3px;
- height: 3px;
- background: {color:background};}
- ::-webkit-scrollbar-thumb {
- background-color:{color:scrollbar};}
- #s-m-t-tooltip{
- margin:24px 14px 7px 12px;
- letter-spacing:1px;
- z-index:9999999999999;
- line-height:16px;
- background-color:{color:background};
- color:{color:text};
- border-radius:3px;
- border:1px solid {color:border};
- padding:03px;}
- ::selection {
- background: {color:link};
- color: white;}
- ::-moz-selection {
- background: {color:link};
- color: white;}
- ::-webkit-selection {
- background: {color:link};
- color: white;}
- /* scroll to top */
- .scrollup{
- width:30px;
- height:30px;
- opacity:0.3;
- position:fixed;
- bottom:70px;
- right:22px;
- display:none;
- text-align:center;
- }
- .scrollup:hover{cursor:pointer;}
- #infscr-loading {display:none!important;}
- .more, .pag{
- text-align:left;
- display:block;
- width:{select:posts width}px;
- margin:0 auto;
- margin-top:calc(-{text:margin}px /2);
- margin-bottom:{text:margin}px;
- border-top:1px solid {color:border};
- padding-top:15px;
- }
- #tumblr_controls, .tmblr-iframe.tmblr-iframe--desktop-logged-in-controls.iframe-controls--desktop { -webkit-filter: invert(100%); -moz-filter: invert(100%); -o-filter: invert(100%); -ms-filter: invert(100%); filter: invert(100%); opacity:0.4; z-index:9999999!important;}
- .like-b {
- position:relative;
- display:inline-block;
- height:1em;
- line-height:1em;
- overflow:hidden;
- margin-bottom:-1px;
- }
- .like-b .like_button iframe {
- position:absolute;
- top:0;
- left:0;
- bottom:0;
- right:0;
- z-index:2;
- opacity:0;
- }
- .like-b .liked + .b {
- color:inherit;
- }
- .like-b .liked + .b:before {
- content:'un';
- }
- .buttons{
- float:right;
- overflow:hidden;
- clear:both;
- display:inline-block;
- }
- </style>
- </head>
- <body>
- <div class="container">
- <div class="sidebar">
- <img src="{image:sidebar}" class="sidebar-image">
- {block:ShowTitle}
- <div class="sb-title"><a href="/">{title}</a></div>{/block:ShowTitle}
- {block:ShowDescription}<div class="description">{Description}</div>{/block:ShowDescription}
- <div class="navi">
- <a href="/">index</a> /
- <a href="/ask">message</a> /
- <a href="/archive">archive</a><br>
- {block:ifLink1url}
- <a href="{text:Link 1 URL}">{text:Link 1 title}</a>
- {/block:ifLink1url}
- {block:ifLink2url} /
- <a href="{text:Link 2 URL}">{text:Link 2 title}</a>
- {/block:ifLink2url}
- {block:ifLink3url} /
- <a href="{text:Link 3 URL}">{text:Link 3 title}</a>
- {/block:ifLink3url}
- </div>
- </div><!--- sidebar --->
- <div class="entries fade-in one">
- {block:Posts}
- {block:ContentSource}
- <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
- width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
- {/block:SourceLogo}
- {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
- {/block:ContentSource}
- <div class="posts" id="{PostID}">
- {block:Text}
- {block:Title}<h1>{Title}</h1>{/block:Title}
- <div class="bod">{Body}</div>
- {/block:Text}
- {block:Photo}
- <center>{LinkOpenTag}<img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" class="images">{LinkCloseTag}</center>
- {/block:Photo}
- {block:Photoset}<div class="set"><center>
- <div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">{block:Photos}<div class="photo-data"><div class="pxu-photo"><img src="{PhotoURL-500}" width="{PhotoWidth-500}" height="{PhotoHeight-500}" data-highres="{PhotoURL-HighRes}" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}"></div><a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}"></a></div>{/block:Photos}</div></center></div>
- {/block:Photoset}
- {block:Quote}<div class="quote">
- <div class="quotetext-{Length}">{Quote}</div>
- {block:Source}
- <div class="quote-source">{Source}</div>
- {/block:Source}
- </div>{/block:Quote}
- {block:Link}
- <h2><a href="{URL}" target="{Target}">{Name} <b>→</b></a></h2>
- {block:Description}<div class="bod">{Description}</div>{/block:Description}
- {/block:Link}
- {block:Chat}
- {block:Title}<h1>{Title}</h1>{/block:Title}
- {block:Lines}<ul class="{Alt}">{block:Label}<b>{Label}</b>{/block:Label} {Line}<br></ul>{/block:Lines}
- {/block:Chat}
- {block:Audio}
- <div class="audio">
- {block:AudioPlayer}{AudioPlayer}{/block:AudioPlayer}
- {block:AlbumArt}
- <img src="{AlbumArtURL}" class="au-image">
- {/block:AlbumArt}
- <div class="au-info">{block:TrackName}<b>{TrackName}</b>{/block:TrackName}{block:Artist}<br>by {Artist}{/block:Artist}
- </div>
- </div>
- {/block:Audio}
- {block:Video}
- <div class="video">{Video-500}</div>
- {/block:Video}
- {block:Answer}
- <div class="question">
- <b>{Asker}:</b> {Question}</div>
- {Answer}
- {/block:Answer}
- {block:Caption}<div class="caption {select:Caption}">{Caption}</div>{/block:Caption}
- {block:Date}<div class="posts-info">
- {block:HasTags}<div class="tags"><svg width="11" height="11" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" viewBox="0 0 524.237 524.237" style="enable-background:new 0 0 524.237 524.237;" xml:space="preserve"><g><g><path d="M209.95,465.552c3.117,3.117,7.367,4.533,11.9,4.533h0.283c4.533,0,8.783-1.7,11.9-4.817l183.6-188.983 c6.517-6.8,6.517-17.283-0.283-23.8L220.15,55.569c-3.117-3.117-7.65-4.817-11.9-4.817l0,0L18.133,51.035 c-9.35,0-17,7.367-17,16.717L0,254.469c0,4.533,1.7,9.067,5.1,12.183L209.95,465.552z M35.133,84.752l166.033-0.567l180.2,180.2 l-160.083,164.9L34,247.385L35.133,84.752z"/><path d="M321.017,77.669c-6.8,6.517-6.8,17.283-0.283,24.083l162.633,165.467L311.383,444.585 c-6.517,6.8-6.233,17.567,0.283,24.083c3.4,3.117,7.65,4.817,11.9,4.817c4.533,0,8.783-1.7,12.183-5.1l183.6-189.267 c6.517-6.517,6.517-17.283,0-23.8L345.1,77.952C338.3,71.435,327.533,71.152,321.017,77.669z"/><circle cx="118.15" cy="163.235" r="6.233"/><path d="M118.15,140.002c-12.75,0-23.233,10.483-23.233,23.233s10.483,23.233,23.233,23.233s23.233-10.483,23.233-23.233 C141.1,150.485,130.9,140.002,118.15,140.002z M118.15,174.002c-5.95,0-10.767-4.817-10.767-10.767 c0-5.95,4.817-10.767,10.767-10.767c5.95,0,10.767,4.817,10.767,10.767C128.917,169.185,124.1,174.002,118.15,174.002z"/></g></g></svg> {block:Tags}<a href="{TagURL}" class="tag">{Tag}</a> {/block:Tags}</div>{/block:HasTags}
- <div class="date">
- {block:NoteCount}<a href="{Permalink}">{NoteCountWithLabel}</a> / {/block:NoteCount}
- <a href="{Permalink}" class="time-ago">{TimeStamp}</a>
- <div class="buttons">{block:IndexPage}
- <a href="{ReblogURL}" target="_blank">reblog</a> /
- <a class="like-b" href="#">{LikeButton}<span class="b">like</span></a>{/block:IndexPage}{block:PermalinkPage}
- {block:RebloggedFrom}{block:PermalinkPage}<a href="{ReblogParentURL}" title="{ReblogParentName}">via</a>{/block:PermalinkPage} / <a href="{ReblogRootURL}" title="{ReblogRootName}">source</a>{/block:RebloggedFrom}{/block:PermalinkPage}
- </div>
- </div>
- </div>
- {/block:Date}
- </div><!--- posts --->
- {block:PermalinkPage}
- {block:PostNotes}<div class="notess">{PostNotes}</div>{/block:PostNotes}
- {/block:PermalinkPage}
- {/block:Posts}
- </div><!--- entries --->
- </div><!--- container --->
- {block:Pagination}<div class="pag" {block:IfInfiniteScroll}style="display:none;"{/block:IfInfiniteScroll}>
- {block:PreviousPage}<a href="{PreviousPage}" class="prev">prev</a>{/block:PreviousPage}
- {block:JumpPagination length="5"}
- {block:CurrentPage}<span class="current_page">{PageNumber}</span>{/block:CurrentPage}
- {block:JumpPage}<a class="jump_page" href="{URL}">{PageNumber}</a>{/block:JumpPage}{/block:JumpPagination}
- {block:NextPage}<a href="{NextPage}" class="next">next</a>{/block:NextPage}
- </div>
- {/block:Pagination}
- {block:ifManualLoad}{block:Pagination}
- <div class="more"><a href="#">load more</a></div>
- {/block:Pagination}{/block:ifManualLoad}
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <script src="http://static.tumblr.com/yxfeliq/hHwojmt8m/bctphotoset.min.js"></script>
- {block:ifNoRescaling}<link href="http://static.tumblr.com/nb65v05/uhmonj8k0/nrsclng.css" rel="stylesheet" type="text/css"/>{/block:ifNoRescaling}
- <script src="http://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
- <script src ="//static.tumblr.com/fwgzvyf/l6jnyutne/shythemes.vr.js"></script>
- {block:ifInfiniteScroll}<script src="http://static.tumblr.com/nb65v05/QLXo03qup/jquery.infinitescroll.min.js"></script>{/block:ifInfiniteScroll}
- {block:ifMasonry}<script src="http://static.tumblr.com/nb65v05/7a4o8hdqu/masonry.pkgd.js"></script>{/block:ifMasonry}
- <script src="http://static.tumblr.com/nb65v05/idnofx9jm/imagesloaded.pkgd.min.js"></script>
- <script type="text/javascript" src="http://static.tumblr.com/i5s2zks/9Acok8oo2/bct-timeago.min.js"></script>
- <script>
- $(document).ready(function() {
- });
- </script>
- <script>
- $(document).ready(function(){
- // audio player's color © roxiestheme.tumblr
- $('iframe.tumblr_audio_player').load( function() {
- $('iframe.tumblr_audio_player').contents().find("head")
- .append($("<style type='text/css'> .audio-player{background:transparent !important} </style>"));
- });
- // timeAgo(); plugin © bychloethemes.tumblr
- $(".time-ago").timeAgo({
- time: "short",
- spaces: false,
- words: false,
- prefix: "",
- suffix: " ago",
- });
- // minimal soundcloud player © shythemes.tumblr
- var color = '#acd7bb';
- $('.soundcloud_audio_player').each(function(){
- $(this).attr({ src: $(this).attr('src').split('&')[0] + '&liking=false&sharing=false&auto_play=false&show_comments=false&continuous_play=false&buying=false&show_playcount=false&show_artwork=false&origin=tumblr&color=' + color.split('#')[1], height: 116, width: '100%' });
- });
- $("[title]").style_my_tooltips({
- tip_follows_cursor:true,
- tip_delay_time:200,
- tip_fade_speed:300
- }
- );
- $(window).scroll(function () {
- if ($(this).scrollTop() > 100) {
- $('.scrollup').fadeIn();
- } else {
- $('.scrollup').fadeOut();
- }
- });
- $('.scrollup').click(function () {
- $("html, body").animate({
- scrollTop: 0
- }, 600);
- return false;
- });
- $('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- {block:ifNotCustomGutter}
- gutter: '04px',{/block:ifNotCustomGutter}
- {block:ifCustomGutter}
- gutter: '{text:Gutter}px',{/block:ifCustomGutter}
- borderRadius: '0px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- {block:IndexPage}
- var $container = $('.entries');
- {block:ifMasonry}
- $container.imagesLoaded(function(){
- $container.masonry({
- itemSelector: '.posts',
- columnWidth: {select:posts width},
- hiddenStyle: { opacity: 0 },
- visibleStyle: { opacity: 1 }
- });
- });
- {/block:ifMasonry}
- {block:ifInfiniteScroll}
- $container.infinitescroll({
- navSelector: '.pag',
- nextSelector: '.next',
- itemSelector: '.posts',
- loadingImg : " ",
- errorCallback: function(){
- $('.more').animate({opacity: 0.8},2000).fadeOut('normal');}
- },
- function( newElements ) {
- var $newElems = $(newElements).css({ opacity: 0 }).delay(600).animate({ opacity: 1 });
- {block:ifMasonry} $newElems.imagesLoaded(function(){
- $newElems.animate({ opacity: 1 });
- $container.masonry( 'appended', $newElems, true );
- });{/block:ifMasonry}
- var $newElemsIDs = $newElems.map(function(){
- return this.id;
- }).get();
- Tumblr.LikeButton.get_status_by_post_ids($newElemsIDs);
- $( newElements ).find('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- {block:ifNotCustomGutter}
- gutter: '04px',{/block:ifNotCustomGutter}
- {block:ifCustomGutter}
- gutter: '{text:Gutter}px',{/block:ifCustomGutter}
- borderRadius: '0px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- $(newElements).find('.time-ago').timeAgo({
- time: "short",
- spaces: false,
- words: false,
- prefix: "",
- suffix: " ago",
- });
- $(newElements).find('iframe.tumblr_audio_player').load( function() {
- $('iframe.tumblr_audio_player').contents().find("head")
- .append($("<style type='text/css'> .audio-player{background:transparent !important} </style>"));
- });
- $( newElements ).find('.soundcloud_audio_player').each(function(){
- $(this).attr({ src: $(this).attr('src').split('&')[0] + '&liking=false&sharing=false&auto_play=false&show_comments=false&continuous_play=false&buying=false&show_playcount=false&show_artwork=false&origin=tumblr&color=' + color.split('#')[1], height: 116, width: '100%' });
- });
- resizeVideos();
- });
- {block:ifManualLoad}
- $(window).unbind('.infscr');
- $('.more').click(function(){
- $container.infinitescroll('retrieve');
- return false;
- });
- {/block:ifManualLoad}
- {/block:ifInfiniteScroll}
- {/block:IndexPage}
- });
- </script>
- <a href="http://cathms.tumblr.com/" target="_blank" class="c">tc</a>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment