odeysseus_thm

theme / IRIS

Jun 22nd, 2020
4,830
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.74 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4. <!--
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11. iris
  12.  
  13. @odeysseus
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22. - credits listed at odeysseus.tumblr.com/credit
  23.  
  24. -->
  25.  
  26. <link rel="shortcut icon" href="{Favicon}">
  27. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  28. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  29.  
  30. <title>{Title}</title>
  31.  
  32. <!--metas-->
  33.  
  34.  
  35. <meta name="color:background" content=""/>
  36. <meta name="color:text" content="#767676"/>
  37. <meta name="color:link" content="#aaa"/>
  38. <meta name="color:accent" content="#47acb7"/>
  39. <meta name="color:accent dark" content="#444"/>
  40. <meta name="if:hide caption" content="0"/>
  41. <meta name="if:infinite scroll" content="1"/>
  42. <meta name="if:load more" content="1"/>
  43. <meta name="if:scroll to top" content="1"/>
  44. <meta name="if:show tags" content="1"/>
  45.  
  46. <meta name="text:link 1 url" content=""/>
  47. <meta name="text:link 1" content=""/>
  48. <meta name="text:link 2 url" content=""/>
  49. <meta name="text:link 2" content=""/>
  50. <meta name="text:link 3 url" content=""/>
  51. <meta name="text:link 3" content=""/>
  52.  
  53. <meta name="text:font size" content="11px"/>
  54.  
  55. <meta name="select:font" content="Merriweather"/>
  56. <meta name="select:font" content="Times New Roman"/>
  57. <meta name="select:font" content="Nunito Sans"/>
  58. <meta name="select:font" content="PT Serif"/>
  59. <meta name="select:font" content="Source Sans Pro"/>
  60. <meta name="select:font" content="Nunito"/>
  61. <meta name="select:font" content="Open Sans"/>
  62. <meta name="select:font" content="PT Sans"/>
  63. <meta name="select:font" content="Libre Franklin"/>
  64. <meta name="select:font" content="Muli"/>
  65. <meta name="select:font" content="Lora"/>
  66. <meta name="select:font" content="Source Serif Pro"/>
  67. <meta name="select:font" content="Georgia"/>
  68. <meta name="select:font" content="ABeeZee"/>
  69. <meta name="select:font" content="Trebuchet MS"/>
  70.  
  71.  
  72. <meta name="select:post width" content="380px"/>
  73. <meta name="select:post width" content="400px"/>
  74. <meta name="select:post width" content="420px"/>
  75. <meta name="select:post width" content="450px"/>
  76. <meta name="select:post width" content="480px"/>
  77. <meta name="select:post width" content="500px"/>
  78. <meta name="select:post width" content="540px"/>
  79.  
  80. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <link href="https://static.tumblr.com/aptzszz/9QNp5fv1g/normalize.css" rel="stylesheet" tyle="text/css"/>
  81.  
  82. <!--font-->
  83.  
  84. <link href='https://fonts.googleapis.com/css?family={select:font}:400,400italic,600,600italic|Inconsolata' rel='stylesheet' type='text/css'>
  85.  
  86.  
  87. <!--videos-->
  88.  
  89. <script src ="//static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script>
  90.  
  91.  
  92. <style type="text/css">
  93.  
  94.  
  95. /* general */
  96.  
  97. * { margin:0;padding:0; }
  98.  
  99. @-webkit-keyframes fadein {
  100. 0% {opacity: 0;}
  101. 100% { opacity: 1; }
  102. }
  103.  
  104. @-moz-keyframes fadein {
  105. 0% { opacity: 0; }
  106. 100% { opacity: 1; }
  107. }
  108.  
  109. @keyframes fadein {
  110. 0% { opacity: 0; }
  111. 100% { opacity: 1; }
  112. }
  113.  
  114.  
  115. ::-webkit-scrollbar{
  116. height:3px;
  117. width:7px;
  118. background:#fff;
  119. }
  120.  
  121. ::-webkit-scrollbar-thumb {
  122. background:rgba({RGBcolor:accent},0.5);
  123. border:3px solid #fff;
  124. }
  125.  
  126. ::-webkit-scrollbar-track {
  127. background:#eee;
  128. border:3px solid #fff;
  129. }
  130.  
  131. ::-moz-selection{
  132. background: rgba({RGBcolor:accent},.2);
  133. color:{color:accent dark};
  134. }
  135.  
  136. ::selection {
  137. background: rgba({RGBcolor:accent},.2);
  138. color:{color:accent dark};
  139. }
  140.  
  141.  
  142. .tmblr-iframe{
  143. white-space:nowrap;
  144. -webkit-filter: invert(100%);
  145. -moz-filter: invert(100%);
  146. -o-filter: invert(100%);
  147. -ms-filter: invert(100%);
  148. filter: invert(100%);
  149. opacity:.2;
  150. transition: .4s ease-in-out;
  151. transform:scale(0.7,0.7);
  152. transform-origin:right top;
  153. }
  154.  
  155. .tmblr-iframe:hover { opacity:1; }
  156.  
  157. #s-m-t-tooltip{
  158. position:absolute;
  159. margin:15px;
  160. max-width:250px;
  161. z-index:9999;
  162. color:{color:accent dark};
  163. background:#fff;padding:2px 4px;
  164. border:1px solid #eee;
  165. }
  166.  
  167. blockquote {
  168. padding:0px 0px 0px 10px;
  169. margin:0px 0px 0px 10px;
  170. border-left:1px solid #eee;
  171. }
  172.  
  173. pre,code {
  174. white-space: pre-wrap;
  175. white-space: -moz-pre-wrap;
  176. white-space: -pre-wrap;
  177. white-space: -o-pre-wrap;
  178. word-wrap: break-word;
  179. font-family:'Inconsolata',monospace;
  180. }
  181.  
  182. body {
  183. background:{color:background};
  184. color:{color:text};
  185. font-family:'{select:font}',serif;
  186. font-weight:400;
  187. font-size:{text:font size};
  188. text-align:left;
  189. line-height:180%;
  190. -moz-osx-font-smoothing:grayscale;
  191. -webkit-font-smoothing:antialiased;
  192. font-smoothing:antialiased;
  193. }
  194.  
  195.  
  196. a { color:{color:link};text-decoration:underline;}
  197. a,a b,.tags { transition:0.25s ease-in-out; } .tags a { margin-right:5px; } .tags { word-wrap:break-word; }
  198. a:hover,a.user:hover,a.t:hover,.up a:hover { color:{color:accent}!important; }
  199. b,strong { font-weight:600;color:{color:accent dark}; }
  200. p { margin:10px 0px 0px; }
  201. img{ opacity:1;border:none;text-decoration:none;}
  202. small { font-size:calc({text:font size} - 0.5px); }
  203. hr { width:100%;background:#eee;height:1px;border:none;display:block;margin:10px 0px; }
  204. .posts ul { margin-top:10px;list-style:square;margin-left:20px; }
  205. big { font-size:calc({text:font size} + 0.5px); }
  206. h1,h2,h3,h4,h5,h6 { padding-bottom:10px;margin:0;font-size:18px;color:{color:accent dark};font-weight:400;} h1 i { font-style:normal;} h1 a,h1 i a { color:{color:accent dark};} .posts img, .posts li, .posts blockquote { max-width: 100%;height:auto;}
  207.  
  208. /* posts */
  209.  
  210.  
  211. .entries { margin:120px; width:{select:post width};}
  212.  
  213. .posts {
  214. position:relative;width:{select:post width};margin-bottom:120px;
  215. -webkit-animation:fadein 1s;animation:fadein 1s;-moz-animation:fadein 1s;
  216. }
  217.  
  218.  
  219. /* captions */
  220.  
  221. .caption {
  222. margin-top:10px;
  223. {block:ifhidecaption}
  224. {block:indexpage}
  225. display:none;
  226. {/block:indexpage}
  227. {/block:ifhidecaption}
  228.  
  229. }
  230.  
  231. .user,a.user,.asker,.asker a,a.answerer { color:{color:accent dark};}
  232. .user,.answerer { display:block;margin-top:10px;margin-bottom:-10px;}
  233. .user:first-of-type { margin-top:0;}
  234.  
  235. /* notes */
  236.  
  237. ol.notes { margin-top:20px;list-style-type:none;font-style:normal;}
  238. li.note { padding:0;margin:2px 0px;font-style:normal; }
  239. .notes_loading, .more_notes_link { font-weight:bold;float:left;text-align:left!important;text-transform:lowercase;}
  240. .notes img { display:none!important; }
  241. ol.notes li.note blockquote { padding:4px 10px;margin:5px 0px 0px 15px;}
  242.  
  243. /* quotes */
  244.  
  245. .quote { font-size:18px;color:{color:accent dark};margin-bottom:10px; } .quotesource { font-style:italic }
  246. .quotesource .tumblr_blog { top:0px;position:relative;}
  247.  
  248. /* chat */
  249.  
  250. .chat { list-style:none;}
  251. .line { list-style:none;}
  252. .line.odd { background:#fff; }
  253. .label { color:{color:accent dark};margin-right:5px;}
  254.  
  255. /* asks */
  256.  
  257. .asker a:hover,.answer b a:hover { color:{color:accent}} .answer b a { color:{color:accent dark};} .asker { text-transform:lowercase; } .question { padding:10px;background:#f8f8f8; }
  258.  
  259. /* audio */
  260.  
  261. .player { display:inline-block;width:50px;background:#fff;height:53px;overflow:hidden;}
  262. .audio_d { float:right;padding:5px 10px 5px 25px;border-left:1px solid #eee;{block:indexpage}width:calc({select:post width} - 115px);{/block:indexpage}{block:permalinkpage}width:450px;{/block:permalinkpage}} .tn { margin-bottom:-25px;color:{color:accent dark};}
  263. .tumblr_audio_player { background:#fff!important; }
  264. .tumblr_audio_player { width:40px;margin:10px 7px;height:40px;overflow:hidden;}
  265. iframe.spotify_audio_player { height:80px;overflow-y:hidden!important; }
  266.  
  267. /* lightboxes */
  268.  
  269. #vignette,.vignette { opacity:0!important; } .lightbox-image,#tumblr_lightbox img { box-shadow: none !important; border-radius:0 !important;} #tumblr_lightbox,.tmblr-lightbox { background:rgba(255,255,255,.7)!Important; } #tumblr_lightbox_left_link, #tumblr_lightbox_right_link { visibility: hidden; } .lightbox-caption,#tumblr_lightbox_caption { opacity:0; }
  270.  
  271. /* etc */
  272.  
  273. #fuckchad {
  274. bottom:27px;
  275. position:fixed;
  276. right:27px;
  277. }
  278.  
  279. .sc {
  280. bottom:15px;
  281. right:27px;
  282. text-align:right;
  283. position:fixed;
  284. display:none;
  285. font-weight:bold;
  286. cursor:help;
  287. }
  288.  
  289. .sc a { cursor:help;}
  290.  
  291. /* footer stuff */
  292.  
  293. #pagination { {block:ifinfinitescroll}display:none;{/block:ifinfinitescroll} } #pagination a { margin:0px 5px; }
  294. .current_page { margin:0px 5px;font-weight:700;color:{color:accent}; }
  295. #infscr-loading { display:none!Important; }
  296. footer { width:{select:post width};margin:120px;} a#more { position:relative;color:{color:accent dark};}
  297.  
  298. .inf { margin-top:10px; }
  299. .tags a { text-decoration:none; }
  300. .nc { color:{color:accent dark};text-transform:lowercase; }
  301.  
  302. header { margin:120px;width:{select:post width}; }
  303. a.t { font-size:24px;color:{color:accent dark};font-style:italic;margin-bottom:10px;float:left;margin-right:25px;} nav a { text-decoration:none;} nav a:after { content:'—';margin:0px 5px;color:{color:link}!important;} nav a:last-of-type:after { content:''; } nav { display:block;margin-top:15px; } .d { padding-top:3px; }
  304.  
  305. @font-face {
  306. font-family: Calluna;
  307. src: url("https://assets.tumblr.com/fonts/calluna/Calluna-BoldIt-webfont.eot?3=&v=f685dc881c60c298ea22a73fe505b88a");
  308. src: url("https://assets.tumblr.com/fonts/calluna/Calluna-BoldIt-webfont.eot?3%3F=&v=f685dc881c60c298ea22a73fe505b88a#iefix") format("embedded-opentype"),url("https://assets.tumblr.com/fonts/calluna/Calluna-BoldIt-webfont.woff?3=&v=760a50f4d098e59aebaf0f0e58ae2cc8") format("woff"),url("https://assets.tumblr.com/fonts/calluna/Calluna-BoldIt-webfont.ttf?3=&v=5ace789439bff3b27f8d4112725531da") format("truetype"),url("https://assets.tumblr.com/fonts/calluna/Calluna-BoldIt-webfont.svg?3=&v=5b95c481dd7411c6e112143d6646bd9b#_.regular") format("svg");
  309. font-weight: 700;
  310. font-style: italic
  311. }
  312.  
  313. @font-face {
  314. font-family: Fairwater;
  315. src: url("https://assets.tumblr.com/fonts/fairwater/fairwater_script_regular-webfont.woff2?v=b7ab7a58cded3365889a447bfd9e9c45") format("woff2"),url("https://assets.tumblr.com/fonts/fairwater/fairwater_script_regular-webfont.woff?v=96e975b7468359e6f67086305577e43e") format("woff");
  316. font-weight: 400;
  317. font-style: normal
  318. }
  319. p.npf_quirky{font-family:Fairwater;font-size:20px;}
  320. p.npf_chat{font-family:Courier;font-size:20px;}
  321. p.npf_quote{font-family:Calluna;font-size:20px;}
  322.  
  323. .npf_color_joey {color:#ff492f;}
  324. .npf_color_monica {color:#ff8a00;}
  325. .npf_color_phoebe {color:#fcf01d;}
  326. .npf_color_ross {color:#00cf35;}
  327. .npf_color_rachel {color:#00b8ff;}
  328. .npf_color_chandler {color:#973ff4;}
  329. .npf_color_niles {color:#ff62ce;}
  330. </style>
  331.  
  332. <!--scripts-->
  333. <script src="https://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  334.  
  335. <script>
  336. (function($){
  337. $(document).ready(function(){
  338. $("a[title]").style_my_tooltips({
  339. tip_follows_cursor:true,
  340. tip_delay_time:30,
  341. tip_fade_speed:300,
  342. attribute:"title"
  343. });
  344. });
  345. })(jQuery);
  346. </script>
  347.  
  348. <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
  349. <script src="https://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
  350. <script src="https://dl.dropboxusercontent.com/s/lkc34gq5tgmwqj0/basics.js?dl=0"></script>
  351. <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.1/SmoothScroll.min.js"></script>
  352.  
  353. </head>
  354.  
  355. <body>
  356.  
  357.  
  358. <header>
  359. <a class="t" href="/">{Title}</a>
  360. <div class="d">{Description}</div>
  361. <nav>
  362. <a href="/">home</a><a href="/ask">inbox</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}
  363. </nav>
  364. </header>
  365. <div class="stuff">
  366. <div class="entries">
  367. {block:Posts}
  368. <div class="posts">
  369.  
  370. {block:Text}
  371. <div class="q">{block:Title}<h1>{Title}</h1>{/block:Title} {block:NotReblog}<div class="txt">{Body}</div>{/block:NotReblog} {block:RebloggedFrom}<div class="txt">{block:Reblogs} <a class="user" {block:HasPermalink}href="{Permalink}"{/block:HasPermalink}>{Username}</a> {Body} {/block:Reblogs}</div>{/block:RebloggedFrom}</div>{/block:Text}
  372.  
  373. {block:Photo} <div class="q"> {LinkOpenTag}<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>{LinkCloseTag}{block:Caption}{block:NotReblog}<div class="caption">{Caption}</div>{/block:NotReblog}{block:RebloggedFrom}<div class="caption">{block:Reblogs}<a class="user" {block:HasPermalink}href="{Permalink}"{/block:HasPermalink}>{Username}</a> {Body}{/block:Reblogs}</div>{/block:RebloggedFrom}{/block:Caption}</div>{/block:Photo}
  374.  
  375. {block:Photoset}<div class="q"><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:Caption}{block:NotReblog}<div class="caption">{Caption}</div>{/block:NotReblog}{block:RebloggedFrom}<div class="caption">{block:Reblogs}<a class="user" {block:HasPermalink}href="{Permalink}"{/block:HasPermalink}>{Username}</a> {Body}{/block:Reblogs}</div>{/block:RebloggedFrom}{/block:Caption}</div>{/block:Photoset}
  376.  
  377.  
  378. {block:Quote}<div class="q txt"><div class="quote">{Quote}</div>{block:Source}<div class="quotesource">{Source}</div>{/block:Source}</div>{/block:Quote}
  379.  
  380. {block:Link}<div class="q txt"><h1><a href="{URL}" {Target}>{Name}</a></h1>{block:Description}{block:NotReblog}<div class="caption">{Descriptionn}</div>{/block:NotReblog}{block:RebloggedFrom}<div class="caption">{block:Reblogs}<a class="user" {block:HasPermalink}href="{Permalink}"{/block:HasPermalink}>{Username}</a> {Body}{/block:Reblogs}</div>{/block:RebloggedFrom}{/block:Description}</div>{/block:Link}
  381.  
  382.  
  383. {block:Chat}<div class="q txt">{block:Title}<h1>{Title}</h1>{/block:Title} <div class="chat"> {block:Lines} <li class="line {Alt}"> {block:Label} <span class="label"> {Label}</span> {/block:Label}{Line}</li> {/block:Lines}</div></div>{/block:Chat}
  384.  
  385.  
  386. {block:Audio}<div class="q txt">{block:AudioPlayer}<div class="player"> {AudioPlayerWhite}</div><div class="audio_d">{block:TrackName}<div class="tn">{TrackName}</div>{/block:TrackName}{block:Artist} <br/> <i>{Artist}</i>{/block:Artist}</div>{/block:AudioPlayer} {block:Caption}{block:NotReblog}<div class="caption">{Caption}</div>{/block:NotReblog}{block:RebloggedFrom}<div class="caption">{block:Reblogs}<a class="user" {block:HasPermalink}href="{Permalink}"{/block:HasPermalink}>{Username}</a> {Body}{/block:Reblogs}</div>{/block:RebloggedFrom}{/block:Caption}</div>{/block:Audio}
  387.  
  388.  
  389. {block:Video}<div class="q"><div class="video iframe">{Video-500}</div>{block:Caption}{block:NotReblog}<div class="caption">{Caption}</div>{/block:NotReblog}{block:RebloggedFrom}<div class="caption">{block:Reblogs}<a class="user" {block:HasPermalink}href="{Permalink}"{/block:HasPermalink}>{Username}</a> {Body}{/block:Reblogs}</div>{/block:RebloggedFrom}{/block:Caption}</div>{/block:Video}
  390.  
  391. {block:Answer}<div class="q txt"><div class="question"> <div class="asker">{Asker}</div> {Question}</div>{block:Answerer}<div class="answer">{Answerer}{Answer}</div>{/block:Answerer} {block:NotReblog}<div class="answer">{Answer}</div>{/block:NotReblog} {block:RebloggedFrom}<div class="txt">{block:Reblogs}<a class="user" {block:HasPermalink}href="{Permalink}"{/block:HasPermalink}>{Username}</a>{Body}{/block:Reblogs}</div>{/block:RebloggedFrom}</div>{/block:Answer}
  392.  
  393.  
  394. {block:date}
  395. <div class="inf">
  396.  
  397. {block:indexpage}
  398. <a href="{Permalink}" class="nc">{DayOfWeek} &mdash; {NoteCount}</a>
  399. {block:ifshowtags}
  400. {block:HasTags}
  401. <div class="tags">
  402. {block:Tags}<a href="{TagURL}">#{Tag}</a>{/block:Tags}
  403. </div>
  404. {/block:HasTags}
  405. {/block:ifshowtags}
  406. {/block:indexpage}
  407.  
  408.  
  409. {block:permalinkpage}
  410. <a class="nc" href="{Permalink}">posted on {DayOfWeek}, {TimeAgo}, with {NoteCountWithLabel}</a>
  411. {block:RebloggedFrom}
  412. <br> <a href="{ReblogParentURL}">via {ReblogParentName}</a>
  413. {block:ContentSource} . <a href="{ReblogRootURL}" >source {ReblogRootName}</a>{/block:ContentSource}
  414. {/block:RebloggedFrom}
  415. {block:HasTags}
  416. <br><div class="tags">
  417. {block:Tags}
  418. <a href="{TagURL}">#{Tag}</a>
  419. {/block:Tags}
  420. </div>
  421. {/block:HasTags}
  422. {/block:permalinkpage}
  423.  
  424. </div>
  425. {/block:date}
  426.  
  427.  
  428. {block:PostNotes}{PostNotes}{/block:PostNotes}
  429. </div>
  430. {/block:Posts}
  431. </div>
  432.  
  433. {block:indexpage}
  434. <footer>
  435. {block:ifloadmore}
  436. <a id="more" style="cursor:help">load more posts</a>
  437. {/block:ifloadmore}
  438.  
  439. {block:Pagination}<div id="pagination">{block:previouspage}<a href="{PreviousPage}">prev</a>{/block:PreviousPage}{block:JumpPagination length="4"}{block:CurrentPage}<span class="current_page">{PageNumber}</span>{/block:CurrentPage}{block:JumpPage}<a class="jump_page" href="{URL}">{PageNumber}</a>{/block:JumpPage}{/block:JumpPagination}{block:NextPage}<a class="next" href="{NextPage}">next</a>{/block:nextpage}</div>{/block:Pagination}
  440. </footer>
  441. {/block:indexpage}
  442.  
  443. </div>
  444.  
  445. {block:ContentSource}<!– {SourceURL}{block:SourceLogo}<img src=“{BlackLogoURL}” width=“{LogoWidth}” height=“{LogoHeight}” alt=“{SourceTitle}” /> {/block:SourceLogo}{block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} –>{/block:ContentSource}{block:ReblogParent}{/block:ReblogParent}
  446.  
  447. <div id="fuckchad"><a href="https://odeysseus.tumblr.com">O</a></div>
  448.  
  449. {block:ifscrolltotop}
  450. <div class="sc"> <a href="#">scroll to top</a></div>
  451. {/block:ifscrolltotop}
  452.  
  453. {block:indexpage}{block:ifinfinitescroll}
  454. <script src="https://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
  455. {/block:ifinfinitescroll}{/block:indexpage}
  456.  
  457. <script>
  458. $(document).ready(function(){
  459. var $container = $('.entries');
  460. {block:ifinfinitescroll}
  461. $container.infinitescroll({
  462. itemSelector: '.posts',
  463. navSelector: '#pagination',
  464. nextSelector: '.next',
  465. loadingImg: '',
  466. loadingText: '',
  467. doneText: 'no more posts',
  468. bufferPx: 2000,
  469. {block:ifloadmore}
  470. errorCallback: function () {
  471. jQuery ('a#more').delay(50).fadeOut();
  472. $('.posts').last().after($('a#more'));
  473. }
  474. {/block:ifloadmore}
  475. },
  476. function( newElements ) {
  477. var $newElems = $( newElements );
  478. $newElems.find('.photo-slideshow').pxuPhotoset({
  479. lightbox: true,
  480. rounded: false,
  481. gutter: '1px',
  482. photoset: '.photo-slideshow',
  483. photoWrap: '.photo-data',
  484. photo: '.pxu-photo'
  485. })
  486. resizeVideos();
  487. $newElems.find('iframe.tumblr_audio_player').load( function() {
  488. $('iframe.tumblr_audio_player').contents().find("head")
  489. .append($("<style type='text/css'> .audio-player{background:#fff !important} </style>"));
  490. });
  491. });
  492.  
  493. {block:ifloadmore}
  494. $(window).unbind('.infscr');
  495. $('a#more').click(function(){
  496. $container.infinitescroll('retrieve');return false;
  497. $('.posts').last().after($('a#more'));
  498. });
  499. {/block:ifloadmore}
  500. {/block:ifinfinitescroll}
  501. });
  502. </script>
  503. </body>
  504.  
  505. </html>
Advertisement
Add Comment
Please, Sign In to add comment