Advertisement
MystiqueAquanian

Orphic Version Hygea

Jan 26th, 2017
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.18 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>Orphic</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:/;}
  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="/">Orphic</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">
  387. <p>Orphic: (adj) mysterious and entrancing</p>
  388. <p>Resources Sideblog: Themes, PSDs, tutorials...</p>
  389. <p>Main blog: domlnique</p>
  390. </div>
  391. {/block:Description}
  392.  
  393. <nav>
  394. <a href="/"><i class="oi oi-home"></i> Hogwarts</a>
  395. <a href="/ask"><i class="oi oi-mail"></i> Owlery</a>
  396. <a href="#" class="lh"><i class="oi oi-menu"></i> Marauder's Map</a>
  397. <div class="lb">
  398. </div>
  399. <a href="/archive"><i class="oi oi-time"></i> Pensieve</a>
  400. <form class="srch" action="/search" method="get">
  401. <i class="oi oi-search"></i>
  402. <input type="text" name="q" placeholder="Search" value="{SearchQuery}"/>
  403. </form>
  404. </nav>
  405. </aside>
  406.  
  407. <div id="content">
  408. {block:Posts}
  409. <div class="entry" id="{PostID}">
  410.  
  411. <div class="p_top">
  412. <div class="nt"><a href="{Permalink}">{DayofWeek} &nbsp; / &nbsp; {NoteCountWithLabel}</a></div>
  413. {block:RebloggedFrom}<div class="from">
  414. <a title="via: {ReblogParentName}" href="{ReblogParentURL}"><img src="{ReblogParentPortraitURL-96}"></a>
  415. <a title="origin: {ReblogRootName}" href="{ReblogRootURL}"><img src="{ReblogRootPortraitURL-96}"></a>
  416. </div>
  417. {/block:RebloggedFrom}
  418.  
  419. </div>
  420.  
  421. {block:Text}
  422. {block:Title}<h2>{Title}</h2>{/block:Title}
  423. <div class="txt cap {block:Title}nospace{/block:Title}">{Body}</div>
  424. {/block:Text}
  425.  
  426. {block:Link}
  427. <h2><a title="{URL}" href="{URL}">{Name}</a></h2>
  428. <div class="txt cap nospace">
  429. {block:Description}{Description}{/block:Description}
  430. </div>
  431. {/block:Link}
  432.  
  433. {block:Photo}
  434. <div class="bx"><a href="{Permalink}"><img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" class="photo"/></a></div>
  435. {/block:Photo}
  436.  
  437. {block:Photoset}
  438. <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>
  439. {/block:Photoset}
  440.  
  441. {block:Quote}
  442. <div class="qut_hold">
  443. {block:Source}<div class="src">{Source}</div>{/block:Source}
  444. <div class="qut">{Quote}</div>
  445. </div>
  446. {/block:Quote}
  447.  
  448. {block:Chat}
  449. <div class="chat">
  450. {block:Title}<h2>{Title}</h2>{/block:Title}
  451. {block:Lines}<div class="lines {Alt}"><div class="{Alt} user_{UserNumber}">{block:Label}<b>{Label}</b> {/block:Label}{Line}</div></div>{/block:Lines}
  452. </div>
  453. {/block:Chat}
  454.  
  455. {block:Audio}
  456. <div class="audio">
  457. {block:AudioPlayer}<div class="play">{AudioPlayerGrey}</div>{/block:AudioPlayer}
  458. <div class="au">
  459. {block:TrackName}<span class="tn">{TrackName}</span>{/block:TrackName}
  460. {block:Artist}<span>by {Artist}</span>{/block:Artist}
  461. </div>
  462. </div>
  463. {/block:Audio}
  464.  
  465. {block:Video}
  466. <div class="video">{Video-500}</div>
  467. {/block:Video}
  468.  
  469. {block:Answer}
  470. <div class="ask">
  471. <div class="aski"><img src="{AskerPortraitURL-24}">{Asker} said:</div>
  472. <div class="que">{Question}</div>
  473. </div>
  474. <div class="txt">{Answer}</div>
  475. {/block:Answer}
  476.  
  477. {block:ifCaptions}
  478. {block:Caption}<div class="cap">{Caption}</div>{/block:Caption}
  479. {/block:ifCaptions}
  480.  
  481. {block:IndexPage}
  482. <div class="p">
  483. <div class="custom-like-button">{LikeButton}
  484. <span class="our_button"><i class="oi oi-heart"></i></span>
  485. </div>
  486. <a href="{ReblogURL}"><i class="oi oi-refresh"></i></a>
  487. </div>
  488.  
  489. {block:HasTags}<div class="tags {select:Tags}">
  490. {block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}
  491. </div>{/block:HasTags}
  492. {/block:IndexPage}
  493.  
  494.  
  495.  
  496. {block:PermalinkPage}
  497. {block:Date}
  498. <div class="pph">
  499. <div class="perma">
  500. posted {TimeAgo} on {DayofMonthWithSuffix} {Month}
  501. {block:RebloggedFrom}<br>
  502. via <a href="{ReblogParentURL}">{ReblogParentName}</a> &nbsp;&nbsp;&nbsp;
  503. source <a href="{ReblogRootURL}">{ReblogRootName}</a>
  504. {/block:RebloggedFrom}
  505.  
  506. {block:HasTags}<div class="pmt">tags: &nbsp;
  507. {block:Tags}<a href="{TagURL}">{Tag}</a> {/block:Tags}
  508. </div>{/block:HasTags}
  509. <a href="#" class="pnh">{NoteCountWithLabel}</a>
  510. </div>
  511.  
  512. {block:PostNotes}
  513. <div class="pn">{PostNotes}</div>
  514. {/block:PostNotes}
  515.  
  516. </div>
  517. {/block:Date}
  518. {/block:PermalinkPage}
  519.  
  520. {block:ContentSource}
  521. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  522. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  523. {/block:SourceLogo}
  524. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  525. {/block:ContentSource}
  526.  
  527. <!--{block:NoRebloggedFrom}{block:RebloggedFrom}{ReblogParentName}{/block:RebloggedFrom}{/block:NoRebloggedFrom} -->
  528.  
  529. </div>
  530. {/block:Posts}
  531.  
  532. {block:ifPaginate}
  533. {block:Pagination}
  534. <div class="pag">
  535. {block:PreviousPage}
  536. <a href="{PreviousPage}"><i class="oi oi-chevron-left"></i></a>
  537. {/block:PreviousPage}
  538.  
  539. {block:JumpPagination length="3"}
  540. {block:CurrentPage}
  541. <span class="cp">{PageNumber}</span>
  542. {/block:CurrentPage}
  543. {block:JumpPage}
  544. <a class="jp" href="{URL}">{PageNumber}</a>
  545. {/block:JumpPage}
  546. {/block:JumpPagination}
  547.  
  548. {block:NextPage}
  549. <a href="{NextPage}"><i class="oi oi-chevron-right"></i></a>
  550. {/block:NextPage}
  551. </div>
  552. {/block:Pagination}
  553. {/block:ifPaginate}
  554.  
  555. </div>
  556.  
  557. {block:ifnotPaginate}
  558. {block:Pagination}
  559. <div class="pag">
  560. {block:PreviousPage}
  561. <a href="{PreviousPage}" class="prev">back</a>
  562. {/block:PreviousPage}
  563. {block:NextPage}
  564. <a href="{NextPage}" class="next">next</a>
  565. {/block:NextPage}
  566. </div>
  567.  
  568. {block:ifLoadMore}
  569. <a class="load">Load More</a>
  570. {/block:ifLoadMore}
  571. {/block:Pagination}
  572. {/block:ifnotPaginate}
  573.  
  574. </div>
  575.  
  576. <a href="#" class="top"><i class="oi oi-chevron-up"></i></a>
  577. <div class="c"><a href="http://acuite.tumblr.com">acuite</a></div>
  578.  
  579. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  580. <script src="http://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
  581. <script src ="//static.tumblr.com/fwgzvyf/l6jnyutne/shythemes.vr.js"></script>
  582. <script src="http://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
  583. <script src="http://static.tumblr.com/wgg6svp/I8Yobwo15/unnest.min.js"></script>
  584. <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
  585. <script>
  586. // pxu photosets
  587. $(document).ready(function(){
  588. $('.photo-slideshow').pxuPhotoset({
  589. lightbox: true,
  590. {block:ifnotRoundEdges}
  591. rounded: false,
  592. {/block:ifnotRoundEdges}
  593. {block:ifRoundEdges}
  594. rounded: 'corners',
  595. borderRadius: '3px',
  596. {/block:ifRoundEdges}
  597. gutter: '1px',
  598. photoset: '.photo-slideshow',
  599. photoWrap: '.photo-data',
  600. photo: '.pxu-photo'
  601. });
  602.  
  603.  
  604. // minimal soundcloud player © eoxk.tumblr
  605. $(document).ready(function(){
  606. var color = '{color:Link}'; // color of play button (hex)
  607. $('.soundcloud_audio_player').each(function(){
  608. $(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%' });
  609. });
  610. });
  611.  
  612.  
  613. // drop links & post notes
  614. $(document).ready(function(){
  615. $(".pn").hide();
  616. $(".pnh").show();$('.pnh').toggle(function(){
  617. $(".pn").slideDown(function(){});
  618. },function(){
  619. $(".pn").slideUp(function(){});
  620. });
  621. $(".lb").hide();
  622. $(".lh").show();$('.lh').toggle(function(){
  623. $(".lb").slideDown(function(){});
  624. },function(){
  625. $(".lb").slideUp(function(){});
  626. });
  627. });
  628.  
  629.  
  630. // scroll to top © html-tuts.com
  631. var amountScrolled = 500;
  632. $(window).scroll(function() {
  633. if ($(window).scrollTop() > amountScrolled) {
  634. $('a.top').fadeIn('slow');
  635. } else {
  636. $('a.top').fadeOut('slow');
  637. }
  638. });
  639. $('a.top').click(function() {
  640. $('body, html').animate({
  641. scrollTop: 0
  642. }, 'slow');
  643. return false;
  644. });
  645.  
  646.  
  647. // tooltips
  648. (function($){
  649. $(document).ready(function(){
  650. $("[title]").style_my_tooltips({
  651. tip_delay_time:200,
  652. tip_fade_speed:300
  653. }
  654. );
  655. });
  656. })(jQuery);
  657.  
  658.  
  659. /*
  660.  
  661. UN-NEST TUMBLR CAPTIONS PLUGIN
  662. 2016 @magnusthemes & @neothm
  663. source: http://neothm.com/post/148902138319
  664.  
  665. */
  666. $('.entry').unnest({
  667. yourCaption: ".cap",
  668. newCaptionUsername: false,
  669. originalPostCaptionUsername: false,
  670. tumblrAvatars: false,
  671. tumblrAvatarClass: ".user-pic",
  672. usernameColon: false
  673. });
  674.  
  675.  
  676. // infinite scroll
  677. {block:ifnotPaginate}
  678. var $container = $('#content');
  679. $container.infinitescroll({
  680. itemSelector: '.entry',
  681. navSelector: '.pag',
  682. nextSelector: '.next',
  683. loadingImg: ' ',
  684. loadingText: ' ',
  685. donetext: 'No more posts' ,
  686. bufferPx: 2000,
  687. {block:ifLoadMore}
  688. errorCallback: function(){
  689. jQuery('.load').delay(50).fadeOut();
  690. }
  691. {/block:ifLoadMore}
  692. },
  693. function( newElements ) {
  694. var $newElems = $( newElements );
  695. var $newElemsIDs = $newElems.map(function(){
  696. return this.id;
  697. }).get();
  698. console.log($newElems, $newElemsIDs);
  699. Tumblr.LikeButton.get_status_by_post_ids($newElemsIDs);
  700. $newElems.find('.photo-slideshow').pxuPhotoset({
  701. lightbox: true,
  702. {block:ifnotRoundEdges}
  703. rounded: false,
  704. {/block:ifnotRoundEdges}
  705. {block:ifRoundEdges}
  706. rounded: 'corners',
  707. borderRadius: '3px',
  708. {/block:ifRoundEdges}
  709. gutter: '1px',
  710. photoset: '.photo-slideshow',
  711. photoWrap: '.photo-data',
  712. photo: '.pxu-photo'
  713. });
  714. resizeVideos();
  715. $newElems.unnest({
  716. yourCaption: ".cap",
  717. newCaptionUsername: true,
  718. originalPostCaptionUsername: true,
  719. tumblrAvatars: false,
  720. tumblrAvatarClass: ".user-pic",
  721. usernameColon: false
  722. });
  723. });
  724. {block:ifLoadMore}
  725. $(window).unbind(".infscr");
  726. $(".load").click(function(){
  727. $("#content").infinitescroll("retrieve");
  728. });
  729. {/block:ifLoadMore}
  730. {/block:ifnotPaginate}
  731. });
  732.  
  733. </script>
  734. </body>
  735. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement