Advertisement
rasperries

waste away sorr

Sep 11th, 2016
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.05 KB | None | 0 0
  1. <!--
  2.  
  3.  
  4. theme: father
  5. - sorrism -
  6.  
  7.  
  8. -->
  9.  
  10. <!DOCTYPE html>
  11. <head>
  12.  
  13. <title>{block:TagPage}#{Tag} : {/block:TagPage} {block:PostSummary}{PostSummary} : {/block:PostSummary}{Title}</title>
  14.  
  15. <link rel="shortcut icon" href="{favicon}">
  16.  
  17. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  18. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  19.  
  20. <!--Default Variables-->
  21.  
  22. <meta name="color:Background" content="#ffffff"/>
  23. <meta name="color:Text" content="#cccccc"/>
  24. <meta name="color:Link" content="#a7a7a7"/>
  25. <meta name="color:Title" content="#000000"/>
  26. <meta name="color:Scrollbar" content="#d5d5d5" />
  27. <meta name="color:Borders" content="#eeeeee"/>
  28. <meta name="color:Accents" content="#fbfbfb"/>
  29.  
  30. <meta name="text:Link 1 URL" content=""/>
  31. <meta name="text:Link 1" content=""/>
  32. <meta name="text:Link 2 URL" content=""/>
  33. <meta name="text:Link 2" content=""/>
  34. <meta name="text:Link 3 URL" content=""/>
  35. <meta name="text:Link 3" content=""/>
  36.  
  37. <meta name="text:Ask Title" content="message"/>
  38. <meta name="text:Archive Title" content="archive"/>
  39.  
  40. <meta name="if:Infinite Scroll" content="1"/>
  41. <meta name="if:Manual Load" content="0"/>
  42. <meta name="if:Numbered Links" content="1"/>
  43. <meta name="if:Hide Captions" content="0"/>
  44. <meta name="if:Hide Tags" content="0"/>
  45.  
  46. <meta name="text:Post Spacing" content="100"/>
  47. <meta name="text:Subtitle" content="some text"/>
  48.  
  49. <meta name="image:Icon" content=""/>
  50.  
  51. <meta name="select:Post Width" content="200" title="200px"/>
  52. <meta name="select:Post Width" content="250" title="250px"/>
  53. <meta name="select:Post Width" content="275" title="275px"/>
  54. <meta name="select:Post Width" content="300" title="300px"/>
  55. <meta name="select:Post Width" content="325" title="325px"/>
  56. <meta name="select:Post Width" content="350" title="350px"/>
  57. <meta name="select:Post Width" content="375" title="375px"/>
  58. <meta name="select:Post Width" content="400" title="400px"/>
  59. <meta name="select:Post Width" content="450" title="450px"/>
  60. <meta name="select:Post Width" content="500" title="500px"/>
  61. <meta name="select:Post Width" content="540" title="540px"/>
  62.  
  63. <!--CSS customization here. -->
  64.  
  65. <link href='http://static.tumblr.com/sas2ex2/HFinqriui/photoset.css' rel='stylesheet' type='text/css'>
  66.  
  67. <script src="//use.edgefonts.net/inconsolata:n5,n7.js"></script>
  68. <script src="//use.edgefonts.net/source-serif-pro;lato.js"></script>
  69.  
  70. <style type="text/css">
  71.  
  72. /*tumblr controls and lightbox*/
  73.  
  74. #tumblr_lightbox {background:rgba({RGBcolor:background}, .95)!important;}
  75.  
  76. #tumblr_lightbox img {opacity:0;}
  77.  
  78. #tumblr_lightbox_caption {
  79. color:{color:title}!important;
  80. font-family:inherit!important;
  81. font-size:10px!important;
  82. font-weight:normal!important;
  83. text-shadow:none!important;
  84. }
  85.  
  86. #tumblr_lightbox_center_image, #tumblr_lightbox_left_image, #tumblr_lightbox_right_image {
  87. -moz-box-shadow:none!important;
  88. -webkit-box-shadow:none!important;
  89. box-shadow:none!important;
  90. -moz-border-radius:0px!important;
  91. -webkit-border-radius:0px!important;
  92. border-radius:0px!important;
  93. padding:3px!important;
  94. border:1px solid {color:borders}!important;
  95. opacity:1!important;
  96. }
  97.  
  98. #tumblr_lightbox_left_image, #tumblr_lightbox_right_image {opacity:.6!important;}
  99.  
  100. iframe#tumblr_controls {
  101. white-space:nowrap!important;
  102. -webkit-filter:invert(60%)!important;
  103. -moz-filter:invert(60%)!important;
  104. -ms-filter:invert(60%)!important;
  105. -o-filter:invert(60%)!important;
  106. filter:invert(60%)!important;
  107. top:10px!important;
  108. right:10px!important;
  109. opacity:.3!important;
  110. position:fixed!important;
  111. }
  112.  
  113. /*tooltip*/
  114.  
  115. .ui-tooltip {
  116. position:Absolute;
  117. z-index:9999;
  118. padding-top:15px;
  119. }
  120.  
  121. .ui-tooltip-content {
  122. background:{color:background};
  123. padding:2px 3px;
  124. border:1px solid {color:borders};
  125. font-size:10px;
  126. text-transform:lowercase;
  127. }
  128.  
  129. /*scrollbar*/
  130.  
  131. ::-webkit-scrollbar{
  132. height:2px;
  133. width:4px;
  134. background:inherit;
  135. }
  136.  
  137. ::-webkit-scrollbar-thumb {
  138. background:{color:scrollbar};
  139. border-radius:2px;
  140. -webkit-border-radius:2px;
  141. }
  142.  
  143. /*basics*/
  144.  
  145. body {
  146. background:{color:background};
  147. color:{color:text};
  148. font-size:9px;
  149. font-family:source-serif-pro, georgia, serif;
  150. line-height:14px;
  151. font-weight:normal;
  152. -moz-osx-font-smoothing:grayscale;
  153. -webkit-font-smoothing:antialiased;
  154. font-smoothing:antialiased;
  155. text-shadow: 1px 1px 1px rgba(0,0,0,0.005);
  156. position:relative;
  157. word-wrap:break-word;
  158. text-align:left;
  159. margin:0;
  160. }
  161.  
  162. a {
  163. color:{color:text};
  164. text-decoration:none;
  165. }
  166.  
  167. a:hover {
  168. color:{color:link};
  169. border-color:{color:link}!important;
  170. }
  171.  
  172. .caption a, .tex a, .a a, .title a, nav a {border-bottom:1px solid {color:borders};}
  173.  
  174. img {
  175. opacity:1;
  176. border:none;
  177. text-decoration:none;
  178. }
  179.  
  180. blockquote {
  181. border-left:1px solid {color:borders};
  182. padding:.25em 0 .25em 15px;
  183. margin:1em 0;
  184. }
  185.  
  186. pre {
  187. padding:0;
  188. margin:0;
  189. line-height:inherit!important;
  190. background:transparent;
  191. font-family:inherit!Important;
  192. font-size:inherit!important;
  193. white-space:pre-wrap;
  194. white-space:-moz-pre-wrap;
  195. white-space:-pre-wrap;
  196. white-space:-o-pre-wrap;
  197. word-wrap:break-word;
  198. }
  199.  
  200. p {margin:.5em 0;}
  201.  
  202. p:first-of-type {margin-top:0;}
  203.  
  204. p:last-of-type {margin-bottom:0;}
  205.  
  206. b, strong {color:{color:title};}
  207.  
  208. ol, ul {
  209. list-style:none;
  210. padding-left:15px;
  211. }
  212.  
  213. li {
  214. padding-left:15px;
  215. position:relative;
  216. }
  217.  
  218. li:before {
  219. content:'\00BB';
  220. position:Absolute;
  221. left:0px;
  222. }
  223.  
  224. small, big, sub, pre {
  225. font-size:1em!important;
  226. line-height:2em!important;
  227. vertical-align:top!important;
  228. }
  229.  
  230. h1, h2, h3, h4 {
  231. font-size:7px;
  232. font-weight:normal;
  233. font-family:lato;
  234. text-transform:uppercase;
  235. letter-spacing:1px;
  236. line-height:inherit;
  237. color:{color:title};
  238. }
  239.  
  240. hr {
  241. border:none;
  242. box-shadow:0;
  243. margin:1em 0;
  244. border-top:1px solid {color:borders};
  245. }
  246.  
  247. /*side*/
  248.  
  249. header {
  250. position:relative;
  251. width:{select:post width}px;
  252. margin:150px auto {text:post spacing}px auto;
  253. -webkit-animation-name: fade-in;
  254. -webkit-animation-duration: 1.5s;
  255. }
  256.  
  257. .tai {
  258. font-size:7px;
  259. font-weight:bold;
  260. font-family:lato;
  261. text-transform:uppercase;
  262. letter-spacing:2px;
  263. line-height:inherit;
  264. color:{color:title};
  265. {block:ifIconImage}
  266. margin-top:10px;
  267. {/block:ifIconImage}
  268. margin-bottom:5px;
  269. }
  270.  
  271. .sub {display:block;}
  272.  
  273. .i {
  274. display:inline-block;
  275. position:absolute;
  276. left:-95px;
  277. top:0;
  278. }
  279.  
  280. .i img {
  281. cursor:pointer;
  282. width:65px;
  283. height:65px;
  284. -moz-border-radius:100%;
  285. -webkit-border-radius:100%;
  286. border-radius:100%;
  287. display:block;
  288. }
  289.  
  290. nav {
  291. margin-top:15px;
  292. {block:ifnumberedlinks}
  293. margin-top:35px;
  294. {/block:ifnumberedlinks}
  295. }
  296.  
  297. nav a {
  298. margin-right:20px;
  299. counter-increment:link;
  300. position:relative;
  301. line-height:1.2em;
  302. display:inline-block;
  303. }
  304.  
  305. {block:ifnumberedlinks}
  306. nav a:before {
  307. content:counter(link, decimal-leading-zero);
  308. font-weight:bold;
  309. font-family:helvetica;
  310. color:{color:title};
  311. top:calc(-100% - 5px);
  312. position:Absolute;
  313. }
  314. {/block:ifnumberedlinks}
  315.  
  316. #d {margin-top:15px;}
  317.  
  318. /*pagination*/
  319.  
  320. #pagination {
  321. {block:ifinfinitescroll}
  322. display:none;
  323. {/block:ifinfinitescroll}
  324. }
  325.  
  326. footer a {
  327. display:inline-block;
  328. padding:1px 4px;
  329. background:{color:accents};
  330. margin:0 15px;
  331. }
  332.  
  333. footer a:hover {color:{color:title};}
  334.  
  335. footer {
  336. {block:ifinfinitescroll}
  337. {block:ifnotmanualload}
  338. display:none;
  339. {/block:ifnotmanualload}
  340. {/block:ifinfinitescroll}
  341. text-align:center;
  342. margin:0 auto 100px auto;
  343. width:{select:post width}px;
  344. }
  345.  
  346. #infscr-loading {display:none!important;}
  347.  
  348. .nice {
  349. position:fixed;
  350. right:15px;
  351. font-family:helvetica;
  352. bottom:15px;
  353. }
  354.  
  355. /*posts*/
  356.  
  357. section {
  358. margin:0px auto;
  359. position:relative;
  360. width:{select:post width}px;
  361. }
  362.  
  363. .posts {
  364. width:{select:post width}px;
  365. margin-bottom:{text:post spacing}px;
  366. {block:indexpage}
  367. vertical-align:top;
  368. {/block:indexpage}
  369. position:relative;
  370. display:block;
  371. -webkit-animation-name: fade-in;
  372. -webkit-animation-duration: 2s;
  373. }
  374.  
  375. .posts img {
  376. height:auto;
  377. max-width:{select:post width}px;
  378. }
  379.  
  380. .photo img {
  381. width:{select:post width}px;
  382. display:block;
  383. }
  384.  
  385. .media {
  386. display:block;
  387. position:relative;
  388. }
  389.  
  390. .media iframe, .tumblr_video_container {display:block;}
  391.  
  392. .tumblr_video_container {
  393. width:auto!important;
  394. height:auto!important;
  395. }
  396.  
  397. a.read_more {text-transform:lowercase;}
  398.  
  399. .inner {position:relative;}
  400.  
  401. /*text and captions*/
  402.  
  403. .title {
  404. color:{color:title};
  405. font-size:1.2em;
  406. font-weight:500;
  407. line-height:1.5em;
  408. }
  409.  
  410. .title a {color:{color:title};}
  411.  
  412. .title a:hover {color:{color:link};}
  413.  
  414. .ted {margin-top:15px;}
  415.  
  416. .tex {
  417. padding:15px;
  418. background:{color:accents};
  419. }
  420.  
  421. .quote {
  422. padding:15px;
  423. background:{color:accents};
  424. margin-bottom:15px;
  425. font-size:7px;
  426. font-weight:normal;
  427. text-align:justify;
  428. font-family:lato;
  429. text-transform:uppercase;
  430. letter-spacing:2px;
  431. line-height:inherit;
  432. color:{color:title};
  433. }
  434.  
  435. .source {margin-left:15px;}
  436.  
  437. .caption {
  438. text-transform:none;
  439. margin:15px 0 0 0;
  440. {block:ifhidecaptions}
  441. {block:indexpage}
  442. display:none;
  443. {/block:indexpage}
  444. {/block:ifhidecaptions}
  445. }
  446.  
  447. .posts img, .posts li, .posts blockquote, .caption img {max-width:100%;}
  448.  
  449. .caption *:last-child {
  450. margin-bottom:0!important;
  451. padding-bottom:0!Important;
  452. }
  453.  
  454. .caption blockquote {
  455. margin:.3em 0;
  456. padding:0 0 0 15px;
  457. }
  458.  
  459. /*audio*/
  460.  
  461. .tumblr_audio_player {
  462. width:250px;
  463. height:30px;
  464. margin-top:-2px;
  465. }
  466.  
  467. .player {
  468. width:25px;
  469. height:25px;
  470. border-left:2px solid white;
  471. display:block;
  472. overflow:hidden;
  473. }
  474.  
  475. .hold {
  476. background:white;
  477. vertical-align:middle;
  478. border:2px solid {color:accents};
  479. display:inline-block;
  480. padding:15px;
  481. position:relative;
  482. margin-right:15px;
  483. }
  484.  
  485. .audio_info {
  486. display:inline-block;
  487. vertical-align:middle;
  488. background:{color:accents};
  489. padding:15px;
  490. line-height:14.5px;
  491. width:calc(100% - 112px);
  492. }
  493.  
  494. .audio_info span {display:block;}
  495.  
  496. .spotify_audio_player {
  497. height:80px;
  498. border-radius:0!important;
  499. }
  500.  
  501. .soundcloud_audio_player {padding:15px 15px 0 15px;}
  502.  
  503. /*asks*/
  504.  
  505. .q {
  506. padding:15px;
  507. background:{color:accents};
  508. }
  509.  
  510. .as:before, .source:before, .t:before {
  511. content:'';
  512. display:inline-block;
  513. vertical-align:middle;
  514. width:15px;
  515. height:1px;
  516. background:{color:borders};
  517. margin-right:5px;
  518. }
  519.  
  520. .as {
  521. margin:15px 0 0 15px;
  522. text-transform:lowercase;
  523. }
  524.  
  525. .a {margin-top:15px}
  526.  
  527. /*chats*/
  528.  
  529. .chat {
  530. margin:0;
  531. padding:0;
  532. list-style:none;
  533. text-align:left;
  534. }
  535.  
  536. .chat li:before {display:none;}
  537.  
  538. .l.odd {
  539. background:{color:accents};
  540. padding:5px;
  541. }
  542.  
  543. .l.even {padding:5px;}
  544.  
  545. .label {
  546. font-weight:bold;
  547. color:{color:title};
  548. display:inline-block;
  549. }
  550.  
  551. /*permalink and notes*/
  552.  
  553. #permalink {margin-top:15px;}
  554.  
  555. #permalink span {display:block;}
  556.  
  557. .when {
  558. margin-top:10px;
  559. width:{select:post width}px;
  560. overflow:hidden;
  561. padding-top:5px;
  562. text-transform:lowercase;
  563. }
  564.  
  565. .when span {display:block;}
  566.  
  567. .w {
  568. margin-right:15px;
  569. float:left;
  570. }
  571.  
  572. .tags {
  573. width:100%;
  574. {block:ifHideTags}
  575. display:none!important;
  576. {/block:ifHideTags}
  577. }
  578.  
  579. .w a:first-of-type::before {
  580. position:absolute;
  581. top:-4px;
  582. width:100%;
  583. height:1px;
  584. content:'';
  585. background:{color:borders};
  586. }
  587.  
  588. .when a {
  589. position:relative;
  590. display:inline-block;
  591. margin-right:5px;
  592. }
  593.  
  594. .r:before {
  595. content:'';
  596. display:inline-block;
  597. vertical-align:middle;
  598. width:10px;
  599. height:1px;
  600. background:{color:borders};
  601. margin-right:5px;
  602. }
  603.  
  604. .pagenotes {text-transform:lowercase;}
  605.  
  606. .pagenotes li:before {display:none;}
  607.  
  608. ol.notes {
  609. list-style-type:none;
  610. margin:0;
  611. padding:15px;
  612. background:{color:accents};
  613. }
  614.  
  615. ol.notes li.note {
  616. display:block;
  617. padding-left:0;
  618. margin:2.5px 0 2.5px 30px;
  619. }
  620.  
  621. ol.notes li.note:before {
  622. content:' ';
  623. display:inline-block;
  624. vertical-align:middle;
  625. height:100%;
  626. }
  627.  
  628. ol.notes li.note img.avatar {
  629. display:inline-block;
  630. height:15px;
  631. width:15px;
  632. vertical-align:middle;
  633. margin-left:-30px;
  634. margin-right:15px;
  635. -moz-border-radius:100%;
  636. -webkit-border-radius:100%;
  637. border-radius:100%;
  638. }
  639.  
  640. .t {
  641. display:block;
  642. margin-bottom:25px;
  643. }
  644.  
  645. .more_notes_link, .notes_loading {
  646. display:block;
  647. text-align:left!important;
  648. color:{color:title};
  649. }
  650.  
  651. {CustomCSS}
  652.  
  653. </style>
  654. </head>
  655.  
  656. <body>
  657.  
  658.  
  659. <header>{block:ifIconImage}<a class="i" href="/"><img src="{image:Icon}"/></a>{/block:ifIconImage}<a href="/" class="tai">{title}</a>{block:ifSubtitle}<span class="sub">{text:subtitle}</span>{/block:ifSubtitle}<nav>{block:ifAskTitle}<a href="/ask">{text:ask title}</a>{/block:ifAskTitle}{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}{block:ifArchiveTitle}<a href="/archive">{text:archive title}</a>{/block:ifArchiveTitle}</nav><div id="d">It is late now, I am a bit tired; the sky is irritated by stars. And I love you, I love you, I love you – and perhaps this is how the whole enormous world, shining all over, can be created – out of five vowels and three consonants.</div>
  660. </header>
  661.  
  662. <section>
  663.  
  664.  
  665. {block:Posts}<article class="posts">
  666.  
  667. {block:Quote}<div class="title quote">{Quote}</div>
  668. {block:Source}<div class="source">{Source}</div>{/block:Source}
  669. {/block:Quote}
  670.  
  671. {block:Text}
  672. {block:Title}<div class="title">{Title}</div>{/block:Title}
  673. <div class="tex {block:title}ted{/block:title}">{Body}</div>
  674. {/block:Text}
  675.  
  676. {block:Link}
  677. <div class="title"><a href="{URL}">{Name}</a></div>
  678. {block:Description}<div class="tex ted">{Description}</div>{/block:Description}
  679. {/block:Link}
  680.  
  681. {block:Chat}
  682. {block:Title}<div class="title">{Title}</div>{/block:Title}
  683. <ol class="chat {block:title}ted{/block:title}">
  684. {block:Lines}
  685. <li class="l {Alt}">{block:Label}<span class="label">{Label}</span>{/block:Label} {Line}</li>
  686. {/block:Lines}
  687. </ol>
  688. {/block:Chat}
  689.  
  690. {block:Photo}
  691. <div class="photo"><img src="{PhotoURL-HighRes}" alt="{PhotoAlt}"/></div>
  692. {/block:Photo}
  693.  
  694. {block:Photoset}<div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">{block:Photos}<div class="photo-data"><div class="pxu-photo"><img alt="{PhotoAlt}" 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>
  695. {/block:Photoset}
  696.  
  697. {block:Video}<div class="media v">{Video-500}</div>{/block:Video}
  698.  
  699. {block:Audio}
  700. {block:AudioPlayer}
  701. <div class="hold">
  702. <div class="player">{AudioPlayerwhite}</div>
  703. </div>{/block:AudioPlayer}<div class="audio_info">
  704. {block:TrackName}<span><h1>{TrackName}</h1></span>{/block:TrackName}
  705. {block:Artist}<span>by {Artist}</span>{/block:Artist}</div>
  706. {/block:Audio}
  707.  
  708. {block:Answer}
  709. <div class="q">{Question}</div>
  710. <div class="as">sent by {Asker}</div>
  711. <div class="a">{Answer}</div>
  712. {/block:Answer}
  713.  
  714. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  715.  
  716. {block:Date}{block:indexpage}
  717. <div class="when"><span class="w"><a href="{Permalink}" target="_blank">posted on {dayofweek}</a><br>{block:notecount}<a href="{permalink}">{notecountwithlabel}</a>{/block:notecount}<a href="{ReblogURL}" target="_blank" class="r">reblog</a></span>{block:HasTags}<span class="tags">{block:Tags}<a href="{TagUrl}">#{Tag}</a>{/block:Tags}</span>{/block:HasTags}</div>
  718. {/block:indexpage}
  719.  
  720. {block:permalinkpage}
  721. <div id="permalink">
  722. <span>Posted on {month} {dayofmonth}{dayofmonthsuffix} at {12hour}:{minutes}{ampm}</span>
  723. {block:RebloggedFrom}<span>Via: <a href="{ReblogParentURL}">{ReblogParentName}</a>{block:ContentSource} &mdash; source: <a href="{ReblogRootURL}">{ReblogRootName}</a>{/block:ContentSource}</span>{/block:RebloggedFrom}
  724. {block:HasTags}<span>Indexed: {block:Tags}<a href="{TagUrl}">#{Tag}</a> {/block:Tags}</span>{/block:HasTags}</div>
  725. {/block:permalinkpage}
  726.  
  727. {/block:Date}
  728.  
  729. {block:PostNotes}
  730. <div class="pagenotes"><a class="t">{NoteCountWithLabel}</a>{PostNotes}</div>
  731. {/block:PostNotes}
  732.  
  733. </article>{/block:Posts}
  734.  
  735. </section>
  736.  
  737. {block:Pagination}<footer>
  738. <div id="pagination">
  739. {block:PreviousPage}<a href="{PreviousPage}">back</a>{block:nextpage}/{/block:nextpage}{/block:PreviousPage}{block:NextPage}<a href="{NextPage}">next</a>{/block:NextPage}</div>{block:ifinfinitescroll}{block:ifmanualload}<div id="more"><a style="cursor:help;">load more</a></div>{/block:ifmanualload}{/block:ifinfinitescroll}</footer>
  740. {/block:Pagination}
  741.  
  742.  
  743.  
  744. <!-- jquery -->
  745.  
  746. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  747. <script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
  748. <script src="http://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
  749.  
  750. <script>
  751. $(document).ready(function() {
  752. $(document).tooltip({
  753. track:true
  754. });
  755. // video & soundcloud scripts © eoxk.tumblr
  756. $('.v iframe').each(function(){
  757. var scale = $(this).parents('.v').width() / 500;
  758. $(this).attr({
  759. width: Math.floor($(this).attr('width') * scale),
  760. height: Math.floor($(this).attr('height') * scale)
  761. });
  762. });
  763. var color = '{color:link}'; // color of play button (hex)
  764. $('.soundcloud_audio_player').each(function(){
  765. $(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=false&amp;origin=tumblr&amp;color=' + color.split('#')[1], height: 20, width: '100%' - 30 });
  766. });
  767. $('.photo-slideshow').pxuPhotoset({
  768. lightbox: true,
  769. rounded: 'corners',
  770. gutter: '1px',
  771. borderRadius: '0px',
  772. photoset: '.photo-slideshow',
  773. photoWrap: '.photo-data',
  774. photo: '.pxu-photo'
  775. });
  776. });
  777. </script>
  778.  
  779. {block:indexpage}
  780. {block:ifinfinitescroll}<script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
  781. <script>
  782. $(document).ready(function(){
  783. var color = '{color:link}';
  784. var $container = $('section');
  785. $container.infinitescroll({
  786. itemSelector: '.posts',
  787. navSelector: '#pagination',
  788. nextSelector: '#pagination a',
  789. loadingImg: '',
  790. loadingText: '<em></em>',
  791. bufferPx: 3000
  792. },
  793. function( newElements ) {
  794. var $newElems = $( newElements );
  795. $newElems.find('.photo-slideshow').pxuPhotoset({
  796. lightbox: true,
  797. rounded: 'corners',
  798. gutter: '1px',
  799. borderRadius: '0px',
  800. photoset: '.photo-slideshow',
  801. photoWrap: '.photo-data',
  802. photo: '.pxu-photo'
  803. });
  804. $newElems.find('.v iframe').each(function(){
  805. var scale = $(this).parents('.v').width() / 500;
  806. $(this).attr({
  807. width: Math.floor($(this).attr('width') * scale),
  808. height: Math.floor($(this).attr('height') * scale)
  809. });
  810. });
  811. $newElems.find('.soundcloud_audio_player').each(function(){
  812. $(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=false&amp;origin=tumblr&amp;color=' + color.split('#')[1], height: 20, width: '100%' - 30 });
  813. });
  814. });
  815. {block:ifmanualload}
  816. jQuery(window).unbind('.infscr');
  817. jQuery('#more a').click(function(){
  818. jQuery('section').infinitescroll('retrieve'); return false;
  819. });
  820. {/block:ifmanualload}
  821. });
  822. </script>
  823. {/block:ifinfinitescroll}
  824. {/block:indexpage}
  825.  
  826.  
  827. {block:ContentSource}
  828. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  829. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  830. {/block:SourceLogo}
  831. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  832. {/block:ContentSource}
  833. <a href="http://sorrism.tumblr.com" target="_blank" class="nice">σ</a>
  834. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement