Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!------------------------------------------
- (◍•ᴗ•◍)♡ ✧*。
- Answer To Theme
- by ThemeKid Chloë | @redivide | @themekid
- > Do not delete/alter any credit.
- > Do not claim as your own.
- > Do not copy any code.
- > Do not redistribute.
- ------------------------------------------->
- <html>
- <head>
- <meta charset="UTF-8" />
- <title>{block:TagPage}{Tag} posts | {/block:TagPage}{block:PostSummary}{PostSummary} | {/block:PostSummary}{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}
- {block:Hidden}
- <meta name="image:Sidebar" content="//66.media.tumblr.com/7b04165af206ea3935083663fcb754ac/tumblr_oeepa36YRh1v8yaeco1_400.jpg" />
- <meta name="color:Accent" content="#dcecf5" />
- <meta name="color:Dark Accent" content="#529ecc" />
- <meta name="if:Redirect Ask" content="" />
- <meta name="text:IMPORTANT" content="do not enable the redirect ask if you are using the default /ask page. it will cause your browser to crash! only enable if you are using a custom ask page."/>
- <meta name="text:Ask Link" content="/ask" />
- <meta name="text:Link 1" content="" />
- <meta name="text:URL 1" content="" />
- <meta name="text:Icon 1" content="icon-oi_sun" />
- <meta name="text:Link 2" content="" />
- <meta name="text:URL 2" content="" />
- <meta name="text:Icon 2" content="icon-oi_cloud" />
- <meta name="text:Link 3" content="" />
- <meta name="text:URL 3" content="" />
- <meta name="text:Icon 3" content="icon-oi_snowflake" />{/block:Hidden}
- <link rel="stylesheet" href="https://static.tumblr.com/8pnyeus/D87qcdm0a/oi-icomoon.css">
- <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
- <link href="https://fonts.googleapis.com/css?family=Nixie+One|Open+Sans:400,400i,700,700i|Roboto+Condensed" rel="stylesheet">
- <script src="//static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
- <link rel="stylesheet" href="//static.tumblr.com/8pnyeus/29To2og0o/styles.css">
- <script src="https://dl.dropboxusercontent.com/s/7ke33tjjl8rty02/scripts.js"></script>
- <script>{block:IfRedirectAsk}
- if(window.location.pathname == '/ask') location.replace('{text:Ask Link}');{/block:IfRedirectAsk}
- (function($){ $(document).ready(function(){ $("[title],a[title],img[title]").style_my_tooltips({ tip_follows_cursor:true, tip_delay_time:100, tip_fade_speed:300, attribute:"title" }); }); })(jQuery);
- var fhs = document.createElement('script');var fhs_id = "5515042";var ref = (''+document.referrer+'');var pn = window.location;var w_h = window.screen.width + " x " + window.screen.height;fhs.src = "//freehostedscripts.net/ocounter.php?site="+fhs_id+"&e1=&e2=&r="+ref+"&wh="+w_h+"&a=1&pn="+pn+"";document.head.appendChild(fhs);document.write("<span id='o_"+fhs_id+"' style='display:none'></span>");
- </script>
- <style type="text/css">
- * {
- margin:0;
- padding:0;
- }
- #tumblr_controls, .tmblr-iframe {
- top:5px!important;
- right:20px!important;
- -webkit-filter: invert(90%);
- filter: invert(90%);
- position:fixed!important;
- -webkit-transform:scale(.8, .8);
- -moz-transform:scale(.8, .8);
- transform:scale(.8, .8);
- -webkit-transform-origin: right top;
- -moz-transform-origin: right top;
- -ms-transform-origin: right top;
- -o-transform-origin: right top;
- transform-origin: right top;
- z-index:999999999999999999!important
- }
- [class*=" icon-oi_"]:before,[class^=icon-oi_]:before {
- line-height:inherit;
- vertical-align: middle;
- }
- @font-face {
- font-family: 'icomoon';
- src: url('https://dl.dropboxusercontent.com/s/1ohfequ7ws4ejzm/icomoon.eot?5kiojs');
- src: url('https://dl.dropboxusercontent.com/s/1ohfequ7ws4ejzm/icomoon.eot?5kiojs#iefix') format('embedded-opentype'),
- url('https://dl.dropboxusercontent.com/s/9qmsmnbzj2canp9/icomoon.ttf?5kiojs') format('truetype'),
- url('https://dl.dropboxusercontent.com/s/eodx1z60h9yimh0/icomoon.woff?5kiojs') format('woff'),
- url('https://dl.dropboxusercontent.com/s/m57uc7hijqbua78/icomoon.svg?5kiojs#icomoon') format('svg');
- font-weight: normal;
- font-style: normal;
- }
- ::-webkit-scrollbar {
- background-color:#ddd;
- height: 11px;
- width: 11px;
- border:5px solid #fff;
- }
- ::-webkit-scrollbar-thumb {
- background-color:#000;
- border:5px solid #fff;
- }
- ::-moz-selection {
- color:{color:Dark Accent};
- background:rgba({RGBcolor:Accent},0.1);
- }
- ::selection {
- color:{color:Dark Accent};
- background:rgba({RGBcolor:Accent},0.1);
- }
- #s-m-t-tooltip {
- max-width:300px;
- padding:3px 6px;
- margin:20px 10px;
- background: #000;
- color:#fff;
- z-index:999999999999999!important;
- font-size:9px;
- text-transform:uppercase;
- font-family:'Roboto Condensed', monospace;
- }
- #reblogged {
- right:35px!important;
- }
- body {
- background: #fff;
- color:#000;
- font-size:10px;
- font-family:'Open Sans', sans-serif;
- word-break:break-word;
- }
- body:before, body:after {
- content:'';
- width:3px;
- height:100%;
- position:fixed;
- top:0;
- right:0;
- background: #fff;
- border-right:20px solid {color:Accent};
- border-left:1px dotted {color:Accent};
- }
- body:after {
- left:0;
- border-left:20px solid {color:Accent};
- border-right:1px dotted {color:Accent};
- }
- img:not(.lightbox-image) {
- vertical-align:middle;
- max-width:100%;
- }
- a {
- text-decoration:none;
- color:{color:Dark Accent};
- }
- h1,h2,h3,h4,h5,h6 {
- font-family:'Nixie One', serif;
- font-weight:normal;
- }
- aside {
- width:200px;
- position:fixed;
- top:90px;
- left:calc(50% - 420px);
- }
- aside h1 {
- font-size:2.2em;
- text-shadow:2px 2px rgba({RGBcolor:Accent},0.6);
- }
- aside #avatar {
- width:90px;
- height:90px;
- border:1px solid #eaeaea;
- padding:5px;
- border-radius:50%;
- background:#fff;
- display:inline-block;
- position:absolute;
- left:-120px;
- top:0;
- }
- #desc {
- margin-top:15px;
- }
- ul#nav {
- list-style:none;
- margin:15px 0;
- }
- ul#nav a {
- color:#000;
- }
- ul#nav li {
- font-family:'Nixie One', serif;
- text-transform:capitalize;
- background:{color:Accent};
- display:inline-block;
- margin-right:5px;
- width:12px;
- text-align:center;
- height:12px;
- line-height:12px;
- padding:3px;
- border-radius:50%;
- -webkit-transition: all 0.3s ease-in-out;
- -moz-transition: all 0.3s ease-in-out;
- -o-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- }
- ul#nav li:hover {
- transform:rotate(360deg);
- -webkit-transition: all 0.3s ease-in-out;
- -moz-transition: all 0.3s ease-in-out;
- -o-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- }
- #infscr-loading {
- position:absolute;
- margin-bottom:0px;
- bottom:40px;
- width:200px;
- margin-left:50%;
- left:-100px;
- text-align:center;
- }
- #wrapper {
- width:580px;
- margin:30px auto;
- left:150px;
- position:relative;
- padding:30px 30px 70px;
- }
- article {
- width:250px;
- box-sizing:border-box;
- margin-bottom:80px;
- padding:10px;
- border:1px solid #eaeaea;
- outline:1px dotted #eaeaea;
- outline-offset:-4px;
- position:relative;
- background:#fff;
- }
- * + .caption {
- margin-top:10px;
- }
- img.caption_avatar {
- border-radius:3px;
- margin-right:5px;
- height:20px;
- }
- blockquote.tumblr_parent {
- margin-bottom:10px;
- border-bottom:1px solid #fafafa;
- padding-bottom:10px;
- }
- blockquote.tumblr_parent:last-of-type {
- margin-bottom:0;
- padding-bottom:0;
- }
- blockquote.tumblr_parent ul,
- blockquote.tumblr_parent ol {
- margin:10px 0;
- line-height:2em;
- padding-left:25px;
- }
- blockquote.tumblr_parent ul {
- list-style:circle;
- }
- blockquote.tumblr_parent blockquote {
- border-left:2px solid #eee;
- padding-left:10px;
- margin:10px 0;
- margin-left:15px;
- }
- blockquote.tumblr_parent p {
- margin:5px 0;
- }
- .t blockquote.tumblr_parent p:last-of-type {
- margin-bottom:0;
- }
- .quote cite {
- display:block;
- text-align:right;
- margin-top:5px;
- }
- .chat ul {
- list-style:none;
- }
- .chat ul span {
- font-weight:bold;
- }
- .chat ul li {
- padding: 6px 0;
- border-bottom: 1px solid #fafafa;
- }
- .chat ul li:last-of-type {
- border-bottom:0;
- }
- .album-art {
- height:50px;
- margin-bottom:15px;
- width:100%;
- background:{color:Accent} repeat center center;
- background-size:contain;
- }
- .audio-info {
- list-style:none;
- padding:0;
- margin:0;
- }
- .audio-info li {
- border-bottom:1px solid #eaeaea;
- padding:4px 0;
- text-align:right;
- }
- .audio-info i, .audio-info b {
- float:left;
- }
- .audio-info i {
- color:#7b7b7b;
- margin-right:4px;
- }
- .tumblr_audio_player {
- width: calc(100% - 20px);
- position: absolute;
- top: 10px;
- height: 50px;
- opacity: 0.6;
- }
- span.asker {
- display: block;
- margin-bottom: 5px;
- }
- .asker img {
- height: 20px;
- border-radius: 3px;
- margin-right: 3px;
- }
- .question {
- background: #fafafa;
- padding: 5px;
- border-radius: 3px;
- }
- .question + .question {
- margin-top: 8px;
- }
- .caption:empty {
- margin:0;
- }
- {block:IndexPage}
- article .t {
- padding:10px;
- }
- .photoset {
- margin-bottom:7px;
- }
- blockquote.tumblr_parent:last-of-type {
- border-bottom:none;
- }
- ul.permalinks {
- list-style:none;
- text-align:center;
- }
- ul.permalinks a {
- color:#000;
- }
- ul.permalinks li {
- background:{color:Accent};
- height: 14px;
- width: 14px;
- text-align: center;
- line-height: 14px;
- padding: 3px;
- border-radius: 50%;
- display:inline-block;
- margin: 5px;
- }
- article.non-text-type ul.permalinks {
- position:absolute;
- top:10px;
- left:10px;
- width:calc(100% - 20px);
- height:calc(100% - 20px);
- overflow:hidden;
- box-shadow:inset 0 0 20px rgba(100,100,100,0.5);
- -webkit-transition: all 0.3s ease-in-out;
- -moz-transition: all 0.3s ease-in-out;
- -o-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- }
- article.non-text-type ul.permalinks li {
- top:100%;
- position:relative;
- font-size: 1.2em;
- width: 18px;
- height: 18px;
- line-height: 18px;
- opacity:0;
- -webkit-transition: all 0.3s ease-in-out;
- -moz-transition: all 0.3s ease-in-out;
- -o-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- }
- article.non-text-type:hover ul.permalinks li {
- top:calc(50% - 12px);
- opacity:1;
- -webkit-transition: all 0.3s ease-in-out;
- -moz-transition: all 0.3s ease-in-out;
- -o-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- }
- article.non-text-type:hover ul.permalinks li:nth-of-type(2) {
- -webkit-transition-delay: 0.1s;
- transition-delay: 0.1s;
- }
- article.non-text-type:hover ul.permalinks li:nth-of-type(3) {
- -webkit-transition-delay: 0.2s;
- transition-delay: 0.2s;
- }
- article.non-text-type:hover ul.permalinks {
- box-shadow:inset 0 0 0px 150px rgba(255,255,255,0.5);
- -webkit-transition: all 0.3s ease-in-out;
- -moz-transition: all 0.3s ease-in-out;
- -o-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- }
- li.custom-like-button {
- position:relative;
- }
- .like_button {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- width: 100%;
- height: 100%;
- opacity: 0;
- z-index: 10;
- }
- .like_button iframe {
- width: 100% !important;
- height: 100% !important;
- }
- .our_toggle {
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- width: 14px;
- height: 14px;
- z-index: 1;
- -webkit-transition: all 0.2s ease-in-out;
- -moz-transition: all 0.2s ease-in-out;
- -o-transition: all 0.2s ease-in-out;
- transition: all 0.2s ease-in-out;
- }
- .non-text-type .our_toggle {
- width:18px;
- height:18px;
- }
- .like_button:hover + .our_toggle {
- color:#d95e40;
- -webkit-transition: all 0.2s ease-in-out;
- -moz-transition: all 0.2s ease-in-out;
- -o-transition: all 0.2s ease-in-out;
- transition: all 0.2s ease-in-out;
- }
- .like_button.liked + .our_toggle .icon-oi_heart:before {
- content: "\e992";
- color:#d95e40;
- }
- {/block:IndexPage}{block:PermalinkPage}
- article {
- width:530px;
- padding:25px;
- margin:0 auto;
- }
- blockquote.tumblr_parent {
- padding-left:2px;
- padding-right:2px;
- }
- .chat, .quote {
- border-bottom:1px solid #fafafa;
- padding-bottom:5px;
- }
- .tumblr_audio_player {
- width: calc(100% - 50px);
- top: 25px;
- }
- ul.extra-info {
- padding:0;
- margin:0;
- list-style:none;
- text-align:left;
- }
- ul.extra-info li {
- padding: 4px 0;
- margin: 3px 0;
- border-bottom: 1px solid #fafafa;
- text-align:left;
- }
- ul.extra-info i {
- font-size:13px;
- color:#7b7b7b;
- margin-right:3px;
- }
- ol.notes a, .extra-info a {
- color:#000;
- font-weight:bold;
- }
- ol.notes {
- padding:0;
- margin: 0;
- list-style-type: none;
- padding: 0;
- }
- ol.notes li.note {
- padding: 4px 0;
- margin: 3px 0;
- padding-left: 16px;
- border-bottom: 1px solid #fafafa;
- }
- ol.notes li.note .avatar_frame {
- float:right;
- }
- ol.notes li.note img.avatar {
- border-radius:3px;
- }
- ol.notes li.note blockquote {
- border-left:2px solid #eee;
- padding-left:10px;
- margin:10px 0;
- margin-left:15px;
- }
- ol.notes li.note blockquote a {
- text-decoration: none;
- }
- li.more_notes_link_container {
- font-weight: bold;
- text-transform: uppercase;
- font-size: 0.85em;
- }
- li.like:before {
- content: "\e993";
- font-family: icomoon!important;
- font-style: normal;
- font-weight: 400;
- speak: none;
- display: inline-block;
- text-decoration: inherit;
- width: 1em;
- text-align: center;
- font-variant: normal;
- text-transform: none;
- vertical-align: middle;
- line-height: 1;
- font-size: 1em;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- margin-right: -11px;
- color:#f3719f;
- left: -16px;
- position: relative;
- font-size:13px;
- }
- li.reblog:before {
- content:'\e9ae';
- font-family: icomoon!important;
- font-style: normal;
- font-weight: 400;
- speak: none;
- display: inline-block;
- text-decoration: inherit;
- width: 1em;
- text-align: center;
- font-variant: normal;
- text-transform: none;
- vertical-align: middle;
- line-height: 1;
- font-size: 1em;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- margin-right: -11px;
- color:#7b7b7b;
- left: -16px;
- position: relative;
- font-size:13px;
- }
- li.original_post:before {
- content:'\e9b8';
- }
- {/block:PermalinkPage}
- </style>
- </head>
- <body>
- <aside>
- <h1>{Title}</h1>
- {block:IfSidebarImage}<img src="{image:Sidebar}" id="avatar">{/block:IfSidebarImage}
- {block:Description}<div id="desc">
- {Description}
- </div>{/block:Description}
- <ul id="nav">
- <li><a href="/" title="home"><i class="icon-oi_home"></i></a>
- {block:AskEnabled}<li><a href="{text:Ask Link}" title="message"><i class="icon-oi_chat"></i></a>{/block:AskEnabled}
- <li><a href="/archive"><i class="icon-oi_grid"></i></a>
- {block:IfLink1}<li><a href="{text:URL 1}" title="{text:Link 1}"><i class="{text:Icon 1}"></i></a>{/block:IfLink1}
- {block:IfLink2}<li><a href="{text:URL 2}" title="{text:Link 2}"><i class="{text:Icon 2}"></i></a>{/block:IfLink2}
- {block:IfLink3}<li><a href="{text:URL 3}" title="{text:Link 3}"><i class="{text:Icon 3}"></i></a>{/block:IfLink3}
- </ul>
- </aside>
- <div id="wrapper">
- <section id="posts">
- {block:Posts}<article id="{PostID}" class="{block:Photo}non-{/block:Photo}text-type">
- {block:Text}<div class="text t">
- {block:Title}<h2>{Title}</h2>{/block:Title}
- <div class="caption">{Body}</div>
- </div>{/block:Text}{block:Photo}<div class="photo">
- <img src="{block:IndexPage}{PhotoURL-250}{/block:IndexPage}{block:PermalinkPage}{PhotoURL-HighRes}{/block:PermalinkPage}">
- </div>{/block:Photo}{block:Photoset}<div class="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:Quote}<div class="quote {Length} t">
- <h2>{Quote}</h2>
- {block:Source}<cite>{Source}</cite>{/block:Source}
- </div>{/block:Quote}{block:Link}<div class="link t">
- <h2><a href="{URL}"><i class="icon-oi_link"></i> {Name}</a></h2>
- {block:Description}<div class="caption">{Description}</div>{/block:Description}
- </div>{/block:Link}{block:Chat}<div class="chat t">
- <ul>
- {block:Lines}<li>{block:Label}<span>{Label}</span>{/block:Label} {Line}{/block:Lines}
- </ul>
- </div>{/block:Chat}{block:Audio}<div class="audio t">
- {block:AlbumArt}<div class="album-art" style="background-image:url({AlbumArtURL})"></div>{/block:ALbumArt}
- <ul class="audio-info">
- <li><i class="icon-oi_mic"></i> <b>Artist:</b> <span {block:Artist}style="display:none;"{/block:Artist}>Unknown</span>{block:Artist}{Artist}{/block:Artist}<br>
- <li><i class="icon-oi_playlist"></i> <b>Title:</b> <span {block:TrackName}style="display:none;"{/block:TrackName}>Unknown</span>{block:TrackName}{TrackName}{/block:TrackName}<br>
- <li><i class="icon-oi_disc"></i> <b>Album:</b> <span {block:Album}style="display:none;"{/block:Album}>Unknown</span>{block:Album}{Album}{/block:Album}
- <li><i class="icon-oi_repeat"></i> <b>Plays:</b> {FormattedPlayCount}
- </ul>
- {block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}
- </div>{/block:Audio}{block:Video}<div class="vid t">
- <div class="video">
- {block:IndexPage}{Video-250}{/block:IndexPage}{block:PermalinkPage}{Video-700}{/block:PermalinkPage}
- </div>
- </div>{/block:Video}{block:Answer}<div class="answer t">
- <div class="question">
- <span class="asker"><img src="{AskerPortraitURL-24}"> {Asker} asked:</span>
- {Question}
- </div>
- {block:Answerer}<div class="question">
- <span class="asker"><img src="{AnswererPortraitURL-24} "> {Answerer} replied:</span>
- {Answer}
- </div>{/block:Answerer}
- <div class="caption">
- {Replies}
- </div>
- </div>{/block:Answer}{block:IndexPage}
- <ul class="permalinks">
- <li class="custom-like-button" title="like">{LikeButton}<div class="our_toggle"><i class="icon-oi_heart"></i></span></div>
- <li><a href="{ReblogURL}" target="_blank" title="Reblog?"><i class="icon-oi_refresh"></i></a>
- <li><a href="{Permalink}" target="_blank" title="{NoteCount}"><i class="icon-oi_info"></i></a>
- </ul>
- {/block:IndexPage}{block:PermalinkPage}{block:Caption}
- <div class="caption">
- {Caption}
- </div>{/block:Caption}
- {block:Date}<ul class="extra-info">
- <li><i class="icon-oi_time"></i> {DayOfMonthWithZero}.{MonthNumberWithZero}.{ShortYear} ({TimeAgo})
- {block:NoteCount}<li><i class="icon-oi_chart"></i> {NoteCountWithLabel}{/block:NoteCount}
- {block:RebloggedFrom}<li><i class="icon-oi_refresh"></i> <a href="{ReblogParentURL}">{ReblogParentName}</a>{/block:RebloggedFrom}
- {block:ContentSource}<li><i class="icon-oi_globe"></i> <a href="{SourceURL}">{SourceTitle}</a>{/block:ContentSource}
- {block:HasTags}<li><i class="icon-oi_tags"></i> {block:Tags}<a href="/tagged/{Tag}">#{Tag}</a> {/block:Tags}{/block:HasTags}
- </ul>{/block:Date}
- {block:PostNotes}<div id="notes">
- {PostNotes-16}
- </div>{/block:PostNotes}
- {/block:PermalinkPage}
- </article>
- {/block:Posts}
- </section>
- </div>
- {block:Pagination}
- <div class="pagination" style="visibility:hidden;">
- {block:NextPage}<a href="{NextPage}" id="next-link">next</a>{/block:NextPage}
- </div>
- {/block:Pagination}
- <script src="//static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
- <script src="//static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
- <script src="//static.tumblr.com/iwtk77u/Yhym2yygt/jquery.imagesloaded.min.js"></script>
- <link href="//static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <script src="//static.tumblr.com/yxfeliq/hHwojmt8m/bctphotoset.min.js"></script>
- <script src="//static.tumblr.com/wgg6svp/I8Yobwo15/unnest.min.js"></script>
- <script src ="//static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script>
- <script>
- var pxuOptions = {
- lightbox: true,
- rounded: false,
- gutter: '5px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- }, infScrollOptions = {
- navSelector : "div.pagination",
- nextSelector : ".pagination a#next-link",
- itemSelector : "article",
- loading: {
- finishedMsg: "<p>You've reached the end of the Earth.</p>",
- img : "https://res1.nabtrade.com.au/Content/Images/ajax_loader.gif",
- msg: null,
- msgText: "",
- },
- }, masonryOptions = {
- itemSelector: 'article',
- isAnimated:false,
- columnWidth:250,
- gutterWidth:80,
- }, unnestOptions = {
- yourCaption: ".caption",
- wrapName: ".tumblr_parent",
- newCaptionUsername: true,
- originalPostCaptionUsername: false,
- tumblrAvatars: true,
- tumblrAvatarClass: ".caption_avatar",
- usernameColon: false
- }
- $(function(){
- $('.photo-slideshow').pxuPhotoset(pxuOptions);
- $('article').unnest(unnestOptions);
- {block:IndexPage}
- var $tumblelog = $('#posts');
- $tumblelog.imagesLoaded(function () {
- $tumblelog.masonry(masonryOptions);
- });
- $tumblelog.infinitescroll(
- infScrollOptions, function( newElements ) {
- var $newElems = $( newElements );
- var $newElemsIDs = $newElems.map(function () {
- return this.id;
- }).get();
- $newElems.find('.photo-slideshow').pxuPhotoset(pxuOptions);
- $newElems = $(newElements).css({ opacity: 0, zIndex: -1});
- $newElems.imagesLoaded(function(){
- $newElems.animate({ opacity: 1, zIndex: 1 });
- $tumblelog.masonry( 'appended', $newElems );
- });
- $newElems.unnest(unnestOptions);
- Tumblr.LikeButton.get_status_by_post_ids($newElemsIDs);
- resizeVideos();
- });
- {/block:IndexPage}
- })();
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement