Advertisement
str-wrs

Thalia

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