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>
- <!--
- lighten @ 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="color:accents" content="#3275a5">
- <meta name="if:hover effects" content="">
- <meta name="if:show full photosets" content="">
- <meta name="if:show captions" content="">
- <meta name="if:show tags" content="">
- <meta name="if:load more" content="">
- <meta name="select:font" content="karla" title="karla">
- <meta name="select:font" content="helvetica" title="helvetica">
- <meta name="select:font" content="roboto-mono" title="roboto mono">
- <meta name="text:home link" content="">
- <meta name="text:archive link" content="archive">
- <meta name="text:ask link" content="ask">
- <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="">
- <link href='//fonts.googleapis.com/css?family=Karla:400,400italic,700,700italic|Roboto+Mono:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
- <style type="text/css">
- html, body {
- width:100%;
- }
- body {
- margin:0;
- font-size:10px;
- font-family:karla, sans-serif;
- line-height:15px;
- -moz-osx-font-smoothing:grayscale;
- -webkit-font-smoothing:antialiased;
- font-smoothing:antialiased;
- -ms-text-size-adjust:100%;
- -moz-text-size-adjust:100%;
- -webkit-text-size-adjust:100%;
- overflow-x:hidden;
- color:#777777;
- background:#f6f6f6;
- }
- a {
- color:inherit;
- text-decoration:none;
- }
- small, sub {
- font-size:1em;
- vertical-align:baseline;
- }
- blockquote, ol, ul, p, pre {
- margin:0 0 10px;
- }
- h1, h2, h3, h4, h5, h6 {
- margin:0 0 10px;
- font-size:1em;
- font-weight:inherit;
- }
- ul, ol {
- padding-left:20px;
- }
- ol li {
- padding-left:6px;
- }
- pre {
- white-space:normal;
- font-size:9px;
- font-family:'roboto mono', monospace;
- }
- iframe {
- display:block;
- }
- img {
- border:0;
- max-width:100%;
- height:auto;
- display:block;
- }
- hr {
- margin:1em 0;
- border:0;
- height:1px;
- -moz-box-sizing:border-box;
- box-sizing:border-box;
- background-color:#dddddd;
- }
- svg {
- width:10px;
- height:auto;
- opacity:.5;
- padding:1px;
- display:block;
- overflow:visible;
- }
- /* accents */
- .title {
- font-size:15px;
- font-family:karla, sans-serif;
- line-height:initial;
- color:{color:accents};
- }
- .accent {
- font-size:9px;
- font-family:karla, sans-serif;
- letter-spacing:1px;
- text-transform:uppercase;
- }
- .text a {
- color:{color:accents};
- }
- blockquote:after,
- blockquote > p:first-child > .tumblr_blog:first-child:before {
- content:'';
- display:block;
- }
- hr,
- blockquote:after,
- blockquote > p:first-child > .tumblr_blog:first-child:before {
- margin:13px 0 14px;
- width:25px;
- height:1px;
- background-color:#d9d9d9;
- }
- blockquote:last-child:after {
- display:none;
- }
- .roboto-mono,
- .roboto-mono .entry {
- font-size:9px;
- font-family:'roboto mono', monospace;
- }
- .helvetica,
- .helvetica .entry {
- font-family:'helvetica neue', sans-serif;
- }
- /* container */
- .main {
- margin:77px 20px 20px;
- }
- /* header */
- header {
- position:fixed;
- margin-top:-77px;
- left:0;
- right:0;
- z-index:5;
- padding:20px;
- overflow:hidden;
- text-align:center;
- background-color:#ffffff;
- border-top:1px solid rgba({RGBcolor:accents},.5);
- border-bottom:1px solid #eeeeee;
- }
- header .title {
- margin:0;
- line-height:inherit;
- text-transform:uppercase;
- letter-spacing:5px;
- padding-left:5px;
- display:block;
- }
- /* footer */
- footer {
- padding:10px;
- text-align:center;
- background-color:#ffffff;
- border-top:1px solid #eeeeee;
- }
- nav li {
- display:inline-block;
- margin:10px;
- }
- nav li a {
- opacity:.67;
- -webkit-transition:opacity .4s ease-in-out;
- transition:opacity .4s ease-in-out;
- }
- nav li a:hover {
- opacity:1;
- }
- .desc {
- width:400px;
- max-width:calc(100vw - 100px);
- margin:10px auto;
- }
- .desc, .desc:empty {
- display:none;
- }
- /* posts */
- .content {
- margin:0;
- font-size:0;
- min-height:calc(100vh - 153px);
- }
- .entry {
- position:relative;
- display:inline-block;
- font-size:10px;
- padding:21px 20px;
- -moz-box-sizing:border-box;
- box-sizing:border-box;
- width:100%;
- {block:PermalinkPage}
- width:440px;
- max-width:calc(100vw - 40px);
- display:block;
- margin:0 auto;
- {/block:PermalinkPage}
- }
- .entry:before {
- content:'';
- position:absolute;
- top:20px;
- left:20px;
- right:20px;
- height:1px;
- opacity:.6;
- background-color:{color:accents};
- }
- .entry:after {
- content:'';
- position:absolute;
- bottom:20px;
- left:20px;
- right:20px;
- height:1px;
- opacity:.67;
- background-color:#dadada;
- }
- .post {
- padding:18px 20px;
- }
- .post, .media {
- background-color:#ffffff;
- }
- /* post info */
- .date, .tags {
- opacity:.67;
- }
- .tags {
- margin:0 0 10px;
- }
- .ctrl {
- display:none;
- }
- .rf {
- margin:0 0 10px;
- }
- /* media */
- .media {
- position:relative;
- overflow:hidden;
- display:none;
- }
- .m .media {
- display:block;
- }
- .media img {
- width:100%;
- }
- /* post text */
- .text:not(:last-child) {
- margin-bottom:10px;
- }
- .text img {
- padding:2px 0;
- }
- .chat {
- padding:0;
- list-style-type:none;
- }
- .question, .quote {
- margin:0 -20px 18px;
- padding:0 20px 18px;
- border-bottom:1px solid #e6e6e6;
- overflow:hidden;
- }
- .sender {
- opacity:.67;
- float:right;
- padding-left:14px;
- text-transform:lowercase;
- }
- /* audio posts */
- .audiowrap {
- position:relative;
- height:60px;
- overflow:hidden;
- background-color:#ffffff;
- border-bottom:1px solid #e6e6e6;
- }
- .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:15px;
- }
- .audio .track span:last-child {
- opacity:.67;
- }
- /* pagination */
- .page {
- text-align:center;
- margin:0 40px 20px;
- }
- .page .pagination {
- overflow:hidden;
- text-align:left;
- }
- .page .pagination .next {
- float:right;
- }
- .page a {
- display:inline-block;
- margin:0 0 20px;
- }
- .page .prev {
- opacity:.67;
- }
- .page .next, .load-more {
- color:{color:accents};
- opacity:.75;
- }
- .page .load-more {
- display:none;
- }
- /* post notes */
- #notes .title {
- margin:0;
- }
- .notes {
- margin:18px 0 0;
- padding:0;
- }
- .note {
- display:block;
- padding:0;
- opacity:.67;
- }
- .note img {
- display:none;
- }
- .note blockquote {
- margin:0;
- }
- .more_notes_link_container {
- text-align:left!important;
- margin-top:18px;
- }
- #tumblr_controls,
- .tmblr-iframe.tmblr-iframe--desktop-logged-in-controls {
- position:fixed!important;
- top:0!important;
- right:0!important;
- opacity:.4!important;
- -webkit-filter:invert(100%);
- -webkit-backface-visibility:hidden;
- padding:17px;
- }
- #tumblr_lightbox, .tmblr-lightbox {
- background-color:#f6f6f6!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;
- max-width:none;
- }
- #tumblr_lightbox_caption, .lightbox-caption {
- visibility:hidden;
- }
- #infscr-loading {
- display:none!important;
- }
- {block:IndexPage}
- /* index */
- article {
- opacity:0;
- z-index:-1;
- }
- .ctrl {
- display:block;
- position:absolute;
- right:34px;
- bottom:30px;
- }
- .ctrl a {
- position:relative;
- overflow:hidden;
- display:inline-block;
- padding:5px;
- width:12px;
- height:12px;
- }
- .ctrl .rb {
- opacity:.93;
- }
- .ctrl .rb svg {
- width:9px;
- margin-top:1px;
- }
- .ctrl .li .liked + svg {
- opacity:1;
- }
- .ctrl .li .liked + svg path {
- fill:#ec5a5a;
- }
- .ctrl .like_button iframe {
- position:absolute;
- top:0;
- left:0;
- bottom:0;
- right:0;
- width:100%;
- height:100%;
- z-index:2;
- opacity:0;
- }
- .caption p:not(:last-child) {
- margin:0;
- }
- {block:ifNotShowCaptions}
- .caption {
- display:none;
- }
- {/block:ifNotShowCaptions}
- {block:ifNotShowTags}
- .tags {
- display:none;
- }
- {/block:ifNotShowTags}
- {block:ifLoadMore}
- .pagination {
- display:none;
- }
- .page .load-more {
- display:inline-block;
- margin:0 10px 20px 9px;
- letter-spacing:2px;
- }
- {/block:ifLoadMore}
- /* breakpoints */
- @media screen and (min-width:600px) {
- .main {
- margin-right:18px;
- }
- .desc {
- display:block;
- }
- .entry {
- width:calc(50% - 0.5px);
- }
- .post {
- padding:12px 14px;
- }
- .ctrl {
- right:28px;
- bottom:24px;
- }
- .question, .quote {
- margin:0 -14px 12px;
- padding:0 14px 12px;
- }
- {block:ifHoverEffects}
- .entry:before,
- .entry:after {
- opacity:.25;
- -webkit-transition:opacity .4s ease-in-out;
- transition:opacity .4s ease-in-out;
- }
- .entry:hover:before,
- .entry:hover:after {
- opacity:.67;
- }
- .h {
- opacity:.67;
- -webkit-transition:opacity .4s ease-in-out;
- transition:opacity .4s ease-in-out;
- }
- .lb, .photo-slideshow, .video {
- display:block;
- opacity:.8;
- -webkit-transition:opacity .4s ease-in-out;
- transition:opacity .4s ease-in-out;
- }
- .entry:hover .h,
- .entry:hover .lb,
- .entry:hover .photo-slideshow,
- .entry:hover .video {
- opacity:1;
- }
- .quote, .question, .audiowrap {
- border-color:#f2f2f2;
- -webkit-transition:border-color .4s ease-in-out;
- transition:border-color .4s ease-in-out;
- }
- .entry:hover .quote,
- .entry:hover .question,
- .entry:hover .audiowrap {
- border-color:#e6e6e6;
- }
- {/block:ifHoverEffects}
- }
- @media screen and (min-width:880px) {
- .main {
- margin-right:17px;
- }
- .entry {
- width:calc(33.3333% - 0.5px);
- }
- }
- @media screen and (min-width:1160px) {
- .main {
- margin-right:16px;
- }
- .entry {
- width:calc(25% - 0.5px);
- }
- }
- @media screen and (min-width:1440px) {
- .main {
- margin-right:15px;
- }
- .entry {
- width:calc(20% - 0.5px);
- }
- }
- @media screen and (min-width:1720px) {
- .main {
- margin-right:14px;
- }
- .entry {
- width:calc(16.6667% - 0.5px);
- }
- }
- @media screen and (min-width:2000px) {
- .main {
- margin-right:13px;
- }
- .entry {
- width:calc(14.2857% - 0.5px);
- }
- }
- {/block:IndexPage}
- </style>
- <link href="http://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css">
- </head>
- <body class="{select:font}">
- <div class="main">
- <header><h1 class="title"><a class="toggle-menu" href="/">{Title}</a></h1></header>
- <div class="content">
- {block:Posts}
- <article id="{PostID}" class="entry {block:Photo}m{/block:Photo}{block:Photoset}m{/block:Photoset}{block:Video}m{/block:Video}{block:Audio}m{/block:Audio}">
- <section class="media">
- {block:Audio}
- <div class="audiowrap">
- <div class="audio">
- {block:AudioPlayer}
- <div class="player">{AudioPlayerWhite}</div>
- {/block:AudioPlayer}
- <div class="track">{block:TrackName}<span class="h">{TrackName}</span>{/block:TrackName}{block:Artist}<span>{Artist}</span>{/block:Artist}</div>
- </div>
- </div>
- {/block:Audio}
- {block:Photo}
- {block:PermalinkPage}
- {LinkOpenTag}
- <img src="{PhotoURL-HighRes}">
- {LinkCloseTag}
- {/block:PermalinkPage}
- {block:IndexPage}
- <a class="lb h" href="#" onclick="Tumblr.Lightbox.init([{ width: '{PhotoWidth-HighRes}', height: '{PhotoHeight-HighRes}', low_res: '{PhotoURL-500}', high_res: '{PhotoURL-HighRes}' }]);$('body').toggleClass('tumblr_lightbox_active');return false">
- <img src="{PhotoURL-HighRes}">
- </a>
- {/block:IndexPage}
- {/block:Photo}
- {block:Photoset}
- {block:PermalinkPage}
- <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>
- {/block:PermalinkPage}
- {block:IndexPage}
- {block:ifNotShowFullPhotosets}
- <a class="lb" href="#" onclick="Tumblr.Lightbox.init([/*{block:Photos}, /**/ { width: '{PhotoWidth-HighRes}', height: '{PhotoHeight-HighRes}', low_res: '{PhotoURL-500}', high_res: '{PhotoURL-HighRes}' }{/block:Photos}]);$('body').toggleClass('tumblr_lightbox_active');return false">
- {block:Photos}<img src="{PhotoURL-HighRes}"><!--{/block:Photos}-->
- </a>
- {/block:ifNotShowFullPhotosets}
- {block:ifShowFullPhotosets}
- <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>
- {/block:ifShowFullPhotosets}
- {/block:IndexPage}
- {/block:Photoset}
- {block:Video}
- <div class="video">{Video-500}</div>
- {/block:Video}
- </section>
- <section class="post">
- {block:Answer}
- <div class="question">
- <span class="inquiry h">{Question}</span>
- <span class="sender">— {Asker}</span>
- </div>
- <div class="answer text h">{Answer}</div>
- {/block:Answer}
- {block:Chat}
- {block:Title}<h1 class="title h">{Title}</h1>{/block:Title}
- <div class="chat text h">
- {block:Lines}
- <p class="line">
- {block:Label}
- <span class="label">{Label} </span>
- {/block:Label}
- {Line}
- </p>
- {/block:Lines}
- </div>
- {/block:Chat}
- {block:Link}
- <h1 class="title h"><a href="{URL}">{Name}</a></h1>
- {block:Description}<div class="text h">{Description}</div>{/block:Description}
- {/block:Link}
- {block:Quote}
- <div class="quote"><div class="text h">{Quote}</div></div>
- {block:Source}
- <div class="source text h">{Source}</div>
- {/block:Source}
- {/block:Quote}
- {block:Text}
- {block:Title}<h1 class="title h">{Title}</h1>{/block:Title}
- <div class="text h">{Body}</div>
- {/block:Text}
- {block:Caption}
- <div class="caption text h">{Caption}</div>
- {/block:Caption}
- {block:HasTags}
- <div class="tags">
- {block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}
- </div>
- {/block:HasTags}
- {block:Date}
- <div class="date accent">
- {block:PermalinkPage}
- {block:RebloggedFrom}
- <div class="rf">
- Reblogged from <a href="{ReblogParentURL}">{ReblogParentName}</a>
- {block:ContentSource}
- / Source: <a href="{ReblogRootURL}">{ReblogRootName}</a>
- {/block:ContentSource}
- </div>
- {/block:RebloggedFrom}
- {/block:PermalinkPage}
- <a href="{Permalink}" class="permalink">{TimeAgo}</a>
- {block:IndexPage}
- <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="li">{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>
- </div>
- {/block:IndexPage}
- </div>
- {/block:Date}
- </section>
- </article>
- {block:PostNotes}
- <article id="notes" class="entry">
- <section class="post">
- <h1 class="title accent">{NoteCountWithLabel}</h1>
- {PostNotes}
- </section>
- </article>
- {/block:PostNotes}
- {/block:Posts}
- <!-- {block:ContentSource}{SourceURL}{/block:ContentSource}{block:RebloggedFrom}{ReblogRootURL}{ReblogParentURL}{/block:RebloggedFrom} -->
- </div>
- </div>
- {block:Pagination}
- <div class="page accent">
- <div class="pagination">{block:PreviousPage}<a class="prev" href="{PreviousPage}">{lang:Previous}</a>{/block:PreviousPage} {block:NextPage}<a class="next" href="{NextPage}">{lang:Next page}</a>{/block:NextPage}</div>
- {block:ifLoadMore}<a href="#" class="load-more">load more posts</a>{/block:ifLoadMore}
- </div>
- {/block:Pagination}
- <footer>
- <nav class="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}<li><a href="http://shythemes.tumblr.com">theme</a></li>
- </nav>
- <div class="desc">{Description}</div>
- </footer>
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="//static.tumblr.com/6hsqxdt/QBym35odk/jquery.masonry.js"></script>
- <script src="//static.tumblr.com/fwgzvyf/2nno5ubpt/shythemes.fn.js"></script>
- <script src="//static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
- {block:IndexPage}
- <script src="//static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
- {/block:IndexPage}
- <script>
- $(document).ready(function(){
- var $container = $('.content');
- $('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: '1px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- $container.audioplayers('{color:accents}');
- {block:IndexPage}
- $container.masonry({ itemSelector: '.entry' });
- $container.resizevideos();
- $container.imagesLoaded(function(){
- $container.masonry();
- $('aside').animate({ opacity: 1 });
- $container.find('.entry').animate({ opacity: 1, zIndex: 1 });
- });
- $(window).resize(function(){
- $container.masonry();
- $container.find('.video.resized').each(function(){
- $(this).removeClass('resized');
- });
- $container.resizevideos();
- });
- $container.infinitescroll({
- itemSelector: '.entry',
- navSelector: '.pagination',
- nextSelector: '.next',
- loadingImg: '',
- loadingText: '<em></em>',
- bufferPx: 2000,
- errorCallback: function() {
- $('.load-more').fadeOut();
- }
- },
- function( newElements ) {
- var $newElems = $(newElements);
- $newElems.imagesLoaded(function(){
- $container.masonry( 'appended', $newElems );
- $newElems.animate({ opacity: 1, zIndex: 1 });
- });
- var $newElemsIDs = $newElems.map(function(){
- return this.id;
- }).get();
- Tumblr.LikeButton.get_status_by_post_ids($newElemsIDs);
- $newElems.find('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: '1px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- },
- function(){
- $container.masonry();
- });
- $newElems.audioplayers('{color:accents}');
- $newElems.resizevideos();
- });
- $(window).unbind('.infscr');
- $('.load-more').click(function(){
- $container.infinitescroll('retrieve');
- return false
- });
- {/block:IndexPage}
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement