Advertisement
ILikeMochiCx

Hiraeth

Dec 20th, 2016
4,668
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.12 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.  
  4. <head>
  5. <link href='https://fonts.googleapis.com/css?family=Libre+Baskerville:400italic' rel='stylesheet' type='text/css'>
  6. <link href="https://fonts.googleapis.com/css?family=Hind:400,700" rel="stylesheet">
  7. <link href="https://fonts.googleapis.com/css?family=Cormorant+Garamond:600i" rel="stylesheet">
  8. <link rel="stylesheet" href="https://cdn.linearicons.com/free/1.0.0/icon-font.min.css">
  9.  
  10. <title>{Title}</title>
  11.  
  12. <!--
  13. ___________________________________________________________________________
  14.  
  15.  
  16. Hiraeth - Theme #10
  17. my usual terms apply; please do not redstribute, copy, or steal in any way
  18.  
  19. shoseii.tumblr.com
  20.  
  21. ___________________________________________________________________________
  22.  
  23. -->
  24.  
  25. <link rel="shortcut icon" href="{Favicon}">
  26. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  27.  
  28. <link href="http://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
  29.  
  30.  
  31. {block:Description}<meta name="description" content="{MetaDescription}" />
  32. {/block:Description}
  33.  
  34. <meta name="image:Background" content=""/>
  35. <meta name="image:Icon" content=""/>
  36.  
  37. <meta name="color:Background" content="#ffffff"/>
  38. <meta name="color:Posts Background" content="#ffffff"/>
  39. <meta name="color:Border Color" content="#eeeeee"/>
  40. <meta name="color:Text" content="#000000"/>
  41. <meta name="color:Bold" content="#ED6B73"/>
  42. <meta name="color:Caption" content="#f9f9f9"/>
  43. <meta name="color:Caption Text" content="#898989"/>
  44. <meta name="color:Title" content="#000000"/>
  45. <meta name="color:Link" content="#797979"/>
  46. <meta name="color:Link Hover" content="#f59797"/>
  47. <meta name="color:Selection" content="#a5d7f0"/>
  48. <meta name="color:Scrollbar" content="#cccccc"/>
  49.  
  50. <meta name="text:Link 1" content=""/>
  51. <meta name="text:Link 1 URL" content=""/>
  52. <meta name="text:Link 2" content=""/>
  53. <meta name="text:Link 2 URL" content=""/>
  54. <meta name="text:Link 3" content=""/>
  55. <meta name="text:Link 3 URL" content=""/>
  56. <meta name="text:Link 4" content=""/>
  57. <meta name="text:Link 4 URL" content=""/>
  58.  
  59. <meta name="select:Post Width" content="250" title="250px"/>
  60. <meta name="select:Post Width" content="300" title="300px"/>
  61. <meta name="select:Post Width" content="350" title="350px"/>
  62. <meta name="select:Post Width" content="400" title="400px"/>
  63.  
  64. <meta name="if:Infinite Scroll" content="1"/>
  65. <meta name="if:Manual Load" content=""/>
  66. <meta name="if:Mini Cursor" content=""/>
  67. <meta name="if:Post Fade" content="1"/>
  68. <meta name="if:Show Tags" content=""/>
  69. <meta name="if:Show Caption" content=""/>
  70. <meta name="if:Two Column" content=""/>
  71.  
  72. <style type="text/css">
  73.  
  74. {block:ifMiniCursor}
  75. *, body, a {cursor: url(http://static.tumblr.com/p7wg3p9/o3jmn8igq/tiny.png), auto;}
  76.  
  77. a:hover {cursor: url(http://static.tumblr.com/p7wg3p9/EWnmn8ip5/tinyhover.png), auto;}
  78. {/block:ifMiniCursor}
  79.  
  80. ::-webkit-scrollbar{
  81. width:17px;
  82. height:17px;
  83. background-color:{color:Background};
  84. }
  85.  
  86. ::-webkit-scrollbar:horizontal{
  87. display:none;
  88. }
  89.  
  90. ::-webkit-scrollbar-track {
  91. border:8px solid {color:Background};
  92. background-color:{color:Border Color};
  93. }
  94.  
  95. ::-webkit-scrollbar-thumb {
  96. border:6px solid {color:Background};
  97. background-color:{color:Scrollbar};
  98. }
  99.  
  100. ::-moz-selection{
  101. background:{color:Selection};
  102. color:#fff;
  103. }
  104.  
  105. ::selection{
  106. background:{color:Selection};
  107. color:#fff;
  108. }
  109.  
  110. body{
  111. font:12px 'hind', sans-serif;
  112. line-height:18px;
  113. font-weight:400;
  114. color:{color:Text};
  115. text-align:left;
  116. -webkit-font-smoothing: antialiased;
  117. -moz-osx-font-smoothing: grayscale;
  118. background:{color:Background} url('{image:Background}') fixed repeat center;
  119. }
  120.  
  121. a{
  122. text-decoration:none;
  123. outline:none;
  124. -moz-outline-style:none;
  125. color:{color:Link};
  126. -webkit-transition: all 0.3s ease-in-out;
  127. -moz-transition: all 0.3s ease-in-out;
  128. -o-transition: all 0.3s ease-in-out;
  129. -ms-transition: all 0.3s ease-in-out
  130. transition: all 0.3s ease-in-out;
  131. }
  132.  
  133. a:visited{
  134. color:{color:Link};
  135. }
  136.  
  137. a:hover{
  138. color:{color:Link Hover};
  139. }
  140.  
  141. b,strong{
  142. font-weight:heavy;
  143. color:{color:Bold};
  144. }
  145.  
  146. blockquote{
  147. padding-left:5px;
  148. border-left:1px solid #ccc;
  149. }
  150.  
  151. /*--Sidebar--*/
  152.  
  153. #sidebar{
  154. position:fixed;
  155. width:200px;
  156. height:100vh;
  157. top:0px;
  158. left:30px;
  159. padding:200px 30px 0px 30px;
  160. z-index:99999;
  161. }
  162.  
  163. #icon img{
  164. background:{color:Background};
  165. max-width:40px;
  166. border-radius:100px;
  167. }
  168.  
  169. #title{
  170. font:italic 22px "Cormorant Garamond", serif;
  171. z-index:9999999999;
  172. text-transform:lowercase;
  173. -webkit-transition: all 0.3s ease-in-out;
  174. -moz-transition: all 0.3s ease-in-out;
  175. -o-transition: all 0.3s ease-in-out;
  176. -ms-transition: all 0.3s ease-in-out;
  177. transition: all 0.3s ease-in-out;
  178. }
  179.  
  180. #title a{
  181. color:{color:Title};
  182. }
  183.  
  184. #title a:hover{
  185. color:{color:Link Hover};
  186. }
  187.  
  188. #desc{
  189. width:150px;
  190. font-weight:400;
  191. line-height:22px;
  192. }
  193.  
  194. .show{
  195. cursor:pointer;
  196. }
  197.  
  198. #links{
  199. display:none;
  200. margin-left:15px;
  201. }
  202.  
  203. #links a:before{
  204. content:"▷";
  205. margin-right:5px;
  206. }
  207.  
  208. .links{
  209. margin-top:10px;
  210. font-size:10px;
  211. }
  212.  
  213. .links a{
  214. display:block;
  215. width:119px;
  216. height:15px;
  217. padding:3px 5px 5px 0px;
  218. margin:5px 5px 5px 0px;
  219. text-transform:uppercase;
  220. letter-spacing:1px;
  221. }
  222.  
  223. .links a:hover{
  224. text-decoration:underline;
  225. }
  226.  
  227. /*--Posts--*/
  228.  
  229. #content{
  230. margin-bottom:50px;
  231. margin-left:300px;
  232. margin-top:50px;
  233. {block:ifTwoColumn}
  234. {block:IndexPage}
  235. margin-left:235px;
  236. {/block:IndexPage}
  237. width:calc({select:Post Width}px * 2 + 245px);
  238. {/block:ifTwoColumn}
  239. }
  240.  
  241. .entry{
  242. background:{color:Posts Background};
  243. {block:indexpage}
  244. width:{select:Post Width}px;
  245. {/block:indexpage}
  246. padding:3px;
  247. margin:0px 10px 60px 0px;
  248. {block:ifTwoColumn}
  249. {block:IndexPage}
  250. margin-right:0px;
  251. margin-left:65px;
  252. {/block:IndexPage}
  253. {/block:ifTwoColumn}
  254. {block:permalinkpage}
  255. width:500px;
  256. padding:23px;
  257. {/block:permalinkpage}
  258. }
  259.  
  260. .entry img{
  261. {block:indexpage}
  262. width:{select:Post width}px;
  263. height:auto;
  264. margin-bottom:-4px;
  265. {/block:indexpage}
  266. {block:permalinkpage}
  267. max-width:500px;
  268. {/block:permalinkpage}
  269. }
  270.  
  271. ol.notes{
  272. padding:0px;
  273. width:500px;
  274. height:218px;
  275. overflow:auto;
  276. margin:5px 0px;
  277. list-style-type:none;
  278. border:1px solid{color:Border Color};
  279. }
  280.  
  281. ol.notes li.note{
  282. border-top:solid 1px {color:Border Color};
  283. padding:10px;
  284. }
  285.  
  286. ol.notes li.note:first-child{
  287. border:none;
  288. }
  289.  
  290. ol.notes li.note img.avatar{
  291. vertical-align:-4px;
  292. margin-right:10px;
  293. width:16px;
  294. height:16px;
  295. }
  296.  
  297. ol.notes li.note blockquote{
  298. border-color:{color:Border Color};
  299. padding:4px 10px;
  300. margin:10px 0px 0px 25px;
  301. }
  302.  
  303. ol.notes li.note blockquote a{
  304. text-decoration:none;
  305. }
  306.  
  307. /*--Post Fade--*/
  308.  
  309. #img{
  310. {block:indexpage}
  311. {block:ifPostFade}
  312. opacity:0.6;
  313. {/block:ifPostFade}
  314. -webkit-transition:all 0.3s ease-in-out;
  315. -moz-transition:all 0.3s ease-in-out;
  316. -o-transition:all 0.3s ease-in-out;
  317. transition:all 0.3s ease-in-out;
  318. {/block:indexpage}
  319. }
  320.  
  321. .entry:hover #img{
  322. opacity:1;
  323. }
  324.  
  325. /*--Permalinks--*/
  326.  
  327. .permalink{
  328. position:relative;
  329. background:#fbfbfb;
  330. color:#ccc;
  331. width:calc({select:Post Width}px - 2px );
  332. font-size:10px;
  333. padding-top:5px;
  334. padding-bottom:5px;
  335. margin-top:-5px;
  336. text-align:left;
  337. z-index:999;
  338. border:1px solid {color:Border Color};
  339. border-radius:0px 0px 3px 3px;
  340. whitespace:nowrap;
  341. -webkit-transition:all 0.5s ease-in-out;
  342. -moz-transition:all 0.5s ease-in-out;
  343. -o-transition:all 0.5s ease-in-out;
  344. transition:all 0.5s ease-in-out;
  345. }
  346.  
  347. .noet{
  348. position:absolute;
  349. padding:0px 0px 0px 12px;
  350. margin-top:1px;
  351. margin-right:10px;
  352. }
  353.  
  354. .rb{
  355. position:relative;
  356. display:inline-block;
  357. margin-left:calc({select:Post Width}px - 45px);
  358. }
  359.  
  360. .rb a{
  361. margin-left:5px;
  362. }
  363.  
  364. .user{
  365. display:inline-block;
  366. color:{color:Link};
  367. max-width:78px;
  368. margin-left:12px;
  369. margin-right:10px;
  370. white-space:nowrap;
  371. overflow:hidden;
  372. text-overflow:ellipsis;
  373. }
  374.  
  375. .tags{
  376. cursor:col-resize;
  377. width:calc({select:Post Width}px - 105px);
  378. display:inline-block;
  379. font-size:10px;
  380. white-space:nowrap;
  381. overflow:hidden;
  382. }
  383.  
  384. .tags-inner{
  385. position:relative;
  386. padding:0px 20px 0px 0px;
  387. }
  388.  
  389. .tags a,
  390. .tags .post_tag{
  391. margin-right:6px;
  392. text-decoration:none;
  393. text-transform:lowercase !important;
  394. }
  395.  
  396. .tags a:before{
  397. content: '#';
  398. }
  399.  
  400. .tags:after{
  401. content: '';
  402. position:absolute;
  403. top:0;
  404. right:0;
  405. bottom:0;
  406. width:20px;
  407. background:-moz-linear-gradient(left, rgba(255,255,255,0) 0, rgba(255,255,255,1) 100%);
  408. background:-webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(100%, #FFF));
  409. background:-webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0, #FFF 100%);
  410. background:-o-linear-gradient(left, rgba(255,255,255,0) 0, rgba(255,255,255,1) 100%);
  411. background:-ms-linear-gradient(left, rgba(255,255,255,0) 0, rgba(255,255,255,1) 100%);
  412. background:linear-gradient(to right, rgba(255, 255, 255, 0) 0, #FFF 100%);
  413. }
  414.  
  415. .like_button{
  416. display:inline-block;
  417. position:relative;
  418. width:1.5em;
  419. height:1.0em;
  420. }
  421.  
  422. .like_button:before{
  423. content:"\e813";
  424. position:absolute;
  425. color:{color:Link};
  426. top:-3px;
  427. left:1.5px;
  428. font-size:12px;
  429. font-family:'Linearicons-Free';
  430. text-align:center;
  431. -webkit-transition:all 0.5s ease-in-out;
  432. -moz-transition:all 0.5s ease-in-out;
  433. -o-transition:all 0.5s ease-in-out;
  434. transition:all 0.5s ease-in-out;
  435. }
  436.  
  437. .like_button iframe{
  438. position:absolute;
  439. top:0px;
  440. left:0px;
  441. opacity:0;
  442. z-index:99;
  443. }
  444.  
  445. .like_button.liked:before, .like_button:hover:before{
  446. color:{color:Link Hover};
  447. }
  448.  
  449.  
  450. /*--Miscellaneous--*/
  451.  
  452. iframe.tmblr-iframe{
  453. z-index:99999999999999!important;
  454. top:0!important;
  455. right:0!important;
  456. opacity:0.4;
  457. /* delete from here */
  458. filter:invert(1);
  459. -webkit-filter:invert(1);
  460. -o-filter:invert(1);
  461. -moz-filter:invert(1);
  462. -ms-filter:invert(1);
  463. /* to here if your blog has a dark background */
  464. transform:scale(0.6);
  465. transform-origin:100% 0;
  466. -webkit-transform:scale(0.6);
  467. -webkit-transform-origin:100% 0;
  468. -o-transform:scale(0.6);
  469. -o-transform-origin:100% 0;
  470. -moz-transform:scale(0.6);
  471. -moz-transform-origin:100% 0;
  472. -ms-transform:scale(0.6);
  473. -ms-transform-origin:100% 0;
  474. -webkit-transition:all 0.5s ease-in-out;
  475. -moz-transition:all 0.5s ease-in-out;
  476. -o-transition:all 0.5s ease-in-out;
  477. transition:all 0.5s ease-in-out;
  478. }
  479.  
  480. iframe.tmblr-iframe:hover{
  481. opacity:0.6!important;
  482. }
  483.  
  484. .load-more{
  485. position:relative;
  486. margin-left:310px;
  487. padding:5px;
  488. font-size:10px;
  489. text-transform:uppercase;
  490. letter-spacing:1px;
  491. border:1px solid #f1f1f1;
  492. }
  493.  
  494. footer{
  495. width:60vw;
  496. {block:ifTwoColumn}
  497. width:calc({select:Post Width}px * 2 + 345px);
  498. {/block:ifTwoColumn}
  499. margin-bottom:50px;
  500. }
  501.  
  502. .pagination{
  503. display:none;
  504. }
  505.  
  506. #pagination{
  507. color:#ccc;
  508. {block:ifTwoColumn}
  509. position:absolute;
  510. bottom:0px;
  511. margin-left:65px;
  512. {/block:ifTwoColumn}
  513. }
  514.  
  515. #pagination a{
  516. padding:0px 5px 0px 5px;
  517. border:1px solid #f1f1f1;
  518. }
  519.  
  520. .back{
  521. margin-top:0px;
  522. }
  523.  
  524. .next{
  525. margin-top:0px;
  526. }
  527.  
  528. .text img{
  529. {block:IndexPage}
  530. max-width:calc({select:Post width}px - 20px);
  531. {/block:IndexPage}
  532. {block:PermalinkPage}
  533. max-width:500px;
  534. {/block:PermalinkPage}
  535. width:auto;
  536. height:auto;
  537. }
  538.  
  539. .text{
  540. background:#fbfbfb;
  541. padding:10px;
  542. overflow:hidden;
  543. }
  544.  
  545. .audio:hover .tumblr_audio_player{
  546. opacity:1;
  547. }
  548.  
  549. .audio{
  550. background:#fbfbfb;
  551. margin-left:50px;
  552. margin-bottom:5px;
  553. line-height:14px;
  554. letter-spacing:1px;
  555. text-align:left;
  556. padding:12px 0px 10px 10px;
  557. }
  558.  
  559. .audio img{
  560. position:absolute;
  561. width:50px;
  562. margin-top:-12px;
  563. margin-left:-60px;
  564. z-index:9;
  565. }
  566.  
  567. .song{
  568. font:italic 9px georgia;
  569. }
  570.  
  571. .quote{
  572. font:italic 16px 'Cormorant Garamond', serif;
  573. text-align:left;
  574. margin-left:11px;
  575. }
  576.  
  577. .tumblr_audio_player{
  578. opacity:0;
  579. background:{color:Background};
  580. position:absolute;
  581. width:30px;
  582. height:30px;
  583. margin-top:-1px;
  584. margin-left:-50px;
  585. border-radius:100px;
  586. z-index:99;
  587. -webkit-transition:all 0.3s ease-in-out;
  588. -moz-transition:all 0.3s ease-in-out;
  589. -o-transition:all 0.3s ease-in-out;
  590. transition:all 0.3s ease-in-out;
  591. }
  592.  
  593. #s-m-t-tooltip{
  594. background:#fff;
  595. color:#888;
  596. font-size:8px;
  597. font-style:italic;
  598. font-weight:500;
  599. letter-spacing:2px;
  600. text-transform:uppercase;
  601. max-width:300px;
  602. padding:4px;
  603. z-index:9999999999;
  604. margin:20px 10px 10px 10px;
  605. box-shadow:1px 1px 3px rgba(0,0,0,.1);
  606. }
  607.  
  608. .ask{
  609. background:{color:Caption};
  610. color:{color:Text};
  611. width:auto;
  612. padding:10px;
  613. border:1px solid {color:Border Color};
  614. border-radius:5px;
  615. text-align:left;
  616. }
  617.  
  618. .answer{
  619. margin-left:10px;
  620. margin-top:0px;
  621. }
  622.  
  623. .caption{
  624. {block:IndexPage}
  625. background:{color:Caption};
  626. border:1px solid {color:Border Color};
  627. border-radius:5px;
  628. {/block:IndexPage}
  629. font-size:10px;
  630. color:{color:Caption Text};
  631. margin-top:10px;
  632. padding:5px;
  633. overflow:auto;
  634. }
  635.  
  636. .caption img{
  637. width:auto;
  638. height:auto;
  639. max-width:calc({select:Post width}px - 70px);
  640. {block:PermalinkPage}
  641. max-width:430px;
  642. {/block:PermalinkPage}
  643. }
  644.  
  645. .back-to-top{
  646. position: fixed;
  647. bottom:-75px;
  648. left:10px;
  649. background: url('http://static.tumblr.com/2e9nahe/xvCoaucis/arrow-up.svg') no-repeat;
  650. background-size:15px;
  651. width:100px;
  652. height:100px;
  653. z-index:9999999;
  654. }
  655.  
  656. .back-to-top a{
  657. text-indent: -9999px;
  658. display: block;
  659. }
  660.  
  661. #infscr-loading{
  662. display:none!important;
  663. }
  664.  
  665. .tumblr_video_container{
  666. width:auto!important;
  667. height:auto!important;
  668. }
  669.  
  670. .vignette, #vignette {
  671. opacity:0;
  672. }
  673. .lightbox-image, #tumblr_lightbox img {
  674. box-shadow:none!important;
  675. border-radius:0!important;
  676. max-width:none;
  677. }
  678.  
  679. .tmblr-lightbox, #tumblr_lightbox {
  680. background-color:{color:Background}!important;
  681. }
  682.  
  683. </style>
  684.  
  685. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  686. <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>
  687.  
  688.  
  689.  
  690. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  691. <script>
  692. (function($){
  693. $(document).ready(function(){
  694. $("[title]").style_my_tooltips({
  695. tip_follows_cursor:true,
  696. tip_delay_time:20,
  697. tip_fade_speed:400,
  698. attribute:"title"
  699. });
  700. });
  701. })(jQuery);
  702. </script>
  703.  
  704.  
  705. <!--Scroll back to top-->
  706.  
  707. <div class="back-to-top" id="back-top">
  708. <a href="javascript:void(0)" class="back-to-top">Top</a>
  709. </div>
  710.  
  711.  
  712. <script type="text/javascript">
  713. $(function () {
  714. $("#back-top").hide();
  715. $(window).scroll(function () {
  716. if ($(this).scrollTop() > 150) {
  717. $('#back-top').fadeIn();
  718. } else {
  719. $('#back-top').fadeOut();
  720. }
  721. });
  722. });
  723. jQuery('.back-to-top').click(function () {
  724. jQuery('html, body').animate({
  725. scrollTop: 0
  726. }, 'slow');
  727. });
  728. </script>
  729.  
  730.  
  731. <!--end of Scroll back to top-->
  732.  
  733. <!--minimal soundcloud player by shythemes-->
  734. <script>
  735. // minimal soundcloud player © shythemes.tumblr
  736. $(document).ready(function(){
  737. var color = '#acd7bb'; // color of play button (hex)
  738. $('.soundcloud_audio_player').each(function(){
  739. $(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%' });
  740. });
  741. });
  742. </script>
  743. <!--end minimal soundcloud player-->
  744.  
  745.  
  746. <script src="http://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
  747. <script>
  748. $(document).ready(function(){
  749. $('.photo-slideshow').pxuPhotoset({
  750. lightbox: true,
  751. rounded: false,
  752. gutter: '5px',
  753. photoset: '.photo-slideshow',
  754. photoWrap: '.photo-data',
  755. photo: '.pxu-photo'
  756. });
  757. });
  758. </script>
  759.  
  760. {block:ifInfiniteScroll}
  761. <div class="pagination">
  762. {block:Pagination}{block:PreviousPage}<a href="{PreviousPage"}>previous</a> &middot;{/block:PreviousPage} {block:NextPage}<a href="{NextPage}" id="next">next</a>{/block:NextPage}{/block:Pagination}
  763. </div>
  764. {/block:ifInfiniteScroll}
  765.  
  766.  
  767. <script src ="//static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script>
  768.  
  769.  
  770. <script>
  771. $(document).ready(function(){
  772. tags();
  773. });
  774. function tags() {
  775. $('.tags-inner').draggable({
  776. axis : "x",
  777. scroll: false,
  778. stop: function() {
  779. var pt_left = $(this).css("left").replace(/[^-\d\.]/g, '');
  780. if(pt_left > 0){$(this).animate({left: 0}, 400, 'easeOutExpo');}
  781. var pt_width = $(this).outerWidth();
  782. var pt_parentWidth = $('.tags.draggable').outerWidth();
  783. if(pt_width > pt_parentWidth) {
  784. if(pt_left < pt_parentWidth - pt_width){
  785. $(this).animate({left: pt_parentWidth - pt_width}, 400, 'easeOutExpo');}
  786. } else {$(this).animate({left: 0}, 400, 'easeOutExpo');}
  787. }
  788. });
  789. }
  790. </script>
  791.  
  792. <script type="text/javascript">
  793. $(document).ready(function(){
  794. $("#links").hide();
  795. $(".show").click(function(){
  796. $(this).next("#links").fadeToggle('slow');
  797. });
  798. });
  799. </script>
  800.  
  801. </head>
  802.  
  803. <body>
  804.  
  805. <div id="sidebar">
  806. <div id="icon"><img src="{image:Icon}"/></div>
  807. <div id="title">
  808. <a href="/">{Title}</a>
  809. </div>
  810. <div id="desc">{Description}</div>
  811. <div class="links">
  812. <a href="/">index</a>
  813. <a href="/ask" target="_blank">message</a>
  814. <a href="/archive" target="_blank">archive</a>
  815. <a class="show">links</a>
  816. <div id="links">
  817. {block:ifLink1}<a href="{text:Link 1 URL}" target="_blank">{text:Link 1}</a>{/block:ifLink1}
  818. {block:ifLink2}<a href="{text:Link 2 URL}" target="_blank">{text:Link 2}</a>{/block:ifLink2}
  819. {block:ifLink3}<a href="{text:Link 3 URL}" target="_blank">{text:Link 3}</a>{/block:ifLink3}
  820. {block:ifLink4}<a href="{text:Link 4 URL}" target="_blank">{text:Link 4}</a>{/block:ifLink4}
  821. </div>
  822. </div>
  823. </div>
  824.  
  825. <div id="content">
  826.  
  827. {block:Posts}
  828.  
  829.  
  830. <div class="entry" id="{PostID}">
  831.  
  832. {block:Text}
  833. <div class="text">{block:IndexPage}{/block:IndexPage}{block:Title}<h2><b><a href="{Permalink}">{Title}</a></b></h2>{/block:Title}
  834. {Body}
  835. </div>
  836. {/block:Text}
  837.  
  838. {block:Photo}
  839. <div id="img">
  840. {block:IndexPage}<img src="{PhotoURL-500}"/>
  841. </div>
  842.  
  843. {/block:IndexPage}
  844. {block:PermalinkPage}<img src="{PhotoURL-HighRes}"/>{block:Caption}<div class="caption">{caption}</div>{/block:Caption}
  845. {/block:PermalinkPage}
  846. {/block:Photo}
  847.  
  848. {block:Photoset}
  849. {block:IndexPage}
  850. <div id="img">
  851. <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>
  852. </div>
  853. {/block:IndexPage}
  854.  
  855. {block:PermalinkPage}<div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">{block:Photos}<div class="photo-data"><div class="pxu-photo"><img src="{PhotoURL-500}" width="{PhotoWidth-500}" height="{PhotoHeight-500}" data-highres="{PhotoURL-HighRes}" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}"></div><a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}"></a></div>{/block:Photos}</div>
  856. {block:Caption}<div class="caption">{caption}</div>{/block:Caption}
  857. {/block:PermalinkPage}
  858. {/block:Photoset}
  859.  
  860.  
  861. {block:Quote}
  862. <div class="text">
  863. <div style="position:absolute;margin-top:-5px;margin-left:-5px;font:30px times new roman;opacity:0.5;">“</div>
  864. <div class="quote">{Quote}</div>
  865. {block:Source}<p style="font:11px 'hind', sans-serif;">—&nbsp;{Source}</p>{/block:Source}
  866. </div>
  867. {/block:Quote}
  868.  
  869. {block:Link}
  870. <div class="text">
  871. <a href="{URL}"><h1><b>{Name}</h1></b></a>{block:Description}{Description}{/block:Description}</div>
  872. {/block:Link}
  873.  
  874. {block:Chat}
  875. <div class="text">
  876. {block:Title}<h3>{Title}</h3>{/block:Title}
  877. {block:Lines}<p>
  878. {block:Label}<b>{Label}</b>{/block:Label}
  879. {Line}</p>
  880. {/block:Lines}
  881. </div>
  882. {/block:Chat}
  883.  
  884. {block:Audio}
  885. <div class="audio">
  886. {block:AudioPlayer}
  887. {AudioPlayerWhite}
  888. {block:AlbumArt}<img id="img" src="{AlbumArtURL}"/>{/block:AlbumArt}
  889. {block:TrackName}<b>{TrackName}</b>{/block:TrackName}
  890. <br>{block:Artist}<span class="song">{Artist}</span>{/block:Artist}
  891. </div>
  892. {/block:AudioPlayer}
  893.  
  894. {block:PermalinkPage}
  895. {block:Caption}<div class="caption">{caption}</div>{/block:Caption}
  896. {/block:PermalinkPage}
  897. {/block:Audio}
  898.  
  899. {block:Answer}
  900. <div style="padding-bottom:5px;"><b><u>{Asker}</u></b> asked:</div>
  901. <div class="ask">
  902. {Question}
  903. </div>
  904. <div class="answer">
  905. {Answer}
  906. </div>
  907. {/block:Answer}
  908.  
  909. {block:Video}
  910. {block:IndexPage}
  911. <div id="img">
  912. <div class="video">{Video-500}</div>
  913. </div>
  914. {/block:IndexPage}
  915.  
  916. {block:PermalinkPage}<div class="video">{Video-500}</div>
  917. {block:Caption}<div class="caption">{caption}</div>{/block:Caption}{/block:PermalinkPage}
  918. {/block:Video}
  919.  
  920. {block:ContentSource} <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}" width="{Logowidth}px" height="{LogoHeight}" alt="{SourceTitle}" /> {/block:SourceLogo} {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo}--> {/block:ContentSource}
  921.  
  922. {block:IndexPage}
  923. {block:ifShowCaption}{block:Caption}<div class="caption">{caption}</div>{/block:Caption}{/block:ifShowCaption}
  924. <div class="permalink">
  925. {block:RebloggedFrom}<span class="user">Source: <a href="{ReblogRootURL}">{ReblogRootName}</a></span>{/block:RebloggedFrom}
  926. {block:ifShowTags}{block:HasTags}<div class="tags draggable" {block:NotReblog}style="margin-left:12px;width:calc({select:Post Width}px - 25px);"{/block:NotReblog}><div class="tags-inner">{block:Tags}<a href="{TagURL}">{Tag}</a>{/block:Tags}</div></div>{/block:HasTags}{/block:ifShowTags}
  927.  
  928. <div class="noet"><a href="{Permalink}" target="_blank">{NoteCountWithLabel}</a></div>
  929. <div class="rb">
  930. {LikeButton} <a href="{ReblogURL}" target="_blank" title="Reblog?"><span class="lnr lnr-undo"></span></a>
  931. </div>
  932. </div>
  933.  
  934. {/block:IndexPage}
  935.  
  936. {block:PermalinkPage}
  937. {block:Date}
  938. <div style="border-top:1px solid #ccc;width:500px;margin-top:5px;"></div>
  939. <div style="font-weight:600;font-size:14px;margin-top:10px;">{DayOfWeek}, {Month} {DayOfMonth}{DayOfMonthSuffix}, {Year}</div>
  940. {/block:Date}
  941. {block:NoteCount}{NoteCountWithLabel}{/block:NoteCount}
  942. <br>{block:HasTags}Tagged: {block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}<br>{/block:HasTags}
  943. {block:RebloggedFrom}Via: <i><a href="{ReblogParentURL}">{ReblogParentName}</i></a>
  944. <br>Source: <i><a href="{ReblogRootURL}">{ReblogRootName}</i></a>{/block:RebloggedFrom}
  945. {/block:PermalinkPage}
  946.  
  947. {block:PostNotes}{PostNotes}{/block:PostNotes}
  948.  
  949.  
  950. </div>
  951.  
  952. {/block:Posts}
  953.  
  954. {block:ifnotinfinitescroll}
  955. {block:Pagination}
  956. <div id="pagination">
  957. {block:PreviousPage}<a href="{PreviousPage}" title="previous">«</a>&nbsp;&nbsp;|{/block:PreviousPage}&nbsp;&nbsp;{block:NextPage}<a href="{NextPage}" title="next">»</a>{/block:NextPage}
  958. </div>
  959. {/block:Pagination}
  960. {/block:ifnotinfinitescroll}
  961.  
  962. </div>
  963.  
  964. {block:ifInfiniteScroll}{block:ifManualLoad}
  965. {block:Pagination}<footer><a href="#" class="load-more">load more</a></footer>{/block:Pagination}
  966. {/block:ifManualLoad}{/block:ifInfiniteScroll}
  967.  
  968.  
  969. {block:IndexPage}
  970. <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.imagesloaded/4.0.0/imagesloaded.pkgd.min.js"></script>
  971. {block:ifTwoColumn}
  972. <script src="https://cdnjs.cloudflare.com/ajax/libs/masonry/3.3.2/masonry.pkgd.min.js"></script>
  973. {/block:ifTwoColumn}
  974. {block:ifInfiniteScroll}
  975. <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
  976. {/block:ifInfiniteScroll}
  977. <script>
  978. $(document).ready(function(){
  979. var $container = $('#content');
  980. {block:ifTwoColumn}
  981. $container.masonry({
  982. itemSelector: '.entry',
  983. columnWidth: '.entry',
  984. {block:ifnotInfiniteScroll}
  985. transitionDuration: 0
  986. {/block:ifnotInfiniteScroll}
  987. });
  988. $container.imagesLoaded().progress(function(){
  989. $container.masonry('layout');
  990. });
  991. {/block:ifTwoColumn}
  992.  
  993. {block:ifInfiniteScroll}
  994. $container.infinitescroll({
  995. itemSelector: ".entry",
  996. navSelector: ".pagination",
  997. nextSelector: ".pagination a#next",
  998. loadingImg: "",
  999. loadingText: "<em> </em>",
  1000. bufferPx: 100,
  1001. extraScrollPx: 50,
  1002. errorCallback: function(){ $('.load-more').text('no more posts').parent().delay(2000).slideUp("slow"); }
  1003. },
  1004.  
  1005. function(newElements){
  1006. var $newElems = $(newElements);
  1007. $newElems.find('.photo-slideshow').pxuPhotoset({
  1008. lightbox: true,
  1009. rounded: false,
  1010. gutter: '4px',
  1011. photoset: '.photo-slideshow',
  1012. photoWrap: '.photo-data',
  1013. photo: '.pxu-photo'
  1014. });
  1015.  
  1016. var $newElemsIDs = $newElems.map(function(){
  1017. return this.id;
  1018. }).get();
  1019. console.log($newElems, $newElemsIDs);
  1020. Tumblr.LikeButton.get_status_by_post_ids($newElemsIDs);
  1021.  
  1022. resizeVideos();
  1023. tags();
  1024.  
  1025. var $newElems = $( newElements ).hide();
  1026. $newElems.imagesLoaded(function(){
  1027. $newElems.fadeIn();
  1028. {block:ifTwoColumn}
  1029. $container.masonry( 'appended', $newElems, true );
  1030. {/block:ifTwoColumn}
  1031. });
  1032.  
  1033. var color = '#ededed';
  1034. $('.soundcloud_audio_player').each(function(){
  1035. $(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%' });
  1036. });
  1037.  
  1038. });
  1039. {block:ifManualLoad}
  1040. $(window).unbind('.infscr');
  1041. $('.load-more').click(function(){
  1042. $('#content').infinitescroll('retrieve');
  1043. return false;
  1044. });
  1045. {/block:ifManualLoad}
  1046. {/block:ifInfiniteScroll}
  1047. });
  1048. </script>
  1049. {/block:IndexPage}
  1050.  
  1051. <a href="http://shoseii.tumblr.com" style="font:italic 10px 'Libre Baskerville', serif;position:fixed;bottom:5px;right:3px;" title="© shoseii">&</a>
  1052.  
  1053. </body>
  1054.  
  1055.  
  1056. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement