Advertisement
Lessita

theme 3

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