Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <!--
- ==============================================
- 「 CODES BY POHRORO 」
- @ http://pohroro.com
- Theme ▸ 005. Petrichor Hills (Revamped)
- Last Updated: 13 January 2017
- +
- Icon:
- redvlvets.tumblr.com
- Masonry + Infinite Scroll + PXU Photosets:
- shythemes.tumblr.com
- ==============================================
- -->
- <title>Philocalies</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <link href="https://fonts.googleapis.com/css?family=Karla:400,400italic,700,700italic|Arapey:400,400italic" rel="stylesheet" type="text/css">
- <link href="https://static.tumblr.com/yzs4yqx/aSjo8f2eh/reset.css" rel="stylesheet" type="text/css">
- <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
- <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css">
- <meta name="image:Background" content="">
- <meta name="image:Avatar" content="http://static.tumblr.com/2d2eda7f206c2bb9122674a7fcea2078/yzs4yqx/V6Wojoukk/tumblr_static_5qn6r0tvu5oogw4cokk8og80s.png">
- <meta name="color:Body Font" content="#313131">
- <meta name="color:Background" content="#F0EBE6">
- <meta name="color:Bar Background" content="#FFFFFF">
- <meta name="color:Post Background" content="#FFFFFF">
- <meta name="color:Accent" content="#C3AB95">
- <meta name="color:Link" content="#C3AB95">
- <meta name="color:Hover Link" content="#C1C1C1">
- <meta name="color:Title" content="#000000">
- <meta name="color:Border" content="#F1F1F1">
- <meta name="select:Background Type" content="background-repeat: repeat;" title="Repeat Background">
- <meta name="select:Background Type" content="background-size: cover;" title="Full Page Background">
- <meta name="if:Infinite Scroll" content="0">
- <meta name="if:Inverted Controls" content="1">
- <meta name="if:Show Captions" content="1">
- <meta name="if:Show Page Border" content="1">
- <meta name="if:Show Avatar" content="1">
- <meta name="if:Show Tags" content="1">
- <meta name="if:Custom Link Four" content="1">
- <meta name="if:Custom Link Five" content="1">
- <meta name="if:Custom Link Six" content="0">
- <meta name="select:Post Size" content="250px" title="200px">
- <meta name="select:Post Size" content="250px" title="250px">
- <meta name="select:Post Size" content="300px" title="300px">
- <meta name="select:Post Size" content="400px" title="400px">
- <meta name="select:Post Size" content="500px" title="500px">
- <meta name="select:Post Size" content="540px" title="540px">
- <meta name="select:Columns" content="1" title="1">
- <meta name="select:Columns" content="2" title="2">
- <meta name="select:Columns" content="3" title="3">
- <meta name="select:Body Font Size" content="10px" title="10px">
- <meta name="select:Body Font Size" content="11px" title="11px">
- <meta name="select:Body Font Size" content="12px" title="12px">
- <meta name="select:Body Font Size" content="13px" title="13px">
- <meta name="text:Title" content="Petrichor Hills">
- <meta name="text:Post Margin" content="30px">
- <meta name="text:Link One" content="Index">
- <meta name="text:Link One URL" content="/">
- <meta name="text:Link Two" content="Message">
- <meta name="text:Link Two URL" content="/ask">
- <meta name="text:Link Three" content="Link Three">
- <meta name="text:Link Three URL" content="Link Three URL">
- <meta name="text:Link Four" content="Link Four">
- <meta name="text:Link Four URL" content="Link Four URL">
- <meta name="text:Link Five" content="Link Five">
- <meta name="text:Link Five URL" content="Link Five URL">
- <meta name="text:Link Six" content="Link Six">
- <meta name="text:Link Six URL" content="Link Six URL">
- <style>
- div#qTip {
- font: 8px/10px Karla;
- background: {color:Accent};
- text-align: center;
- text-transform: uppercase;
- color: {color:Post Background};
- display: none;
- max-width: 350px;
- position: absolute;
- text-align: justify;
- z-index: 99;
- padding: 3px 4px 2px 4px;
- margin: -5px 0 0 20px;
- border-radius: 1px;
- letter-spacing: 1px;
- }
- .tmblr-iframe {
- z-index: 9999!important;
- opacity: 0.2!important;
- position: fixed!important;
- transform: scale(0.9);
- {block:IfShowPageBorder}
- right: 3px!important;
- top: 20px!important;
- {/block:IfShowPageBorder}
- {block:IfNotShowPageBorder}
- right: -10px!important;
- top: 7px!important;
- {/block:IfNotShowPageBorder}
- {block:IfInvertedControls}
- white-space: nowrap;
- -webkit-filter: invert(100%);
- filter: invert(100%);
- {/block:IfInvertedControls}
- }
- body {
- font-family: Karla, Arial;
- color: {color:Body Font};
- font-size: {select:Body Font Size};
- background: {color:Background} url({image:Background}) fixed;
- {select:Background Type}
- line-height: 20px;
- }
- sub, sup, small {
- font-size: {select:Body Font Size};
- }
- a {
- color: {color:Link};
- text-decoration: none;
- -webkit-transition: all 0.5s ease;
- transition: all 0.5s ease;
- }
- a:hover {
- color: {color:Hover Link};
- }
- h1 {
- font: normal 16px Arapey;
- font-style: italic;
- text-align: center;
- padding: 10px 0;
- {block:IndexPage}
- padding-top: 0px;
- {/block:IndexPage}
- }
- #top, #left, #right, #bottom {
- background: {color:Bar Background};
- position: fixed;
- z-index: 999;
- }
- #top {
- height: 15px;
- width: 100%;
- top: 0;
- left: 0;
- }
- #left {
- height: 100%;
- width: 15px;
- top: 0;
- left: 0;
- }
- #right {
- height: 100%;
- width: 15px;
- top: 0;
- right: 0;
- }
- #bottom {
- width: 100%;
- height: 80px;
- left: 0;
- bottom: 0;
- text-align: center;
- padding-top: 10px;
- }
- #avatar img {
- width: 40px;
- height: 40px;
- border-radius: 100%;
- border: 6px solid {color:Bar Background};
- margin-top: -35px;
- margin-bottom: -3px;
- }
- #title {
- font: italic 22px/16px Arapey;
- color: {color:Accent};
- {block:IfNotShowAvatar}
- margin-top: 13px;
- {/block:IfNotShowAvatar}
- }
- #title span {
- background: {color:Bar Background};
- padding: 0 15px;
- }
- #title hr {
- margin-top: -9px;
- width: 250px;
- border-color: {color:Border};
- }
- nav {
- font-size: 8px;
- text-transform: uppercase;
- letter-spacing: 1.5px;
- margin-top: 15px;
- color: {color:Accent};
- }
- nav a {
- margin: 0 5px;
- color: {color:Body Font};
- }
- #container {
- {block:IndexPage}
- width: calc(({select:Post Size} * {select:Columns}) + ({select:Columns} * ({text:Post Margin} * 2)));
- {/block:IndexPage}
- {block:PermalinkPage}
- width: 500px;
- {/block:PermalinkPage}
- margin: 0 auto;
- left: 0;
- right: 0;
- position: absolute;
- padding: 60px 0 130px;
- }
- #entries {
- {block:PermalinkPage}
- width: 500px;
- {/block:PermalinkPage}
- }
- .post {
- background: {color:Bar Background};
- border-top-left-radius: 3px;
- border-top-right-radius: 3px;
- border-bottom-left-radius: 3px;
- border-bottom-right-radius: 3px;
- line-height: 15px;
- text-align: justify;
- {block:IndexPage}
- width: {select:Post Size};
- margin: 0px {text:Post Margin} calc({text:Post Margin} + 10px);
- opacity: 0;
- z-index: -1;
- {/block:IndexPage}
- {block:PermalinkPage}
- margin: 0 auto;
- width: 500px;
- {/block:PermalinkPage}
- }
- .post img {
- max-width: 100%;
- height: auto;
- {block:IndexPage}
- width: {select:Post Size};
- {/block:IndexPage}
- {block:PermalinkPage}
- width: 500px;
- {/block:PermalinkPage}
- }
- .post blockquote {
- padding: 0;
- margin: 0;
- border-left: 1px solid {color:Border};
- padding-left: 12px;
- margin-left: 12px;
- padding-right: 12px;
- }
- .text {
- border-top: 1px solid {color:Border};
- border-bottom: 1px solid {color:Border};
- padding: 0 15px 5px;
- }
- .caption {
- line-height: 15px;
- padding: 0 12px 3px;
- {block:IfShowTags}
- border-bottom: 1px solid {color:Border};
- {/block:IfShowTags}
- }
- .photo {
- line-height: 0px;
- }
- .quote {
- text-align: center;
- font: italic 13px Arapey;
- }
- .source {
- font-style: normal;
- font-size: {select:Body Font Size};
- }
- .question h1 a {
- color: {color:Body Font};
- }
- .question div {
- border-top: 1px solid {color:Border};
- border-bottom: 1px solid {color:Border};
- padding: 12px;
- color: {color:Accent};
- font-weight: bold;
- text-align-last: center;
- }
- .answer {
- padding: 0 12px;
- border-bottom: 1px solid {color:Border};
- }
- .audio {
- border-top: 1px solid {color:Border};
- border-bottom: 1px solid {color:Border};
- }
- .player {
- position: absolute;
- line-height: 0;
- z-index: 1;
- overflow: hidden;
- width: 27px;
- height: 27px;
- margin-left: 26px;
- margin-top: 28px;
- }
- .art {
- width: 80px;
- height: 80px;
- position: absolute;
- z-index: 0;
- }
- .details {
- height: 55px;
- text-align: center;
- line-height: 15px;
- padding-top: 25px;
- margin-left: 80px;
- }
- #permalink {
- text-transform: uppercase;
- text-align: center;
- font-size: 8px;
- letter-spacing: 1.5px;
- line-height: 20px;
- padding-top: 5px;
- height: 25px;
- }
- #permalink a {
- background: {color:Post Background};
- color: {color:Accent};
- padding: 0 12px;
- }
- #permalink hr {
- border-color: {color:Border};
- z-index: -9;
- width: 100%;
- margin-top: 3px;
- position: absolute;
- }
- .controls {
- top: 0;
- margin-top: -14px;
- -webkit-transition: all 0.5s ease;
- transition: all 0.5s ease;
- }
- .controls svg {
- width: 8px;
- height: auto;
- display: inline-block;
- overflow: visible;
- margin-bottom: 5px;
- fill: {color:Body Font};
- border-radius: 100%;
- -webkit-transition: all 0.5s ease;
- transition: all 0.5s ease;
- opacity: 0.5;
- }
- .controls a {
- position: relative;
- width: 12px;
- height: 12px;
- }
- .controls .reblog {
- float: left;
- margin-left: 1px;
- z-index: 99;
- background: {color:Post Background};
- }
- .controls .like {
- float: right;
- z-index: 99;
- background: {color:Post Background};
- }
- .controls .like .liked + svg path {
- fill: {color:Accent};
- }
- .controls .like .like_button iframe {
- position: absolute;
- top: 0;
- left: 0;
- bottom: 0;
- right: 0;
- opacity: 0;
- z-index: 2;
- }
- #permpage {
- text-transform: uppercase;
- text-align: center;
- margin-top: 10px;
- padding: 3px 0 10px;
- font-size: 8px;
- letter-spacing: 1px;
- line-height: 12px;
- border-bottom: 1px solid {color:Border};
- }
- .tags {
- text-transform: uppercase;
- text-align: center;
- padding: 8px 5px;
- {block:IndexPage}
- font-size: 8px;
- letter-spacing: 1px;
- line-height: calc({text:Body Font Size} + 1px);
- color: {color:Accent};
- {/block:IndexPage}
- }
- .tags a {
- {block:IndexPage}
- color: {color:Body Font};
- color: {color:Accent};
- {/block:IndexPage}
- margin-right: 3px;
- }
- .tags a:last-of-type {
- margin: 0;
- }
- ol.notes {
- padding: 12px;
- margin: 20px 0px;
- list-style-type: none;
- }
- ol.notes li.note {
- margin-bottom: 10px;
- }
- ol.notes li.note img.avatar {
- border-radius: 100%;
- vertical-align: -4px;
- margin-right: 10px;
- width: 16px;
- height: 16px;
- }
- .pagination {
- margin: 0 auto;
- top: calc(50% - 50px);
- width: 100%;
- position: fixed;
- {block:IfInfiniteScroll}
- display: none;
- {/block:IfInfiniteScroll}
- }
- .pagination svg {
- width: 40px;
- height: 40px;
- display: inline-block;
- margin-bottom: -2px;
- stroke-width: 5px;
- stroke: {color:Accent};
- -webkit-transition: all 0.5s ease;
- transition: all 0.5s ease;
- }
- .pagination a:hover svg {
- stroke: {color:Body Font};
- }
- .previous_page {
- left: 30px;
- display: block;
- position: fixed;
- }
- .next_page {
- right: 30px;
- display: block;
- position: fixed;
- }
- ::-webkit-scrollbar {
- height: 10px;
- width: 7px;
- background: {color:Bar Background};
- }
- ::-webkit-scrollbar-thumb:vertical {
- background: {color:Background};
- border: 3px solid {color:Bar Background};
- }
- ::selection {
- background: {color:Link};
- color: #FFF;
- }
- #infscr-loading {
- opacity: 0;
- line-height: 0px;
- }
- </style>
- </head>
- <body>
- {block:IfShowPageBorder}
- <div id="top"></div>
- <div id="left"></div>
- <div id="right"></div>
- {/block:IfShowPageBorder}
- <div id="bottom">
- {block:IfShowAvatar}
- <div id="avatar"><img src="{image:Avatar}"></div>
- {/block:IfShowAvatar}
- <div id="title"><span>{text:Title}</span><hr></div>
- <nav>
- <a href="{text:Link One URL}">{text:Link One}</a> ●
- <a href="{text:Link Two URL}">{text:Link Two}</a> ●
- <a href="{text:Link Three URL}">{text:Link Three}</a>
- {block:IfCustomLinkFour} ● <a href="{text:Link Four URL}">{text:Link Four}</a>{/block:IfCustomLinkFour}
- {block:IfCustomLinkFive} ● <a href="{text:Link Five URL}">{text:Link Five}</a>{/block:IfCustomLinkFive}
- {block:IfCustomLinkSix} ● <a href="{text:Link Six URL}">{text:Link Six}</a>{/block:IfCustomLinkSix}
- ● <a href="http://pohroro.com">Theme</a>
- </nav>
- </div>
- <div id="container">
- <div id="entries">
- {block:Posts}
- <div class="post" id="{PostID}">
- {block:IndexPage}
- <div id="permalink">
- <a href="{Permalink}" title="{NoteCountWithLabel}">{TimeAgo}</a>
- <div class="controls">
- <a href="{ReblogURL}" target="_blank" class="reblog" title="Reblog">
- <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>
- </div>
- <div class="controls">
- <a href="#" class="like" title="Like">{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>
- <hr>
- </div>
- </div>
- {/block:IndexPage}
- {block:Text}
- {block:Title}<h1>{Title}</h1>{/block:Title}
- <div class="text">{Body}</div>
- {/block:Text}
- {block:Photo}
- <div class="photo">
- {LinkOpenTag}<img src="{PhotoURL-HighRes}" width="100%">{LinkCloseTag}
- </div>
- {/block:Photo}
- {block:Photoset}
- <div class="photo">
- <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:Quote}
- <div class="quote">
- {Quote}<br>
- {block:Source}<span class="source">— {Source}</span>{/block:Source}
- </div>
- {/block:Quote}
- {block:Link}
- <h1><a href="{URL}" {Target}>{Name}</a></h1>
- {block:Description}{Description}{/block:Description}
- {/block:Link}
- {block:Chat}
- {block:Title}<h1>{Title}</h1>{/block:Title}
- {block:Lines}
- {block:Label}<b>{Label}</b>{/block:Label}
- {Line}<br>
- {/block:Lines}
- {/block:Chat}
- {block:Audio}
- <div class="audio">
- <div class="player">{AudioPlayerWhite}</div>
- <div class="art">{block:AlbumArt}<img src="{AlbumArtURL}">{/block:AlbumArt}</div>
- <div class="details">
- {block:TrackName}<span class="title">{TrackName}</span>{/block:TrackName}<br>
- by {block:Artist}<span class="artist">{Artist}</span>{/block:Artist}</div>
- </div>
- {/block:Audio}
- {block:Video}
- <div class="video">{Video-500}</div>
- {/block:Video}
- {block:ReblogParent}
- <!--{SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
- width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
- {/block:SourceLogo}{block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo}-->
- {/block:ReblogParent}
- {block:Answer}
- <div class="question">
- <h1>{Asker} asked:</h1>
- <div>{Question}</div>
- </div>
- <div class="answer">{Answer}</div>
- {/block:Answer}
- {block:IfShowCaptions}
- {block:IndexPage}
- {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
- {/block:IndexPage}
- {/block:IfShowCaptions}
- {block:PermalinkPage}
- {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
- {block:Date}
- <div id="permpage">
- Posted {TimeAgo} {block:NoteCount}with {NoteCountWithLabel}{/block:NoteCount}<br>
- {block:RebloggedFrom}Via: <a href="{ReblogParentURL}">{ReblogParentName}</a>, Source: <a href="{ReblogRootURL}">{ReblogRootName}</a><br>{/block:RebloggedFrom}
- {block:HasTags}Tagged: {block:Tags}<a href="{TagURL}">#{Tag} </a>{/block:Tags}
- {block:HasTags}
- </div>
- {/block:Date}
- {/block:PermalinkPage}
- {block:IfShowTags}
- {block:IndexPage}
- <div class="tags">
- {block:Tags}#<a href="{TagURL}">{Tag} </a>{/block:Tags}
- </div>
- {/block:IndexPage}
- {/block:IfShowTags}
- {block:PostNotes}{PostNotes}{/block:PostNotes}
- </div>
- {/block:Posts}
- </div>
- </div>
- {block:Pagination}
- <div class="pagination">
- {block:PreviousPage}
- <a href="{PreviousPage}" class="previous_page"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/" x="0px" y="0px" width="100px" height="197px" viewBox="-0.267 1.061 100 197" overflow="visible" enable-background="new -0.267 1.061 100 197" xml:space="preserve"><defs></defs><line fill="none" stroke-miterlimit="10" x1="100.065" y1="197.739" x2="1.061" y2="98.734"/>
- <line fill="none" stroke-miterlimit="10" x1="2.061" y1="99.734" x2="100.733" y2="1.061"/></svg></a>
- {/block:PreviousPage}
- {block:NextPage}
- <a href="{NextPage}" class="next_page"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/" x="0px" y="0px" width="100px" height="197px" viewBox="2.729 1.061 100 197" overflow="visible" enable-background="new 2.729 1.061 100 197" xml:space="preserve"><defs></defs><line fill="none" stroke-miterlimit="10" x1="1.729" y1="1.061" x2="100.733" y2="100.065"/><line fill="none" stroke-miterlimit="10" x1="99.733" y1="99.065" x2="1.061" y2="197.739"/></svg></a>
- {/block:NextPage}
- </div>
- {/block:Pagination}
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="https://static.tumblr.com/yzs4yqx/BV3o343ow/smoothscroll.min.js"></script>
- <script src="https://static.tumblr.com/tiu5k68/xTkm8wqw2/tumblr-title-qtip.js"></script>
- <script src="https://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
- <script src="https://static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script>
- {block:IndexPage}
- <script src="https://static.tumblr.com/6hsqxdt/QBym35odk/jquery.masonry.js"></script>
- {block:IfInfiniteScroll}
- <script src="https://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
- {/block:IfInfiniteScroll}
- {/block:IndexPage}
- <script>
- $(document).ready(function(){
- $('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: '3px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- {block:IndexPage}
- var $container = $('#container');
- $container.masonry({ itemSelector: '.post' });
- $container.imagesLoaded(function(){
- $container.masonry();
- $container.find('.post').animate({ opacity: 1, zIndex: 1 });
- });
- {block:IfInfiniteScroll}
- $container.infinitescroll({
- itemSelector: '.post',
- navSelector: '.pagination',
- nextSelector: '.pagination a',
- loadingImg: '',
- loadingText: '<em></em>',
- bufferPx: 2000
- },
- function( newElements ) {
- var $newElems = $(newElements);
- 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: '3px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- },
- function(){
- resizeVideos();
- },
- function(){
- $container.masonry();
- });
- $newElems.imagesLoaded(function(){
- $container.masonry( 'appended', $newElems );
- $newElems.animate({ opacity: 1, zIndex: 1 });
- });
- });
- {/block:IfInfiniteScroll}
- {/block:IndexPage}
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement