Advertisement
str-wrs

Hemera

Apr 3rd, 2015
6,901
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.66 KB | None | 0 0
  1. <!--
  2.  
  3. THEME: HEMERA
  4. by acuite
  5.  
  6. - don't steal this pls
  7. - enjoy, ilu (ノ◕ヮ◕)ノ*:・゚✧
  8. - @acuite for more themes
  9.  
  10. -->
  11.  
  12. <html>
  13. <head>
  14.  
  15. <title>{Title}</title>
  16. <link rel="shortcut icon" href="{Favicon}">
  17. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  18. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  19.  
  20. <meta name="color:Background" content="#fff"/>
  21. <meta name="color:Border" content="#eee"/>
  22. <meta name="color:Text" content="#666"/>
  23. <meta name="color:Hover" content="#222"/>
  24. <meta name="color:Accent" content="#999"/>
  25.  
  26. <meta name="if:Title" content=""/>
  27. <meta name="if:Tags" content=""/>
  28. <meta name="if:Drop Links" content=""/>
  29. <meta name="if:Saturate Fade" content=""/>
  30. <meta name="if:Round Edges" content=""/>
  31. <meta name="if:Paginate" content=""/>
  32. <meta name="if:Load More" content=""/>
  33.  
  34. <meta name="select:Font" content="PT Sans" title="PT Sans">
  35. <meta name="select:Font" content="Lato" title="Lato">
  36.  
  37. <meta name="select:Captions" content="creg" title="Regular">
  38. <meta name="select:Captions" content="cinl" title="Inline">
  39. <meta name="select:Captions" content="chid" title="Hide">
  40.  
  41. <meta name="select:Header Align" content="left" title="Left">
  42. <meta name="select:Header Align" content="center" title="Center">
  43. <meta name="select:Header Align" content="right" title="Right">
  44.  
  45. <meta name="select:Perma Align" content="left" title="Left">
  46. <meta name="select:Perma Align" content="center" title="Center">
  47. <meta name="select:Perma Align" content="right" title="Right">
  48.  
  49. <meta name="text:Post" content="300"/>
  50. <meta name="text:Margin" content="100"/>
  51.  
  52. <meta name="text:Link 1" content="/"/>
  53. <meta name="text:Link 1 Title" content="one"/>
  54. <meta name="text:Link 2" content="/" />
  55. <meta name="text:Link 2 Title" content="two"/>
  56. <meta name="text:Link 3" content="/" />
  57. <meta name="text:Link 3 Title" content="three"/>
  58. <meta name="text:Link 4" content="/" />
  59. <meta name="text:Link 4 Title" content="four"/>
  60.  
  61. <link href="http://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
  62. <link href='http://static.tumblr.com/8pnyeus/sXxofi7lt/outicons.css' rel='stylesheet' type='text/css'>
  63. <link href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700,700i|Lato:400,400i,700,700i" rel="stylesheet">
  64. <style type="text/css">
  65.  
  66. .tmblr-iframe--desktop-logged-in-controls, .iframe-controls--desktop, .tmblr-iframe, #tumblr_controls{-webkit-filter: invert(100%); -moz-filter: invert(100%); -o-filter: invert(100%); -ms-filter: invert(100%); filter: invert(100%);opacity:0.5;}
  67.  
  68. ::-webkit-scrollbar {width:5px;height:5px;background:{color:Background};}
  69. ::-webkit-scrollbar-thumb {background:{color:Border};}
  70.  
  71. /* General */
  72.  
  73. body {
  74. margin:0;
  75. color:{color:Text};
  76. background:{color:Background};
  77. word-wrap: break-word;
  78. font-smooth:always;
  79. -webkit-font-smoothing:antialiased;
  80. -moz-osx-font-smoothing: grayscale;
  81. }
  82.  
  83. a:link, a:active, a:visited {text-decoration:none;}
  84. pre,p,blockquote,body,big,small,sub,sup,.entry,input {font-size:10px;}
  85. p,body,pre,em,input{font-family:'{select:Font}',Trebuchet MS,sans-serif;}
  86. a,.ph {
  87. transition:0.5s ease;
  88. -o-transition:0.5s ease;
  89. -moz-transition:0.5s ease;
  90. -webkit-transition:0.5s ease;
  91. }
  92.  
  93. /* Pagination */
  94.  
  95. .cp {font-weight:600;}
  96. .cp,.jp,.pag a{display:inline-block;vertical-align:middle;margin:0 10px;}
  97. .pag a i,.top i{font-size:20px;}
  98. .pag,.load {display:block;}
  99.  
  100. {block:ifnotPaginate}
  101. .pag,#infscr-loading {display:none!important;}
  102. {/block:ifnotPaginate}
  103.  
  104. .load {display:inline-block;}
  105. .pag,.load,.c {
  106. font-size:11px;
  107. line-height:100%;
  108. cursor:pointer;
  109. text-align:center;
  110. }
  111.  
  112. /* Credit & Scroll to Top */
  113.  
  114. .c,.top{position:fixed;right:30px;width:40px;text-align:center;}
  115. .c{bottom:30px;font-size:9px;letter-spacing:1px;text-transform:uppercase;}
  116. .top {bottom:50px;display:none;}
  117.  
  118. /* Containers */
  119.  
  120. .center {
  121. position:relative;
  122. margin:{text:Margin}px auto;
  123. width:{text:Post}px;
  124. }
  125.  
  126. .entry img {max-width:100%;height:auto;}
  127. .entry {{block:IndexPage}margin:{text:Margin}px 0px;{/block:IndexPage}}
  128.  
  129. /* Saturation */
  130.  
  131. .ph{
  132. {block:ifSaturateFade}
  133. -webkit-filter: saturate(50%);
  134. -moz-filter: saturate(50%);
  135. -ms-filter: saturate(50%);
  136. -o-filter: saturate(50%);
  137. filter: saturate(50%);
  138. {/block:ifSaturateFade}
  139. }
  140.  
  141. .ph:hover{
  142. -webkit-filter: saturate(100%);
  143. -moz-filter: saturate(100%);
  144. -ms-filter: saturate(100%);
  145. -o-filter: saturate(100%);
  146. filter: saturate(100%);
  147. }
  148.  
  149. /* Sidebar */
  150.  
  151. header{text-align:{select:Header Align};margin:{text:Margin}px 0;}
  152. .lb {display:none;margin:6px 0 0;}
  153. .desc {margin:15px 0;font-size:10px;}
  154. nav {font-size:0;}
  155. nav a:hover {border-color:{color:Hover};}
  156. nav a{
  157. margin:0 10px 0 0;
  158. display:inline-block;
  159. font-size:10px;
  160. line-height:100%;
  161. padding:0 0 2px;
  162. border-bottom:1px solid rgba({RGBcolor:Accent},0.4);
  163. }
  164.  
  165. /* Titles */
  166.  
  167. h1 {
  168. margin:0;
  169. text-transform:uppercase;
  170. font-size:12px;
  171. line-height:100%;
  172. letter-spacing:1.5px;
  173. }
  174.  
  175. h2 {margin:0;font-size:13px;line-height:100%;}
  176. .qut{font-size:13px;line-height:130%;font-style:italic;}
  177.  
  178. .src {margin:10px 0px;}
  179. .ask h2 {margin-bottom:5px;}
  180. .ask {
  181. font-size:10px;
  182. font-style:italic;
  183. padding-bottom:10px;
  184. border-bottom:1px solid {color:Border};
  185. }
  186.  
  187. #ask_form {margin-top:10px;}
  188.  
  189. /* Permalinks */
  190.  
  191. .p_c{text-align:{select:Perma Align};}
  192. .p {text-transform:lowercase;display:inline-block;padding:5px 0 0;}
  193. .p a{display:inline-block;line-height:100%;}
  194. .p span,.tag{margin:0 0 0 4px;}
  195.  
  196. /* Audio & Chat */
  197.  
  198. .lines{margin:10px 0;}
  199. .lines b {display:block;}
  200. .audio {font-size:0;}
  201. .play,.au {display:inline-block;vertical-align:middle;}
  202. .play {padding:10px;background:#e4e4e4;height:27px;width:27px;}
  203. .soundcloud_audio_player{padding:15px 0;}
  204. .au span.tn {font-size:11px;font-weight:600;}
  205. .au span {display:block;margin:6px;font-size:9px;line-height:100%;}
  206. .au {width:calc(100% - 67px);margin-left:10px;}
  207. .tumblr_audio_player {width:27px;height:27px;overflow:hidden;}
  208.  
  209. /* Text */
  210.  
  211. p,blockquote{line-height:130%;}
  212. ol,ul {padding:0 0 0 25px;}
  213. li {margin:5px;}
  214. p,blockquote,pre,ul,ol{margin:5px 0;}
  215. b,strong {font-weight:700;}
  216. blockquote p{margin:5px 0;}
  217. blockquote p:first-child{margin:0 0 5px;}
  218. blockquote p:last-child{margin:5px 0 0;}
  219. blockquote p:only-child{margin:0;}
  220. blockquote blockquote {margin:0;}
  221. blockquote {border-left:1px solid {color:Border};padding-left:10px;}
  222. pre {
  223. white-space:pre-wrap;
  224. white-space:-moz-pre-wrap;
  225. white-space:-pre-wrap;
  226. white-space:-o-pre-wrap;
  227. word-wrap:break-word;
  228. }
  229.  
  230. /* Captions */
  231.  
  232. a.tumblr_blog {font-weight:600;text-decoration:underline;}
  233. .txt iframe,.cap iframe{display:block;max-width:100%;overflow:hidden;}
  234. .tumblr_parent {margin:20px 0;padding:0;border:0;}
  235. .tumblr_parent blockquote {margin:5px 0;}
  236. .txt .tumblr_parent,.txt.cinl{margin:10px 0;}
  237. .txt.cap.chid {display:block;}
  238. .cinl a.tumblr_blog {margin:0 3px 0 0;}
  239. .cinl {margin:20px 0;}
  240. .chid {display:none;}
  241. .cinl *:not(a):not(ul):not(ol):not(li){margin:0;padding:0;display:inline;}
  242. .cinl p:first-of-type {display:inline!important;}
  243. .cinl blockquote {border:0;}
  244. .cinl p,.cinl blockquote p {display:block!important;margin:0!important;}
  245.  
  246. /* Video */
  247.  
  248. .video {overflow:hidden!important;}
  249. .vine-embed {margin-bottom:-3px;}
  250. .instagram-media {border-radius:0px!important;box-shadow:none!important;}
  251.  
  252. /* Photosets */
  253.  
  254. #tumblr_lightbox,.tmblr-lightbox {
  255. background:rgba({RGBcolor:Background},0.99)!important;
  256. }
  257.  
  258. #vignette,#tumblr_lightbox_caption,.vignette,.lightbox-caption{
  259. opacity:0!important;
  260. }
  261.  
  262. #tumblr_lightbox_center_image, #tumblr_lightbox_left_image,
  263. #tumblr_lightbox_right_image, .lightbox-image {
  264. box-shadow:none!important;
  265. border-radius:0px!important;
  266. {block:ifRoundEdges}border-radius:5px!important;{/block:ifRoundEdges}
  267. }
  268.  
  269. /* Postnotes */
  270.  
  271. .pn img{display:none;}
  272. .pn li{list-style-type:none;margin:3px 0px;}
  273. .pn ul, .pn ol {padding:0px;margin:0px;}
  274. .pn{font-size:8px;letter-spacing:0.5px;margin-top:25px;font-style:italic;}
  275. .pnh {font-weight:600;cursor:pointer;}
  276. .perma a,.perma span{margin-right:5px;}
  277. .perma {
  278. margin-top:5px;
  279. padding-top:10px;
  280. line-height:180%;
  281. text-transform:lowercase;
  282. border-top:1px solid {color:Border};
  283. }
  284.  
  285. /* Tooltips */
  286.  
  287. #s-m-t-tooltip{
  288. max-width:300px;
  289. margin:15px;
  290. z-index:9999;
  291. background:{color:Background};
  292. border:1px solid {color:Border};
  293. padding:6px;
  294. }
  295.  
  296. /* Common Styles */
  297.  
  298. .ask,p,blockquote,.lines,.qut{line-height:140%;}
  299. a:hover,a h2:hover{color:{color:Hover};}
  300. a,.perma,.src,.tn{color:{color:Accent};}
  301. .p {border-top:1px solid {color:Border};}
  302.  
  303. /* Etc */
  304.  
  305. .notes img {width:0px;}
  306. img {display:block;}
  307.  
  308. {block:ifRoundEdges}
  309. .bx,.video,iframe,.txt img,.cap img {border-radius:3px!important;}
  310. {/block:ifRoundEdges}
  311.  
  312. </style>
  313. </head>
  314. <body>
  315.  
  316. <div class="center">
  317.  
  318. <header>
  319. {block:ifTitle}<h1>{Title}</h1>{/block:ifTitle}
  320. <div class="desc">{Description}</div>
  321. <nav>
  322. <a href="/">index</a>
  323. <a href="/ask">enquire</a>
  324. {block:ifDropLinks}
  325. <a href="#" class="lh">navigate</a>
  326. <div class="lb">
  327. {/block:ifDropLinks}
  328. {block:ifLink1}
  329. <a href="{text:Link 1}">{text:Link 1 Title}</a>
  330. {/block:ifLink1}{block:ifLink2}
  331. <a href="{text:Link 2}">{text:Link 2 Title}</a>
  332. {/block:ifLink2}{block:ifLink3}
  333. <a href="{text:Link 3}">{text:Link 3 Title}</a>
  334. {/block:ifLink3}{block:ifLink4}
  335. <a href="{text:Link 4}">{text:Link 4 Title}</a>
  336. {/block:ifLink4}
  337. {block:ifDropLinks}</div>{/block:ifDropLinks}
  338. </nav>
  339. </header>
  340.  
  341. <div id="content">
  342. {block:Posts}
  343. <div class="entry">
  344.  
  345. {block:Text}
  346. {block:Title}<h2>{Title}</h2>{/block:Title}
  347. <div class="txt cap {select:Captions}">{Body}</div>
  348. {/block:Text}
  349.  
  350. {block:Link}
  351. <a title="{URL}" href="{URL}"><h2>{Name}</h2></a>
  352. {block:Description}<div class="txt cap {select:Captions}">{Description}</div>{/block:Description}
  353. {/block:Link}
  354.  
  355. {block:Photo}
  356. <div class="ph"><a href="{Permalink}"><img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" class="bx"/></a></div>
  357. {/block:Photo}
  358.  
  359. {block:Photoset}
  360. <div class="ph"><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>
  361. {/block:Photoset}
  362.  
  363. {block:Quote}
  364. <div class="qut">{Quote}</div>
  365. <div class="src">{Source}</div>
  366. {/block:Quote}
  367.  
  368. {block:Chat}
  369. {block:Title}<h2>{Title}</h2>{/block:Title}
  370. {block:Lines}<div class="lines">
  371. {block:Label}<b>{Label}</b> {/block:Label}{Line}
  372. </div>{/block:Lines}
  373. {/block:Chat}
  374.  
  375. {block:Audio}
  376. <div class="audio">
  377. {block:AudioPlayer}<div class="play">{AudioPlayerGrey}</div>{/block:AudioPlayer}
  378. <div class="au">
  379. {block:TrackName}<span class="tn">{TrackName}</span>{/block:TrackName}
  380. {block:Artist}<span>by {Artist}</span>{/block:Artist}
  381. </div>
  382. </div>
  383. {/block:Audio}
  384.  
  385. {block:Video}
  386. <div class="ph"><div class="video">{Video-500}</div></div>
  387. {/block:Video}
  388.  
  389. {block:Answer}
  390. <div class="ask"><h2>{Asker}:</h2><br>{Question}</div>
  391. <div class="txt ans">{Answer}</div>
  392. {/block:Answer}
  393.  
  394. {block:Caption}<div class="cap {select:Captions}">{Caption}</div>{/block:Caption}
  395.  
  396. {block:IndexPage}<div class="p_c"><div class="p">
  397. <a href="{Permalink}">{NoteCount}</a>
  398. <span>{ShortDayofWeek}, {24Hour}:{Minutes}</span>
  399. {block:ifTags}{block:HasTags}
  400. {block:Tags}<a href="{TagURL}" class="tag">#{Tag}</a> {/block:Tags}
  401. {/block:HasTags}{/block:ifTags}
  402. </div></div>{/block:IndexPage}
  403.  
  404. {block:PermalinkPage}
  405.  
  406. {block:Date}
  407. <div class="perma">
  408. posted {TimeAgo} on {Month} {DayofMonthWithSuffix}
  409. {block:RebloggedFrom}<br>
  410. via: <a href="{ReblogParentURL}">{ReblogParentName}</a>
  411. origin: <a href="{ReblogRootURL}">{ReblogRootName}</a>
  412. {/block:RebloggedFrom}
  413.  
  414. {block:HasTags}<br><span>filed under:</span>
  415. {block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}
  416. {/block:HasTags}
  417.  
  418. <div class="pnh">{NoteCountWithLabel}</div>
  419. </div>
  420. {/block:Date}
  421. {/block:PermalinkPage}
  422.  
  423. {block:PostNotes}
  424. <div class="pn">{PostNotes}</div>
  425. {/block:PostNotes}
  426.  
  427. {block:ContentSource}
  428. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  429. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  430. {/block:SourceLogo}
  431. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  432. {/block:ContentSource}
  433.  
  434. <!--{block:NoRebloggedFrom}{block:RebloggedFrom}{ReblogParentName}{/block:RebloggedFrom}{/block:NoRebloggedFrom} -->
  435.  
  436. </div>
  437. {/block:Posts}
  438.  
  439. {block:ifPaginate}
  440. {block:Pagination}
  441. <div class="pag">
  442. {block:PreviousPage}
  443. <a href="{PreviousPage}"><i class="oi oi-chevron-left"></i></a>
  444. {/block:PreviousPage}
  445.  
  446. {block:JumpPagination length="5"}
  447. {block:CurrentPage}
  448. <span class="cp">{PageNumber}</span>
  449. {/block:CurrentPage}
  450. {block:JumpPage}
  451. <a class="jp" href="{URL}">{PageNumber}</a>
  452. {/block:JumpPage}
  453. {/block:JumpPagination}
  454.  
  455. {block:NextPage}
  456. <a href="{NextPage}"><i class="oi oi-chevron-right"></i></a>
  457. {/block:NextPage}
  458. </div>
  459. {/block:Pagination}
  460. {/block:ifPaginate}
  461.  
  462. </div>
  463.  
  464. {block:ifnotPaginate}
  465. {block:Pagination}
  466. <div class="pag">
  467. {block:PreviousPage}
  468. <a href="{PreviousPage}" class="prev">back</a>
  469. {/block:PreviousPage}
  470. {block:NextPage}
  471. <a href="{NextPage}" class="next">next</a>
  472. {/block:NextPage}
  473. </div>
  474.  
  475. {block:ifLoadMore}
  476. <center><a class="load">Load More</a></center>
  477. {/block:ifLoadMore}
  478. {/block:Pagination}
  479. {/block:ifnotPaginate}
  480.  
  481. </div>
  482.  
  483. <a href="#" class="top"><i class="oi oi-chevron-up"></i></a>
  484. <div class="c"><a href="http://acuite.tumblr.com">acuite</a></div>
  485.  
  486. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  487. <script src="http://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
  488. <script src ="//static.tumblr.com/fwgzvyf/l6jnyutne/shythemes.vr.js"></script>
  489. <script src="http://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
  490. <script src="http://static.tumblr.com/wgg6svp/I8Yobwo15/unnest.min.js"></script>
  491. <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
  492. <script>
  493. // pxu photosets
  494. $(document).ready(function(){
  495. $('.photo-slideshow').pxuPhotoset({
  496. lightbox: true,
  497. {block:ifnotRoundEdges}
  498. rounded: false,
  499. {/block:ifnotRoundEdges}
  500. {block:ifRoundEdges}
  501. rounded: 'corners',
  502. borderRadius: '3px',
  503. {/block:ifRoundEdges}
  504. gutter: '1px',
  505. photoset: '.photo-slideshow',
  506. photoWrap: '.photo-data',
  507. photo: '.pxu-photo'
  508. });
  509.  
  510. // minimal soundcloud player © eoxk.tumblr
  511. $(document).ready(function(){
  512. var color = '{color:Link}'; // color of play button (hex)
  513. $('.soundcloud_audio_player').each(function(){
  514. $(this).attr({ src: $(this).attr('src').split('&')[0] + '&amp;liking=false&amp;sharing=false&amp;auto_play=false&amp;show_comments=false&amp;continuous_play=false&amp;buying=false&amp;show_playcount=false&amp;show_artwork=true&amp;origin=tumblr&amp;color=' + color.split('#')[1], height: 20, width: '100%' });
  515. });
  516. });
  517.  
  518. // drop links & post notes
  519. $(document).ready(function(){
  520. $(".pn").hide();
  521. $(".pnh").show();$('.pnh').toggle(function(){
  522. $(".pn").slideDown(function(){});
  523. },function(){
  524. $(".pn").slideUp(function(){});
  525. });
  526. $(".lb").hide();
  527. $(".lh").show();$('.lh').toggle(function(){
  528. $(".lb").slideDown(function(){});
  529. },function(){
  530. $(".lb").slideUp(function(){});
  531. });
  532. });
  533.  
  534. // scroll to top © html-tuts.com
  535. var amountScrolled = 500;
  536. $(window).scroll(function() {
  537. if ($(window).scrollTop() > amountScrolled) {
  538. $('a.top').fadeIn('slow');
  539. } else {
  540. $('a.top').fadeOut('slow');
  541. }
  542. });
  543. $('a.top').click(function() {
  544. $('body, html').animate({
  545. scrollTop: 0
  546. }, 'slow');
  547. return false;
  548. });
  549.  
  550. // tooltips
  551. (function($){
  552. $(document).ready(function(){
  553. $("[title]").style_my_tooltips({
  554. tip_delay_time:200,
  555. tip_fade_speed:300
  556. }
  557. );
  558. });
  559. })(jQuery);
  560.  
  561. /*
  562.  
  563. UN-NEST TUMBLR CAPTIONS PLUGIN
  564. 2016 @magnusthemes & @neothm
  565. source: http://neothm.com/post/148902138319
  566.  
  567. */
  568. $('.entry').unnest({
  569. yourCaption: ".cap",
  570. newCaptionUsername: false,
  571. originalPostCaptionUsername: false,
  572. tumblrAvatars: false,
  573. tumblrAvatarClass: ".user-pic",
  574. usernameColon: false
  575. });
  576.  
  577. // infinite scroll
  578. {block:ifnotPaginate}
  579. var $container = $('#content');
  580. $container.infinitescroll({
  581. itemSelector: '.entry',
  582. navSelector: '.pag',
  583. nextSelector: '.next',
  584. loadingImg: ' ',
  585. loadingText: ' ',
  586. donetext: 'No more posts' ,
  587. bufferPx: 2000,
  588. {block:ifLoadMore}
  589. errorCallback: function(){
  590. jQuery('.load').delay(50).fadeOut();
  591. }
  592. {/block:ifLoadMore}
  593. },
  594. function( newElements ) {
  595. var $newElems = $( newElements );
  596. var $newElemsIDs = $newElems.map(function(){
  597. return this.id;
  598. }).get();
  599. $newElems.find('.photo-slideshow').pxuPhotoset({
  600. lightbox: true,
  601. {block:ifnotRoundEdges}
  602. rounded: false,
  603. {/block:ifnotRoundEdges}
  604. {block:ifRoundEdges}
  605. rounded: 'corners',
  606. borderRadius: '3px',
  607. {/block:ifRoundEdges}
  608. gutter: '1px',
  609. photoset: '.photo-slideshow',
  610. photoWrap: '.photo-data',
  611. photo: '.pxu-photo'
  612. });
  613. resizeVideos();
  614. $newElems.unnest({
  615. yourCaption: ".cap",
  616. newCaptionUsername: true,
  617. originalPostCaptionUsername: true,
  618. tumblrAvatars: false,
  619. tumblrAvatarClass: ".user-pic",
  620. usernameColon: false
  621. });
  622. });
  623. {block:ifLoadMore}
  624. $(window).unbind(".infscr");
  625. $(".load").click(function(){
  626. $("#content").infinitescroll("retrieve");
  627. });
  628. {/block:ifLoadMore}
  629. {/block:ifnotPaginate}
  630. });
  631.  
  632. </script>
  633. </body>
  634. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement