Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <!--
- grey @ shythemes
- -->
- <title>{Title}</title>
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <link rel="shortcut icon" href="{Favicon}">
- {block:Description}<meta name="description" content="{MetaDescription}">{/block:Description}
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="image:sidebar" content="">
- <meta name="if:bigger posts" content="0">
- <meta name="if:show title" content="1">
- <meta name="if:show captions" content="1">
- <meta name="if:show tags" content="1">
- <meta name="if:load more" content="0">
- <meta name="text:home link" content="">
- <meta name="text:archive link" content="archive">
- <meta name="text:ask link" content="message">
- <meta name="text:link 1" content="">
- <meta name="text:link 1 url" content="">
- <meta name="text:link 2" content="">
- <meta name="text:link 2 url" content="">
- <meta name="text:link 3" content="">
- <meta name="text:link 3 url" content="">
- <meta name="text:link 4" content="">
- <meta name="text:link 4 url" content="">
- <meta name="text:link 5" content="">
- <meta name="text:link 5 url" content="">
- <meta name="text:link 6" content="">
- <meta name="text:link 6 url" content="">
- <style type="text/css">
- /* general */
- body {
- margin:0;
- font-size:9px;
- font-family:georgia;
- line-height:16px;
- -moz-osx-font-smoothing:grayscale;
- -webkit-font-smoothing:antialiased;
- font-smoothing:antialiased;
- color:rgb(32,32,32);
- background:rgb(255,255,255);
- }
- a {
- color:inherit;
- text-decoration:none;
- -webkit-transition:all .2s ease-out;
- transition:all .2s ease-out;
- }
- a:hover {
- color:rgb(32,32,32);
- }
- small, sub {
- font-size:inherit;
- vertical-align:baseline;
- }
- blockquote {
- padding:0 18px;
- }
- blockquote blockquote {
- padding:0;
- }
- blockquote, ol, ul, p, pre {
- margin:0;
- }
- h1, h2, h3, h4, h5, h6 {
- margin:0;
- font-size:inherit;
- font-weight:inherit;
- }
- ol, ul {
- list-style:none;
- padding:0;
- }
- img {
- border:0;
- max-width:100%;
- height:auto;
- display:block;
- }
- hr {
- border:0;
- margin:9px 0;
- height:1px;
- -moz-box-sizing:border-box;
- box-sizing:border-box;
- background-color:rgb(224,224,224);
- }
- /* accents */
- .title {
- font-size:14px;
- font-style:italic;
- }
- .accent {
- font-style:italic;
- color:rgb(144,144,144);
- }
- .tumblr_blog {
- color:rgb(144,144,144);
- }
- .tumblr_blog:before,
- blockquote:after {
- content:'';
- display:block;
- margin:9px 40%;
- height:1px;
- background-color:rgb(224,224,224);
- }
- .source .tumblr_blog:before,
- .text > p .tumblr_blog:before,
- blockquote:last-child:after {
- display:none;
- }
- .text img {
- margin:9px auto;
- }
- .text hr {
- margin:9px 40%;
- }
- svg {
- width:10px;
- height:auto;
- opacity:.75;
- overflow:visible;
- }
- svg path {
- fill:rgb(132,132,132);
- -webkit-transition:fill .6s ease-out;
- transition:fill .6s ease-out;
- }
- /* container */
- .main {
- margin:120px auto;
- padding:0 250px;
- width:320px;
- {block:ifBiggerPosts}
- width:440px;
- {/block:ifBiggerPosts}
- text-align:center;
- }
- /* sidebar */
- aside {
- position:fixed;
- left:calc(25% - 155px);
- {block:ifBiggerPosts}
- left:calc(25% - 185px);
- {/block:ifBiggerPosts}
- top:120px;
- bottom:0;
- width:150px;
- }
- aside .sidebar {
- display:block;
- padding:18px;
- margin:0 0 18px;
- background-color:rgb(245,245,245);
- }
- aside .sidebar img {
- opacity:.9;
- }
- aside h1 {
- margin:0 0 12px;
- }
- aside hr {
- margin:18px 33% 12px;
- }
- aside nav {
- margin:0 0 12px;
- }
- aside nav li {
- display:inline-block;
- }
- aside nav li a {
- display:inline-block;
- width:10px;
- height:10px;
- padding:6px;
- }
- aside .desc,
- aside .links {
- position:absolute;
- left:18px;
- right:18px;
- }
- aside .links {
- display:none;
- }
- aside .links li {
- display:block;
- }
- aside:not(.showlinks) .todesc svg path,
- aside.showlinks .tolinks svg path {
- fill:rgb(32,32,32);
- }
- /* entries */
- .entry {
- position:relative;
- margin:0 0 120px;
- }
- .entry:last-child {
- margin-bottom:0;
- }
- .entry .ps {
- margin:120px;
- {block:ifBiggerPosts}margin:150px;{/block:ifBiggerPosts}
- }
- .content:last-child .entry:last-child .ps {
- display:none;
- }
- .date {
- margin:15px 0 0;
- }
- {block:IndexPage}
- .tags, .totags {
- {block:ifNotShowTags}display:none!important;{/block:ifNotShowTags}
- }
- .tags .wrap {
- position:absolute;
- left:18px;
- right:18px;
- opacity:0;
- margin-top:6px;
- -webkit-transition:opacity .6s ease-out;
- transition:opacity .6s ease-out;
- }
- .showtags .wrap {
- opacity:1;
- }
- .showtags .totags svg path {
- fill:rgb(32,32,32);
- }
- .ctrl .rb svg {
- width:9px;
- }
- .ctrl .totags svg {
- width:11px;
- }
- .ctrl .lb .liked + svg path {
- fill:#ec5a5a;
- }
- .ctrl .like_button iframe {
- position:absolute;
- top:0;
- left:0;
- bottom:0;
- right:0;
- z-index:1;
- opacity:0;
- }
- {/block:IndexPage}
- .ctrl a {
- position:relative;
- overflow:hidden;
- display:inline-block;
- margin:9px 6px 0;
- }
- .tags .wrap a {
- margin-top:0;
- }
- .ctrl .rb, .ctrl .lb, .ctrl .totags {
- {block:PermalinkPage}display:none;{/block:PermalinkPage}
- }
- /* post types */
- .text {
- margin:15px 0 0;
- }
- .text:last-child,
- .text *:last-child {
- margin-bottom:0;
- }
- .caption {
- {block:IndexPage}{block:ifNotShowCaptions}display:none;{/block:ifNotShowCaptions}{/block:IndexPage}
- }
- .chat {
- padding:0;
- list-style-type:none;
- text-align:right;
- }
- .chat .line {
- margin-bottom:9px;
- }
- .chat .label {
- float:left;
- }
- .quote,
- .question,
- .media {
- position:relative;
- margin:0 0 18px;
- background-color:rgb(245,245,245);
- }
- .media {
- padding:18px;
- }
- .quote,
- .question {
- padding:15px 18px;
- }
- .quote {
- font-size:11px;
- text-align:justify;
- }
- .question .sender {
- text-transform:lowercase;
- }
- .media > a img, .media > img, .media .photo-slideshow {
- display:block;
- margin:0 auto;
- opacity:.9;
- }
- /* audio posts */
- .audiowrap {
- position:relative;
- height:60px;
- overflow:hidden;
- background-color:rgb(245,245,245);
- }
- .albumart {
- position:absolute;
- top:0;
- right:0;
- z-index:1;
- display:block;
- width:60px;
- height:60px;
- opacity:.9;
- background-size:cover;
- }
- .audio {
- position:absolute;
- display:inline-block;
- left:0;
- top:0;
- right:0;
- bottom:0;
- text-align:left;
- line-height:60px;
- }
- .audio .player {
- width:27px;
- height:27px;
- left:16px;
- top:16px;
- opacity:.4;
- line-height:0;
- overflow:hidden;
- position:absolute;
- }
- .audio .track {
- overflow:hidden;
- line-height:15px;
- margin-left:60px;
- width: calc(100% - 60px);
- display:inline-block;
- vertical-align:middle;
- }
- .audio .track span {
- display:block;
- max-height:15px;
- white-space:nowrap;
- overflow:hidden;
- text-overflow:ellipsis;
- margin-right:75px;
- }
- .audio .track span:first-child {
- color:{color:text};
- }
- .pagination {
- font-style:italic;
- text-align:center;
- display:block!important;
- }
- .notes {
- padding:0;
- }
- .notes li {
- display:block;
- }
- .notes img {
- display:none;
- }
- .notes .more_notes_link_container {
- text-align:inherit!important;
- }
- #tumblr_controls,
- .tmblr-iframe {
- position:fixed!important;
- opacity:.67!important;
- -webkit-filter:invert(100%);
- -webkit-backface-visibility:hidden;
- padding:4px;
- }
- #tumblr_lightbox, .tmblr-lightbox {
- background-color:rgba(255,255,255,.98)!important;
- }
- #vignette, .vignette {
- opacity:0;
- }
- #tumblr_lightbox img, .lightbox-image {
- box-shadow:none!important;
- border-radius:0!important;
- -moz-box-sizing:border-box;
- box-sizing:border-box;
- border:18px solid rgb(245,245,245)!important;
- max-width:none;
- }
- #tumblr_lightbox_caption, .lightbox-caption {
- visibility:hidden;
- }
- #theme {
- position:fixed;
- display:inline-block;
- bottom:10px;
- right:10px;
- z-index:999;
- padding:5px;
- line-height:1em;
- background-color:rgb(255,255,255);
- }
- {block:ifLoadMore}
- .pagination .pn,
- #infscr-loading {
- display:none!important;
- }
- {/block:ifLoadMore}
- </style>
- <link href="//static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css">
- </head>
- <body>
- <div class="main">
- <aside>
- <div class="align">
- {block:ifSidebarImage}<a href="/" class="sidebar"><img src="{image:sidebar}"></a>{/block:ifSidebarImage}
- {block:ifShowTitle}<h1 class="title"><a href="/">{Title}</a></h1>{/block:ifShowTitle}
- <nav class="accent">
- <li><a href="#" class="todesc">
- <svg 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 419.617 419.617" style="enable-background:new 0 0 419.617 419.617;" xml:space="preserve"><g><g><path d="M48.592,402.617c0,9.35,7.65,17,17,17h288.433c9.35,0,17-7.65,17-17c0-94.067-42.5-174.817-102.283-207.117 c28.9-18.983,47.883-51.85,47.883-88.967C316.625,47.883,268.742,0,210.092,0S103.275,47.6,103.275,106.533 c0,37.117,18.983,69.7,47.883,88.967C91.092,227.8,48.592,308.55,48.592,402.617z M209.808,34 c39.95,0,72.533,32.583,72.533,72.533s-32.583,72.533-72.533,72.533s-72.533-32.583-72.533-72.533S169.858,34,209.808,34z M209.808,213.917c66.3,0,120.7,75.65,126.65,171.7h-253.3C89.108,289.567,143.508,213.917,209.808,213.917z"/></g></g></svg>
- </a></li>
- <li><a href="#" class="tolinks">
- <svg 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 396.667 396.667" style="enable-background:new 0 0 396.667 396.667;" xml:space="preserve"><g><g><path d="M17,87.833h362.667c9.35,0,17-7.65,17-17s-7.65-17-17-17H17c-9.35,0-17,7.65-17,17C0,80.183,7.65,87.833,17,87.833z"/><path d="M17,215.333h362.667c9.35,0,17-7.65,17-17s-7.65-17-17-17H17c-9.35,0-17,7.65-17,17S7.65,215.333,17,215.333z"/><path d="M17,342.833h362.667c9.35,0,17-7.65,17-17s-7.65-17-17-17H17c-9.35,0-17,7.65-17,17S7.65,342.833,17,342.833z"/></g></g></svg>
- </a></li>
- </nav>
- <div class="desc accent">{description}</div>
- <div class="links accent">
- {block:ifHomeLink}<li><a href="/">{text:home link}</a></li>{/block:ifHomeLink}
- {block:ifArchiveLink}<li><a href="/archive">{text:archive link}</a></li>{/block:ifArchiveLink}
- {block:ifAskLink}<li><a href="/ask">{text:ask link}</a></li>{/block:ifAskLink}
- {block:HasPages}{block:Pages}<li><a href="{URL}">{Label}</a></li> {/block:Pages}{/block:HasPages}
- {block:ifLink1}<li><a href="{text:link 1 url}">{text:link 1}</a></li>{/block:ifLink1}
- {block:ifLink2}<li><a href="{text:link 2 url}">{text:link 2}</a></li>{/block:ifLink2}
- {block:ifLink3}<li><a href="{text:link 3 url}">{text:link 3}</a></li>{/block:ifLink3}
- {block:ifLink4}<li><a href="{text:link 4 url}">{text:link 4}</a></li>{/block:ifLink4}
- {block:ifLink5}<li><a href="{text:link 5 url}">{text:link 5}</a></li>{/block:ifLink5}
- {block:ifLink6}<li><a href="{text:link 6 url}">{text:link 6}</a></li>{/block:ifLink6}
- </div>
- </div>
- </aside>
- <div class="content">
- {block:Posts}
- <article class="entry {block:Photo}ph{/block:Photo}{block:Photoset}ph{/block:Photoset}" id="{PostID}">
- <section class="post">
- {block:Audio}
- <div class="audiowrap">
- <div class="albumart" style="{block:AlbumArt}background-image:url({AlbumArtURL});{/block:AlbumArt}"></div>
- <div class="audio accent block">
- {block:AudioPlayer}
- <div class="player">{AudioPlayerWhite}</div>
- {/block:AudioPlayer}
- <div class="track">{block:TrackName}<span>{TrackName}</span>{/block:TrackName}{block:Artist}<span>{Artist}</span>{/block:Artist}</div>
- </div>
- </div>
- {/block:Audio}
- {block:Photo}
- <div class="media">
- {LinkOpenTag}
- <img src="{PhotoURL-HighRes}">
- {LinkCloseTag}
- </div>
- {/block:Photo}
- {block:Photoset}
- <div class="media photoset">
- <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>
- </div>
- {/block:Photoset}
- {block:Video}
- <div class="media">
- <div class="video">{Video-500}</div>
- </div>
- {/block:Video}
- {block:Answer}
- <div class="question">
- <span class="inquiry">{Question}</span>
- <div class="sender accent">sent by {Asker}</div>
- </div>
- <div class="answer text">{Answer}</div>
- {/block:Answer}
- {block:Chat}
- {block:Title}<h1 class="title">{Title}</h1>{/block:Title}
- <ul class="chat text">
- {block:Lines}
- <li class="line">
- {block:Label}
- <div class="label accent">{Label}</div>
- {/block:Label}
- {Line}
- </li>
- {/block:Lines}
- </ul>
- {/block:Chat}
- {block:Link}
- <h1 class="title"><a href="{URL}">{Name}</a></h1>
- {block:Description}<div class="text">{Description}</div>{/block:Description}
- {/block:Link}
- {block:Quote}
- <div class="quote title">{Quote}</div>
- {block:Source}
- <div class="source text">{Source}</div>
- {/block:Source}
- {/block:Quote}
- {block:Text}
- {block:Title}<h1 class="title">{Title}</h1>{/block:Title}
- <div class="text">{Body}</div>
- {/block:Text}
- {block:Caption}
- <div class="caption text">{Caption}</div>
- {/block:Caption}
- {block:Date}
- <div class="date accent text">
- <a class="permalink" href="{Permalink}">{Month} {DayOfMonth}{block:English}{DayOfMonthSuffix}{/block:English}</a>
- <div class="ctrl">
- <a href="{ReblogURL}" target="_blank" class="rb">
- <svg 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 361.095 361.095" style="enable-background:new 0 0 361.095 361.095;" xml:space="preserve"><g><g><path d="M182.595,325.678c-63.183,0-120.133-42.217-138.267-102.567c-2.833-9.067-12.183-14.167-21.25-11.333 c-9.067,2.833-14.167,12.183-11.333,21.25c22.95,75.933,91.517,126.65,170.85,126.65c98.317,0,178.5-80.183,178.5-178.5 s-80.183-178.5-178.5-178.5c-55.817,0-108.233,26.633-141.667,69.7l-7.083-56.1c-1.133-9.35-9.633-15.867-18.983-14.733 C5.511,2.678-1.005,11.178,0.128,20.528l13.317,103.7c1.133,8.5,8.5,14.733,16.717,14.733c0.567,0,1.417,0,1.983,0l102.567-11.617 c9.35-1.133,16.15-9.35,15.017-18.7s-9.35-16.15-18.7-15.017l-68.85,7.65c26.633-39.95,71.683-64.6,120.417-64.6 c79.617,0,144.5,64.883,144.5,144.5S262.211,325.678,182.595,325.678z"/></g></g></svg>
- </a>
- <a href="#" class="lb">{LikeButton}
- <svg 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 442.403 442.403" style="enable-background:new 0 0 442.403 442.403;" xml:space="preserve"><g><g><path d="M213.05,422.652c2.833,1.7,5.95,2.833,9.35,2.833c3.117,0,6.517-0.85,9.35-2.833c7.65-5.1,187.283-123.533,207.683-243.95 c10.483-62.333-8.783-100.867-26.633-122.117c-20.967-24.933-52.133-39.667-83.017-39.667c-10.2,0-20.117,1.7-28.9,5.1 c-43.067,16.15-72.25,44.767-88.117,64.317c-15.583-19.267-42.217-47.033-74.517-58.083c-9.917-3.4-20.683-5.1-32.017-5.1 c-28.9,0-56.383,11.9-75.367,32.867c-16.717,18.417-35.7,53.55-29.75,114.75C13.016,291.185,204.833,417.268,213.05,422.652z M56.083,78.685c17.283-18.983,38.817-21.817,50.15-21.817c7.367,0,14.45,1.133,20.967,3.4 c39.383,13.317,70.833,63.467,71.4,63.75c3.117,5.1,8.783,8.217,14.733,7.933c5.95,0,11.333-3.4,14.45-8.5 c0.283-0.567,28.617-48.733,85.283-69.983c4.817-1.7,10.767-2.833,16.717-2.833c20.967,0,42.217,10.483,56.95,27.767 c19.267,22.667,25.783,55.533,18.983,94.633c-7.367,43.067-42.5,94.633-101.717,149.317c-33.433,30.883-66.3,54.683-81.6,65.45 c-16.15-11.05-51-36.55-86.417-68.85C74.216,262.285,39.366,209.868,35.116,167.368C31.433,128.552,38.516,97.952,56.083,78.685z"/></g></g></svg>
- </a>
- {block:HasTags}
- <a href="#" class="totags"><svg 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></a>
- <span class="tags accent">
- <div class="wrap">
- {block:Tags}<a href="{TagURL}">{Tag}</a><i class="comma"></i>{/block:Tags}
- </div>
- </span>{/block:HasTags}
- </div>
- </div>
- {/block:Date}
- </section>
- <hr class="ps">
- </article>
- {block:PostNotes}
- <article class="entry" id="notes">
- <section class="post">
- <h1 class="title">{NoteCountWithLabel}</h1>
- <div class="text light">{PostNotes}</div>
- </section>
- <hr class="ps">
- </article>
- {/block:PostNotes}
- {/block:Posts}
- </div>
- {block:Pagination}<div class="pagination"><span class="pn">{block:PreviousPage}<a class="prev accent" href="{PreviousPage}">previous</a>{block:NextPage} <span class="accent">/</span>{/block:NextPage}{/block:PreviousPage} {block:NextPage}<a class="next" href="{NextPage}">next page</a>{/block:NextPage}</span>
- {block:ifLoadMore}<a href="#" class="lm">load more</a>{/block:ifLoadMore}
- </div>{/block:Pagination}
- </div>
- <!-- {block:ContentSource}{SourceURL}{/block:ContentSource}{block:RebloggedFrom}{ReblogRootURL}{ReblogParentURL}{/block:RebloggedFrom} -->
- <a href="http://shythemes.tumblr.com" id="theme" class="accent" title="theme">k.</a>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="http://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
- <script src ="//static.tumblr.com/fwgzvyf/l6jnyutne/shythemes.vr.js"></script>
- <script src="//static.tumblr.com/fwgzvyf/Nr0nzdaya/shythemes.grey.js"></script>
- {block:IndexPage}
- {block:ifLoadMore}
- <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
- {/block:ifLoadMore}
- {/block:IndexPage}
- <script>
- $(document).ready(function(){
- // tumblr audio players
- $('.tumblr_audio_player').each(function(){
- $(this).attr({ src: $(this).attr('src').split('&color=')[0] + '&color=transparent&simple=1 '});
- });
- // soundcloud audio players
- var color = '#ededed';
- $('.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: 20, width: '100%' });
- });
- // pxu photosets
- $('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: '6px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- {block:ifLoadMore}
- // infinite scroll
- var $container = $('.content');
- $container.infinitescroll({
- itemSelector: '.entry',
- navSelector: '.pagination',
- nextSelector: '.next',
- loadingImg: '',
- loadingText: '<em></em>',
- bufferPx: 2000,
- errorCallback: function(){
- $('.lm').text('');
- }
- },
- function( newElements ) {
- var $newElems = $( newElements );
- // likes
- var $newElemsIDs = $newElems.map(function () {
- return this.id;
- }).get();
- Tumblr.LikeButton.get_status_by_post_ids($newElemsIDs);
- // pxu photosets
- $newElems.find('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: '6px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- // videos
- resizeVideos();
- // tumblr audio players
- $newElems.find('.tumblr_audio_player').each(function(){
- $(this).attr({ src: $(this).attr('src').split('&color=')[0] + '&color=transparent&simple=1 '});
- });
- // soundcloud audio players
- var color = '#ededed';
- $newElems.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%' });
- });
- // tags
- $newElems.find('.totags').click(function(){ $(this).parents('.ctrl').toggleClass('showtags'); return false });
- });
- // load more
- $(window).unbind('.infscr');
- $('.lm').click(function(){
- $container.infinitescroll('retrieve');
- return false
- });
- {/block:ifLoadMore}
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement