Advertisement
str-wrs

Styx

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