Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!---------------------------------------------------------
- (◍•ᴗ•◍)♡ ✧*。
- Perfect Places 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.
- ===========================================================
- DEPENDENCIES:
- > jQuery
- https://jquery.com/
- > Popups based off of
- https://kaushikresearch.wordpress.com/jquery/popup-with-jquery/
- > Infinite Scroll
- http://infinite-scroll.com/
- > PXU Photosets modified by BCT
- http://bychloethemes.tumblr.com/post/155956945114/
- > ImagesLoaded
- http://imagesloaded.desandro.com/
- > Video Resizing
- http://shythemes.tumblr.com/post/134536748863/
- > SMT Tooltips
- http://manos.malihu.gr/style-my-tooltips-jquery-plugin/
- > Unnest Captions
- http://neothm.com/post/148902138319/
- > Outicons
- http://antonps.com/outicons/
- > Google Fonts
- http://fonts.google.com/
- > FontAwesome Icons
- http://fontawesome.io/
- > Lightwidget
- https://lightwidget.com/
- > Masonry
- https://masonry.desandro.com/
- > jQuery Marquee
- https://github.com/aamirafridi/jQuery.Marquee
- > Twitter Fetcher
- https://github.com/jasonmayes/Twitter-Post-Fetcher
- ---------------------------------------------------------->
- <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="color:Accent" content="#9a6767" />
- <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:Quote" content="quote" />
- <meta name="text:Stats" content="stats" />
- {/block:Hidden}
- <!--there is a reason you can't find this link for outicons when you google, it's because i made it. so leave it the fuck alone and go make your own-->
- <link href='http://static.tumblr.com/8pnyeus/sXxofi7lt/outicons.css' rel='stylesheet' type='text/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=Roboto+Condensed:400,700|Open+Sans:400,700|Domine:400,700" rel="stylesheet">
- <script src="//static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
- <link rel="stylesheet" href="http://static.tumblr.com/8pnyeus/29To2og0o/styles.css">
- <script src="https://dl.dropboxusercontent.com/s/7ke33tjjl8rty02/scripts.js"></script>
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.0/css/font-awesome.min.css">
- <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 = "5521980";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">
- [class*=" oi-"]:before,[class^=oi-]:before {
- line-height: inherit;
- }
- * {
- margin: 0;
- padding: 0;
- }
- #tumblr_controls, .tmblr-iframe {
- top: -5px!important;
- right: 3px!important;
- -webkit-filter: invert(100%);
- filter: invert(100%);
- position: fixed!important;
- -webkit-transform: scale(.7, .7);
- -moz-transform: scale(.7, .7);
- transform: scale(.7, .7);
- -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
- }
- ::-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:Accent};
- background: rgba({RGBcolor:Accent},0.1);
- }
- ::selection {
- color: {color:Accent};
- background: rgba({RGBcolor:Accent},0.1);
- }
- #reblogged {
- bottom: 30px!important;
- }
- #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;
- }
- body {
- color: #000;
- font-size: 10px;
- font-family: "Domine", serif;
- word-break: break-word;
- background: #fff;
- }
- img:not(.lightbox-image) {
- vertical-align: middle;
- max-width: 100%;
- }
- a {
- text-decoration: none;
- color: {color:Accent};
- }
- a:hover {
- font-style: italic;
- }
- h1,h2,h3,h4,h5,h6 {
- font-family: 'Domine', sans-serif;
- font-weight: normal;
- }
- #t-bar {
- background: {color:Accent};
- padding: 6px 10px;
- width: 100%;
- position: fixed;
- top: 0;
- box-sizing: border-box;
- left: 0;
- z-index: 99999;
- display: none;
- }
- #t-bar a {
- color: #000;
- }
- #qbar {
- background: {color:Accent};
- padding: 5px 10px;
- width: 100%;
- position: fixed;
- bottom: 0;
- box-sizing: border-box;
- left: 0;
- z-index: 99999999999999999999;
- }
- #qbar span#stats {
- float: right;
- }
- #qbar a {
- color: #000;
- }
- header {
- text-align: center;
- margin-bottom: 30px;
- }
- header h1 {
- font-size: 2em;
- margin-bottom: 10px;
- font-family: 'Domine', serif;
- }
- #desc {
- margin: 5px auto;
- line-height: 1.7;
- margin: 10px 0;
- padding: 10px 0;
- }
- #banner {
- position: relative;
- }
- div#l-banner {
- border-width: 16.5px;
- border-color: {color:Accent} {color:Accent} {color:Accent} transparent;
- border-style: solid;
- width: 0px;
- height: 0px;
- position: absolute;
- top: 1px;
- left: -31px;
- z-index: -1;
- }
- div#r-banner {
- border-width: 16.5px;
- border-color: {color:Accent} transparent {color:Accent} {color:Accent};
- border-style: solid;
- width: 0px;
- height: 0px;
- position: absolute;
- top: 1px;
- right: -31px;
- z-index: -1;
- }
- ul#nav {
- background: {color:Accent};
- padding: 8px;
- border-radius: 4px;
- box-shadow: 0px 0px 2px rgba(0,0,0,0.2);
- z-index: 999;
- margin: 5px 0;
- }
- ul.nav {
- list-style: none;
- }
- ul#nav a {
- color: #000;
- }
- ul.nav li {
- margin: 0px 5px;
- text-transform: lowercase;
- line-height: 15px;
- vertical-align: middle;
- display: inline-block;
- }
- ul.nav li i {
- font-size: 1.3em;
- vertical-align: middle;
- margin-right: 7px;
- }
- #infscr-loading {
- position:absolute;
- margin-bottom:-50px;
- bottom:20px;
- width:200px;
- margin-left:50%;
- left:-100px;
- text-align:center;
- }
- #wrapper {
- width: 710px;
- margin: 0 auto;
- position: relative;
- margin-top: 30px;
- padding: 10px 0px 70px;
- }
- article {
- width: 210px;
- box-sizing: border-box;
- margin-bottom: 40px;
- position: relative;
- overflow: hidden;
- 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 #f6f6f6;
- 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;
- }
- a.tumblr_blog {
- font-family: 'Roboto Condensed', sans-serif;
- text-transform: uppercase;
- font-size: 0.9em;
- font-weight: bold;
- letter-spacing: 0.3px;
- }
- .t blockquote.tumblr_parent p:last-of-type {
- margin-bottom:0;
- }
- .photo, .photoset {
- overflow: hidden;
- }
- .quote cite {
- display:block;
- text-align:right;
- margin-top:5px;
- }
- .chat ul {
- list-style:none;
- }
- .chat ul span {
- font-family:'Roboto Condensed', sans-serif;
- font-weight:bold;
- }
- .chat ul li {
- padding: 6px 0;
- border-bottom: 1px solid #f6f6f6;
- }
- .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 b {
- font-family:'Roboto Condensed', sans-serif;
- }
- .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;
- }
- .asker a {
- font-family: 'Roboto Condensed', sans-serif;
- text-transform: uppercase;
- font-size: 0.9em;
- font-weight: bold;
- letter-spacing: 0.3px;
- }
- .question {
- background: #f6f6f6;
- padding: 10px;
- border-radius: 3px;
- }
- .question + .question {
- margin-top: 8px;
- }
- .caption:empty {
- margin: 0;
- }
- {block:IndexPage}
- article.text-type {
- padding: 15px;
- border: 1px solid #f6f6f6;
- }
- blockquote.tumblr_parent:last-of-type {
- border-bottom: none;
- }
- article.non-text-type .mask {
- position:absolute;
- top:0;
- left:0;
- width:100%;
- height:100%;
- z-index:999;
- -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 .mask {
- opacity:1;
- visibility:visible;
- -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 .photo img {
- -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 .photo img {
- -webkit-filter: grayscale(50%);
- filter: grayscale(50%);
- -webkit-transform:scale(1.2, 1.2);
- -moz-transform:scale(1.2, 1.2);
- transform:scale(1.2, 1.2);
- -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 .mask .more {
- width:140px;
- text-align:center;
- font-family:'Roboto Condensed', sans-serif;
- text-transform:uppercase;
- position:relative;
- line-height:200%;
- left:calc(50% - 70px);
- top:calc(50% - 54px);
- height:108px;
- }
- article.non-text-type .mask .more a {
- width:130px;
- padding:5px;
- background:#fff;
- margin:4px 0;
- display:block;
- position:relative;
- -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 .mask .more a:nth-of-type(odd) {
- left:-195px;
- -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 .mask .more a:nth-of-type(even) {
- right:-195px;
- -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 .mask .more a:nth-of-type(odd) {
- left: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 .mask .more a:nth-of-type(even) {
- right: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.text-type .mask a {
- font-family: 'Roboto Condensed', sans-serif;
- text-transform: uppercase;
- font-weight: bold;
- margin: 0 2px;
- }
- article.text-type .mask {
- margin-top: 10px;
- text-align: right;
- }
- article.text-type a:first-of-type {
- display: none;
- }
- article.text-type a:not(:last-of-type):after {
- content:'·';
- margin-left: 4px;
- }
- {/block:IndexPage}{block:PermalinkPage}
- article {
- width:530px;
- padding:25px;
- margin:0 auto;
- }
- blockquote.tumblr_parent {
- padding-left:2px;
- padding-right:2px;
- }
- .photoset {
- margin-bottom:7px;
- }
- .chat, .quote {
- border-bottom:1px solid #f6f6f6;
- 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;
- font-family:'Roboto Condensed', sans-serif;
- font-size:0.9em;
- text-transform:uppercase;
- }
- ul.extra-info li {
- padding: 4px 0;
- margin: 3px 0;
- border-bottom: 1px solid #f6f6f6;
- text-align:left;
- }
- ul.extra-info i {
- font-size:13px;
- color:#000;
- 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;
- font-family:'Roboto Condensed', sans-serif;
- font-size:0.9em;
- text-transform:uppercase;
- }
- ol.notes li.note {
- padding: 4px 0;
- margin: 3px 0;
- padding-left: 16px;
- border-bottom: 1px solid #f6f6f6;
- }
- ol.notes li.note .avatar_frame {
- float:right;
- margin-top:-2px;
- }
- 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;
- font-family:"Times New Roman", Times, serif;
- font-size:12px;
- text-transform:initial;
- }
- ol.notes li.note blockquote a {
- text-decoration: none;
- font-weight:normal;
- }
- li.more_notes_link_container {
- font-weight: bold;
- text-transform: uppercase;
- font-size: 0.85em;
- }
- li.like:before {
- content: "\e099";
- font-family: untitled-font-1!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:'\e083';
- font-family: untitled-font-1!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:#000;
- left: -16px;
- position: relative;
- font-size:13px;
- }
- li.original_post:before {
- content:'\e078';
- }
- {/block:PermalinkPage}
- </style>
- </head>
- <body>
- <div id="t-bar">
- <ul class="nav">
- <li><a href="/">home</a>
- {block:AskEnabled}<li><a href="{text:Ask Link}">message</a>{/block:AskEnabled}
- <li><a href="/archive">past</a>
- {block:HasPages}{block:Pages}<li><a href="{URL}">{Label}</a>{/block:Pages}{/block:HasPages}
- </ul>
- </div>
- <div id="qbar">{text:Quote} <span id="stats">{text:Stats}</span></div>
- <div id="wrapper">
- <header>
- <h1>{Title}</h1>
- {block:Description}<div id="desc">
- {Description}
- </div>{/block:Description}
- <div id="banner">
- <div id="l-banner"></div>
- <ul id="nav" class="nav">
- <li><a href="/">home</a>
- {block:AskEnabled}<li><a href="{text:Ask Link}">message</a>{/block:AskEnabled}
- <li><a href="/archive">past</a>
- {block:HasPages}{block:Pages}<li><a href="{URL}">{Label}</a>{/block:Pages}{/block:HasPages}
- </ul>
- <div id="r-banner"></div>
- </div>
- </header>
- <section id="posts">
- {block:Posts}<article id="{PostID}" class="{block:Photo}non-{/block:Photo}{block:Photoset}non-{/block:Photoset}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-400}{/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="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="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="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="oi-disc"></i> <b>Album:</b> <span {block:Album}style="display:none;"{/block:Album}>Unknown</span>{block:Album}{Album}{/block:Album}
- <li><i class="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-400}{/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}</span>
- {Question}
- </div>
- {block:Answerer}<div class="question">
- <span class="asker"><img src="{AnswererPortraitURL-24} "> {Answerer}</span>
- {Answer}
- </div>{/block:Answerer}
- <div class="caption">
- {Replies}
- </div>
- </div>{/block:Answer}{block:IndexPage}
- <div class="mask">
- <div class="more">
- <a href="{Permalink}" target="_blank">{TimeAgo}</a>
- <a href="{Permalink}" target="_blank">{NoteCount}</a>
- <a href="{ReblogURL}" target="_blank">reblog</a>
- </div>
- </div>
- {/block:IndexPage}{block:PermalinkPage}{block:Caption}
- <div class="caption">
- {Caption}
- </div>{/block:Caption}
- {block:Date}<ul class="extra-info">
- <li><i class="oi-time"></i> {DayOfMonthWithZero}.{MonthNumberWithZero}.{ShortYear} ({TimeAgo})
- {block:NoteCount}<li><i class="oi-chart"></i> {NoteCountWithLabel}{/block:NoteCount}
- {block:RebloggedFrom}<li><i class="oi-refresh"></i> <a href="{ReblogParentURL}">{ReblogParentName}</a>{/block:RebloggedFrom}
- {block:ContentSource}<li><i class="oi-globe"></i> <a href="{SourceURL}">{SourceTitle}</a>{/block:ContentSource}
- {block:HasTags}<li><i class="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="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
- <script src="http://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
- <script src="http://static.tumblr.com/iwtk77u/Yhym2yygt/jquery.imagesloaded.min.js"></script>
- <link href="http://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <script src="http://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
- <script src="http://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: '3px',
- 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: 210,
- gutterWidth: 40,
- }, unnestOptions = {
- yourCaption: ".caption",
- wrapName: ".tumblr_parent",
- newCaptionUsername: true,
- originalPostCaptionUsername: false,
- tumblrAvatars: true,
- tumblrAvatarClass: ".caption_avatar",
- usernameColon: false
- }
- var divs = $('#t-bar');
- var height = $('header').outerHeight() + 40;
- $(window).scroll(function(){
- if($(window).scrollTop() < height ){
- divs.fadeOut(150);
- } else {
- divs.fadeIn(150);
- }
- });
- $(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