Advertisement
str-wrs

Hygea

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