Advertisement
str-wrs

Gaia

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