Advertisement
str-wrs

Lacheses

Jun 3rd, 2016
12,269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.13 KB | None | 0 0
  1. <!--
  2.  
  3. THEME: LACHESES
  4. by acuite
  5.  
  6. - don't steal this pls
  7. - enjoy, ilu (ノ◕ヮ◕)ノ*:・゚✧
  8.  
  9. - @acuite for more themes
  10.  
  11. -->
  12.  
  13. <html>
  14. <head>
  15.  
  16. <title>{Title}</title>
  17. <link rel="shortcut icon" href="{Favicon}">
  18. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  19. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  20.  
  21. <meta name="image:Icon" content=""/>
  22.  
  23. <meta name="color:Text" content="#555"/>
  24. <meta name="color:Link" content="#999"/>
  25. <meta name="color:Accent" content="#7bd4e7"/>
  26.  
  27. <meta name="if:Solid Posts" content=""/>
  28. <meta name="if:Text Controls" content=""/>
  29. <meta name="if:Tags" content=""/>
  30. <meta name="if:Load More" content=""/>
  31. <meta name="if:Paginate" content=""/>
  32.  
  33. <meta name="select:Uniform Posts" content="upla" title="Landscape">
  34. <meta name="select:Uniform Posts" content="upsq" title="Square">
  35. <meta name="select:Uniform Posts" content="uppo" title="Portrait">
  36. <meta name="select:Uniform Posts" content="upno" title="None">
  37.  
  38. <meta name="select:Columns" content="single" title="One">
  39. <meta name="select:Columns" content="multi two" title="Two">
  40. <meta name="select:Columns" content="multi three" title="Three">
  41. <meta name="select:Columns" content="multi four" title="Four">
  42.  
  43. <meta name="text:Post" content="200"/>
  44. <meta name="text:Margin" content="25"/>
  45.  
  46. <meta name="text:Link 1" content="/"/>
  47. <meta name="text:Link 1 Title" content="one"/>
  48. <meta name="text:Link 2" content="/" />
  49. <meta name="text:Link 2 Title" content="two"/>
  50. <meta name="text:Link 3" content="/" />
  51. <meta name="text:Link 3 Title" content="three"/>
  52. <meta name="text:Link 4" content="/" />
  53. <meta name="text:Link 4 Title" content="four"/>
  54.  
  55. <link href="http://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
  56. <link href='http://static.tumblr.com/8pnyeus/sXxofi7lt/outicons.css' rel='stylesheet' type='text/css'>
  57. <link href='https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
  58.  
  59. <style type="text/css">
  60.  
  61. ::-webkit-scrollbar {
  62. width:17px;
  63. height:17px;
  64. background:#eee;
  65. border:8px solid #fff;
  66. }
  67.  
  68. ::-webkit-scrollbar-thumb {
  69. background:rgba({RGBcolor:Link},0.5);
  70. border:8px solid #fff;
  71. }
  72.  
  73. /* Controls */
  74.  
  75. #tumblr_controls,.tmblr-iframe.tmblr-iframe--desktop-logged-in-controls.iframe-controls--desktop{-webkit-filter: invert(100%); -moz-filter: invert(100%); -o-filter: invert(100%); -ms-filter: invert(100%); filter: invert(100%);opacity:0.5;top:5px;z-index:999999;{block:ifTextControls}{block:IndexPage}display:none;{/block:IndexPage}{/block:ifTextControls}}
  76. .tc {position:fixed;right:15px;top:15px;z-index:9999;font-size:0;}
  77. .tc a .oi {margin-right:4px;font-size:14px;height:12px;float:left;}
  78. .tc a {
  79. display:inline-block;
  80. font-size:10px;
  81. line-height:14px;
  82. margin:8px;
  83. }
  84.  
  85. /* General */
  86.  
  87. body {
  88. margin:0;
  89. color:{color:Text};
  90. font-smooth:always;
  91. -webkit-font-smoothing:antialiased;
  92. -moz-osx-font-smoothing: grayscale;
  93. }
  94.  
  95. a:link, a:active, a:visited {text-decoration:none;}
  96. pre,p,blockquote,body,big,small,sub,sup,.entry,input {font-size:10px;}
  97. p,body,pre,em,input{font-family:'PT Sans',Helvetica,Arial,sans-serif;}
  98. a,.our_button,.like_button,.p,.up{
  99. transition:0.5s ease;
  100. -o-transition:0.5s ease;
  101. -moz-transition:0.5s ease;
  102. -webkit-transition:0.5s ease;
  103. }
  104.  
  105. /* Credit & Scroll to Top */
  106.  
  107. .c,.top{position:fixed;right:30px;width:40px;text-align:center;}
  108. .c {
  109. bottom:30px;
  110. font-size:9px;
  111. line-height:100%;
  112. letter-spacing:1px;
  113. text-transform:uppercase;
  114. }
  115.  
  116. .top {bottom:50px;display:none;}
  117.  
  118. /* Pagination */
  119.  
  120. .cp {font-weight:600;}
  121. .cp,.jp,.pag a{display:inline-block;vertical-align:middle;margin:0 10px;}
  122. .pag a i,.top i{font-size:20px;}
  123. .pag,.load {display:block;margin:calc({text:Margin}px * 2);}
  124.  
  125. {block:ifnotPaginate}
  126. .pag,#infscr-loading {display:none!important;}
  127. {/block:ifnotPaginate}
  128.  
  129. .pag,.load {
  130. font-size:10px;
  131. line-height:100%;
  132. letter-spacing:0.25px;
  133. text-align:center;
  134. cursor:pointer;
  135. }
  136.  
  137. /* Containers */
  138.  
  139. {block:ifnotSolidPosts}
  140. body {background:#fff;}
  141. .single .center {width:calc({text:Post}px + ({text:Margin}px * 2));}
  142. .up {width:100%;height:calc(100% - 22px);}
  143. .perma,.pn {margin:15px 0;}
  144. .multi .txt_hold {background:#f8f8f8;}
  145. .single .cap {background:#f8f8f8;padding:1px;margin-top:1px;}
  146. .single .tags {margin:10px 0 0;}
  147.  
  148. {block:IndexPage}
  149. .two .center {width:calc(({text:Post}px + ({text:Margin}px * 2)) * 2);}
  150. .three .center {width:calc(({text:Post}px + ({text:Margin}px * 2)) * 3);}
  151. .four .center {width:calc(({text:Post}px + ({text:Margin}px * 2)) * 4);}
  152. {/block:IndexPage}
  153. {/block:ifnotSolidPosts}
  154.  
  155. {block:ifSolidPosts}
  156. body {background:#f8f8f8;}
  157. .single .center{width:calc({text:Post}px + 2px + ({text:Margin}px * 2));}
  158. .up {margin:1px;width:calc(100% - 2px);height:calc(100% - 24px);}
  159. .perma,.pn {padding:15px;}
  160. .single .tags {margin:15px;}
  161.  
  162. {block:IndexPage}
  163. .two .center {width:calc(({text:Post}px + 2px + ({text:Margin}px * 2)) * 2);}
  164. .three .center {width:calc(({text:Post}px + 2px + ({text:Margin}px * 2)) * 3);}
  165. .four .center {width:calc(({text:Post}px + 2px + ({text:Margin}px * 2)) * 4);}
  166. .entry_hold {background:#fff;border:1px solid #eee;}
  167. {/block:IndexPage}
  168.  
  169. {block:PermalinkPage}
  170. .entry {background:#fff;border:1px solid #eee;}
  171. {/block:PermalinkPage}
  172.  
  173. {/block:ifSolidPosts}
  174.  
  175. .single .inph {display:none;}
  176.  
  177. {block:IndexPage}
  178. .multi .peph {display:none;}
  179. {/block:IndexPage}
  180.  
  181. {block:PermalinkPage}
  182. .multi .inph {display:none;}
  183. .multi .center {width:calc(400px + ({text:Margin}px * 2));}
  184. {/block:PermalinkPage}
  185.  
  186. .center {position:relative;margin:50px auto;}
  187. #content {font-size:0;text-align:center;}
  188.  
  189. {block:IndexPage}
  190. .multi .upla .whi,.multi .upsq .whi,.multi .uppo .whi {overflow:hidden;}
  191. .multi .upla .whi,.multi .upla .txt_hold {height:calc({text:Post}px * 0.75);}
  192. .multi .upsq .whi,.multi .upsq .txt_hold {height:{text:Post}px;}
  193. .multi .uppo .whi,.multi .uppo .txt_hold {height:calc({text:Post}px * 1.25);}
  194. .multi .upla .bx,.multi .upsq .bx,.multi .uppo .bx {
  195. width:100%;
  196. height:100%;
  197. overflow:hidden;
  198. background:#fff no-repeat center;
  199. background-size:cover;
  200. }
  201.  
  202. .txt_hold {display:table;width:100%;}
  203.  
  204. .qut_hold,.txt,.audio_hold,.chat {
  205. display:table-cell;
  206. vertical-align:middle;
  207. }
  208.  
  209. {/block:IndexPage}
  210.  
  211. .entry_hold {overflow:hidden;}
  212. .entry img {max-width:100%;height:auto;}
  213. .entry {
  214. {block:IndexPage}
  215. width:{text:Post}px;
  216. display:inline-block;
  217. vertical-align:middle;
  218. {/block:IndexPage}
  219. overflow:hidden;
  220. position:relative;
  221. text-align:left;
  222. margin:{text:Margin}px;
  223. }
  224.  
  225. /* Header */
  226.  
  227. aside {
  228. font-size:0;
  229. text-align:right;
  230. width:100px;
  231. position:fixed;
  232. z-index:9999999;
  233. margin-top:{text:Margin}px;
  234. margin-left:calc(-100px + -{text:Margin}px);
  235. }
  236.  
  237. .image {display:inline-block;width:30px;margin:0 0 25px;border-radius:15%;}
  238. nav a.bt{margin:0;color:{color:Text};text-transform:uppercase;letter-spacing:1.5px;}
  239. nav a,.search-form,.lb a {
  240. font-size:10px;
  241. line-height:100%;
  242. margin:10px 0;
  243. cursor:pointer;
  244. display:block;
  245. }
  246.  
  247. .lb a {margin:7px 0;}
  248. .lb {display:none;}
  249. .search-form * {
  250. width:100%;
  251. background:inherit;
  252. padding:0;
  253. border:0;
  254. outline:none;
  255. font:inherit;
  256. text-align:right;
  257. opacity:0.6;
  258. }
  259.  
  260. .search-form input[type=text] {color:{color:Link};}
  261. input::-webkit-input-placeholder {color:{color:Link};}
  262. input::-moz-placeholder {color:{color:Link};}
  263. input:-moz-placeholder {color:{color:Link};}
  264. input:-ms-input-placeholder {color:{color:Link};}
  265. input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {-webkit-appearance:none;}
  266.  
  267. /* Titles */
  268.  
  269. h2 {margin:0 0 10px;font-size:12px;line-height:100%;}
  270. h3,h4,h5 {margin:10px;font-size:10px;}
  271.  
  272. /* Permalinks */
  273.  
  274. .p {margin:10px 0 0;height:12px;text-align:right;font-size:0;}
  275. .p .oi {font-size:13px;line-height:0;display:inline-block;vertical-align:top;}
  276.  
  277. a.reb:hover {color:#78cc6f;}
  278. .custom-like-button *{cursor:pointer!important;}
  279. .custom-like-button {
  280. position:relative;
  281. display:inline-block;
  282. vertical-align:top;
  283. width:11px;
  284. height:9px;
  285. cursor:pointer;
  286. margin:0 5px 0 4px;
  287. }
  288.  
  289. .like_button:hover + .our_button {color:#e17e66;}
  290. .like_button.liked + .our_button {color:#e17e66;}
  291. .like_button iframe {width:100%!important;height:100%!important;}
  292. .like_button {z-index:10;opacity:0;}
  293. .our_button {z-index:1;}
  294. .our_button,.like_button {
  295. position:absolute;
  296. top:0;
  297. left:0;
  298. width:100%;
  299. height:100%;
  300. }
  301.  
  302. .tags {margin:15px;font-size:0;}
  303. .tags a {
  304. display:inline-block;
  305. margin:0 6px 4px 0;
  306. font-size:9px;
  307. line-height:100%;
  308. font-style:italic;
  309. }
  310.  
  311. /* Quotes */
  312.  
  313. .qut_hold,.chat,.audio {padding:20px;}
  314. .src {margin-top:8px;font-size:9px;}
  315. .qut {font-size:11px;font-style:italic;line-height:140%;}
  316.  
  317. /* Audio & Chat */
  318.  
  319. .lines,.chat h2 {margin:5px;}
  320. .lines b{font-weight:400;}
  321.  
  322. .play {
  323. padding:10px;
  324. background:#e4e4e4;
  325. height:27px;
  326. width:27px;
  327. display:inline-block;
  328. vertical-align:middle;
  329. }
  330.  
  331. .audio {display:block;text-align:center;}
  332. .soundcloud_audio_player{padding:15px 0;}
  333. .au span {display:block;font-size:9px;}
  334. .au {margin-top:10px;}
  335. .tn {margin:5px 0;font-size:11px!important;}
  336. .tumblr_audio_player {width:27px;height:27px;overflow:hidden;}
  337.  
  338. /* Text */
  339.  
  340. p,blockquote{line-height:150%;}
  341. ol,ul {padding:0 0 0 25px;}
  342. p,blockquote,ul,ol{margin:5px;}
  343. b,strong {font-weight:700;}
  344. blockquote p{margin:5px 0;}
  345. blockquote p:first-child{margin:0 0 5px;}
  346. blockquote p:last-child{margin:5px 0 0;}
  347. blockquote p:only-child{margin:0;}
  348. blockquote blockquote {margin:0;}
  349. blockquote {border-left:1px solid #eee;padding-left:5px;}
  350. pre {
  351. margin:5px 0;
  352. white-space:pre-wrap;
  353. white-space:-moz-pre-wrap;
  354. white-space:-pre-wrap;
  355. white-space:-o-pre-wrap;
  356. word-wrap:break-word;
  357. }
  358.  
  359. /* Captions */
  360.  
  361. .txt iframe,.cap iframe{display:block;max-width:100%;overflow:hidden;}
  362. .tumblr_parent {border:0;margin:15px;padding:0;}
  363. a.tumblr_blog {border-bottom:1px solid rgba({RGBcolor:Link},0.5);}
  364. a.tumblr_blog:hover {border-color:rgba({RGBcolor:Accent},0.5);}
  365. .txt {margin:0;}
  366.  
  367. .multi .entry:hover .up {opacity:1;}
  368. .multi .up{
  369. position:absolute;
  370. top:0;
  371. left:0;
  372. opacity:0;
  373. overflow:auto;
  374. background:rgba(255,255,255,0.9);
  375. }
  376.  
  377. .up::-webkit-scrollbar {width:7px;height:7px;}
  378. .up::-webkit-scrollbar,.up::-webkit-scrollbar-thumb {
  379. border:3px solid #fff;
  380. }
  381.  
  382. .up,.dwn {display:none;}
  383. .upcap .up,.uptags .up {display:block;}
  384. .dwncap .dwn,.dwntags .dwn{display:block;}
  385. .multi .dwn,.single .up {display:none!important;}
  386.  
  387. /* Video */
  388.  
  389. .video {overflow:hidden;}
  390. .vine-embed,#youtube_iframe {display:block;}
  391. .instagram-media {border-radius:0!important;box-shadow:none!important;}
  392.  
  393. /* Photosets */
  394.  
  395. #tumblr_lightbox,.tmblr-lightbox {
  396. background:rgba(255,255,255,0.99)!important;
  397. }
  398.  
  399. #vignette,#tumblr_lightbox_caption,.vignette,.lightbox-caption{
  400. opacity:0!important;
  401. }
  402.  
  403. #tumblr_lightbox_center_image, #tumblr_lightbox_left_image,
  404. #tumblr_lightbox_right_image, .lightbox-image {
  405. box-shadow:none!important;
  406. border-radius:0!important;
  407. }
  408.  
  409. .index-page .photos img {display:none;}
  410. .index-page .photos img:first-child {display:block;width:100%;}
  411.  
  412. /* Ask */
  413.  
  414. .aski {font-size:0;}
  415. .que {margin-top:8px;font-style:italic;line-height:140%;}
  416. .aski span {font-size:11px;line-height:100%;width:calc(100% - 28px);}
  417. .askicon {width:18px;border-radius:20px 20px 0;margin-right:8px;}
  418. .aski span,.askicon {display:inline-block;vertical-align:middle;}
  419. #ask_form {margin:10px!important;width:calc(100% - 20px)!important;}
  420.  
  421. /* Permalink Page + Postnotes */
  422.  
  423. .pph {text-transform:lowercase;}
  424. .perma {line-height:175%;}
  425. .pmt a:after {content:',';}
  426. .pmt a:last-of-type:after {content:'.';}
  427. .pn ol {margin:0;padding:0;list-style-type:none;}
  428. .pn li{margin:5px;font-size:8.5px;line-height:100%;}
  429. .pn,.pn img{display:none;}
  430. .pn {font-size:0;}
  431. .pnh,.more_notes_link,.notes_loading {display:block;font-weight:600;}
  432. .more_notes_link,.notes_loading {text-align:left!important;}
  433.  
  434. /* Tooltips */
  435.  
  436. #s-m-t-tooltip{
  437. max-width:300px;
  438. margin:15px;
  439. z-index:99999999;
  440. padding:5px 5px 4px;
  441. font-size:9px;
  442. line-height:100%;
  443. word-wrap:break-word;
  444. word-break:break-all;
  445. color:{color:Link};
  446. background:#fff;
  447. border:1px solid #eee;
  448. }
  449.  
  450. /* Common Styles */
  451.  
  452. a:hover, a h2:hover,.bt:hover{color:{color:Accent};}
  453. a,.p,.pph,.src,.lines b,.tn,h2,.ask{color:{color:Link};}
  454. .pph,.pn {block:PermalinkPage},.cap{/block:PermalinkPage}{
  455. border-top:1px solid #eee;
  456. }
  457.  
  458. .tags.nospc {margin-top:0;}
  459. .cap.nospc {margin-bottom:10px;}
  460. .cap.nospc .tumblr_parent{margin-bottom:0;}
  461. .single .cap.nospc {margin-bottom:0;}
  462. .txt.cap {border-top:0;}
  463.  
  464. /* Etc */
  465.  
  466. img {margin:0;display:block;}
  467.  
  468. </style>
  469. </head>
  470. <body class="{select:Columns}">
  471.  
  472. {block:ifTextControls}
  473. {block:IndexPage}
  474. <div class="tc">
  475. <a href="https://www.tumblr.com/dashboard?conversation={Name}">
  476. <i class="oi oi-chat"></i> Message
  477. </a>
  478. <a href="https://www.tumblr.com/follow/{Name}">
  479. <i class="oi oi-plus"></i> Follow
  480. </a>
  481. <a href="https://www.tumblr.com/dashboard">
  482. <i class="oi oi-home"></i> Dashboard
  483. </a>
  484. </div>
  485. {/block:IndexPage}
  486. {/block:ifTextControls}
  487.  
  488. <div class="center {block:IndexPage}index-page{/block:IndexPage} {select:Uniform Posts}">
  489.  
  490. <aside>
  491. <a href="/"><img class="image" src="{block:ifIconImage}{image:Icon}{/block:ifIconImage}{block:ifnotIconImage}{PortraitURL-128}{/block:ifnotIconImage}"/></a>
  492. <nav>
  493. <a href="/" class="bt">{Title}</a>
  494. <a href="/ask">Contact</a>
  495. <a class="lh">Filter</a>
  496. <a href="/archive">Grid</a>
  497. <form class="search-form" action="/search" method="get"><input type="text" name="q" placeholder="Search" value="{SearchQuery}"/></form>
  498. </nav>
  499. <div class="lb">
  500. {block:ifLink1}
  501. <a href="{text:Link 1}">{text:Link 1 Title}</a>
  502. {/block:ifLink1}{block:ifLink2}
  503. <a href="{text:Link 2}">{text:Link 2 Title}</a>
  504. {/block:ifLink2}{block:ifLink3}
  505. <a href="{text:Link 3}">{text:Link 3 Title}</a>
  506. {/block:ifLink3}{block:ifLink4}
  507. <a href="{text:Link 4}">{text:Link 4 Title}</a>
  508. {/block:ifLink4}
  509. </div>
  510. </aside>
  511.  
  512. <div id="content">
  513. {block:Posts}
  514.  
  515. <div class="entry" id="{PostID}">
  516. <div class="entry_hold">
  517. <div class="whi">
  518.  
  519. {block:IndexPage}
  520. <div class="{block:Caption}upcap{/block:Caption} {block:ifTags}{block:HasTags}uptags{/block:HasTags}{/block:ifTags}">
  521. <div class="up">
  522. {block:Caption}<div class="cap {block:ifTags}{block:HasTags}nospc{/block:HasTags}{/block:ifTags}">{Caption}</div>{/block:Caption}
  523. {block:ifTags}{block:HasTags}<div class="tags {block:Caption}nospc{/block:Caption}">
  524. {block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}
  525. </div>{/block:HasTags}{/block:ifTags}
  526. </div>
  527. </div>
  528. {/block:IndexPage}
  529.  
  530. {block:Text}
  531. <div class="txt_hold">
  532. <div class="txt cap">
  533. {block:Title}<h2>{Title}</h2>{/block:Title}
  534. {Body}
  535. </div>
  536. </div>
  537. {/block:Text}
  538.  
  539. {block:Link}
  540. <div class="txt_hold">
  541. <div class="txt cap">
  542. <h2><a title="{URL}" href="{URL}">{Name}</a></h2>
  543. {block:Description}{Description}{/block:Description}
  544. </div>
  545. </div>
  546. {/block:Link}
  547.  
  548. {block:Photo}
  549. {block:IndexPage}<a href="{Permalink}"><div class="whi"><div class="bx" style="background-image:url('{PhotoURL-500}');"></div><div class="photos"><img src="{PhotoURL-HighRes}" alt="{PhotoAlt}"/></div></div></a>{/block:IndexPage}
  550. {block:PermalinkPage}{LinkOpenTag}<img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" class="ph"/>{LinkCloseTag}{/block:PermalinkPage}
  551. {/block:Photo}
  552.  
  553. {block:Photoset}
  554. <div class="inph"><a href="{Permalink}"><div class="whi">{block:Photos}<div class="bx" style="background-image:url('{PhotoURL-HighRes}');"></div>{/block:Photos}<div class="photos">{block:Photos}<img src="{PhotoURL-HighRes}">{/block:Photos}</div></div></a></div>
  555.  
  556. <div class="peph"><div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">{block:Photos}<div class="photo-data"><div class="pxu-photo"><img src="{PhotoURL-500}" width="{PhotoWidth-500}" height="{PhotoHeight-500}" data-highres="{PhotoURL-HighRes}" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}"></div><a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}"></a></div>{/block:Photos}</div></div>
  557. {/block:Photoset}
  558.  
  559. {block:Quote}
  560. <div class="txt_hold">
  561. <div class="qut_hold">
  562. <div class="qut">{Quote}</div>
  563. {block:Source}<div class="src">{Source}</div>{/block:Source}
  564. </div>
  565. </div>
  566. {/block:Quote}
  567.  
  568. {block:Chat}
  569. <div class="txt_hold">
  570. <div class="chat">
  571. {block:Title}<h2>{Title}</h2>{/block:Title}
  572. {block:Lines}<div class="lines {Alt}"><div class="{Alt} user_{UserNumber}">{block:Label}<b>{Label}</b> {/block:Label}{Line}</div></div>{/block:Lines}
  573. </div>
  574. </div>
  575. {/block:Chat}
  576.  
  577. {block:Audio}
  578. <div class="txt_hold">
  579. <div class="audio_hold">
  580. <div class="audio">
  581. {block:AudioPlayer}<div class="play">{AudioPlayerGrey}</div>{/block:AudioPlayer}
  582. <div class="au">
  583. {block:TrackName}<span class="tn">{TrackName}</span>{/block:TrackName}
  584. {block:Artist}<span>by {Artist}</span>{/block:Artist}
  585. </div>
  586. </div>
  587. </div>
  588. </div>
  589. {/block:Audio}
  590.  
  591. {block:Video}
  592. <div class="video">{Video-500}</div>
  593. {/block:Video}
  594.  
  595. {block:Answer}
  596. <div class="ask">
  597. <div class="aski">
  598. <img class="askicon" src="{AskerPortraitURL-64}">
  599. <span>{Asker}:</span>
  600. </div>
  601. <div class="que">{Question}</div>
  602. </div>
  603. <div class="txt">{Answer}</div>
  604. {/block:Answer}
  605.  
  606. </div>
  607.  
  608. {block:IndexPage}
  609. <div class="{block:Caption}dwncap{/block:Caption} {block:ifTags}{block:HasTags}dwntags{/block:HasTags}{/block:ifTags}">
  610. <div class="dwn">
  611. {block:Caption}<div class="cap">{Caption}</div>{/block:Caption}
  612. {block:ifTags}{block:HasTags}<div class="tags">
  613. {block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}
  614. </div>{/block:HasTags}{/block:ifTags}
  615. </div>
  616. </div>
  617. {/block:IndexPage}
  618.  
  619. </div>
  620.  
  621. {block:IndexPage}
  622. <div class="p">
  623. <a href="{Permalink}" title="{NoteCountWithLabel}" ><i class="oi oi-link"></i></a>
  624. <div class="custom-like-button" title="like">{LikeButton}
  625. <span class="our_button"><i class="oi oi-heart"></i></span>
  626. </div>
  627. <a href="{ReblogURL}" title="reblog" class="reb"><i class="oi oi-refresh"></i></a>
  628. </div>
  629. {/block:IndexPage}
  630.  
  631. {block:PermalinkPage}
  632. {block:Caption}<div class="cap">{Caption}</div>{/block:Caption}
  633. {block:Date}
  634. <div class="pph">
  635. <div class="perma">
  636. posted {TimeAgo} on {DayofMonthWithSuffix} {Month}
  637. {block:RebloggedFrom}<br>
  638. via <a href="{ReblogParentURL}">{ReblogParentName}</a> &nbsp;&nbsp;&nbsp;
  639. source <a href="{ReblogRootURL}">{ReblogRootName}</a>
  640. {/block:RebloggedFrom}
  641.  
  642. {block:HasTags}<div class="pmt">tags: &nbsp;
  643. {block:Tags}<a href="{TagURL}">{Tag}</a> {/block:Tags}
  644. </div>{/block:HasTags}
  645. <a href="#" class="pnh">{NoteCountWithLabel}</a>
  646. </div>
  647.  
  648. {block:PostNotes}
  649. <div class="pn">{PostNotes}</div>
  650. {/block:PostNotes}
  651.  
  652. </div>
  653.  
  654. {/block:Date}
  655. {/block:PermalinkPage}
  656.  
  657. {block:ContentSource}
  658. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  659. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  660. {/block:SourceLogo}
  661. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  662. {/block:ContentSource}
  663.  
  664. <!--{block:NoRebloggedFrom}{block:RebloggedFrom}{ReblogParentName}{/block:RebloggedFrom}{/block:NoRebloggedFrom} -->
  665.  
  666. </div>
  667.  
  668. {/block:Posts}
  669.  
  670. {block:ifPaginate}
  671. {block:Pagination}
  672. <div class="pag">
  673. {block:PreviousPage}
  674. <a href="{PreviousPage}"><i class="oi oi-chevron-left"></i></a>
  675. {/block:PreviousPage}
  676.  
  677. {block:JumpPagination length="5"}
  678. {block:CurrentPage}
  679. <span class="cp">{PageNumber}</span>
  680. {/block:CurrentPage}
  681. {block:JumpPage}
  682. <a class="jp" href="{URL}">{PageNumber}</a>
  683. {/block:JumpPage}
  684. {/block:JumpPagination}
  685.  
  686. {block:NextPage}
  687. <a href="{NextPage}"><i class="oi oi-chevron-right"></i></a>
  688. {/block:NextPage}
  689. </div>
  690. {/block:Pagination}
  691. {/block:ifPaginate}
  692.  
  693. </div>
  694.  
  695. {block:ifnotPaginate}
  696. {block:Pagination}
  697. <div class="pag">
  698. {block:PreviousPage}
  699. <a href="{PreviousPage}" class="prev">back</a>
  700. {/block:PreviousPage}
  701. {block:NextPage}
  702. <a href="{NextPage}" class="next">next</a>
  703. {/block:NextPage}
  704. </div>
  705.  
  706. {block:ifLoadMore}
  707. <center><a class="load">Load More</a></center>
  708. {/block:ifLoadMore}
  709. {/block:Pagination}
  710. {/block:ifnotPaginate}
  711.  
  712. </div>
  713.  
  714. <a href="#" class="top"><i class="oi oi-chevron-up"></i></a>
  715. <div class="c"><a href="http://acuite.tumblr.com">acuite</a></div>
  716.  
  717.  
  718. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  719. <script src="http://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
  720. <script src ="//static.tumblr.com/fwgzvyf/l6jnyutne/shythemes.vr.js"></script>
  721. <script src="http://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
  722. <script src="http://static.tumblr.com/wgg6svp/I8Yobwo15/unnest.min.js"></script>
  723. <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
  724. <script>
  725. // pxu photosets
  726. $(document).ready(function(){
  727. $('.photo-slideshow').pxuPhotoset({
  728. lightbox: true,
  729. rounded: false,
  730. gutter: '1px',
  731. photoset: '.photo-slideshow',
  732. photoWrap: '.photo-data',
  733. photo: '.pxu-photo'
  734. });
  735.  
  736.  
  737. // minimal soundcloud player © eoxk.tumblr
  738. $(document).ready(function(){
  739. var color = '{color:Link}'; // color of play button (hex)
  740. $('.soundcloud_audio_player').each(function(){
  741. $(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%' });
  742. });
  743. });
  744.  
  745.  
  746. // drop links & post notes
  747. $(document).ready(function(){
  748. $(".pn").hide();
  749. $(".pnh").show();$('.pnh').toggle(function(){
  750. $(".pn").slideDown(function(){});
  751. },function(){
  752. $(".pn").slideUp(function(){});
  753. });
  754. $(".lb").hide();
  755. $(".lh").show();$('.lh').toggle(function(){
  756. $(".lb").slideDown(function(){});
  757. },function(){
  758. $(".lb").slideUp(function(){});
  759. });
  760. });
  761.  
  762.  
  763. // scroll to top © html-tuts.com
  764. var amountScrolled = 500;
  765. $(window).scroll(function() {
  766. if ($(window).scrollTop() > amountScrolled) {
  767. $('a.top').fadeIn('slow');
  768. } else {
  769. $('a.top').fadeOut('slow');
  770. }
  771. });
  772. $('a.top').click(function() {
  773. $('body, html').animate({
  774. scrollTop: 0
  775. }, 'slow');
  776. return false;
  777. });
  778.  
  779.  
  780. // tooltips
  781. (function($){
  782. $(document).ready(function(){
  783. $("[title]").style_my_tooltips({
  784. tip_delay_time:200,
  785. tip_fade_speed:300
  786. }
  787. );
  788. });
  789. })(jQuery);
  790.  
  791.  
  792. /*
  793.  
  794. UN-NEST TUMBLR CAPTIONS PLUGIN
  795. 2016 @magnusthemes & @neothm
  796. source: http://neothm.com/post/148902138319
  797.  
  798. */
  799. $('.entry').unnest({
  800. yourCaption: ".cap",
  801. newCaptionUsername: false,
  802. originalPostCaptionUsername: false,
  803. tumblrAvatars: false,
  804. tumblrAvatarClass: ".user-pic",
  805. usernameColon: false
  806. });
  807.  
  808.  
  809. // infinite scroll
  810. {block:ifnotPaginate}
  811. var $container = $('#content');
  812. $container.infinitescroll({
  813. itemSelector: '.entry',
  814. navSelector: '.pag',
  815. nextSelector: '.next',
  816. loadingImg: ' ',
  817. loadingText: ' ',
  818. donetext: 'No more posts' ,
  819. bufferPx: 2000,
  820. {block:ifLoadMore}
  821. errorCallback: function(){
  822. jQuery('.load').delay(50).fadeOut();
  823. }
  824. {/block:ifLoadMore}
  825. },
  826. function( newElements ) {
  827. var $newElems = $( newElements );
  828. var $newElemsIDs = $newElems.map(function(){
  829. return this.id;
  830. }).get();
  831. console.log($newElems, $newElemsIDs);
  832. Tumblr.LikeButton.get_status_by_post_ids($newElemsIDs);
  833. $newElems.find('.photo-slideshow').pxuPhotoset({
  834. lightbox: true,
  835. rounded: false,
  836. gutter: '1px',
  837. photoset: '.photo-slideshow',
  838. photoWrap: '.photo-data',
  839. photo: '.pxu-photo'
  840. });
  841. resizeVideos();
  842. $newElems.unnest({
  843. yourCaption: ".cap",
  844. newCaptionUsername: true,
  845. originalPostCaptionUsername: true,
  846. tumblrAvatars: false,
  847. tumblrAvatarClass: ".user-pic",
  848. usernameColon: false
  849. });
  850. });
  851. {block:ifLoadMore}
  852. $(window).unbind(".infscr");
  853. $(".load").click(function(){
  854. $("#content").infinitescroll("retrieve");
  855. });
  856. {/block:ifLoadMore}
  857. {/block:ifnotPaginate}
  858. });
  859.  
  860. </script>
  861. </body>
  862. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement