Advertisement
str-wrs

Alectrona

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