Advertisement
kthms

gardenia theme

Feb 4th, 2016
17,902
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.95 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <!--
  5.  
  6.  
  7.  
  8.  
  9.  
  10. gardenia @ shythemes
  11.  
  12.  
  13.  
  14.  
  15.  
  16. -->
  17. <title>{Title}</title>
  18. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  19. <link rel="shortcut icon" href="{Favicon}">
  20. {block:Description}<meta name="description" content="{MetaDescription}">{/block:Description}
  21. <meta name="viewport" content="width=device-width, initial-scale=1">
  22. <meta name="image:sidebar" content="">
  23. <meta name="color:link" content="#d4ebff">
  24. <meta name="if:justify text" content="1">
  25. <meta name="if:show captions" content="1">
  26. <meta name="if:show tags" content="1">
  27. <meta name="if:infinite scroll" content="0">
  28. <meta name="select:posts" content="400" title="400px">
  29. <meta name="select:posts" content="500" title="500px">
  30. <meta name="select:posts" content="540" title="540px">
  31. <meta name="text:home link" content="">
  32. <meta name="text:archive link" content="archive">
  33. <meta name="text:ask link" content="message">
  34. <meta name="text:link 1" content="">
  35. <meta name="text:link 1 url" content="">
  36. <meta name="text:link 2" content="">
  37. <meta name="text:link 2 url" content="">
  38. <meta name="text:link 3" content="">
  39. <meta name="text:link 3 url" content="">
  40. <meta name="text:link 4" content="">
  41. <meta name="text:link 4 url" content="">
  42. <meta name="text:link 5" content="">
  43. <meta name="text:link 5 url" content="">
  44. <meta name="text:link 6" content="">
  45. <meta name="text:link 6 url" content="">
  46.  
  47. <script src="//use.edgefonts.net/karla.js"></script>
  48.  
  49. <style type="text/css">
  50.  
  51. /* general */
  52.  
  53. body {
  54. margin:0;
  55. font-size:10px;
  56. font-family:'karla', 'helvetica neue', sans-serif;
  57. line-height:16px;
  58. word-break:break-word;
  59. -moz-osx-font-smoothing:grayscale;
  60. -webkit-font-smoothing:antialiased;
  61. font-smoothing:antialiased;
  62. color:rgb(100,100,100);
  63. background-color:rgb(255,255,255);
  64. {block:ifJustifyText}text-align:justify;{/block:ifJustifyText}
  65. }
  66. a {
  67. color:inherit;
  68. text-decoration:none;
  69. -webkit-transition:all .4s ease-out;
  70. transition:all .4s ease-out;
  71. }
  72. a:hover {
  73. color:rgb(100,100,100)!important;
  74. }
  75. small, sub {
  76. font-size:inherit;
  77. vertical-align:baseline;
  78. }
  79. blockquote, ol, ul, p, pre {
  80. margin:0 0 9px;
  81. }
  82. .text figure, .text img {
  83. padding:3px 0;
  84. margin:0 0 9px;
  85. }
  86. h1, h2, h3, h4, h5, h6 {
  87. margin:0;
  88. font-size:inherit;
  89. font-weight:inherit;
  90. }
  91. ol, ul {
  92. list-style:none;
  93. padding:0;
  94. }
  95. pre {
  96. white-space:normal;
  97. }
  98. img {
  99. border:0;
  100. max-width:100%;
  101. height:auto;
  102. display:block;
  103. }
  104. hr {
  105. border:0;
  106. -moz-box-sizing:border-box;
  107. box-sizing:border-box;
  108. }
  109. ::-webkit-scrollbar {
  110. width:17px;
  111. height:17px;
  112. }
  113. ::-webkit-scrollbar {
  114. background-color:rgb(255,255,255);
  115. }
  116. ::-webkit-scrollbar-track {
  117. border:8px solid rgb(255,255,255);
  118. background-color:rgb(230,230,230);
  119. }
  120. ::-webkit-scrollbar-thumb {
  121. border:8px solid rgb(255,255,255);
  122. background-color:rgb(144,144,144);
  123. min-height:24px;
  124. min-width:24px;
  125. }
  126.  
  127. /* accents */
  128.  
  129. .title {
  130. color:rgb(75,75,75);
  131. }
  132. h1.title {
  133. font-size:14px;
  134. margin-bottom:9px;
  135. }
  136. .accent {
  137. color:rgb(160,160,160);
  138. }
  139. .text a {
  140. color:rgb(160,160,160);
  141. border-bottom:1px solid {color:link};
  142. }
  143. blockquote:after,
  144. blockquote > p:first-child > .tumblr_blog:first-child:before {
  145. content:'';
  146. display:block;
  147. }
  148. hr,
  149. blockquote:after,
  150. blockquote > p:first-child > .tumblr_blog:first-child:before {
  151. margin:11px 0 12px;
  152. width:25px;
  153. height:1px;
  154. background-color:rgb(230,230,230);
  155. }
  156. blockquote:last-child:after,
  157. .source .tumblr_blog:before {
  158. display:none;
  159. }
  160. hr {
  161. margin:13px 0 14px;
  162. width:25px;
  163. height:1px;
  164. background-color:rgb(230,230,230);
  165. }
  166. ol, ul {
  167. padding:0;
  168. list-style-type:none;
  169. }
  170. ol li,
  171. ul li {
  172. position:relative;
  173. padding-left:24px;
  174. }
  175. ol li:before,
  176. ul li:before {
  177. content:'∗';
  178. position:absolute;
  179. display:block;
  180. left:0;
  181. top:-1px;
  182. font-size:16px;
  183. color:rgb(190,190,190);
  184. }
  185. .chat li,
  186. .notes li {
  187. padding-left:0;
  188. }
  189. .chat li:before,
  190. .notes li:before {
  191. display:none;
  192. }
  193. svg {
  194. width:10px;
  195. height:auto;
  196. opacity:.75;
  197. overflow:visible;
  198. }
  199. svg path {
  200. fill:rgb(160,160,160);
  201. -webkit-transition:fill .6s ease-out;
  202. transition:fill .6s ease-out;
  203. }
  204.  
  205. /* container */
  206.  
  207. .main {
  208. margin:0 auto;
  209. width:{select:posts}px;
  210. }
  211. .content {
  212. margin:150px 0;
  213. }
  214.  
  215. /* sidebar */
  216.  
  217. aside {
  218. position:fixed;
  219. top:150px;
  220. margin-left:{select:posts}px;
  221. padding-left:75px;
  222. width:200px;
  223. }
  224. aside .sidebar {
  225. display:block;
  226. margin-bottom:20px;
  227. }
  228. aside .title, aside section {
  229. margin-bottom:18px;
  230. }
  231. aside .links li {
  232. display:block;
  233. margin:0 0 9px;
  234. float:left;
  235. width:100px;
  236. }
  237. aside section a,
  238. aside .search {
  239. color:rgb(160,160,160);
  240. }
  241. aside .search .query {
  242. border:0;
  243. outline:0;
  244. padding:0;
  245. font-family:inherit;
  246. font-size:inherit;
  247. color:inherit;
  248. background-color:transparent;
  249. }
  250. ::-webkit-input-placeholder {color: inherit;}
  251. :-moz-placeholder {color: inherit; opacity:1;}
  252. ::-moz-placeholder {color: inherit; opacity:1;}
  253. :-ms-input-placeholder {color: inherit;}
  254. input:focus::-webkit-input-placeholder {color: transparent;}
  255. input:focus:-moz-placeholder {color: transparent;}
  256. input:focus::-moz-placeholder {color: transparent;}
  257. input:focus:-ms-input-placeholder { color: transparent;}
  258.  
  259. /* navigation */
  260.  
  261. aside nav {
  262. display:none;
  263. position:absolute;
  264. left:100px;
  265. bottom:100px;
  266. top:0;
  267. bottom:0;
  268. padding:0 24px;
  269. border-right:1px solid rgb(237,237,237);
  270. }
  271. aside nav li {
  272. display:block;
  273. max-height:10px;
  274. overflow:visible;
  275. margin-bottom:24px;
  276. }
  277. aside nav li a.active svg path {
  278. fill:rgb(75,75,75);
  279. }
  280. aside #updates svg {
  281. width:14px;
  282. margin:-2px;
  283. }
  284.  
  285. /* entries */
  286.  
  287. .entry {
  288. position:relative;
  289. overflow:hidden;
  290. margin:0 0 150px;
  291. background-color:rgb(255,255,255);
  292. }
  293. .ph .media {
  294. width:{select:posts}px;
  295. margin-bottom:16px;
  296. border-bottom:1px solid rgb(236,236,236);
  297. }
  298. .body,
  299. .info {
  300. float:left;
  301. }
  302. .body {
  303. width:{select:posts}px;
  304. }
  305. .p400 .body.w {
  306. width:276px;
  307. }
  308. .p500 .body.w {
  309. width:376px;
  310. }
  311. .p540 .body.w {
  312. width:416px;
  313. }
  314. .info {
  315. width:124px;
  316. overflow:hidden;
  317. }
  318. .tags {
  319. position:relative;
  320. padding-left:26px;
  321. margin-top:14px;
  322. }
  323. {block:IndexPage}
  324. {block:ifNotShowTags}.tags { display: none; } {/block:ifNotShowTags}
  325. .tags{block:ifShowCaptions}:first-child{/block:ifShowCaptions} {
  326. margin-top:0;
  327. }
  328. {/block:IndexPage}
  329. {block:PermalinkPage}
  330. .tags:first-child {
  331. margin-top:0;
  332. }
  333. {/block:PermalinkPage}
  334. .tags .comma {
  335. margin:0 2px;
  336. opacity:0;
  337. }
  338. .tags .comma:last-child {
  339. display:none;
  340. }
  341. .tags svg {
  342. width:11px;
  343. position:absolute;
  344. left:0;
  345. top:3px;
  346. }
  347.  
  348. /* post types */
  349.  
  350. .text {
  351. margin-bottom:9px;
  352. }
  353. .text:last-of-type,
  354. .text *:last-child {
  355. margin-bottom:0;
  356. }
  357. .media > a,
  358. .media > img,
  359. .media .photo-slideshow,
  360. .media .video {
  361. display:block!important;
  362. width:{select:posts}px;
  363. max-width:{select:posts}px;
  364. padding:0 0 4px;
  365. margin:0;
  366. }
  367. .media .photo-slideshow .row:last-of-type .photo-data.count-1 {
  368. margin-bottom:0!important;
  369. }
  370. .media .video iframe {
  371. display:block;
  372. }
  373. .question {
  374. margin:-24px -24px 20px;
  375. padding:24px;
  376. border-bottom:1px solid rgb(236,236,236);
  377. }
  378. .question .sender {
  379. margin-bottom:9px;
  380. }
  381.  
  382.  
  383. /* audio posts */
  384.  
  385. .audiowrap {
  386. position:relative;
  387. height:60px;
  388. overflow:hidden;
  389. padding:8px;
  390. }
  391. .audio {
  392. position:absolute;
  393. display:inline-block;
  394. left:0;
  395. top:0;
  396. right:0;
  397. bottom:0;
  398. text-align:right;
  399. line-height:60px;
  400. }
  401. .audio .player {
  402. width:27px;
  403. height:27px;
  404. left:16px;
  405. top:16px;
  406. opacity:.4;
  407. line-height:0;
  408. overflow:hidden;
  409. position:absolute;
  410. }
  411. .audio .track {
  412. overflow:hidden;
  413. line-height:15px;
  414. margin-left:60px;
  415. width: calc(100% - 60px);
  416. display:inline-block;
  417. vertical-align:middle;
  418. }
  419. .audio .track span {
  420. display:block;
  421. max-height:15px;
  422. white-space:nowrap;
  423. overflow:hidden;
  424. text-overflow:ellipsis;
  425. margin-right:15px;
  426. }
  427.  
  428. /* pagination */
  429.  
  430. .pagination {
  431. text-align:center;
  432. margin:0 0 150px;
  433. }
  434. .pagination a {
  435. display:inline-block;
  436. vertical-align:top;
  437. max-height:10px;
  438. overflow:visible;
  439. margin-bottom:24px;
  440. }
  441. .pagination a svg {
  442. width:8px;
  443. padding:4px;
  444. }
  445. .pagination span {
  446. margin:0 24px;
  447. }
  448.  
  449. /* notes */
  450.  
  451. .notes {
  452. padding:0;
  453. }
  454. .notes li {
  455. display:block;
  456. }
  457. .notes img {
  458. display:none;
  459. }
  460. .notes .more_notes_link_container {
  461. text-align:inherit!important;
  462. }
  463. #notes .info {
  464. width:115px;
  465. padding-right:9px;
  466. }
  467. .rf {
  468. margin:9px 0 0;
  469. }
  470.  
  471. /* etc */
  472.  
  473. #tumblr_controls,
  474. .tmblr-iframe {
  475. position:fixed!important;
  476. top:0!important;
  477. right:0!important;
  478. max-width:calc(100%-788px);
  479. opacity:.5!important;
  480. -webkit-filter:invert(100%);
  481. -webkit-backface-visibility:hidden;
  482. padding:10px 40px 10px 10px;
  483. -webkit-transition:opacity .3s ease-out;
  484. transition:opacity .3s ease-out;
  485. }
  486. #tumblr_lightbox, .tmblr-lightbox {
  487. background-color:rgba(255,255,255,.98)!important;
  488. }
  489. #vignette, .vignette {
  490. opacity:0;
  491. }
  492. #tumblr_lightbox img, .lightbox-image {
  493. box-shadow:none!important;
  494. border-radius:0!important;
  495. -moz-box-sizing:border-box;
  496. box-sizing:border-box;
  497. max-width:none;
  498. }
  499. #tumblr_lightbox_caption, .lightbox-caption {
  500. visibility:hidden;
  501. }
  502. #theme {
  503. position:fixed;
  504. display:block;
  505. bottom:10px;
  506. right:10px;
  507. z-index:999;
  508. padding:5px;
  509. line-height:1em;
  510. background-color:rgb(255,255,255);
  511. }
  512. {block:ifInfiniteScroll}
  513. .pagination,
  514. #infscr-loading {
  515. display:none!important;
  516. }
  517. {/block:ifInfiniteScroll}
  518. </style>
  519. <link href="//static.tumblr.com/wupwnyt/1iho27ad1/gkthm.css" rel="stylesheet" type="text/css">
  520. <link href="//static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css">
  521. </head>
  522. <body class="p{select:posts}">
  523. <div class="main">
  524. <aside>
  525. {block:ifSidebarImage}<a href="/" class="sidebar"><img src="{image:sidebar}"></a>{/block:ifSidebarImage}
  526. <h1 class="title"><a href="/">{Title}</a></h1>
  527. <section class="about-content">
  528. <p>{Description}</p>
  529. </section>
  530. <section class="links">
  531. {block:ifHomeLink}<li><a href="/">{text:home link}</a></li>{/block:ifHomeLink}
  532. {block:ifArchiveLink}<li><a href="/archive">{text:archive link}</a></li>{/block:ifArchiveLink}
  533. {block:ifAskLink}<li><a href="/ask">{text:ask link}</a></li>{/block:ifAskLink}
  534. {block:HasPages}{block:Pages}<li><a href="{URL}">{Label}</a></li> {/block:Pages}{/block:HasPages}
  535. {block:ifLink1}<li><a href="{text:link 1 url}">{text:link 1}</a></li>{/block:ifLink1}
  536. {block:ifLink2}<li><a href="{text:link 2 url}">{text:link 2}</a></li>{/block:ifLink2}
  537. {block:ifLink3}<li><a href="{text:link 3 url}">{text:link 3}</a></li>{/block:ifLink3}
  538. {block:ifLink4}<li><a href="{text:link 4 url}">{text:link 4}</a></li>{/block:ifLink4}
  539. {block:ifLink5}<li><a href="{text:link 5 url}">{text:link 5}</a></li>{/block:ifLink5}
  540. {block:ifLink6}<li><a href="{text:link 6 url}">{text:link 6}</a></li>{/block:ifLink6}
  541. </section>
  542. </aside>
  543. <div class="content">
  544. {block:Posts}
  545. <article class="entry {block:Photo}ph{/block:Photo}{block:Photoset}ph{/block:Photoset}{block:Video}ph{/block:Video}{block:Audio}ph{/block:Audio}" id="{PostID}">
  546. <section class="media">
  547. {block:Audio}
  548. <div class="audiowrap">
  549. <div class="audio accent">
  550. {block:AudioPlayer}
  551. <div class="player">{AudioPlayerWhite}</div>
  552. {/block:AudioPlayer}
  553. <div class="track">{block:TrackName}<span class="title">{TrackName}</span>{/block:TrackName}{block:Artist}<span>{Artist}</span>{/block:Artist}</div>
  554. </div>
  555. </div>
  556. {/block:Audio}
  557. {block:Photo}
  558. {LinkOpenTag}
  559. <img src="{PhotoURL-HighRes}">
  560. {LinkCloseTag}
  561. {/block:Photo}
  562. {block:Photoset}
  563. <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>
  564. {/block:Photoset}
  565. {block:Video}
  566. <div class="video">{Video-500}</div>
  567. {/block:Video}
  568. </section>
  569. {block:Date}
  570. <section class="info accent">
  571. <a class="permalink" href="{Permalink}">{Month} {DayOfMonth}{block:PermalinkPage}, {Year}{/block:PermalinkPage}</a>
  572. </section>
  573. {/block:Date}
  574. <section class="body{block:Date} w{/block:Date}">
  575. {block:Answer}
  576. <div class="question">
  577. <div class="sender accent">{Asker}:</div>
  578. {Question}
  579. </div>
  580. <div class="answer text">{Answer}</div>
  581. {/block:Answer}
  582. {block:Chat}
  583. {block:Title}<h1 class="title">{Title}</h1>{/block:Title}
  584. <div class="chat text">
  585. {block:Lines}
  586. <p class="line">
  587. {block:Label}
  588. <span class="label title">{Label}&nbsp;</span>
  589. {/block:Label}
  590. {Line}
  591. </p>
  592. {/block:Lines}
  593. </div>
  594. {/block:Chat}
  595. {block:Link}
  596. <h1 class="title"><a href="{URL}">{Name}</a></h1>
  597. {block:Description}<div class="text">{Description}</div>{/block:Description}
  598. {/block:Link}
  599. {block:Quote}
  600. <h1 class="quote title">{Quote}</h1>
  601. {block:Source}
  602. <div class="source text">{Source}</div>
  603. {/block:Source}
  604. {/block:Quote}
  605. {block:Text}
  606. {block:Title}<h1 class="title">{Title}</h1>{/block:Title}
  607. <div class="text">{Body}</div>
  608. {/block:Text}
  609. {block:Caption}
  610. {block:ifNotShowCaptions}{block:IndexPage}<!--{/block:IndexPage}{/block:ifNotShowCaptions}
  611. <div class="caption text">{Caption}</div>
  612. {block:ifNotShowCaptions}{block:IndexPage}-->{/block:IndexPage}{/block:ifNotShowCaptions}
  613. {/block:Caption}
  614. {block:HasTags}
  615. <div class="tags accent">
  616. <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" viewBox="0 0 524.237 524.237" style="enable-background:new 0 0 524.237 524.237;" xml:space="preserve"><g><g><path d="M209.95,465.552c3.117,3.117,7.367,4.533,11.9,4.533h0.283c4.533,0,8.783-1.7,11.9-4.817l183.6-188.983 c6.517-6.8,6.517-17.283-0.283-23.8L220.15,55.569c-3.117-3.117-7.65-4.817-11.9-4.817l0,0L18.133,51.035 c-9.35,0-17,7.367-17,16.717L0,254.469c0,4.533,1.7,9.067,5.1,12.183L209.95,465.552z M35.133,84.752l166.033-0.567l180.2,180.2 l-160.083,164.9L34,247.385L35.133,84.752z"/><path d="M321.017,77.669c-6.8,6.517-6.8,17.283-0.283,24.083l162.633,165.467L311.383,444.585 c-6.517,6.8-6.233,17.567,0.283,24.083c3.4,3.117,7.65,4.817,11.9,4.817c4.533,0,8.783-1.7,12.183-5.1l183.6-189.267 c6.517-6.517,6.517-17.283,0-23.8L345.1,77.952C338.3,71.435,327.533,71.152,321.017,77.669z"/><circle cx="118.15" cy="163.235" r="6.233"/><path d="M118.15,140.002c-12.75,0-23.233,10.483-23.233,23.233s10.483,23.233,23.233,23.233s23.233-10.483,23.233-23.233 C141.1,150.485,130.9,140.002,118.15,140.002z M118.15,174.002c-5.95,0-10.767-4.817-10.767-10.767 c0-5.95,4.817-10.767,10.767-10.767c5.95,0,10.767,4.817,10.767,10.767C128.917,169.185,124.1,174.002,118.15,174.002z"/></g></g></svg>
  617. {block:Tags}<a href="{TagURL}">{Tag}</a><span class="comma"> / </span>{/block:Tags}
  618. </div>
  619. {/block:HasTags}
  620. </section>
  621. </article>
  622. {block:PostNotes}
  623. <article class="entry" id="notes">
  624. <section class="info accent">
  625. {NoteCountWithLabel}
  626. {block:RebloggedFrom}
  627. <div class="rf accent">
  628. via <a href="{ReblogParentURL}">{ReblogParentName}</a><br>
  629. {block:ContentSource}
  630. by <a href="{ReblogRootURL}">{ReblogRootName}</a>
  631. {/block:ContentSource}
  632. </div>
  633. {/block:RebloggedFrom}
  634. </section>
  635. <section class="body w">
  636. {PostNotes}
  637. </section>
  638. </article>
  639. {/block:PostNotes}
  640. {/block:Posts}
  641. </div>
  642. {block:Pagination}
  643. <div class="pagination">
  644. {block:PreviousPage}
  645. <a class="prev" href="{PreviousPage}">
  646. <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" viewBox="0 0 375.473 375.473" style="enable-background:new 0 0 375.473 375.473;" xml:space="preserve"><g><g><path d="M315.817,6.856c-5.667-7.65-16.15-9.067-23.8-3.4L63.083,174.023c-4.25,3.117-6.8,8.217-6.8,13.6 c0,5.383,2.55,10.483,6.8,13.6l228.933,170.85c3.117,2.267,6.517,3.4,10.2,3.4c5.1,0,10.2-2.267,13.6-6.8 c5.667-7.65,3.967-18.133-3.4-23.8l-210.8-157.25l210.8-157.25C319.783,24.99,321.483,14.223,315.817,6.856z"/></g></g></svg>
  647. </a>
  648. {/block:PreviousPage}
  649. <span class="accent">{CurrentPage} of {TotalPages}</span>
  650. {block:NextPage}
  651. <a class="next" href="{NextPage}">
  652. <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" viewBox="0 0 375.39 375.39" style="enable-background:new 0 0 375.39 375.39;" xml:space="preserve"><g><g><path d="M59.615,368.59c3.4,4.533,8.5,6.8,13.6,6.8c3.4,0,7.083-1.133,10.2-3.4l228.933-170.85c4.25-3.117,6.8-8.217,6.8-13.6 s-2.55-10.483-6.8-13.6L83.415,3.373c-7.65-5.667-18.133-3.967-23.8,3.4c-5.667,7.65-3.967,18.133,3.4,23.8l210.8,157.25 l-210.8,157.25C55.648,350.456,53.948,361.223,59.615,368.59z"/></g></g></svg>
  653. </a>
  654. {/block:NextPage}</span>
  655. </div>
  656. {/block:Pagination}
  657. </div>
  658. <!-- {block:ContentSource}{SourceURL}{/block:ContentSource}{block:RebloggedFrom}{ReblogRootURL}{ReblogParentURL}{/block:RebloggedFrom} -->
  659. <a href="http://shythemes.tumblr.com" id="theme" class="accent" title="theme">k.</a>
  660. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  661. <script src="http://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
  662. <script src ="//static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script>
  663. {block:IndexPage}
  664. {block:ifInfiniteScroll}
  665. <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
  666. {/block:ifInfiniteScroll}
  667. {/block:IndexPage}
  668. <script>
  669. $(document).ready(function(){
  670. // search
  671. $('.search').submit(function(event){
  672. var value = $('input:first').val();
  673. location.replace('http://{Name}.tumblr.com/tagged/' + value);
  674. });
  675. // tumblr audio players
  676. $('.tumblr_audio_player').each(function(){
  677. $(this).attr({ src: $(this).attr('src').split('&color=')[0] + '&color=transparent&simple=1 '});
  678. });
  679. // pxu photosets
  680. $('.photo-slideshow').pxuPhotoset({
  681. lightbox: true,
  682. rounded: false,
  683. gutter: '0px',
  684. photoset: '.photo-slideshow',
  685. photoWrap: '.photo-data',
  686. photo: '.pxu-photo'
  687. });
  688. // soundcloud players
  689. var color = '{color:link}'; // color of play button (hex)
  690. $('.soundcloud_audio_player').each(function(){
  691. $(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: 116, width: '100%' });
  692. });
  693. {block:ifInfiniteScroll}
  694. // infinite scroll
  695. var $container = $('.content');
  696. $container.infinitescroll({
  697. itemSelector: '.entry',
  698. navSelector: '.pagination',
  699. nextSelector: '.next',
  700. loadingImg: '',
  701. loadingText: '<em></em>',
  702. bufferPx: 2000
  703. },
  704. function( newElements ) {
  705. var $newElems = $( newElements );
  706. // likes
  707. var $newElemsIDs = $newElems.map(function () {
  708. return this.id;
  709. }).get();
  710. Tumblr.LikeButton.get_status_by_post_ids($newElemsIDs);
  711. // pxu photosets
  712. $newElems.find('.photo-slideshow').pxuPhotoset({
  713. lightbox: true,
  714. rounded: false,
  715. gutter: '0px',
  716. photoset: '.photo-slideshow',
  717. photoWrap: '.photo-data',
  718. photo: '.pxu-photo'
  719. });
  720. // videos
  721. resizeVideos();
  722. // soundcloud players
  723. $newElems.find('.soundcloud_audio_player').each(function(){
  724. $(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: 116, width: '100%' });
  725. });
  726. // tumblr audio players
  727. $newElems.find('.tumblr_audio_player').each(function(){
  728. $(this).attr({ src: $(this).attr('src').split('&color=')[0] + '&color=transparent&simple=1 '});
  729. });
  730. });
  731. {/block:ifInfiniteScroll}
  732. });
  733. </script>
  734. </body>
  735. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement