Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- THEME: KRATOS
- 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:Text" content="#555"/>
- <meta name="color:Link" content="#999"/>
- <meta name="color:Accent" content="#78cc6f"/>
- <meta name="if:Load More" content=""/>
- <meta name="if:Paginate" content=""/>
- <meta name="select:Font" content="pts" title="PT Serif">
- <meta name="select:Font" content="kar" title="Karla">
- <meta name="select:Columns" content="3" title="Three">
- <meta name="select:Columns" content="4" title="Four">
- <meta name="text:Post" content="200"/>
- <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"/>
- <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=PT+Serif:400,400i,700,700i|Karla:400,400i,700,700i' rel='stylesheet' type='text/css'>
- <style type="text/css">
- ::-webkit-scrollbar {
- width:17px;
- height:17px;
- background:#eee;
- border:8px solid #fff;
- }
- ::-webkit-scrollbar-thumb {
- background:rgba({RGBcolor:Link},0.5);
- border:8px solid #fff;
- }
- /* Controls */
- .tc .oi {font-size:15px;color:{color:Link};}
- .tc {position:fixed;top:25px;right:25px;cursor:pointer;}
- #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;top:0!important;right:0!important;z-index:999999; padding:25px 40px 10px 10px;}
- #tumblr_controls:hover,.tmblr-iframe:hover{opacity:0.5;}
- /* General */
- body {
- margin:0;
- color:{color:Text};
- background:#fff;
- word-wrap:break-word;
- font-smooth:always;
- -webkit-font-smoothing:antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
- a:link, a:active, a:visited {text-decoration:none;}
- pre,p,blockquote,body,big,small,sub,sup,.entry,input {font-size:10px;}
- .pts,.pts p,.pts pre,.pts em,.pts input {
- font-family:'PT Serif',Georgia,serif;
- }
- .kar,.kar p,.kar pre,.kar em,.kar input,.c {
- font-family:'Karla',Helvetica,Arial,sans-serif;
- }
- .thumb,#tumblr_controls,.tmblr-iframe,.tc,.nt{
- transition:0.5s ease;
- -o-transition:0.5s ease;
- -moz-transition:0.5s ease;
- -webkit-transition:0.5s ease;
- }
- /* Credit & Scroll to Top */
- .c,.top{position:fixed;right:30px;width:40px;text-align:center;}
- .c {bottom:30px;letter-spacing:0.5px;text-transform:uppercase;}
- .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 i{font-size:16px;}
- .pag,.load {display:block;margin:50px 0;}
- {block:ifnotPaginate}
- .pag,#infscr-loading {display:none!important;}
- {/block:ifnotPaginate}
- .load {display:inline-block;padding:0 0 2px;}
- .pag,.load,.c {font-size:10px;cursor:pointer;text-align:center;}
- /* Containers */
- {block:IndexPage}
- .center {width:calc(({text:Post}px + 2px) * {select:Columns});}
- .peph {display:none;}
- {/block:IndexPage}
- {block:PermalinkPage}
- .inph {display:none;}
- .center {width:450px;}
- {/block:PermalinkPage}
- .center {position:relative;margin:100px auto;}
- #content {font-size:0;text-align:center;}
- {block:IndexPage}
- .whi {overflow:hidden;height:{text:Post}px;}
- .bx {
- width:100%;
- height:100%;
- overflow:hidden;
- background:#fff no-repeat center;
- background-size:cover;
- }
- .txt_hold {
- display:table;
- height:{text:Post}px;
- width:100%;
- background:#f8f8f8;
- }
- .qut_hold,.txt,.audio_hold,.chat {
- display:table-cell;
- vertical-align:middle;
- }
- .entry {
- width:{text:Post}px;
- margin:1px;
- display:inline-block;
- vertical-align:top;
- }
- .audio {width:calc({text:Post}px - 20px);}
- {/block:IndexPage}
- .entry_hold {overflow:hidden;}
- .entry img {max-width:100%;height:auto;}
- .entry {overflow:hidden;position:relative;text-align:left;}
- /* Sidebar */
- aside {
- font-size:0;
- position:fixed;
- width:130px;
- margin-left:calc(-130px + -50px);
- }
- .image img {width:40px;border-radius:5px;}
- h1{
- margin:30px 0 10px;
- color:{color:Link};
- font-weight:400;
- font-size:13px;
- letter-spacing:0.25px;
- }
- .image,nav a,.srch{display:block;}
- nav a,.srch,.lb a {font-size:10px;line-height:100%;margin:10px 0;}
- nav a{color:{color:Link};position:relative;}
- nav a:hover {text-decoration:line-through;}
- nav {margin-top:30px;}
- b.line {display:inline-block;margin:8px 0;width:50%;background:#eee;height:1px;}
- .desc {font-size:10px;line-height:150%;color:{color:Text};}
- .lb {display:none;margin:10px 0 20px;}
- .lb a {margin:5px 0;color:{color:Text};}
- .srch {width:100%;}
- .srch input{
- width:100%;
- background:inherit;
- padding:0;
- border:0;
- 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 */
- h2 {margin:0 0 10px;font-size:12px;line-height:100%;font-weight:400;}
- h3,h4,h5 {margin:10px;font-size:10px;}
- /* Permalinks */
- .p {margin:10px 0 0;padding:0;text-align:center;}
- .p .oi {font-size:16px;vertical-align:top;}
- .p a {color:#fff;}
- .custom-like-button *{cursor:pointer!important;}
- .custom-like-button {
- position:relative;
- display:inline-block;
- vertical-align:top;
- width:12px;
- height:12px;
- cursor:pointer;
- margin-right:7px;
- }
- .like_button:hover + .our_button {color:#444;}
- .like_button.liked + .our_button {color:#444;}
- .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%;
- }
- .thumb {opacity:0;}
- .thu-hold .nt {display:block;margin:0 0 10px;font-size:14px;color:#fff;font-weight:700;}
- .thu-hold {color:#fff;position:absolute;top:calc(50% - 20px);width:inherit;}
- .thumb {
- position:absolute;
- z-index:999;
- width:100%;
- height:100%;
- overflow:hidden;
- font-size:10px;
- line-height:100%;
- text-align:center;
- background:rgba({RGBcolor:Accent},0.9);
- }
- .entry:hover .thumb {opacity:1;}
- /* Quotes */
- .audio,.txt,.chat {padding:10px;}
- .qut_hold {padding:20px;}
- .src {margin:0 0 10px;font-size:10px;line-height:100%;display:inline-block;padding:0 0 2px;}
- .qut {font-size:13px;line-height:120%;font-style:italic;}
- /* Audio & Chat */
- .lines,.chat h2 {margin:10px;}
- .lines b{display:inline-block;padding:0 0 1px;margin:0 0 3px;font-size:10px;line-height:100%;font-weight:400;}
- .play {
- padding:10px;
- background:#e4e4e4;
- height:27px;
- width:27px;
- border-radius:50%;
- display:inline-block;
- }
- .audio_hold {font-size:0;text-align:center;}
- .audio {display:block;}
- .soundcloud_audio_player{padding:15px 0;}
- .au span {display:inline-block;font-size:9px;line-height:100%;}
- .au {margin-top:10px;display:block;}
- .au span.tn {margin:8px 0;font-size:11px;padding:0 0 1px;}
- .tumblr_audio_player {width:27px;height:27px;overflow:hidden;}
- /* Text */
- p,blockquote{line-height:130%;}
- ol,ul {padding:0 0 0 25px;}
- p,blockquote,pre,ul,ol{margin:5px;}
- b,strong {font-weight:700;}
- blockquote p{margin:5px 0;}
- blockquote p:first-child{margin:0 0 5px;}
- blockquote p:last-child{margin:5px 0 0;}
- blockquote p:only-child{margin:0;}
- blockquote blockquote {margin:0;}
- blockquote {border-left:1px solid #eee;padding-left:10px;}
- 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;}
- {block:PermalinkPage}
- .cap {padding:10px 13px;background:#f8f8f8;margin:6px 0;}
- {/block:PermalinkPage}
- .tumblr_parent {margin:10px 5px;padding:0;border:0;}
- .tumblr_parent blockquote {margin:5px 0;border-left:1px solid #eee;}
- /* 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(255,255,255,0.9)!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:0!important;
- }
- .index-page .photos img {display:none;}
- .index-page .photos img:first-child {display:block;width:100%;}
- /* Ask */
- .aski {font-size:0;}
- .que {margin-top:8px;font-style:italic;line-height:140%;}
- .aski span {font-size:11px;line-height:100%;width:calc(100% - 28px);}
- .askicon {width:18px;border-radius:20px 20px 0;margin-right:8px;}
- .aski span,.askicon {display:inline-block;vertical-align:middle;}
- #ask_form {margin:10px!important;width:calc(100% - 20px)!important;}
- /* Permalink Page + Postnotes */
- .perma {font-size:0;text-transform:lowercase;}
- .perma_li {
- display:inline-block;
- width:calc(50% - 14px);
- font-size:10px;
- line-height:100%;
- padding:8px 7px;
- }
- .perma_li .oi {font-size:12px;width:12px;padding-right:6px;}
- .perma_li.pnh,.perma_li.pmt {display:block;width:100%;}
- .pmt a:after {content:',';}
- .pmt a:last-of-type:after {content:'.';}
- .pn ol {margin:0;padding:0;list-style-type:none;}
- .pn li{margin:0;padding:7px;font-size:9px;line-height:100%;}
- .pn,.pn img{display:none;}
- .pn {font-size:0;}
- .pnh,.more_notes_link,.notes_loading {display:block;font-weight:600;}
- .more_notes_link,.notes_loading {text-align:left!important;}
- .pn li {border-top:1px dotted #eee;}
- .perma_li {border-top:1px solid #eee;}
- /* Tooltips */
- #s-m-t-tooltip{
- max-width:300px;
- margin:15px;
- z-index:99999999;
- padding:5px 5px 4px;
- font-size:9px;
- line-height:100%;
- word-break:break-all;
- color:{color:Link};
- background:#fff;
- }
- /* Common Styles */
- a:hover,a h2:hover,.bt:hover{color:{color:Accent};}
- a,.pph,.src,.lines b,.tn,h2,.ask{color:{color:Link};}
- .p a:hover,.nt:hover {color:#444;}
- .txt a,.cap a,.tc a,.load,.lines b,.cap a.tumblr_blog,.src,.au span.tn{
- border-bottom:1px solid rgba({RGBcolor:Accent},0.5);
- }
- /* Etc */
- img {margin:0;display:block;}
- </style>
- </head>
- <body class="{select:Font}">
- <div class="tc"><i class="oi oi-menu"></i></div>
- <div class="center {block:IndexPage}index-page{/block:IndexPage}">
- <aside>
- <div class="image"><a href="/"><img src="{block:ifSidebarImage}{image:Sidebar}{/block:ifSidebarImage}{block:ifnotSidebarImage}{PortraitURL-128}{/block:ifnotSidebarImage}"/></a></div>
- <h1>{Title}</h1>
- <div class="desc">{Description}</div>
- <nav>
- <a href="/">Home</a>
- <a href="/ask">Contact</a>
- <a href="#" class="lh">Filter</a>
- <div class="lb">
- {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}
- </div>
- <a href="/archive">History</a>
- </nav>
- <b class="line"></b>
- <form class="srch" action="/search" method="get">
- <input type="text" name="q" placeholder="Search..." value="{SearchQuery}"/>
- </form>
- </aside>
- <div id="content">
- {block:Posts}
- <div class="entry" id="{PostID}">
- <div class="entry_hold">
- <div class="whi">
- {block:IndexPage}
- <div class="thumb">
- <div class="thu-hold">
- <a href="{Permalink}" class="nt">{NoteCountWithLabel}</a>
- <span>{DayofMonth} {Month} {Year}</span>
- <div class="p">
- <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>
- </div>
- </div>
- </div>
- {/block:IndexPage}
- {block:Text}
- <div class="txt_hold">
- <div class="txt cap">
- {block:Title}<h2>{Title}</h2>{/block:Title}
- {Body}
- </div>
- </div>
- {/block:Text}
- {block:Link}
- <div class="txt_hold">
- <div class="txt cap">
- <h2><a title="{URL}" href="{URL}">{Name}</a></h2>
- {block:Description}{Description}{/block:Description}
- </div>
- </div>
- {/block:Link}
- {block:Photo}
- {block:IndexPage}<a href="{Permalink}"><div class="whi"><div class="bx" style="background-image:url('{PhotoURL-500}');"></div><div class="photos"><img src="{PhotoURL-HighRes}" alt="{PhotoAlt}"/></div></div></a>{/block:IndexPage}
- {block:PermalinkPage}{LinkOpenTag}<img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" class="ph"/>{LinkCloseTag}{/block:PermalinkPage}
- {/block:Photo}
- {block:Photoset}
- <div class="inph"><a href="{Permalink}"><div class="whi">{block:Photos}<div class="bx" style="background-image:url('{PhotoURL-HighRes}');"></div>{/block:Photos}<div class="photos">{block:Photos}<img src="{PhotoURL-HighRes}">{/block:Photos}</div></div></a></div>
- <div class="peph"><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="txt_hold pink">
- <div class="qut_hold">
- {block:Source}<div class="src">{Source}</div>{/block:Source}
- <div class="qut">{Quote}</div>
- </div>
- </div>
- {/block:Quote}
- {block:Chat}
- <div class="txt_hold">
- <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><br>{/block:Label}{Line}</div></div>{/block:Lines}
- </div>
- </div>
- {/block:Chat}
- {block:Audio}
- <div class="txt_hold">
- <div class="audio_hold">
- <div class="audio">
- {block:AudioPlayer}<div class="play">{AudioPlayerGrey}</div>{/block:AudioPlayer}
- <div class="au">
- {block:TrackName}<span class="tn">{TrackName}</span><br>{/block:TrackName}
- {block:Artist}<span>by {Artist}</span>{/block:Artist}
- </div>
- </div>
- </div>
- </div>
- {/block:Audio}
- {block:Video}
- <div class="video">{Video-500}</div>
- {/block:Video}
- {block:Answer}
- <div class="txt_hold">
- <div class="ask">
- <div class="aski">
- <img class="askicon" src="{AskerPortraitURL-64}">
- <span>{Asker}:</span>
- </div>
- <div class="que">{Question}</div>
- </div>
- {block:PermalinkPage}<div class="txt">{Answer}</div>{/block:PermalinkPage}
- </div>
- {/block:Answer}
- </div>
- </div>
- {block:PermalinkPage}
- {block:Caption}<div class="cap">{Caption}</div>{/block:Caption}
- {block:Date}
- <div class="pph">
- <div class="perma">
- <span class="perma_li">
- <span class="oi oi-time"></span> posted {TimeAgo}
- </span>
- <span class="perma_li">
- <span class="oi oi-calendar"></span> {DayofMonthWithSuffix} {Month} {Year}
- </span>
- {block:RebloggedFrom}
- <span class="perma_li">
- <span class="oi oi-user"></span> via:
- <a href="{ReblogParentURL}">{ReblogParentName}</a>
- </span>
- <span class="perma_li">
- <span class="oi oi-location"></span> source:
- <a href="{ReblogRootURL}">{ReblogRootName}</a>
- </span>
- {/block:RebloggedFrom}
- {block:HasTags}
- <span class="perma_li pmt">
- <span class="oi oi-tags"></span>
- {block:Tags}<a href="{TagURL}">{Tag}</a> {/block:Tags}
- </span>
- {/block:HasTags}
- <a href="#" class="pnh perma_li"><span class="oi oi-chevron-down"></span> {NoteCountWithLabel}</a>
- </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-arrow-left"></i></a>
- {/block:PreviousPage}
- {block:JumpPagination length="5"}
- {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-arrow-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}
- <center><a class="load">Load More</a></center>
- {/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 = '#aaa'; // 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,
- tumblrAvatarClass: ".user-pic",
- 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,
- tumblrAvatarClass: ".user-pic",
- 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