Advertisement
str-wrs

Ceto

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