Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- THEME: DORIS
- by acuite
- - don't steal this pls
- - enjoy, ilu (ノ◕ヮ◕)ノ*:・゚✧
- - @acuite for more themes
- -->
- <html>
- <head>
- <title>{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}
- <meta name="image:Sidebar" content=""/>
- <meta name="color:Background" content="#f8f8f8"/>
- <meta name="color:Post" content="#fff"/>
- <meta name="color:Border" content="#f2f2f2"/>
- <meta name="color:Text" content="#999"/>
- <meta name="color:Link" content="#444"/>
- <meta name="color:Hover" content="#f0bfb3"/>
- <meta name="color:Accent" content="#fafafa"/>
- <meta name="if:Captions" content=""/>
- <meta name="if:Tags" content=""/>
- <meta name="if:Load More" content=""/>
- <meta name="if:Paginate" content=""/>
- <meta name="if:Round Edges" content=""/>
- <meta name="text:Post" content="350"/>
- <meta name="text:Sidebar" content="150"/>
- <meta name="text:Margin" content="75"/>
- <meta name="text:Link 1" content="/"/>
- <meta name="text:Link 1 Title" content="one"/>
- <meta name="text:Link 2" content="/" />
- <meta name="text:Link 2 Title" content="two"/>
- <meta name="text:Link 3" content="/" />
- <meta name="text:Link 3 Title" content="three"/>
- <meta name="text:Link 4" content="/" />
- <meta name="text:Link 4 Title" content="four"/>
- <meta name="text:Link 5" content="/" />
- <meta name="text:Link 5 Title" content="five"/>
- <meta name="text:Link 6" content="/" />
- <meta name="text:Link 6 Title" content="six"/>
- <link href="http://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <link href='http://static.tumblr.com/8pnyeus/sXxofi7lt/outicons.css' rel='stylesheet' type='text/css'>
- <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,600,600i,700,700i|Montserrat:400,700" rel="stylesheet">
- <style type="text/css">
- /* Scroll */
- ::-webkit-scrollbar {width:11px;height:11px;background:{color:Border};}
- ::-webkit-scrollbar-thumb {background:rgba({RGBcolor:Link},0.5);}
- ::-webkit-scrollbar,::-webkit-scrollbar-thumb {
- border:5px solid {color:Background};
- }
- /* Controls */
- #tumblr_controls,.tmblr-iframe{-webkit-filter: invert(100%); -moz-filter: invert(100%); -o-filter: invert(100%); -ms-filter: invert(100%); filter: invert(100%);opacity:0.5;top:75px!important;position:absolute!important;}
- /* General */
- body {
- margin:0;
- color:{color:Text};
- background:{color:Background};
- font-smooth:always;
- -webkit-font-smoothing:antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
- a:link, a:active, a:visited {text-decoration:none;}
- body,p,pre,blockquote,big,small,sub,sup {font-size:10px;}
- body,p,pre,em{font-family:'Open Sans',Helvetica,Arial,sans-serif;}
- .lh,.p_top,.tn,h1,h2{font-family:'Montserrat',Helvetica,Arial,sans-serif;}
- /* Credit & Scroll to Top */
- .c,.top{position:fixed;right:30px;width:40px;}
- .c {bottom:30px;}
- .top {bottom:50px;display:none;}
- /* Pagination */
- .cp {font-weight:600;}
- .cp,.jp,.pag a{display:inline-block;vertical-align:middle;margin:0 10px;}
- .pag a i,.top{font-size:20px;}
- .pag {position:relative;}
- .load {cursor:pointer;display:block;}
- .c,.top,.pag,.load {text-align:center;}
- .c,.pag,.load {font-size:9px;letter-spacing:1px;text-transform:uppercase;}
- {block:ifnotPaginate}
- .pag,#infscr-loading {display:none!important;}
- {/block:ifnotPaginate}
- /* Containers */
- .center {
- position:relative;
- margin:{text:Margin}px auto;
- width:calc({text:Post}px + 22px);
- }
- .entry img{max-width:100%;height:auto;}
- .entry {
- margin:{text:Margin}px 0;
- background:{color:Post};
- border:1px solid {color:Border};
- }
- /* Sidebar */
- aside {
- position:absolute;
- text-align:center;
- width:{text:Sidebar}px;
- margin-left:calc(-{text:Sidebar}px + -{text:Margin}px + -2px);
- background:{color:Post};
- border:1px solid {color:Border};
- }
- aside sub {margin:2px 0 0;display:block;}
- .image{display:inline-block;margin:15px 15px 0;width:45%;border-radius:50%;}
- .desc {
- margin:15px 0 0 0;
- padding:15px;
- text-align:left;
- border-top:1px solid {color:Border};
- }
- /* Header */
- header,.lb {
- background:{color:Post};
- border-bottom:1px solid {color:Border};
- top:0;
- left:0;
- padding:20px 25px;
- font-size:0;
- width:calc(100% - 50px);
- }
- .lb {display:none;}
- .lb_hold {position:relative;margin:auto;width:calc({text:Post}px + 42px);}
- .lb a {
- display:inline-block;
- width:33.333%;
- margin:7px 0;
- font-size:10px;
- line-height:100%;
- text-transform:capitalize;
- }
- .lh {
- border-left:1px solid {color:Border};
- padding:1px 0 1px 10px;
- margin-left:10px;
- font-size:11px;
- line-height:100%;
- font-weight:700;
- cursor:help;
- }
- .icon,.lh {display:inline-block;vertical-align:middle;}
- .icon {border-radius:3px;width:26px;}
- .thirds {display:inline-block;vertical-align:middle;width:33.333%;}
- .tc {text-align:right;}
- .tc a {font-size:14px;margin:0 0 0 10px;}
- .srch {
- padding:8px 10px;
- font-size:10px;
- line-height:100%;
- border-radius:3px;
- margin:0;
- background:{color:Accent};
- border:1px solid {color:Border};
- }
- .srch .oi,.srch input {display:inline-block;vertical-align:top;}
- .srch .oi {font-size:12px;margin:1px 5px 0 0;}
- .srch input{
- width:calc(100% - 20px);
- background:inherit;
- padding:0;
- border:0;
- margin:0;
- height:12px;
- outline:none;
- font:inherit;
- }
- .srch input[type=text] {color:{color:Text};}
- input::-webkit-input-placeholder {color:{color:Text};}
- input::-moz-placeholder {color:{color:Text};}
- input:-moz-placeholder {color:{color:Text};}
- input:-ms-input-placeholder {color:{color:Text};}
- input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {-webkit-appearance:none;}
- /* Titles */
- h1 {margin:15px 0 0;font-size:14px;line-height:100%;}
- h2 {margin:15px;font-size:14px;line-height:100%;font-weight:600;}
- h3,h4,h5 {margin:10px;font-size:11px;line-height:100%;}
- /* Permalinks */
- .p_top {
- font-size:0;
- margin:0 0 10px;
- padding:10px;
- border-bottom:1px solid {color:Border};
- display:block;
- }
- .from,.time,.from img{display:inline-block;vertical-align:middle;}
- .from {font-size:10px;line-height:100%;font-weight:700;width:calc(100% - 75px);}
- .time a {color:{color:Text};}
- .time {font-size:9px;line-height:10px;text-align:right;width:75px;}
- .from img {
- width:20px;
- margin:0 7px 0 0;
- border-radius:50%;
- }
- .p_bot {
- font-size:0;
- margin:10px 0 0;
- padding:10px;
- border-top:1px solid {color:Border};
- }
- a.nt{font-size:10px;line-height:100%;}
- .p_bot .oi {font-size:13px;}
- .custom-like-button *{cursor:pointer!important;}
- .custom-like-button {
- position:relative;
- display:inline-block;
- vertical-align:top;
- width:12px;
- height:12px;
- cursor:pointer;
- margin:0 8px;
- }
- .like_button:hover + .our_button {color:{color:Hover};}
- .like_button.liked + .our_button {color:{color:Hover};}
- .like_button iframe {width:100%!important;height:100%!important;}
- .like_button {z-index:10;opacity:0;}
- .our_button {z-index:1;}
- .our_button,.like_button {
- position:absolute;
- top:0;
- left:0;
- width:100%;
- height:100%;
- }
- .tags {margin-top:2px;}
- .tags a {font-size:9px;line-height:100%;display:inline-block;margin:2px 6px 0 0;}
- /* Quotes */
- .qut_hold {padding:20px;}
- .src {margin-bottom:5px;}
- .qut {font-size:13px;line-height:130%;}
- /* Audio & Chat */
- .lines,.chat h2{margin:0;padding:15px;border-top:1px solid {color:Border};}
- .lines:first-of-type {border:0;}
- .lines:nth-of-type(even) {background:{color:Post};}
- .play {padding:15px;background:#e4e4e4;height:27px;width:27px;}
- .audio {font-size:0;}
- .play,.au {display:inline-block;vertical-align:middle;}
- .soundcloud_audio_player{padding:15px 0;}
- .au span.tn {font-size:11px;font-weight:600;}
- .au span {display:block;margin:5px 0;font-size:10px;line-height:100%;}
- .au {width:calc(100% - 77px);margin-left:20px;}
- .tumblr_audio_player {width:27px;height:27px;overflow:hidden;}
- /* Text */
- ol,ul {padding:0 0 0 20px;}
- li {margin:5px;}
- p,blockquote,pre,ul,ol{margin:10px;}
- blockquote p{margin:10px 0;}
- blockquote p:first-child{margin:0 0 10px;}
- blockquote p:last-child{margin:10px 0 0;}
- blockquote p:only-child{margin:0;}
- blockquote blockquote {margin:0;}
- blockquote{padding-left:10px;border-left:1px solid {color:Border};}
- pre {
- white-space:pre-wrap;
- white-space:-moz-pre-wrap;
- white-space:-pre-wrap;
- white-space:-o-pre-wrap;
- word-wrap:break-word;
- }
- /* Captions */
- .txt iframe,.cap iframe{display:block;max-width:100%;overflow:hidden;}
- .cap {margin:10px;}
- .cap *:not(a):not(ul):not(ol):not(li){margin:0;padding:0;display:inline;}
- .cap p:first-of-type {display:inline;}
- .cap blockquote {border:0;}
- .cap p,.cap blockquote p {display:block;margin:0;}
- .cap a.tumblr_blog:after {content:': ';margin-right:1px;}
- .tumblr_parent:first-of-type {border:0!important;}
- .tumblr_parent {
- display:block!important;
- padding:15px!important;
- border-top:1px solid {color:Border}!important;
- }
- /* Video */
- .video {overflow:hidden;}
- .vine-embed,#youtube_iframe {display:block;}
- .instagram-media {border-radius:0!important;box-shadow:none!important;}
- /* Photosets */
- #tumblr_lightbox,.tmblr-lightbox {
- background:rgba({RGBcolor:Background},0.99)!important;
- }
- #vignette,#tumblr_lightbox_caption,.vignette,.lightbox-caption{
- opacity:0!important;
- }
- #tumblr_lightbox_center_image, #tumblr_lightbox_left_image,
- #tumblr_lightbox_right_image, .lightbox-image {
- box-shadow:none!important;
- border-radius:0px!important;
- {block:ifRoundEdges}border-radius:4px!important;{/block:ifRoundEdges}
- }
- /* Ask */
- .ask {padding:20px;}
- .aski {margin:0 0 10px;line-height:20px;font-size:11px;font-weight:700;}
- .aski img {float:left;width:20px;margin-right:7px;border-radius:3px;}
- /* Permalink Page + Postnotes */
- .pph {text-transform:lowercase;}
- .perma {font-size:0;}
- .perm_li{
- display:block;
- padding:10px;
- font-size:10px;
- line-height:100%;
- border-top:1px solid {color:Border};
- }
- .pmt a:after {content:',';}
- .pmt a:last-of-type:after {content:'.';}
- .pn ol {margin:0;padding:0;list-style-type:none;}
- .pn li{margin:10px;font-size:9px;line-height:100%;}
- .pn,.pn img{display:none;}
- .pn {padding:10px;font-size:0;border-top:1px solid {color:Border};}
- .pnh,.more_notes_link,.notes_loading {display:block;font-weight:600;}
- .more_notes_link,.notes_loading {text-align:left!important;}
- /* Tooltips */
- #s-m-t-tooltip{
- max-width:200px;
- margin:15px;
- z-index:99999999;
- padding:6px;
- line-height:100%;
- word-wrap:break-word;
- word-break:break-all;
- background:{color:Post};
- border:1px solid {color:Border};
- }
- /* Common Styles */
- .ask,p,blockquote,.lines,.desc{line-height:150%;}
- a:hover, a h2:hover{color:{color:Hover}!important;}
- a,.src,.lines b,.tn,h2,.ask,a.lh,h1,sub{color:{color:Link};}
- .p_bot,.p_bot a,header a{color:{color:Text};}
- {block:ifRoundEdges}
- .entry,aside,#s-m-t-tooltip{border-radius:4px;}
- {/block:ifRoundEdges}
- .bx,.audio,.ans {margin:10px;}
- .cap,.qut_hold,.chat,.ask {
- margin:10px;
- background:{color:Accent};
- border:1px solid {color:Border};
- }
- /* Etc */
- img {margin:0;display:block;}
- </style>
- </head>
- <body>
- <header>
- <span class="thirds">
- <a href="/"><img class="icon" src="{PortraitURL-128}"></a>
- <a href="#" class="lh">Discover
- <span class="oi oi-chevron-down"></span></a>
- </span>
- <span class="thirds">
- <form class="srch" action="/search" method="get">
- <span class="oi oi-search"></span>
- <input type="text" name="q" placeholder="Search {Name}" value="{SearchQuery}"/>
- </form>
- </span>
- <span class="thirds tc">
- <a title="Home" href="/">
- <span class="oi oi-home"></span>
- </a>
- <a title="Contact" href="/ask">
- <span class="oi oi-mail"></span>
- </a>
- <a title="Archive" href="/archive">
- <span class="oi oi-time"></span>
- </a>
- </span>
- </header>
- <div class="lb">
- <div class="lb_hold">
- <a href="/">Home</a>
- <a href="/ask">Message</a>
- <a href="/archive">Archive</a>
- {block:ifLink1}
- <a href="{text:Link 1}">{text:Link 1 Title}</a>
- {/block:ifLink1}{block:ifLink2}
- <a href="{text:Link 2}">{text:Link 2 Title}</a>
- {/block:ifLink2}{block:ifLink3}
- <a href="{text:Link 3}">{text:Link 3 Title}</a>
- {/block:ifLink3}{block:ifLink4}
- <a href="{text:Link 4}">{text:Link 4 Title}</a>
- {/block:ifLink4}{block:ifLink5}
- <a href="{text:Link 5}">{text:Link 5 Title}</a>
- {/block:ifLink5}{block:ifLink6}
- <a href="{text:Link 6}">{text:Link 6 Title}</a>
- {/block:ifLink6}
- </div>
- </div>
- <div class="center">
- <aside>
- {block:ifSidebarImage}
- <img class="image" src="{image:Sidebar}"/>
- {/block:ifSidebarImage}
- <h1>{Title}</h1>
- <sub>@{Name}</sub>
- {block:Description}<div class="desc">{Description}</div>{/block:Description}
- </aside>
- <div id="content">
- {block:Posts}
- <div class="entry" id="{PostID}">
- {block:Date}
- <div class="p_top">
- <div class="from">
- {block:RebloggedFrom}
- <a href="{ReblogRootURL}">
- <img src="{ReblogRootPortraitURL-96}">
- {ReblogRootName}
- </a>
- {/block:RebloggedFrom}
- {block:NotReblog}
- <a href="{Permalink}">
- <img src="{PortraitURL-96}">
- {Name}
- </a>
- {/block:NotReblog}
- </div>
- <div class="time"><a href="{Permalink}">{TimeAgo}</a></div>
- </div>
- {/block:Date}
- {block:ifCaptions}{block:Caption}
- <div class="cap">{Caption}</div>
- {/block:Caption}{/block:ifCaptions}
- {block:Text}
- {block:Title}<h2>{Title}</h2>{/block:Title}
- <div class="txt cap">{Body}</div>
- {/block:Text}
- {block:Link}
- <h2><a title="{URL}" href="{URL}">{Name}</a></h2>
- <div class="txt cap">
- {block:Description}{Description}{/block:Description}
- </div>
- {/block:Link}
- {block:Photo}
- <div class="bx"><a href="{Permalink}"><img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" class="photo"/></a></div>
- {/block:Photo}
- {block:Photoset}
- <div class="bx"><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="qut_hold">
- {block:Source}<div class="src">{Source}</div>{/block:Source}
- <div class="qut">{Quote}</div>
- </div>
- {/block:Quote}
- {block:Chat}
- <div class="chat">
- {block:Title}<h2>{Title}</h2>{/block:Title}
- {block:Lines}<div class="lines {Alt}"><div class="{Alt} user_{UserNumber}">{block:Label}<b>{Label}</b> {/block:Label}{Line}</div></div>{/block:Lines}
- </div>
- {/block:Chat}
- {block:Audio}
- <div class="audio">
- {block:AudioPlayer}<div class="play">{AudioPlayerGrey}</div>{/block:AudioPlayer}
- <div class="au">
- {block:TrackName}<span class="tn">{TrackName}</span>{/block:TrackName}
- {block:Artist}<span>by {Artist}</span>{/block:Artist}
- </div>
- </div>
- {/block:Audio}
- {block:Video}
- <div class="video">{Video-500}</div>
- {/block:Video}
- {block:Answer}
- <div class="ask">
- <div class="aski"><img src="{AskerPortraitURL-24}">{Asker} said:</div>
- <div class="que">{Question}</div>
- </div>
- <div class="txt ans">{Answer}</div>
- {/block:Answer}
- {block:IndexPage}
- <div class="p_bot">
- <a href="{Permalink}" class="nt"><i class="oi oi-link"></i>
- {FormattedNoteCount}</a>
- <div class="custom-like-button">{LikeButton}
- <span class="our_button"><i class="oi oi-heart"></i></span>
- </div>
- <a href="{ReblogURL}"><i class="oi oi-refresh"></i></a>
- {block:ifTags}{block:HasTags}<div class="tags">
- {block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}
- </div>{/block:HasTags}{/block:ifTags}
- </div>
- {/block:IndexPage}
- {block:PermalinkPage}
- {block:Date}
- <div class="pph">
- <div class="perma">
- <span class="perm_li">posted {TimeAgo} on {DayofMonthWithSuffix} {Month}</span>
- {block:RebloggedFrom}
- <span class="perm_li">via <a href="{ReblogParentURL}">{ReblogParentName}</a></span>
- <span class="perm_li">source <a href="{ReblogRootURL}">{ReblogRootName}</a></span>
- {/block:RebloggedFrom}
- {block:HasTags}<div class="perm_li pmt">tags:
- {block:Tags}<a href="{TagURL}">{Tag}</a> {/block:Tags}
- </div>{/block:HasTags}
- <span class="perm_li"><a href="#" class="pnh">{NoteCountWithLabel}</a></span>
- </div>
- {block:PostNotes}
- <div class="pn">{PostNotes}</div>
- {/block:PostNotes}
- </div>
- {/block:Date}
- {/block:PermalinkPage}
- {block:ContentSource}
- <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
- width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
- {/block:SourceLogo}
- {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
- {/block:ContentSource}
- <!--{block:NoRebloggedFrom}{block:RebloggedFrom}{ReblogParentName}{/block:RebloggedFrom}{/block:NoRebloggedFrom} -->
- </div>
- {/block:Posts}
- {block:ifPaginate}
- {block:Pagination}
- <div class="pag">
- {block:PreviousPage}
- <a href="{PreviousPage}"><i class="oi oi-chevron-left"></i></a>
- {/block:PreviousPage}
- {block:JumpPagination length="3"}
- {block:CurrentPage}
- <span class="cp">{PageNumber}</span>
- {/block:CurrentPage}
- {block:JumpPage}
- <a class="jp" href="{URL}">{PageNumber}</a>
- {/block:JumpPage}
- {/block:JumpPagination}
- {block:NextPage}
- <a href="{NextPage}"><i class="oi oi-chevron-right"></i></a>
- {/block:NextPage}
- </div>
- {/block:Pagination}
- {/block:ifPaginate}
- </div>
- {block:ifnotPaginate}
- {block:Pagination}
- <div class="pag">
- {block:PreviousPage}
- <a href="{PreviousPage}" class="prev">back</a>
- {/block:PreviousPage}
- {block:NextPage}
- <a href="{NextPage}" class="next">next</a>
- {/block:NextPage}
- </div>
- {block:ifLoadMore}
- <a class="load">Load More</a>
- {/block:ifLoadMore}
- {/block:Pagination}
- {/block:ifnotPaginate}
- </div>
- <a href="#" class="top"><i class="oi oi-chevron-up"></i></a>
- <div class="c"><a href="http://acuite.tumblr.com">acuite</a></div>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="http://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
- <script src ="//static.tumblr.com/fwgzvyf/l6jnyutne/shythemes.vr.js"></script>
- <script src="http://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
- <script src="http://static.tumblr.com/wgg6svp/I8Yobwo15/unnest.min.js"></script>
- <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
- <script>
- // pxu photosets
- $(document).ready(function(){
- $('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: '1px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- // minimal soundcloud player © eoxk.tumblr
- $(document).ready(function(){
- var color = '{color:Link}'; // 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%' });
- });
- });
- // drop links & post notes
- $(document).ready(function(){
- $(".pn").hide();
- $(".pnh").show();$('.pnh').toggle(function(){
- $(".pn").slideDown(function(){});
- },function(){
- $(".pn").slideUp(function(){});
- });
- $(".lb").hide();
- $(".lh").show();$('.lh').toggle(function(){
- $(".lb").slideDown(function(){});
- },function(){
- $(".lb").slideUp(function(){});
- });
- });
- // scroll to top © html-tuts.com
- var amountScrolled = 500;
- $(window).scroll(function() {
- if ($(window).scrollTop() > amountScrolled) {
- $('a.top').fadeIn('slow');
- } else {
- $('a.top').fadeOut('slow');
- }
- });
- $('a.top').click(function() {
- $('body, html').animate({
- scrollTop: 0
- }, 'slow');
- return false;
- });
- // tooltips
- (function($){
- $(document).ready(function(){
- $("[title]").style_my_tooltips({
- tip_delay_time:200,
- tip_fade_speed:300
- }
- );
- });
- })(jQuery);
- /*
- UN-NEST TUMBLR CAPTIONS PLUGIN
- 2016 @magnusthemes & @neothm
- source: http://neothm.com/post/148902138319
- */
- $('.entry').unnest({
- yourCaption: ".cap",
- newCaptionUsername: false,
- originalPostCaptionUsername: false,
- tumblrAvatars: false,
- usernameColon: false
- });
- // infinite scroll
- {block:ifnotPaginate}
- var $container = $('#content');
- $container.infinitescroll({
- itemSelector: '.entry',
- navSelector: '.pag',
- nextSelector: '.next',
- loadingImg: ' ',
- loadingText: ' ',
- donetext: 'No more posts' ,
- bufferPx: 2000,
- {block:ifLoadMore}
- errorCallback: function(){
- jQuery('.load').delay(50).fadeOut();
- }
- {/block:ifLoadMore}
- },
- function( newElements ) {
- var $newElems = $( newElements );
- var $newElemsIDs = $newElems.map(function(){
- return this.id;
- }).get();
- console.log($newElems, $newElemsIDs);
- 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'
- });
- resizeVideos();
- $newElems.unnest({
- yourCaption: ".cap",
- newCaptionUsername: true,
- originalPostCaptionUsername: true,
- tumblrAvatars: false,
- usernameColon: false
- });
- });
- {block:ifLoadMore}
- $(window).unbind(".infscr");
- $(".load").click(function(){
- $("#content").infinitescroll("retrieve");
- });
- {/block:ifLoadMore}
- {/block:ifnotPaginate}
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement