Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <!--
- THEME 01 ― INO, REVAMP
- © SYLPHTHM 2019
- https://sylphthm.tumblr.com/
- -->
- <head>
- <title>{Title}</title>
- <link rel="shortcut icon" href="{image:favicon}">
- <!-- fonts + icons -->
- <link href="https://fonts.googleapis.com/css?family=Fira+Sans:400,700|IBM+Plex+Mono:400,700|Karla:400,700|Noto+Serif:400,700|PT+Sans:400,700|PT+Serif:400,700|Roboto+Mono:400,700|Roboto+Slab:400,700|Source+Code+Pro:400,700&display=swap&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese" rel="stylesheet">
- <script src="https://unpkg.com/feather-icons"></script>
- <!-- meta tags -->
- <meta name="color:background" content="#f9f9f9" />
- <meta name="color:text" content="#888" />
- <meta name="color:link" content="#000" />
- <meta name="color:link hover" content="#000" />
- <meta name="color:accent" content="#ccc" />
- <meta name="color:highlight" content="#ccc" />
- <meta name="text:title" content="title" />
- <meta name="text:link1" content="link1" />
- <meta name="text:url1" content="url" />
- <meta name="text:link2" content="link2" />
- <meta name="text:url2" content="url" />
- <meta name="text:link3" content="link3" />
- <meta name="text:url3" content="url" />
- <meta name="text:link4" content="link4" />
- <meta name="text:url4" content="url" />
- <meta name="text:desc" content="description" />
- <meta name="text:title one" content="updates" />
- <meta name="text:content one" content="here is an update" />
- <meta name="text:title two" content="two" />
- <meta name="text:content two" content="here is text" />
- <meta name="text:title three" content="three" />
- <meta name="text:content three" content="here is text" />
- <meta name="select:font family" title="karla" content="'Karla', sans-serif" />
- <meta name="select:font family" title="pt sans" content="'PT Sans', sans-serif" />
- <meta name="select:font family" title="fira sans" content="'Fira Sans', sans-serif" />
- <meta name="select:font family" title="roboto slab" content="'Roboto Slab', serif" />
- <meta name="select:font family" title="pt serif" content="'PT Serif', serif" />
- <meta name="select:font family" title="noto serif" content="'Noto Serif', serif" />
- <meta name="select:font family" title="roboto mono" content="'Roboto Mono', monospace" />
- <meta name="select:font family" title="sourse code pro" content="'Source Code Pro', monospace" />
- <meta name="select:font family" title="ibm plex mono" content="'IBM Plex Mono', monospace" />
- <meta name="select:font size" content="10px" />
- <meta name="select:font size" content="11px" />
- <meta name="select:font size" content="12px" />
- <meta name="select:font size" content="13px" />
- <meta name="select:font size" content="14px" />
- <meta name="select:post width" title="small" content="30%" />
- <meta name="select:post width" title="medium" content="40%" />
- <meta name="select:post width" title="large" content="50%" />
- <meta name="image:favicon" content=".png" />
- <meta name="if:dark controls" content="" />
- <meta name="if:update tab" content="" />
- <meta name="if:infinite scroll" content="" />
- <meta name="if:captions" content="" />
- <meta name="if:link underline" content="" />
- <meta name="if:tags" content="" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <style type="text/css">
- /* general */
- body {
- font-family: {select:font family};
- font-size: {select:font size};
- font-weight: normal;
- text-decoration: none;
- letter-spacing: 0.5px;
- line-height: 150%;
- text-transform: lowercase;
- overflow-x: hidden;
- background-color: {color:background};
- color: {color:text};
- }
- a {
- color: {color:link};
- text-decoration: none;
- -webkit-transition-duration: 0.5s;
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- a:hover {
- color: {color:link hover};
- text-decoration: none;
- -webkit-transition-duration: 0.5s;
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- {block:iflinkunderline}
- .c a {
- border-bottom: 1px solid;
- }
- {/block:iflinkunderline}
- h1, h2, h3, h4, h5, #title {
- margin: 0 0 10px 0;
- color: {color:link};
- letter-spacing: 1px;
- line-height: 200%;
- font-weight: bold;
- -webkit-transition-duration: 0.5s;
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- #title h3:hover {
- color: {color:link hover};
- -webkit-transition-duration: 0.5s;
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- blockquote {
- margin: 0;
- padding: 0;
- border: 0;
- }
- blockquote blockquote {
- margin-left: 15px;
- padding-left: 7px;
- border-left: 1.5px solid {color:link hover};
- }
- pre {
- padding: 5px 10px;
- display: block;
- overflow: scroll;
- color: {color:background};
- background-color: #4b535b;
- }
- hr {
- width: 50%;
- height: 1.5px;
- border: 0;
- background-color: {color:link hover};
- }
- u {
- text-decoration: none;
- border-bottom: 1.5px solid;
- }
- blockquote { margin: 0; }
- ul { list-style: none;}
- ul li:before { content: "•"; padding-right: 5px; }
- a.tumblr_blog { font-weight: bold; border: 0;}
- .spotify_audio_player { height: 80px!important; width: 100%!important; }
- .container {
- -webkit-animation: fadein 4s;
- -moz-animation: fadein 4s;
- -ms-animation: fadein 4s;
- -o-animation: fadein 4s;
- animation: fadein 4s;
- }
- /* posts */
- .posts {
- width: {select:post width};
- margin-top: 250px;
- margin-bottom: 50px;
- margin-left: 15%;
- z-index: 10;
- }
- .posts img:not(.tumblr_avatar), .p img, .t img, .tmblr-full img, .video {
- max-width: 100%;
- margin-bottom: 2px;
- height: auto;
- display: block;
- }
- .ps .c, .p .c {
- margin-top: 10px;
- display: block!important
- }
- .photo-slideshow {
- visibility: visible!important;
- display: block!important;
- }
- .photo-slideshow img { margin-bottom: 2px; }
- .photo-data { margin-bottom: 8px; }
- .lightbox-image, #tumblr_lightbox img {
- box-shadow: none !important;
- border-radius: 0 !important;
- max-width: none;
- }
- .vignette, #vignette { opacity: 0; }
- .tmblr-lightbox, #tumblr_lightbox { background-color: rgba(255,255,255,.5) !important; }
- #lt, #que, .audio {
- padding: 15px 20px;
- background-color: {color:accent};
- }
- #lt h3 { margin-bottom: -10px; }
- #pbu {
- background-color: transparent;
- width: 33px;
- max-height: 40px;
- overflow: hidden;
- }
- #pb {
- background-color: transparent;
- position: absolute;
- margin-left: 0px;
- }
- #aucap {
- line-height: 20%;
- margin: 0 0 5px 50px;
- }
- .chat .even {
- display: block;
- margin: 5px 0;
- padding: 5px 10px;
- background-color: {color:accent};
- }
- .tumblr_video_container {
- width: auto!important;
- height: auto!important;
- }
- /* post info */
- .info {
- margin-top: 10px;
- z-index: 10;
- }
- .info a { color: {color:italics}; }
- .info a:hover { color: {color:link}; }
- /* header */
- .headwrap {
- position: fixed;
- width: 100%;
- height: 150px;
- top: 0;
- color: {color:link};
- background-color: {color:background};
- z-index: 19;
- }
- .head {
- position: fixed;
- margin-top: 50px;
- left: 15%;
- }
- #sti h3 { color: {color:link hover}; }
- {block:ifnotinfinitescroll}
- /* footer */
- .foot {
- position: relative;
- left: 0; right: 0; bottom: 0;
- margin: 100px 0;
- font-weight: bold;
- z-index: 19;
- }
- .foot a { color: {color:link hover}; }
- .foot a:hover { color: {color:link}; }
- #pagiwrap {
- position: relative;
- left: 15%;
- max-width: {select:post width};
- }
- #cp i {
- border-bottom: 1px solid {color:link hover};
- color: {color:link hover};
- }
- {/block:ifnotinfinitescroll}
- {block:ifupdatetab}
- /* update tab */
- .updatetab {
- position: fixed;
- top: 50px;
- right: 15%;
- margin: 0;
- z-index: 1000;
- }
- button, .button {
- position: fixed;
- margin: 0;
- padding: 0;
- top: 50px;
- right: 15%;
- border: 0;
- color: {color:link};
- background: transparent;
- -webkit-transition-duration: 0.5s;
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- button:hover, .button:hover {
- color: {color:link hover};
- cursor: pointer;
- border: 0;
- -webkit-transition-duration: 0.5s;
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- button:focus { outline: 0; }
- #tabsec {
- position: fixed;
- top: 100px;
- right: 15%;
- text-align: right;
- line-height: 100%;
- background-color: {color:background};
- z-index: 1000;
- }
- .tab {
- display: none;
- }
- {/block:ifupdatetab}
- /* permalink */
- .perma {
- position: absolute;
- width: {select:post width};
- margin-top: 100px;
- margin-left: 15%;
- z-index: 9;
- }
- a.more_notes_link {
- position: absolute;
- left: 0;
- margin-bottom: 50px;
- }
- .perma ol { list-style: none; margin-left: -40px; }
- .perma h3 { margin: 0; }
- .perma img { display: none; }
- /* error page */
- .wrapper_notfound {
- position: fixed;
- visibility: hidden;
- left: 0px;
- top: 0px;
- width: 100%;
- height: 100%;
- background-color: {color:background};
- z-index: 1000;
- }
- .actual_notfound {
- position: absolute;
- left: 50%;
- top: 50%;
- width: 30%;
- padding: 20px;
- transform: translate(-50%, -50%);
- font-size: 2em;
- line-height: 150%;
- text-align: center;
- }
- .actual_notfound h3 { color: {color:link hover}; }
- /* mobile display */
- @media screen and (max-width: 700px) {
- .headwrap {
- position: fixed;
- width: 100%;
- height: 100px;
- top: 0;
- left: 0;
- color: {color:link};
- background-color: {color:background};
- z-index: 19;
- }
- #sti {
- position: fixed;
- top: 30px;
- left: 50px;
- }
- #links {
- position: fixed;
- top: 30px;
- right: 50px;
- }
- .posts {
- width: 80%;
- margin-top: 100px;
- margin-bottom: 50px;
- margin-left: 10%;
- }
- #pagiwrap {
- max-width: 84%;
- left: 8%;
- }
- .perma {
- width: 80%;
- margin-left: -8%;
- padding-top: 100px;
- z-index: 10;
- }
- .cred, #scrollToTop {
- background-color: {color:background};
- padding: 0 5px;
- }
- {block:ifupdatetab}
- .updatetab { right: 30px; }
- #tabsec { padding: 5px 10px; }
- {/block:ifupdatetab}
- #desc { display: none; }
- .actual_notfound, .wrapper_notfound { width: 100%; }
- iframe.tmblr-iframe { display: none!important; }
- }
- /* extras */
- * { cursor:url(https://i.imgur.com/dHusUiR.png),auto }
- a:hover { cursor:url(https://i.imgur.com/ZM41vky.png),progress!important }
- ::-webkit-scrollbar {
- width: 2px;
- height: 3px;
- }
- ::-webkit-scrollbar-thumb {
- background-color: {color:link hover};
- }
- ::-moz-selection {
- background-color: {color:highlight};
- color: {color:bold};
- }
- ::selection {
- background-color: {color:highlight};
- color: {color:bold};
- }
- /* credit - DO NOT TOUCH! */
- .cred {
- position: fixed;
- bottom: 50px;
- right: 15%;
- z-index: 20;
- }
- iframe.tmblr-iframe {
- z-index:99999999999999!important;
- top: 50px!important;
- {block:ifnotupdatetab}right: 15%!important;{/block:ifnotupdatetab}
- {block:ifupdatetab}right: 17%!important;{/block:ifupdatetab}
- opacity: 0.4;
- {block:ifdarkcontrols}
- filter: invert(1) contrast(150%);
- -webkit-filter: invert(1) contrast(150%);
- -o-filter: invert(1) contrast(150%);
- -moz-filter: invert(1) contrast(150%);
- -ms-filter: invert(1) contrast(150%);
- {/block:ifdarkcontrols}
- transform: scale(0.50);
- transform-origin: 100% 0;
- -webkit-transform: scale(0.50);
- -webkit-transform-origin: 100% 0;
- -o-transform: scale(0.50);
- -o-transform-origin: 100% 0;
- -moz-transform: scale(0.50);
- -moz-transform-origin: 100% 0;
- -ms-transform: scale(0.50);
- -ms-transform-origin: 100% 0;
- -webkit-transition-duration: 0.5s;
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- iframe.tmblr-iframe:hover {
- opacity: 0.7!important;
- -webkit-transition-duration: 0.5s;
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- .tmblr-iframe--app-cta-button { display: none!important; }
- #scrollToTop:link,
- #scrollToTop:visited {
- display: none;
- position: fixed;
- bottom: 80px;
- right: 15%;
- z-index: 20;
- -webkit-animation: fadein 2s;
- -moz-animation: fadein 2s;
- -ms-animation: fadein 2s;
- -o-animation: fadein 2s;
- animation: fadein 2s;
- }
- .feather {
- float: left;
- margin: 0;
- padding: 0;
- }
- @keyframes fadein {
- from { opacity: 0; }
- to { opacity: 1; }
- }
- @-moz-keyframes fadein {
- from { opacity: 0; }
- to { opacity: 1; }
- }
- @-webkit-keyframes fadein {
- from { opacity: 0; }
- to { opacity: 1; }
- }
- @-ms-keyframes fadein {
- from { opacity: 0; }
- to { opacity: 1; }
- }
- @-o-keyframes fadein {
- from { opacity: 0; }
- to { opacity: 1; }
- }
- </style>
- </head>
- <body>
- <div class="container">
- <!-- sidebar -->
- <sidebar class="headwrap">
- <div class="head">
- <div id="sti"><a href="/" title="{text:title}"><h3>{text:title}</h3></a></div><p>
- <div id="links">
- <a href="{text:url1}" title="{text:link1}">{text:link1} </a>
- <a href="{text:url2}" title="{text:link2}">{text:link2} </a>
- <a href="{text:url3}" title="{text:link3}">{text:link3} </a>
- <a href="{text:url4}" title="{text:link4}">{text:link4} </a>
- </div><p>
- <div id="desc">
- {text:desc}
- </div>
- </div>
- </sidebar>
- {block:ifupdatetab}
- <!-- update tab -->
- <div class="updatetab">
- <button id="button" title="updates">
- <i data-feather="plus" width="12px"></i>
- </button>
- <div class="tab">
- <div id="tabsec">
- <b>{text:title one}</b>
- <p>{text:content one}</p><br>
- <b>{text:title two}</b>
- <p>{text:content two}</p><br>
- <b>{text:title three}</b>
- <p>{text:content three}</p>
- </div>
- </div>
- </div>
- {/block:ifupdatetab}
- <!-- posts begin -->
- {block:Posts}
- <div class="posts" id="{PostID}">
- {block:Text}
- <div class="t">
- {block:Title}
- <h3 id="title">{Title}</h3>
- {/block:Title}
- <div class="c">{Body}</div>
- </div>
- {/block:Text}
- {block:Photo}
- <div class="p">
- <a href="#" onclick="Tumblr.Lightbox.init([{ width: {PhotoWidth-HighRes}, height: {PhotoHeight-HighRes}, low_res: '{PhotoURL-500}', high_res: '{PhotoURL-HighRes}' }]); $('body').toggleClass('tumblr_lightbox_active'); return false"><img src="{PhotoURL-HighRes}"></a>
- {block:ifcaptions}{block:Caption}
- <div class="c">{Caption}</div>
- {/block:Caption}{/block:ifcaptions}
- </div>
- {/block:Photo}
- {block:Photoset}
- <div class="ps">
- <div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}"><div class="photo-data">{block:Photos}
- <div class="pxu-photo" onclick="Tumblr.Lightbox.init([/*/**/ { width: {PhotoWidth-HighRes}, height: {PhotoHeight-HighRes}, low_res: '{PhotoURL-500}', high_res: '{PhotoURL-HighRes}' }]); $('body').toggleClass('tumblr_lightbox_active'); return false"><img alt="{PhotoAlt}" src="{PhotoURL-500}" width="{PhotoWidth-500}" height="{PhotoHeight-500}" data-highres="{PhotoURL-HighRes}" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}" class="{block:Exif}exif-yes {/block:Exif}" {block:Exif}data-camera="{block:Camera}{Camera}{/block:Camera}" data-iso="{block:ISO}{ISO}{/block:ISO}" data-aperture="{block:Aperture}{Aperture}{/block:Aperture}" data-exposure="{block:Exposure}{Exposure}{/block:Exposure}" data-focal="{block:FocalLength}{FocalLength}{/block:FocalLength}"{/block:Exif}/> </div>
- <div class="icons">{/block:Photos}
- </div></div></div></div>
- </div>
- {block:ifcaptions}{block:Caption}
- <div class="c">{Caption}</div>
- {/block:Caption}{/block:ifcaptions}
- {/block:Photoset}
- {block:Quote}
- <div class="quote">
- <div id="qu">
- <i><h3 id="title">{Quote}</h3></i>
- </div>
- <div id="source">
- {block:Source}
- ― {Source}
- {/block:Source}
- </div>
- </div>
- {/block:Quote}
- {block:Chat}
- <div class="chat">
- {block:Title}<h3 id="title">{Title}</h3></div>{/block:Title}
- {block:Lines}
- <span class="{Alt}">{block:Label}<b>{Label}</b>{/block:Label}
- {Line}</span>
- {/block:Lines}
- </div>
- {/block:Chat}
- {block:Audio}
- <div class="audio">
- <div id="pb"><div id="pbu">
- {block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}
- </div></div>
- <div id="aucap">
- {block:TrackName}<div id="title">{TrackName}</div>{/block:TrackName}
- <br>{block:Artist}by {Artist}{/block:Artist}
- </div>
- {block:ifcaptions}{block:Caption}<p>
- <div class="c">{Caption}</div>
- {/block:Caption}{/block:ifcaptions}
- </div>
- {/block:Audio}
- {block:Link}
- <div class="l">
- <div id="lt">
- {block:Host}<b>{Host}</b>{/block:Host}<br>
- <a href="{URL}" title="{Name}"><h3 id="title">{Name}</h3></div></a>
- </div>
- {block:ifcaptions}{block:Excerpt}<br>{Excerpt}{/block:Excerpt}{/block:ifcaptions}
- </div>
- {/block:Link}
- {block:Video}
- <div class="video">
- {Video-500}
- {block:ifcaptions}{block:Caption}<p>
- <div class="c">{Caption}</div>
- {/block:Caption}{/block:ifcaptions}
- </div>
- {/block:Video}
- {block:Answer}
- <div class="ask">
- <div id="que">
- <b>{Asker} </b>
- {Question}
- </div>
- <div id="an">
- {Answer}
- </div>
- </div>
- {/block:Answer}
- <!--{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} -->
- <!-- post info -->
- <div class="info">
- {block:Date}
- <a href="{Permalink}" title="{TimeAgo}">{TimeAgo}</a> 
- {/block:Date}
- {block:NoteCount}
- <a href="{Permalink}" title="{NoteCountWithLabel}">{NoteCountWithLabel}</a> 
- {/block:NoteCount}
- {block:iftags}{block:HasTags}{block:Tags}
- <a href="{TagURL}" title="{Tag}">#{Tag}</a> 
- {/block:Tags}{/block:HasTags}{/block:iftags}
- </div>
- </div>
- {/block:Posts}
- <!-- posts end -->
- <!-- footer -->
- {block:ifnotinfinitescroll}
- {block:Pagination}
- <div class="foot">
- <div id="pagiwrap">
- <div id="pagi">
- {block:Pagination}
- {block:JumpPagination length="5"}
- {block:CurrentPage}<span title="page {PageNumber}" id="cp"><i>{PageNumber}</i> </span>{/block:CurrentPage}
- {block:JumpPage}<a title="page {PageNumber}" href="{URL}">{PageNumber} </a>{/block:JumpPage}{/block:JumpPagination}
- {/block:Pagination}
- </div>
- </div>
- </div>
- {/block:Pagination}
- {/block:ifnotinfinitescroll}
- <!-- pagination -->
- {block:ifinfinitescroll}
- {block:Pagination}
- <div class="pagi">
- {block:NextPage}<a class="next" href="{NextPage}"></a>{/block:NextPage}
- </div>
- {/block:Pagination}
- {/block:ifinfinitescroll}
- <!-- perma -->
- {block:PostNotes}
- {block:PermalinkPage}
- <div class="perma">
- <h3 id="title">info</h3>
- <ol>{PostNotes}</ol>
- </div>
- {/block:PermalinkPage}
- {/block:PostNotes}
- <!-- error page -->
- <div class="wrapper_notfound">
- <div class="actual_notfound">
- <h3>not found</h3>
- sorry, but what you are looking for does not exist. please click <a href="javascript:history.back()" title="refresh">here</a> to get back to the previous page.
- </div>
- </div>
- <!-- scroll to top -->
- <a href="javascript:;" id="scrollToTop" rel="nofollow" title="up?"><i data-feather="arrow-up" width="12px"></i></a>
- <!-- credit - DO NOT TOUCH! -->
- <a class="cred" href="https://sylphthm.tumblr.com/" title="code by sylph."><i data-feather="eye" width="12px"></i></a>
- </div></div>
- <!-- all scripts -->
- <!-- scripts -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
- <script src="https://static.tumblr.com/ikeq9mi/DfYl6o46t/scrolltotop.min.js"></script>
- <!-- error page -->
- <script>
- $(document).ready(function() {
- if ($('p:contains("The URL you requested could not be found.")').html()) {
- $(".wrapper_notfound").css( "visibility", "visible" );
- $(".article_position").remove();
- $('title').prepend( "not found | " ); }
- });
- </script>
- {block:ifupdatetab}
- <!-- update tab -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
- <script>
- $(document).ready(function(){
- $("button").click(function(){
- $(".tab").toggle(1000);
- });
- });
- </script>
- {/block:ifupdatetab}
- <!-- unnest captions -->
- <script src="https://static.tumblr.com/wgg6svp/OoTofxa0c/unnest.min.js"></script>
- <script>
- $(function(){
- $('.posts').unnest({
- yourCaption: ".c",
- wrapName: ".user",
- usernameColon: true,
- newCaptionUsername: true,
- tumblrAvatars: false,
- tumblrAvatarClass: ".userimg"
- });
- });
- </script>
- <!-- pxu photosets -->
- <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <script src="https://static.tumblr.com/yxfeliq/hHwojmt8m/bctphotoset.min.js"></script>
- <script type="text/javascript" src="/path/to/js/bctphotoset.min.js"></script>
- <script type="text/javascript">
- $(document).ready(function() {
- $('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- highRes: true,
- gutter: '2px',
- borderRadius: '0',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- }, function() {
- $('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- highRes: true,
- gutter: '2px',
- borderRadius: '0',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- }, function() {
- $(this).animate({opacity:1});
- $('.container').infinitescroll({
- navSelector : "div.next",
- nextSelector : "div.next a:first",
- itemSelector : ".container div.posts"
- },function(newElements){
- $(newElements).find('.photo-slideshow').pxuPhotoset();
- }
- });
- });
- });
- </script>
- {block:ifinfinitescroll}
- <!-- infinite scroll -->
- <script src="https://unpkg.com/[email protected]/dist/infinite-scroll.pkgd.js"></script>
- <script src="/path/to/infinite-scroll.pkgd.min.js"></script>
- <script>
- $('.container').infiniteScroll({
- path: '.next',
- append: '.posts',
- history: false
- },
- function( newElements ) {
- var $newElems = $( newElements ).css({ opacity: 0 });
- $newElems.unnest();
- $newElems.animate({ opacity: 1 });
- },
- function( newElements ) {
- var $newElems = $(newElements).css({ opacity: 0 });
- $('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: '2px',
- borderRadius: '0',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- }, function() {
- $(this).animate({opacity:1});
- });
- });
- </script>
- {/block:ifinfinitescroll}
- <script>feather.replace()</script>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment