Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
- <link href='https://fonts.googleapis.com/css?family=Libre+Baskerville:400italic' rel='stylesheet' type='text/css'>
- <link rel="stylesheet" href="https://cdn.linearicons.com/free/1.0.0/icon-font.min.css">
- <title>{Title}</title>
- <!--
- ___________________________________________________________________________
- Nocturne - Theme #12
- my usual terms apply; please do not redstribute, copy, or steal in any way
- shoseii.tumblr.com
- ___________________________________________________________________________
- -->
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <link href="http://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- {block:Description}<meta name="description" content="{MetaDescription}" />
- {/block:Description}
- <meta name="image:Background" content=""/>
- <meta name="image:Sidebar" content=""/>
- <meta name="color:Background" content="#ffffff"/>
- <meta name="color:Border Color" content="#eeeeee"/>
- <meta name="color:Text" content="#000000"/>
- <meta name="color:Bold" content="#ED6B73"/>
- <meta name="color:Title" content="#000000"/>
- <meta name="color:Link" content="#797979"/>
- <meta name="color:Link Hover" content="#f59797"/>
- <meta name="color:Selection" content="#a5d7f0"/>
- <meta name="color:Scrollbar" content="#cccccc"/>
- <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=""/>
- <meta name="if:Infinite Scroll" content="1"/>
- <meta name="if:Manual Load" content=""/>
- <meta name="if:Mini Cursor" content=""/>
- <meta name="if:Grayscale Effect" content=""/>
- <style type="text/css">
- {block:ifMiniCursor}
- *, body, a {cursor: url(http://static.tumblr.com/p7wg3p9/o3jmn8igq/tiny.png), auto;}
- a:hover {cursor: url(http://static.tumblr.com/p7wg3p9/EWnmn8ip5/tinyhover.png), auto;}
- {/block:ifMiniCursor}
- @font-face{
- font-family:'Nitti Grotesk';
- src:url(http://static.tumblr.com/2e9nahe/ISXotiidz/b81086a2-5ae3-4417-b202-2f3527621478-3.woff) format('woff');
- }
- @font-face{
- font-family:'Nitti Grotesk';
- src:url(http://static.tumblr.com/2e9nahe/hfiotiig5/a16bc827-61b5-4dfc-b11e-bb4191d0a814-3.woff) format('woff');
- font-weight:200;
- }
- @font-face{
- font-family:'Nitti Grotesk';
- src:url(http://static.tumblr.com/2e9nahe/LXvotiijt/52af5be8-4bb6-43ad-b99d-a62836aab6f4-3.woff) format('woff');
- font-weight:bold;
- }
- ::-webkit-scrollbar{
- width:17px;
- height:17px;
- }
- ::-webkit-scrollbar{
- background-color:{color:Background};
- }
- ::-webkit-scrollbar-track{
- border:8px solid {color:Background};
- background-color:{color:Border Color};
- }
- ::-webkit-scrollbar-thumb{
- border:8px solid {color:Background};
- background-color:{color:Scrollbar};
- }
- ::-webkit-scrollbar:horizontal{
- display:none;
- }
- ::-moz-selection{
- background:{color:Selection};
- color:#fff;
- }
- ::selection{
- background:{color:Selection};
- color:#fff;
- }
- body{
- font:14px 'Nitti Grotesk', sans-serif;
- line-height:18px;
- font-weight:400;
- color:{color:Text};
- text-align:left;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- background:{color:Background} url('{image:Background}') fixed repeat center;
- }
- a{
- text-decoration:none;
- outline:none;
- -moz-outline-style:none;
- color:{color:Link};
- cursor:help;
- -webkit-transition: all 0.3s ease-in-out;
- -moz-transition: all 0.3s ease-in-out;
- -o-transition: all 0.3s ease-in-out;
- -ms-transition: all 0.3s ease-in-out
- transition: all 0.3s ease-in-out;
- }
- a:visited{
- color:{color:Link};
- }
- a:hover{
- color:{color:Link Hover};
- }
- b,strong{
- font-weight:heavy;
- color:{color:Bold};
- }
- blockquote{
- padding-left:5px;
- border-left:1px solid #ccc;
- }
- /*--Header--*/
- header{
- background:{color:Background} url('{image:Background}') fixed repeat center;
- padding:50px 20px 50px 20px;
- text-align:left;
- z-index:99999;
- {block:PermalinkPage}
- width:490px;
- {/block:PermalinkPage}
- }
- .sticky{
- position:-webkit-sticky;
- position:sticky;
- top:0px;
- }
- #title{
- display:inline-block;
- font:200 20px 'Nitti Grotesk', sans-serif;
- text-transform:uppercase;
- letter-spacing:2px;
- z-index:9999999999;
- -webkit-transition: all 0.3s ease-in-out;
- -moz-transition: all 0.3s ease-in-out;
- -o-transition: all 0.3s ease-in-out;
- -ms-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- }
- #title a{
- color:{color:Title};
- }
- #title a:hover{
- color:{color:Link Hover};
- }
- .lnr-menu{
- float:right;
- color:{color:Title};
- cursor:pointer;
- margin-top:5px;
- margin-right:-12px;
- {block:PermalinkPage}
- margin-right:-16px;
- {/block:PermalinkPage}
- }
- #links{
- display:none;
- position:fixed;
- background:#f8f8f8;
- right:0px;
- top:0px;
- height:100vh;
- width:200px;
- padding:20vh 40px 0px 50px;
- z-index:9999999999!important;
- }
- #links a{
- display:block;
- line-height:30px;
- font-size:11px;
- text-transform:uppercase;
- letter-spacing:2px;
- }
- #close{
- text-align:left;
- cursor:pointer;
- }
- #close img{
- position:absolute;
- width:15px;
- top:25px;
- margin-left:-20px;
- opacity:0.3;
- }
- #icon img{
- width:70px;
- height:70px;
- margin-bottom:10px;
- border-radius:100px;
- }
- #desc{
- margin-bottom:5px;
- line-height:20px;
- font-style:italic;
- font-family:georgia;
- font-size:11px;
- }
- /*--Posts--*/
- #content{
- max-width:970px;
- position:relative;
- margin-bottom:50px;
- margin-top:50px;
- margin-left:auto;
- margin-right:auto;
- {block:PermalinkPage}
- width:500px;
- text-align:left;
- {/block:PermalinkPage}
- }
- @media (max-width:992px){
- #content{
- max-width:650px;
- }
- }
- @media (max-width:672px){
- #content{
- max-width:325px;
- }
- body .text{
- height:auto;
- }
- .lnr-menu{
- margin-right:-16px;
- }
- }
- .entry{
- {block:indexpage}
- display:inline-block;
- width:300px;
- vertical-align:middle;
- margin:0px 0px 20px 0px;
- margin-right:0px;
- margin-left:20px;
- {/block:IndexPage}
- {block:permalinkpage}
- width:500px;
- height:auto;
- padding:23px;
- {/block:permalinkpage}
- }
- .entry img{
- max-width:300px;
- height:300px;
- overflow:hidden;
- {block:PermalinkPage}
- max-width:500px;
- height:auto;
- {/block:PermalinkPage}
- }
- .ph{
- height:300px;
- overflow:hidden;
- }
- .pic{
- background:{color:Background} no-repeat center;
- background-size:cover;
- width:100%;
- height:100%;
- overflow:hidden;
- }
- .photos img{
- display:none;
- }
- .photos img:first-child{
- display:block;
- width:100%;
- }
- ol.notes{
- padding:0px;
- width:500px;
- height:218px;
- overflow:auto;
- margin:5px 0px;
- list-style-type:none;
- border:1px solid{color:Border Color};
- }
- ol.notes li.note{
- border-top:solid 1px {color:Border Color};
- padding:10px;
- }
- ol.notes li.note:first-child{
- border:none;
- }
- ol.notes li.note img.avatar{
- vertical-align:-4px;
- margin-right:10px;
- width:16px;
- height:16px;
- }
- ol.notes li.note blockquote{
- border-color:{color:Border Color};
- padding:4px 10px;
- margin:10px 0px 0px 25px;
- }
- ol.notes li.note blockquote a{
- text-decoration:none;
- }
- /*--Grayscale Effect--*/
- .img{
- {block:indexpage}
- {block:ifGrayscaleEffect}
- filter: url(filters.svg#grayscale);
- filter: gray;
- -webkit-filter: grayscale(1);
- {/block:ifGrayscaleEffect}
- -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;
- {/block:indexpage}
- }
- .entry:hover .img{
- {block:indexpage}
- opacity:0.6;
- {block:ifGrayscaleEffect}
- filter: url(filters.svg#grayscale);
- filter: gray;
- -webkit-filter: grayscale(0);
- {/block:ifGrayscaleEffect}
- {/block:indexpage}
- }
- /*--Permalinks--*/
- .permalink{
- position:absolute;
- display:block;
- font-size:10px;
- padding-top:10px;
- margin-left:10px;
- text-align:left;
- opacity:0;
- z-index:999;
- -webkit-transition:all 0.5s ease-in-out;
- -moz-transition:all 0.5s ease-in-out;
- -o-transition:all 0.5s ease-in-out;
- transition:all 0.5s ease-in-out;
- }
- .permalink a{
- color:{color:Link};
- }
- .permalink a:hover{
- color:{color:Link Hover};
- }
- .entry:hover .permalink{
- opacity:1;
- }
- .date{
- background:#fbfbfb;
- padding:3px;
- margin-right:10px;
- text-transform:uppercase;
- }
- .noet{
- background:#fbfbfb;
- padding:2px 0px 0px 5px;
- margin-right:10px;
- margin-bottom:5px;
- }
- .like_button{
- position:relative;
- width:1.5em;
- height:1.7em;
- }
- .like_button:before{
- content:"\e813";
- position:absolute;
- color:{color:Link};
- top:-3px;
- left:0px;
- padding-top:2px;
- font-size:11px;
- font-family:'Linearicons-Free';
- text-align:center;
- -webkit-transition:all 0.5s ease-in-out;
- -moz-transition:all 0.5s ease-in-out;
- -o-transition:all 0.5s ease-in-out;
- transition:all 0.5s ease-in-out;
- }
- .like_button iframe{
- position:absolute;
- top:0px;
- left:0px;
- opacity:0;
- z-index:99;
- }
- .like_button.liked:before, .like_button:hover:before{
- color:{color:Link Hover};
- }
- /*--Miscellaneous--*/
- iframe.tmblr-iframe{
- z-index:99999999999999!important;
- top:0!important;
- right:0!important;
- opacity:0.4;
- /* delete from here */
- filter:invert(1);
- -webkit-filter:invert(1);
- -o-filter:invert(1);
- -moz-filter:invert(1);
- -ms-filter:invert(1);
- /* to here if your blog has a dark background */
- transform:scale(0.6);
- transform-origin:100% 0;
- -webkit-transform:scale(0.6);
- -webkit-transform-origin:100% 0;
- -o-transform:scale(0.6);
- -o-transform-origin:100% 0;
- -moz-transform:scale(0.6);
- -moz-transform-origin:100% 0;
- -ms-transform:scale(0.6);
- -ms-transform-origin:100% 0;
- -webkit-transition:all 0.5s ease-in-out;
- -moz-transition:all 0.5s ease-in-out;
- -o-transition:all 0.5s ease-in-out;
- transition:all 0.5s ease-in-out;
- }
- iframe.tmblr-iframe:hover{
- opacity:0.6!important;
- }
- .load-more{
- position:relative;
- padding:5px;
- border:1px solid {color:Border Color};
- }
- footer{
- width:67px;
- margin:0 auto;
- padding-bottom:90px;
- }
- .pagination{
- display:none;
- }
- #pagination a{
- font-size:16px;
- padding:5px;
- border:1px solid {color:Border Color};
- }
- .back{
- margin-top:0px;
- }
- .next{
- margin-top:0px;
- }
- .text img{
- {block:IndexPage}
- max-width:280px;
- {/block:IndexPage}
- {block:PermalinkPage}
- max-width:500px;
- {/block:PermalinkPage}
- width:auto;
- height:auto;
- }
- .text{
- background:#fbfbfb;
- height:280px;
- padding:10px;
- vertical-align:middle;
- text-align:left;
- overflow:auto;
- }
- .player{
- background:#f2f2f2;
- display:block;
- padding:141px 20px 131px 20px;
- overflow:hidden;
- }
- .audio{
- margin-top:5px;
- }
- .tumblr_audio_player{
- float:left;
- width:35px;
- }
- #s-m-t-tooltip{
- background:#fff;
- color:#888;
- font-size:10px;
- font-style:italic;
- font-weight:500;
- letter-spacing:2px;
- text-transform:uppercase;
- max-width:300px;
- padding:4px;
- z-index:9999999999;
- margin:20px 10px 10px 10px;
- box-shadow:1px 1px 3px rgba(0,0,0,.1);
- }
- .quote{
- font-weight:bold;
- text-align:left;
- margin-left:11px;
- }
- .ask{
- background:{color:Caption};
- color:{color:Text};
- width:250px;
- margin-left:auto;
- margin-right:auto;
- padding:10px 0px 10px 10px;
- border:1px solid {color:Border Color};
- border-radius:5px;
- text-align:left;
- }
- .answer{
- margin:0 auto;
- width:250px;
- word-break:break-all;
- text-align:left;
- }
- .caption{
- {block:IndexPage}
- background:{color:Caption};
- border:1px solid {color:Border Color};
- border-radius:5px;
- {/block:IndexPage}
- font-size:10px;
- color:{color:Caption Text};
- margin-top:10px;
- padding:5px;
- overflow:auto;
- }
- .caption img{
- width:auto;
- height:auto;
- max-width:calc(300px - 70px);
- {block:PermalinkPage}
- max-width:430px;
- {/block:PermalinkPage}
- }
- .back-to-top{
- position: fixed;
- bottom:-75px;
- left:10px;
- background: url('http://static.tumblr.com/2e9nahe/xvCoaucis/arrow-up.svg') no-repeat;
- background-size:15px;
- width:100px;
- height:100px;
- z-index:9999999;
- }
- .back-to-top a{
- text-indent: -9999px;
- display: block;
- }
- #infscr-loading{
- display:none!important;
- }
- .tumblr_video_container{
- width:300px;
- height:300px;
- border-radius:4px;
- overflow:hidden;
- {block:PermalinkPage}
- width:500px;
- height:auto;
- max-height:none;
- border-radius:0px;
- {/block:PermalinkPage}
- }
- .vignette, #vignette {
- opacity:0;
- }
- .lightbox-image, #tumblr_lightbox img {
- box-shadow:none!important;
- border-radius:0!important;
- max-width:none;
- }
- .tmblr-lightbox, #tumblr_lightbox {
- background-color:{color:Background}!important;
- }
- </style>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
- <script>
- (function($){
- $(document).ready(function(){
- $("[title]").style_my_tooltips({
- tip_follows_cursor:true,
- tip_delay_time:20,
- tip_fade_speed:400,
- attribute:"title"
- });
- });
- })(jQuery);
- </script>
- <!--Scroll back to top-->
- <div class="back-to-top" id="back-top">
- <a href="javascript:void(0)" class="back-to-top">Top</a>
- </div>
- <script type="text/javascript">
- $(function () {
- $("#back-top").hide();
- $(window).scroll(function () {
- if ($(this).scrollTop() > 150) {
- $('#back-top').fadeIn();
- } else {
- $('#back-top').fadeOut();
- }
- });
- });
- jQuery('.back-to-top').click(function () {
- jQuery('html, body').animate({
- scrollTop: 0
- }, 'slow');
- });
- </script>
- <!--end of Scroll back to top-->
- <!--minimal soundcloud player by shythemes-->
- <script>
- // minimal soundcloud player © shythemes.tumblr
- $(document).ready(function(){
- var color = '#acd7bb'; // color of play button (hex)
- $('.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=true&origin=tumblr&color=' + color.split('#')[1], height: 20, width: '100%' });
- });
- });
- </script>
- <!--end minimal soundcloud player-->
- {block:ifInfiniteScroll}
- <div class="pagination">
- {block:Pagination}{block:PreviousPage}<a href="{PreviousPage"}>previous</a> ·{/block:PreviousPage} {block:NextPage}<a href="{NextPage}" id="next">next</a>{/block:NextPage}{/block:Pagination}
- </div>
- {/block:ifInfiniteScroll}
- <script src ="//static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script>
- <script src="http://static.tumblr.com/2e9nahe/iHEnx7e4y/stickyfill.min.js"></script>
- <script>
- $(document).ready(function(){
- $('.sticky').Stickyfill();
- });
- </script>
- <script src="https://code.jquery.com/ui/1.12.0/jquery-ui.min.js" integrity="sha256-eGE6blurk5sHj+rmkfsGYeKyZx3M4bG+ZlFyA7Kns7E=" crossorigin="anonymous"></script>
- <script>
- $(document).ready(function(){
- $('.lnr-menu').click(function(){
- $("#links").toggle('fade');
- });
- $('#close').click(function(){
- $("#links").toggle('fade');
- });
- });
- </script>
- </head>
- <link href="http://static.tumblr.com/2e9nahe/oAPnjs2lc/animate.css" rel="stylesheet" type="text/css" />
- <body>
- <div id="content">
- <header class="sticky">
- <div id="title"><a href="/">{Title}</a></div>
- <span class="lnr lnr-menu" title="links"></span>
- </header>
- <div id="links">
- <div id="close"><img src="http://static.tumblr.com/2e9nahe/uZrotkqd1/close.svg"></div>
- <div id="icon"><img src="{image:Sidebar}"></div>
- <div id="desc">{Description}</div>
- <a href="{text:Link 1 URL}">{text:Link 1}</a>
- <a href="{text:Link 2 URL}">{text:Link 2}</a>
- <a href="{text:Link 3 URL}">{text:Link 3}</a>
- <a href="{text:Link 4 URL}">{text:Link 4}</a>
- <a href="{text:Link 5 URL}">{text:Link 5}</a>
- <a href="{text:Link 6 URL}">{text:Link 6}</a>
- </div>
- {block:Posts}
- <div class="entry" id="{PostID}">
- {block:IndexPage}
- <div class="permalink">
- <div class="noet"><a href="{Permalink}" title="{NoteCountwithLabel}" target="_blank"><span class="lnr lnr-link"></span></a></div>
- <div class="noet">
- <a href="{ReblogURL}" target="_blank" title="Reblog?"><span class="lnr lnr-undo"></span></a>
- </div>
- <div class="noet">{LikeButton}</div>
- </div>
- {/block:IndexPage}
- {block:Text}
- <div class="text">{block:IndexPage}{/block:IndexPage}{block:Title}<h2><b><a href="{Permalink}">{Title}</a></b></h2>{/block:Title}
- {Body}
- </div>
- {/block:Text}
- {block:Photo}
- <div class="img">
- {block:IndexPage}
- <div class="ph"><div class="pic" style="background-image:url('{PhotoURL-HighRes}');"></div><div class="photos"><img src="{PhotoURL-HighRes}" alt="{PhotoAlt}"/></div></div>
- </div>
- {/block:IndexPage}
- {block:PermalinkPage}<img src="{PhotoURL-HighRes}"/>{block:Caption}<div class="caption">{caption}</div>{/block:Caption}
- {/block:PermalinkPage}
- {/block:Photo}
- {block:Photoset}
- {block:IndexPage}
- <div class="img">
- <div class="ph">{block:Photos}<div class="pic" style="background-image:url('{PhotoURL-HighRes}');"></div>{/block:Photos}<div class="photos">{block:Photos}<img src="{PhotoURL-HighRes}">{/block:Photos}</div></div>
- </div>
- {/block:IndexPage}
- {block:PermalinkPage}
- {Photoset-500}
- {block:Caption}<div class="caption">{caption}</div>{/block:Caption}
- {/block:PermalinkPage}
- {/block:Photoset}
- {block:Quote}
- <div class="text">
- <div style="position:absolute;margin-top:-5px;margin-left:-5px;font:30px times new roman;opacity:0.5;">“</div>
- <div class="quote">{Quote}</div>
- {block:Source}<p style="font:italic 10px georgia;">— {Source}</p>{/block:Source}
- </div>
- {/block:Quote}
- {block:Link}
- <div class="text">
- <a href="{URL}"><h1><b>{Name}</h1></b></a>{block:Description}{Description}{/block:Description}</div>
- {/block:Link}
- {block:Chat}
- <div class="text">
- {block:Title}<h3>{Title}</h3>{/block:Title}
- {block:Lines}<p>
- {block:Label}<b>{Label}</b>{/block:Label}
- {Line}</p>
- {/block:Lines}
- </div>
- {/block:Chat}
- {block:Audio}
- {block:AudioPlayer}
- <div class="player">
- {AudioPlayer}
- <div class="audio">{block:TrackName}<b>{TrackName}</b>{/block:TrackName} — {block:Artist}{Artist}{/block:Artist}</div>
- </div>
- {/block:AudioPlayer}
- {block:PermalinkPage}
- {block:Caption}<div class="caption">{caption}</div>{/block:Caption}
- {/block:PermalinkPage}
- {/block:Audio}
- {block:Answer}
- <div style="padding:10px 0px 5px 10px;"><b><u>{Asker}</u></b> asked:</div>
- <div class="ask">
- {Question}
- </div>
- <div class="answer">
- {Answer}
- </div>
- {/block:Answer}
- {block:Video}
- {block:IndexPage}
- <div class="img">
- <div class="video">{Video-500}</div>
- </div>
- {/block:IndexPage}
- {block:PermalinkPage}<div class="video">{Video-500}</div>
- {block:Caption}<div class="caption">{caption}</div>{/block:Caption}{/block:PermalinkPage}
- {/block:Video}
- {block:ContentSource} <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}" width="{Logowidth}px" height="{LogoHeight}" alt="{SourceTitle}" /> {/block:SourceLogo} {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo}--> {/block:ContentSource}
- {block:PermalinkPage}
- {block:Date}
- <div style="border-top:1px solid #ccc;width:500px;margin-top:5px;"></div>
- <div style="font-weight:600;font-size:14px;margin-top:10px;">{DayOfWeek}, {Month} {DayOfMonth}{DayOfMonthSuffix}, {Year}</div>
- {/block:Date}
- {block:NoteCount}{NoteCountWithLabel}{/block:NoteCount}
- <br>{block:HasTags}Tagged: {block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}<br>{/block:HasTags}
- {block:RebloggedFrom}Via: <i><a href="{ReblogParentURL}">{ReblogParentName}</i></a>
- <br>Source: <i><a href="{ReblogRootURL}">{ReblogRootName}</i></a>{/block:RebloggedFrom}
- {/block:PermalinkPage}
- {block:PostNotes}{PostNotes}{/block:PostNotes}
- </div>
- {/block:Posts}
- </div>
- {block:Pagination}
- <footer>
- {block:ifInfiniteScroll}{block:ifManualLoad}<a href="#" class="load-more">load more</a>{/block:ifManualLoad}{/block:ifInfiniteScroll}
- {block:ifnotinfinitescroll}
- <div id="pagination">
- {block:PreviousPage}<a href="{PreviousPage}" title="previous">«</a> {/block:PreviousPage} {block:NextPage}<a href="{NextPage}" title="next">»</a>{/block:NextPage}
- </div>
- {/block:ifnotinfinitescroll}
- </footer>
- {/block:Pagination}
- <script src="http://static.tumblr.com/2e9nahe/6Nxnjs2mx/wow.js"></script>
- <script>
- new WOW().init();
- </script>
- {block:IndexPage}
- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.imagesloaded/4.0.0/imagesloaded.pkgd.min.js"></script>
- {block:ifInfiniteScroll}
- <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
- {/block:ifInfiniteScroll}
- <script>
- $(document).ready(function(){
- var $container = $('#content');
- {block:ifInfiniteScroll}
- $container.infinitescroll({
- itemSelector: ".entry",
- navSelector: ".pagination",
- nextSelector: ".pagination a#next",
- loadingImg: "",
- loadingText: "<em> </em>",
- bufferPx: 100,
- extraScrollPx: 50,
- errorCallback: function(){ $('.load-more').text('no more posts').parent().delay(2000).slideUp("slow"); }
- },
- function(newElements){
- var $newElemsIDs = $newElems.map(function(){
- return this.id;
- }).get();
- console.log($newElems, $newElemsIDs);
- Tumblr.LikeButton.get_status_by_post_ids($newElemsIDs);
- resizeVideos();
- var $newElems = $( newElements ).hide();
- $newElems.imagesLoaded(function(){
- $newElems.fadeIn();
- });
- 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%' });
- });
- });
- {block:ifManualLoad}
- $(window).unbind('.infscr');
- $('.load-more').click(function(){
- $('#content').infinitescroll('retrieve');
- return false;
- });
- {/block:ifManualLoad}
- {/block:ifInfiniteScroll}
- });
- </script>
- {/block:IndexPage}
- <a href="http://shoseii.tumblr.com" style="font:italic 10px 'Libre Baskerville', serif;position:fixed;bottom:5px;right:3px;" title="© shoseii">&</a>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement