Advertisement
marmobee

edited doris

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