Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <!--
- icons by pixeden
- photosets by pixel union
- new photoset resizing by bychloethemes
- unnest blockquote by magnusthemes and neothm
- video resizing and lightboxes by shythemes
- minimal soundcloud player by shythemes edited by me
- louvre theme by nouvae
- -->
- <head>
- <title>{Title}{block:PostSummary} : {PostSummary}{/block:PostSummary}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <meta name=viewport content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=yes">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
- <!-- defaults -->
- <meta name="color:Background" content="#ffffff"/>
- <meta name="color:Title"content="#000000"/>
- <meta name="color:Text" content="#222222"/>
- <meta name="color:Link" content="#d5d5d5"/>
- <meta name="color:Link Hover" content="#cccccc"/>
- <meta name="color:Scrollbar" content="#000000"/>
- <meta name="color:Borders" content="#ededed" />
- <meta name="select:Font Family" content="work sans"/>
- <meta name="select:Font Family" content="karla"/>
- <meta name="select:Font Family" content="inconsolata"/>
- <meta name="select:Font Family" content="courier" />
- <meta name="select:Font Size" content="9px"/>
- <meta name="select:Font Size" content="10px"/>
- <meta name="select:Font Size" content="11px"/>
- <meta name="select:Font Size" content="12px"/>
- <meta name="select:Post Width" content="250px"/>
- <meta name="select:Post Width" content="300px"/>
- <meta name="select:Post Width" content="350px"/>
- <meta name="select:Post Width" content="400px"/>
- <meta name="select:Post Width" content="450px"/>
- <meta name="text:Link 1 URL" content=""/>
- <meta name="text:Link 1" content=""/>
- <meta name="text:Link 2 URL" content=""/>
- <meta name="text:Link 2" content=""/>
- <meta name="text:Link 3 URL" content=""/>
- <meta name="text:Link 3" content=""/>
- <meta name="if:Single Column Posts" content=""/>
- <meta name="if:Single Image Photoset" content=""/>
- <meta name="if:Show Tumblr Avatar" content=""/>
- <meta name="if:Nested Captions" content=""/>
- <meta name="if:Hide Tags" content=""/>
- <meta name="if:Infinite Scroll" content=""/>
- <meta name="text:Home Title" content="index"/>
- <meta name="text:Ask Title" content="ask"/>
- <meta name="text:Archive Title" content="history"/>
- <!-- fonts & icons-->
- <link href="https://fonts.googleapis.com/css?family=Work+Sans|Karla|Inconsolata" rel="stylesheet">
- <link rel="stylesheet" href="http://static.tumblr.com/i5s2zks/6kOohwlux/pe-icon-7-stroke.css">
- <!-- jquery -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="https://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
- <script>
- var load = function(){
- $("header").fadeTo(600, 1);
- $("#posts").delay(500).fadeTo(600, 1);
- $("#creds").delay(1000).fadeTo(600, 1);
- };
- var trigger = function() {
- var triggerScroll = 500;
- backTop = function() {
- var scroll = $(window).scrollTop();
- if (scroll > triggerScroll) {
- $("#scroll-top").fadeIn();
- }
- else {
- $("#scroll-top").fadeOut();
- }
- };
- backTop();
- $(window).on("scroll", function () {
- backTop();
- });
- $("#scroll-top").click(function() {
- $("html, body").animate({ scrollTop: 0 }, 550);
- return false;
- });
- };
- var toggle = function() {
- $(".postnotes .title").click(function() {
- $("ol.notes").fadeToggle();
- });
- };
- function hasTitle() {
- $(".post-block").each(function() {
- if ($(this).hasClass("has-t")) {
- var postID = $(this).attr("id");
- $(".unti_" + postID).hide();
- }
- else {
- var postID = $(this).attr("id");
- $(".unti_" + postID).show();
- }
- });
- };
- function hasTags() {
- $(".post-block").each(function() {
- if ($(this).hasClass("has-tg")) {
- var postID = $(this).attr("id");
- $(".notag_" + postID).hide();
- }
- else {
- var postID = $(this).attr("id");
- $(".notag_" + postID).show();
- }
- });
- }
- $(document).ready(load); // variable instead of method for photosets
- $(document).ready(trigger);
- $(document).ready(toggle);
- $(document).ready(hasTitle);
- $(document).ready(hasTags);
- </script>
- <style type="text/css">
- /* media queries */
- @media only screen and (max-width:765px) {
- #container {
- max-width:250px;
- margin:0px auto;!important;
- padding:0px 5px!important;
- }
- header {
- max-width:250px;
- text-align:center!important;
- }
- #posts {
- min-width:250px;
- max-width:250px;
- }
- .post-block {
- padding:0!important;
- background:none!important;
- float:none!important;
- margin-left:0px!important;
- max-width:250px!important;
- padding-left:0px!important;
- border-bottom:0!important;
- }
- .post-block:nth-child(odd) {
- margin-bottom:{select:Font Size};
- }
- .post-block:nth-child(even) .permalink {
- padding-top:{select:Font Size};
- padding-bottom:{select:Font Size};
- border-top:1px solid {color:Borders};
- }
- .permalink {display:block!important;}
- #permalink, .permalink, .tags {max-width:250px!important;}
- }
- /* scrollbar */
- ::-webkit-scrollbar{
- height:3px;
- width:8px;
- background:{color:Background};
- }
- ::-webkit-scrollbar-thumb {
- background:{color:Scrollbar};
- border-radius:6px;
- }
- ::-webkit-scrollbar-track {
- background:{color:Borders};
- }
- /* controls */
- .tmblr-iframe.tmblr-iframe--desktop-logged-in-controls.iframe-controls--desktop {
- opacity:0.8;
- }
- /* lightbox */
- .tmblr-lightbox, #tumblr_lightbox {
- z-index:999999999999!important;
- background-color:{color:Background}!important;
- }
- .vignette, #vignette {
- opacity:0;
- }
- #tumblr_lightbox img, .lightbox-image {
- box-shadow:none!important;
- border:1px solid {color:Borders}!important;
- margin:-6px!important;
- padding:5px!important;
- background-color:#fff!important;
- border-radius:0px!important;
- }
- #tumblr_lightbox_caption, .lightbox-caption {
- font-family:{select:Font Family};
- font-weight:none;
- color:{color:Text}!important;
- }
- /* structure */
- #container {
- width:{select:Post Width};
- {block:ifNotSingleColumnPosts}
- width:calc({select:Post Width} * 2);
- {/block:ifNotSingleColumnPosts}
- margin:125px auto;
- }
- body {
- background:{color:Background};
- color:{color:Text};
- font-family:{select:Font Family}, serif;
- font-size:{select:Font Size};
- font-weight:normal;
- margin:0;
- line-height:150%;
- letter-spacing:0.05em;
- }
- pre {
- white-space:pre-wrap;
- white-space:-moz-pre-wrap;
- white-space:-pre-wrap;
- white-space:-o-pre-wrap;
- word-wrap:break-word;
- }
- a {
- text-decoration:none;
- color:{color:Link};
- -webkit-transition:0.4s;
- -moz-transition:0.4s;
- -o-transition:0.4s;
- transition:0.4s;
- }
- a:hover {
- text-decoration:none;
- color:{color:Link Hover};
- -webkit-transition:0.4s;
- -moz-transition:0.4s;
- -o-transition:0.4s;
- transition:0.4s;
- }
- img {
- border:none;
- text-decoration:none;
- }
- p {margin:0.5em 0em;}
- p:first-of-type {
- margin-top:0;
- padding-top:0;
- }
- p:last-of-type {
- margin-bottom:0;
- padding-bottom:0;
- }
- h1, h2, h3, h4 {
- color:{color:Title};
- margin:0;
- padding:0;
- }
- h1 {font-size:2em;}
- h2 {font-size:1.8em;}
- h3 {font-size:1.6em;}
- h4 {font-size:1.3em;}
- small {font-size:0.8em;}
- big {font-size:1.8em;}
- {block:ifNotNestedCaptions}
- .tumblr_avatar {
- width:calc({select:Font Size} * 1.5)!important;
- border-radius:calc({select:Font Size} * 1.5)!important;
- {block:ifNotShowTumblrAvatar}
- display:none;
- {/block:ifNotShowTumblrAvatar}
- }
- blockquote {
- margin:0em 0em 1em 0em;
- }
- blockquote blockquote {
- padding-left:1em;
- border-left:1px solid {color:Borders};
- }
- a.tumblr_blog {
- display:inline-block;
- {block:ifShowTumblrAvatar}
- vertical-align:middle;
- margin-left:1em;
- margin-top:0.5em;
- margin-bottom:1.3em;
- {/block:ifShowTumblrAvatar}
- {block:ifNotShowTumblrAvatar}
- margin-top:0;
- margin-left:0;
- margin-bottom:1em;
- border-bottom:1px solid {color:Link};
- {/block:ifNotShowTumblrAvatar}
- }
- {/block:ifNotNestedCaptions}
- {block:ifNestedCaptions}
- blockquote {
- margin:1em 0px;
- padding-left:1em;
- border-left:1px solid {color:Borders};
- display:block;
- }
- a.tumblr_blog {
- display:inline-block;
- border-bottom:1px solid {color:Link};
- }
- {/block:ifNestedCaptions}
- a.tumblr_blog:hover {
- border-bottom-color:{color:Link Hover};
- }
- /* header */
- header {
- display:none;
- text-align:center;
- width:{select:Post Width};
- {block:ifNotSingleColumnPosts}
- width:calc(({select:Post Width} * 2) + 40px);
- {/block:ifNotSingleColumnPosts}
- }
- #blogt {
- font-size:1.5em;
- font-weight:bold;
- letter-spacing:0.1em;
- color:{color:Title};
- }
- #blogt a, #blogt a:hover {color:{color:Title};}
- nav {margin:1.5em 0em;}
- nav a {margin-right:1em;}
- nav a:last-child {margin-right:0;}
- /* homogenous */
- .quote, .question, .title {
- color:{color:Title};
- font-size:1.5em;
- letter-spacing:0.1em;
- line-height:110%;
- padding-bottom:0.5em;
- }
- .permalink, #permalink span, .listen {text-transform:uppercase;}
- .permalink, .tags a, .tags, .audio-wrap {
- letter-spacing:0.15em;
- font-size:0.88em;
- }
- /* posts */
- #posts {
- display:none;
- width:calc(({select:Post Width} * 2) + 40px);
- margin:85px auto 100px auto;
- {block:ifSingleColumnPosts}
- width:{select:Post Width};
- margin-top:130px;
- {/block:ifSingleColumnPosts}
- }
- .post {
- {block:ifNotSingleColumnPosts}
- padding-top:85px;
- border-bottom:1px solid {color:Borders};
- {/block:ifNotSingleColumnPosts}
- {block:ifSingleColumnPosts}
- margin-bottom:130px;
- {/block:ifSingleColumnPosts}
- {block:PermalinkPage}
- margin-bottom:85px;
- {/block:PermalinkPage}
- }
- {block:ifNotSingleColumnPosts}
- .post:first-child {
- border-top:1px solid {color:Borders};
- }
- {/block:ifNotSingleColumnPosts}
- .post-block:nth-child(odd) {display:inline-block;}
- .post-block:nth-child(even) {
- display:inline-block;
- {block:ifNotSingleColumnPosts}
- vertical-align:top;
- margin-left:24px;
- {/block:ifNotSingleColumnPosts}
- }
- .post-block {
- width:{select:Post Width};
- margin-bottom:85px;
- {block:ifSingleColumnPosts}
- display:block;
- margin-bottom:{select:Font Size};
- {/block:ifSingleColumnPosts}
- }
- .post img {max-width:100%;height:auto;}
- .photo iframe, .photo img {display:block;}
- {block:ifSingleImagePhotoset}
- .photoset img {display:none;}
- .photoset img:first-child {display:block;}
- {/block:ifSingleImagePhotoset}
- .photo img {cursor:pointer;}
- .photo img, .photoset img {
- width:100%;
- height:auto;
- }
- .photoset {overflow:hidden;}
- /* text */
- .title, .title a {color:{color:Title};}
- .title a:hover {color:{color:Link};}
- /* chat */
- .chat {
- margin:0;
- padding:0;
- list-style:none;
- }
- .label {
- color:{color:Title};
- font-weight:normal;
- display:inline-block;
- margin-right:0.5em;
- }
- .line {
- padding:0.5em 0em;
- }
- .line:last-of-type {
- border:0;
- padding-bottom:0;
- }
- /* audio */
- .tumblr_audio_player {
- margin:5px;
- padding:5px;
- overflow:hidden;
- background:#f2f2f2;
- width:32px;
- height:27px;
- z-index:99999999!important;
- }
- .spotify_audio_player {
- height:80px!important;
- width:100%!important;
- }
- .bandcamp_audio_player {
- height:120px!important;
- width:100%!important;
- }
- .player {
- display:inline-block;
- position:absolute;
- }
- .player-wrap {
- background:#f2f2f2;
- border:1px solid {color:Borders};
- padding:5px;
- min-height:45px;
- width:calc({select:Post Width} - 50);
- }
- .audio-wrap {
- margin-top:-35px;
- float:right;
- overflow:hidden;
- width:77%;
- white-space:nowrap;
- color:#000;
- }
- .track {margin-right:1em;}
- /* video */
- .video {overflow:hidden;}
- /* ask */
- .asker a, .asker {color:{color:Title};}
- .asker a:hover {color:{color:Link Hover};}
- .question {margin-top:0.5em;}
- /* permalink and notes */
- .caption, .answer, .source {
- border-top:1px solid {color:Borders};
- padding-top:1em;
- }
- .permalink {
- margin-bottom:1em;
- {block:ifSingleColumnPosts}
- border-top:1px solid {color:Borders};
- padding-top:{select:Font Size};
- {/block:ifSingleColumnPosts}
- }
- .permalink i {
- font-size:{select:Font Size};
- margin-right:0.5em;
- }
- .permalink a {color:{color:Title};}
- .tags {
- margin-top:{select:Font Size};
- padding-top:{select:Font Size};
- border-top:1px solid {color:Borders};
- }
- .tags a {margin-right:1em;}
- #permalink, .postnotes {text-align:center;}
- #permalink span {display:block;}
- #permalink span a {margin:0.5em;}
- .postnotes {
- margin-top:45px;
- font-size:0.95em;
- letter-spacing:1px;
- }
- .postnotes blockquote {margin:0.5em 0em;border-left:0;}
- .postnotes .title {cursor:pointer;}
- ol.notes {
- display:none;
- list-style-type:none;
- padding:0px;
- margin:0px;
- }
- ol.notes li.note img.avatar {display:none!important;}
- ol.notes li.note {
- display:block;
- padding:0;
- margin:5px 0;
- }
- a.more_notes_link {
- display:block;
- border:0;
- color:{color:Title};
- }
- /* pagination */
- #pagination {
- {block:ifInfiniteScroll}
- display:none;
- {/block:ifInfiniteScroll}
- text-align:center;
- margin-top:100px;
- }
- #pagination a {
- color:{color:Title};
- }
- .next, .prev {
- display:inline-block;
- margin:30px;
- font-size:1.5em;
- }
- #infscr-loading {display:none!important;}
- /* scroll to top */
- #scroll-top {
- display:none;
- cursor:pointer;
- position:fixed;
- bottom:35px;
- right:15px;
- }
- #scroll-top i {
- font-size:35px;
- }
- /* creds */
- #creds {
- border:0;
- display:none;
- bottom:20px;
- right:29px;
- font-family:sans-serif;
- font-size:10px;
- position:fixed;
- color:{color:Text};
- }
- {CustomCSS}
- </style>
- <script src ="//static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script>
- </head>
- <body>
- <div id="container">
- <header>
- <div id="blogt"><a href="/">{Title}</a></div>
- <nav>
- <a href="/">{text:Home Title}</a>
- <a href="/ask">{text:Ask Title}</a>
- <a href="/archive">{text:Archive Title}</a>
- {block:ifLink1}<a href="{text:Link 1 URL}">{text:Link 1}</a>{/block:ifLink1}
- {block:ifLink2}<a href="{text:Link 2 URL}">{text:Link 2}</a>{/block:ifLink2}
- {block:ifLink3}<a href="{text:Link 3 URL}">{text:Link 3}</a>{/block:ifLink3}
- </nav>
- <span id="desc">{Description}</span>
- </header>
- <section id="posts">
- {block:Posts}
- <div class="post">
- <article class="post-block {block:Title}has-t{/block:Title}{block:HasTags}has-tg{/block:HasTags}" id="{PostID}">
- {block:Text}
- {block:Title}<div class="title">{Title}</div>{/block:Title}
- <div class="title unti_{PostID}">Untitled</div>
- {/block:Text}
- {block:Link}
- <div class="title"><i class="pe-7s-link"></i> <a href="{URL}">{Name}</a></div>
- {/block:Link}
- {block:Quote}
- <div class="quote">{Quote}</div>
- {/block:Quote}
- {block:Chat}
- {block:Title}<div class="title">{Title}</div>{/block:Title}
- <div class="title unti_{PostID}">Untitled</div>
- {/block:Chat}
- {block:Photo}
- <div class="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 src="{PhotoURL-HighRes}" alt="{PhotoAlt}"/></div>
- {/block:Photo}
- {block:Photoset}
- <div class="photoset">
- {block:Indexpage}
- {block:ifSingleImagePhotoset}
- <a href="#" onclick="Tumblr.Lightbox.init([/*{block:Photos}, /**/ { width: {PhotoWidth-HighRes}, height: {PhotoHeight-HighRes}, low_res: '{PhotoURL-500}', high_res: '{PhotoURL-HighRes}' }{/block:Photos}]); $('body').toggleClass('tumblr_lightbox_active'); return false">{block:Photos}<img src="{PhotoURL-HighRes}"><!--{/block:Photos}--></a>
- {/block:ifSingleImagePhotoset}
- {block:ifNotSingleImagePhotoset}
- <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>
- {/block:ifNotSingleImagePhotoset}
- {/block:Indexpage}
- {block:PermalinkPage}
- <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>
- {/block:PermalinkPage}
- </div>
- {/block:Photoset}
- {block:Video}
- <div class="video">{Video-500}</div>
- {/block:Video}
- {block:Audio}
- <div class="audio">
- <div class="player-wrap">
- <div class="player">
- {block:AudioPlayer}
- {AudioPlayer}
- {/block:AudioPlayer}
- </div>
- </div>
- <div class="audio-wrap">
- <span class="track">{block:TrackName}{TrackName}{/block:TrackName}</span>
- <span class="artist">{block:Artist}{Artist}{/block:Artist}</span>
- </div>
- </div>
- {/block:Audio}
- {block:Answer}
- <div class="asker">{Asker} sent</div>
- <div class="question">{Question}</div>
- {/block:Answer}
- </article>
- <article class="post-block">
- {block:Date}
- <div class="permalink">
- <a href="{Permalink}">
- <i class="pe-7s-ribbon"></i> {TimeAgo}</a>
- </div>
- {/block:Date}
- {block:Link}
- {block:Description}{Description}{/block:Description}
- {/block:Link}
- {block:Quote}
- {block:Source}<div class="source">— {Source}</div>{/block:Source}
- {/block:Quote}
- {block:Answer}
- <div class="answer">{Answer}</div>
- {/block:Answer}
- {block:Text}
- <div class="caption">{Body}</div>
- {/block:Text}
- {block:Chat}
- <ol class="chat">
- {block:Lines}
- <li class="line {Alt}">
- {block:Label}<span class="label">{Label}</span>{/block:Label}
- {Line}
- </li>
- {/block:Lines}
- </ol>
- {/block:Chat}
- {block:Caption}
- <div class="caption">{Caption}</div>
- {/block:Caption}
- {block:ifNotHideTags}
- <div class="tags">
- {block:Date}
- {block:Tags}<a href="{TagUrl}">{Tag}</a> {/block:Tags}
- <div class="notag_{PostID}">No tags</div>
- {/block:Date}
- </div>
- {/block:ifNotHideTags}
- </article>
- </div>
- {block:PermalinkPage}
- {block:Date}
- <div id="permalink">
- <span>Posted on {Month} {DayOfMonth}{DayOfMonthSuffix}, {Year} at {12hour}:{Minutes}{ampm}</span>
- {block:RebloggedFrom}
- <span><a href="{ReblogParentURL}" title="{ReblogParentName}">via</a>
- {block:ContentSource}<a href="{ReblogRootURL}" title="{ReblogRootName}">source</a>{/block:ContentSource}</span>
- {/block:RebloggedFrom}
- </div>
- {/block:Date}
- {block:PostNotes}
- <div class="postnotes">
- <div class="title">{NoteCountwithLabel}</div>
- <div id="notes">{PostNotes}</div>
- </div>
- {/block:PostNotes}
- {/block:PermalinkPage}
- {/block:Posts}
- {block:Pagination}
- <footer id="pagination">
- <p>Page {CurrentPage} of {TotalPages}</p>
- {block:PreviousPage}<a class="prev" href="{PreviousPage}">previous</i></a>{/block:PreviousPage}{block:NextPage}<a class="next" href="{NextPage}">next</a>{/block:NextPage}</footer>{/block:Pagination}
- </section>
- {block:ifNotNestedCaptions}
- <script src="http://static.tumblr.com/wgg6svp/OoTofxa0c/unnest.min.js"></script>
- {/block:ifNotNestedCaptions}
- <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <script src="http://static.tumblr.com/yxfeliq/hHwojmt8m/bctphotoset.min.js"></script>
- <script>
- $(document).ready(function(){
- $('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: '1px',
- borderRadius: '0px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- });
- </script>
- {block:ifNotNestedCaptions}
- <script>
- $(document).ready(function() {
- $(".post").unnest({
- yourCaption: ".caption",
- wrapName: ".tumblr_parent",
- newCaptionUsername: false,
- originalPostCaptionUsername: false,
- tumblrAvatars: true,
- tumblrAvatarClass: ".tumblr_avatar",
- {block:ifShowTumblrAvatar}
- usernameColon: false
- {/block:ifShowTumblrAvatar}
- {block:ifNotShowTumblrAvatar}
- usernameColon: true
- {/block:ifNotShowTumblrAvatar}
- });
- });
- </script>
- {/block:ifNotNestedCaptions}
- <script>
- // minimal soundcloud player © shythemes.tumblr
- function audioPlayer() {
- var color = '#111111'; // 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=false&origin=tumblr&color=' + color.split('#')[1], height: 116, width: '100%' });
- });
- // resize other audio players
- $(".spotify_audio_player").each(function() {
- $(this).attr("height", 80);
- $(this).attr("width", "100%");
- });
- $(".bandcamp_audio_player").each(function() {
- $(this).attr("height", 120);
- $(this).attr("width", "100%");
- });
- };
- $(document).ready(audioPlayer);
- </script>
- {block:IndexPage}
- {block:ifInfiniteScroll}
- <script src="https://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
- <script>
- $(document).ready(function(){
- var $container = $('#posts');
- $container.infinitescroll({
- itemSelector: '.post',
- navSelector: '#pagination',
- nextSelector: '#pagination a',
- loadingImg: '',
- loadingText: '<em></em>',
- bufferPx: 800
- },
- function(arrayOfNewElems) {
- resizeVideos();
- hasTitle();
- hasTags();
- audioPlayer();
- var $newElems = $(arrayOfNewElems);
- $newElems.find('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: '1px',
- borderRadius: '0px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- $newElems.unnest({
- yourCaption: ".caption",
- wrapName: ".tumblr_parent",
- newCaptionUsername: false,
- originalPostCaptionUsername: false,
- tumblrAvatars: true,
- tumblrAvatarClass: ".tumblr_avatar",
- {block:ifShowTumblrAvatar}
- usernameColon: false
- {/block:ifShowTumblrAvatar}
- {block:ifNotShowTumblrAvatar}
- usernameColon: true
- {/block:ifNotShowTumblrAvatar}
- });
- });
- });
- </script>
- {/block:ifInfiniteScroll}
- {/block:Indexpage}
- </div>
- <div id="scroll-top">
- <i class="pe-7s-angle-up"></i>
- </div>
- <!--{block:ContentSource}{SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}" width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />{/block:SourceLogo}{block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo}{/block:ContentSource}-->
- <a id="creds" href="http://nouvae.tumblr.com" title="theme by nouvae">#</a>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement