Advertisement
Guest User

pra gatinha <3

a guest
Sep 23rd, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.15 KB | None | 0 0
  1.  
  2. <!DOCTYPE html>
  3. <html>
  4.  
  5. <head>
  6.  
  7. <!-- theme by spacetchi, Medusa Moxie
  8.  
  9. http://spacetchi.tumblr.com/
  10.  
  11. http://5ppi.tumblr.com/
  12.  
  13. http://tchi.space/
  14.  
  15. Do not steal! -->
  16.  
  17. <meta charset="utf-8">
  18.  
  19. {block:Description}
  20. <meta name="description" content="{MetaDescription}" />
  21. {/block:Description}
  22. <meta name="viewport" content="width=device-width, initial-scale=1">
  23.  
  24. <title>{Title}</title>
  25.  
  26. <link href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,400i,700,700i" rel="stylesheet">
  27.  
  28. <link rel="shortcut icon" href="{Favicon}">
  29.  
  30. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  31.  
  32. <!-- jquery -->
  33. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
  34.  
  35. <!-- photoset stylesheet by pixelunion! -->
  36. <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
  37.  
  38. <meta name="color:Background" content="#eee">
  39. <meta name="color:Text" content="#000718">
  40. <meta name="color:Cover" content="#2e2e2e">
  41. <meta name="color:Link" content="#222c7a">
  42. <meta name="color:Post Background" content="#fff">
  43. <meta name="color:Secondary Post Background" content="#eee">
  44. <meta name="color:Borders" content="#aaa">
  45.  
  46. <meta name="text:Pronoun" content="their">
  47.  
  48. <meta name="if:Show Name" content="1">
  49. <meta name="if:Repeat Background" content="1">
  50. <meta name="if:Repeat Cover" content="0">
  51. <meta name="if:Rounded Corners" content="1">
  52. <meta name="if:Infinite Scroll" content="1">
  53. <meta name="if:Show Tags" content="0">
  54. <meta name="if:Show Info" content="0">
  55.  
  56. <meta name="text:Info">
  57.  
  58. <meta name="image:Background">
  59. <meta name="image:Cover">
  60.  
  61.  
  62. <meta name="text:link 1 URL" content="" />
  63. <meta name="text:link 1" content="" />
  64. <meta name="text:link 2 URL" content="" />
  65. <meta name="text:link 2" content="" />
  66. <meta name="text:link 3 URL" content="" />
  67. <meta name="text:link 3" content="" />
  68. <meta name="text:descri2" content="" />
  69. <meta name="text:titulo2" content="" />
  70. <meta name="text:titulo3" content="" />
  71.  
  72. </head>
  73.  
  74. <style>
  75.  
  76. /* general */
  77.  
  78. * {
  79. box-sizing:border-box;
  80. }
  81.  
  82. body {
  83. margin:0;
  84. padding:0;
  85. background:{color:Background} url('{image:Background}');
  86. background-position:center;
  87. background-attachment:fixed;
  88. background-repeat:no-repeat;
  89. background-size:cover;
  90. {block:IfRepeatBackground}
  91. background-repeat:repeat;
  92. background-size:auto;
  93. {/block:IfRepeatBackground}
  94. color:{color:Text};
  95. font-family:'georgia';
  96. font-size:13px;
  97. word-wrap:break-word;
  98. }
  99.  
  100. a {
  101. color:{color:Link};
  102. text-decoration:none;
  103. }
  104.  
  105. a:hover {
  106. text-decoration:underline;
  107. }
  108.  
  109. img:not(.lightbox-image),
  110. iframe {
  111. max-width:100%;
  112. }
  113.  
  114. img {
  115. height:auto;
  116. }
  117.  
  118. #ask_form,
  119. #submit_form {
  120. display:block;
  121. }
  122.  
  123. blockquote {
  124. margin:0 0 0 1em;
  125. padding:0 0 0 1em;
  126. border-left:1px solid {color:Text};
  127. }
  128.  
  129. * > *:first-child {
  130. margin-top:0;
  131. }
  132.  
  133. * > *:last-child {
  134. margin-bottom:0;
  135. }
  136.  
  137. /* wrappers */
  138.  
  139. .wrapper {
  140. max-width:100%;
  141. width:542px;
  142. margin:0 auto;
  143. padding:0 10px;
  144.  
  145. }
  146.  
  147. /* header */
  148.  
  149. .top {
  150. position:relative;
  151. margin-bottom:15px;
  152. }
  153.  
  154. .cover {
  155. background:transparent;
  156. position:relative;
  157. background:{color:Cover} url('{image:Cover}');
  158. background-repeat:no-repeat;
  159. background-size:cover;
  160. {block:IfRepeatCover}
  161. background-repeat:repeat;
  162. background-size:auto;
  163. {/block:IfRepeatCover}
  164. height:315px;
  165. }
  166.  
  167. .sidebar,
  168. .top .avatar {
  169. display:none;
  170. }
  171.  
  172. .cover .name {
  173. position:absolute;
  174. padding:15px;
  175. left:0;
  176. bottom:0;
  177. max-width:100%;
  178. }
  179.  
  180. .cover a {
  181. color:white;
  182. }
  183.  
  184. .cover a:hover {
  185. text-decoration:none;
  186. }
  187.  
  188. h1.title {
  189. margin:0;
  190. text-shadow:1px 1px black;
  191. }
  192.  
  193. .username {
  194. margin:0;
  195. font-size:20px;
  196. text-shadow:1px 1px black;
  197. }
  198.  
  199. .links {
  200. background:{color:Post Background};
  201. padding:0;
  202. text-align:center;
  203. border:1px solid {color:Borders};
  204. {block:IfRoundedCorners}
  205. border-radius:0 0 5px 5px;
  206. {/block:IfRoundedCorners}
  207. }
  208.  
  209. .links ul {
  210. margin:0;
  211. list-style-type:none;
  212. padding:12px 0;
  213. }
  214.  
  215. .links li {
  216. display:inline;
  217. padding:0 15px;
  218. }
  219.  
  220. .links li:not(:last-of-type) {
  221. border-right:1px solid {color:Borders};
  222. }
  223.  
  224. .post {
  225. position:relative;
  226. background:{color:Post Background};
  227. border:1px solid {color:Borders};
  228. {block:IfRoundedCorners}
  229. border-radius:5px;
  230. -webkit-border-radius:5px;
  231. -moz-border-radius:5px;
  232. {/block:IfRoundedCorners}
  233. margin-bottom:15px;
  234. }
  235.  
  236. .post-main {
  237. max-width:100%;
  238. padding:10px;
  239. }
  240.  
  241. .post-header {
  242. margin-bottom:10px;
  243. }
  244.  
  245. .post-header .avatar {
  246. height:40px;
  247. width:40px;
  248. display:block;
  249. float:left;
  250. margin-right:10px;
  251. }
  252.  
  253. .post-content {
  254. line-height:1.8;
  255. }
  256.  
  257. .post-info {
  258. display:inline;
  259. font-size:12px;
  260. }
  261.  
  262. .post-info a {
  263. font-weight:bold;
  264. }
  265.  
  266. h2.title {
  267. margin-top:0;
  268. font-size:1.2em;
  269. }
  270.  
  271. h2.title a {
  272. text-decoration:none;
  273. }
  274.  
  275. .media img {
  276. display:block;
  277. width:100%;
  278. cursor:pointer;
  279. }
  280.  
  281. .media iframe {
  282. display:block;
  283. }
  284.  
  285. .caption {
  286. margin-top:10px;
  287. }
  288.  
  289. .quote {
  290. margin:0;
  291. font-size:13px;
  292. }
  293.  
  294. .quote.medium {
  295. font-size:13px;
  296. }
  297.  
  298. .quote.long {
  299. font-size:13px;
  300. }
  301.  
  302. .chat .name {
  303. font-weight:700;
  304. }
  305.  
  306. .question-container {
  307. padding:10px;
  308. border:1px solid {color:Borders};
  309. margin-bottom:10px;
  310. }
  311.  
  312. .asker a,
  313. .question {
  314. font-weight:700;
  315. }
  316.  
  317. a.link {
  318. display:block;
  319. position:relative;
  320. border:1px solid {color:Borders};
  321. }
  322.  
  323. a.link:hover {
  324. text-decoration:none;
  325. }
  326.  
  327. a.link .link-text {
  328. font-size:12px;
  329. padding:10px;
  330. overflow:hidden;
  331. }
  332.  
  333. .has-excerpt .link-text {
  334. height:150px;
  335. position:absolute;
  336. left:150px;
  337. }
  338.  
  339. .link-text h2 {
  340. margin-top:0;
  341. font-size:1.2em;
  342. }
  343.  
  344. .link-img {
  345. height:150px;
  346. width:150px;
  347. }
  348.  
  349. .excerpt {
  350. display:inline;
  351. }
  352.  
  353. .post-footer {
  354. padding-top:8px;
  355. margin-top:10px;
  356. border-top:1px solid {color:Borders};
  357. }
  358.  
  359. .post-footer ul {
  360. list-style-type:none;
  361. margin:0;
  362. padding:0;
  363. }
  364.  
  365. .post-footer ul li {
  366. display:inline-block;
  367. padding-right:5px;
  368. font-size:11px;
  369. }
  370.  
  371. /* permalink page */
  372.  
  373. .comments {
  374. background:{color:Secondary Post Background};
  375. {block:IfRoundedCorners}
  376. border-radius:0 0 5px 5px;
  377. {/block:IfRoundedCorners}
  378. }
  379.  
  380. .tags {
  381. border-top:1px solid {color:Borders};
  382. padding:10px;
  383. }
  384.  
  385. .post-notes {
  386. padding:0 10px;
  387. border-top:1px solid {color:Borders};
  388. }
  389.  
  390. ol.notes {
  391. list-style-type:none;
  392. margin:0;
  393. font-size:10px;
  394. padding:10px 0;
  395.  
  396. }
  397.  
  398. ol.notes li:not(:first-of-type) {
  399. margin-top:10px;
  400. }
  401.  
  402.  
  403. ol.notes img {
  404. display:inline;
  405. margin-right:5px;
  406. vertical-align:bottom;
  407. }
  408.  
  409. ol.notes blockquote {
  410. margin-top:10px;
  411. }
  412.  
  413. ol.notes blockquote a {
  414. text-decoration:none;
  415. }
  416.  
  417. /* navigation */
  418.  
  419. .pagination {
  420. margin:20px 0;
  421. text-align:center;
  422. {block:IfInfiniteScroll}
  423. {block:IndexPage}
  424. visibility:hidden;
  425. {/block:IndexPage}
  426. {/block:IfInfiniteScroll}
  427. }
  428.  
  429. .pagination * {
  430. background:{color:Post Background};
  431. padding:5px 10px;
  432. {block:IfInfiniteScroll}
  433. {block:IndexPage}
  434. height:0;
  435. {/block:IndexPage}
  436. {/block:IfInfiniteScroll}
  437. border:1px solid {color:Borders};
  438. }
  439.  
  440. /* responsive */
  441.  
  442. @media (min-width: 860px) {
  443. .wrapper {
  444. width:829px;
  445. margin:0 auto;
  446. padding:0;
  447. }
  448. .content {
  449. float:right;
  450. }
  451.  
  452. .top .avatar {
  453. display:block;
  454. background:{color:Post Background};
  455. {block:IfRoundedCorners}
  456. border-radius:4px;
  457. {/block:IfRoundedCorners}
  458. padding:5px;
  459. position:absolute;
  460. bottom:-25px;
  461. left:15px;
  462. border:1px solid {color:Borders};
  463. }
  464. .avatar img {
  465. display:block;
  466. }
  467. .cover .name {
  468. left:155px;
  469. }
  470. .links {
  471. padding:0 0 0 155px;
  472. text-align:left;
  473. }
  474.  
  475. .sidebar {
  476. display:block;
  477. width:292px;
  478. background:{color:Post Background};
  479. float:left;
  480. padding:10px;
  481. border:1px solid {color:Borders};
  482. {block:IfRoundedCorners}
  483. border-radius:5px;
  484. {/block:IfRoundedCorners}
  485. position:relative;
  486. }
  487. .description {
  488. {block:IfShowInfo}
  489. padding-bottom:10px;
  490. {/block:IfShowInfo}
  491. }
  492. .info {
  493. border-top:1px solid {color:Borders};
  494. padding-top:10px;
  495. }
  496. .post {
  497. width:522px;
  498. }
  499.  
  500. }
  501. /* clearfix */
  502.  
  503. .clearfix {
  504. overflow:auto;
  505. }
  506.  
  507. </style>
  508.  
  509. <body>
  510.  
  511. <div class="wrapper">
  512.  
  513. <header class="top">
  514.  
  515. <div class="cover">
  516.  
  517. <div class="avatar"><a href="{BlogURL}"><img src="{PortraitUrl-128}"></a></div>
  518. {block:IfShowName}
  519. <div class="name">
  520. <h1 class="title"><a href="{BlogURL}">{text:titulo3}</a></h1>
  521. <p class="username"><a href="{BlogURL}">({Name})</a></p>
  522. </div><!-- name -->
  523. {/block:IfShowName}
  524.  
  525. </div><!-- cover -->
  526.  
  527. <nav class="links">
  528.  
  529. <ul>
  530.  
  531. <li>
  532. {block:ifLink1}<a href="{text:Link 1 URL}">{text:Link 1}</a> {/block:ifLink1}
  533. {block:ifLink2}<a href="{text:Link 2 URL}">{text:Link 2}</a> {/block:ifLink2}
  534.  
  535. {block:ifLink3}<a href="{text:Link 3 URL}">{text:Link 3}</a> {/block:ifLink3}</li>
  536.  
  537. </ul>
  538.  
  539. </nav>
  540.  
  541. </header>
  542.  
  543. <div class="container clearfix">
  544.  
  545. <aside class="sidebar" id="sidebar">
  546.  
  547. <h2 class="title">{text:titulo2}</h2>
  548.  
  549. <div class="description">
  550. {text:descri2}
  551. </div>
  552.  
  553. {block:IfShowInfo}
  554. <div class="info">
  555. {text:Info}
  556. </div>
  557. {/block:IfShowInfo}
  558.  
  559. </aside><!-- sidebar -->
  560.  
  561. <main class="content" id="content">
  562.  
  563. {block:Posts}
  564.  
  565. <article class="post" id="{PostID}">
  566.  
  567. <div class="post-main">
  568.  
  569. {block:Date}
  570.  
  571. <header class="post-header clearfix">
  572.  
  573. <div class="avatar">
  574. <a href="
  575. {block:RebloggedFrom}{ReblogParentURL}{/block:RebloggedFrom}
  576. {block:NotReblog}{BlogURL}{/block:NotReblog}">
  577. <img src="
  578. {block:RebloggedFrom}{ReblogParentPortraitURL-40}{/block:RebloggedFrom}
  579. {block:NotReblog}{PortraitURL-40}{/block:NotReblog}">
  580. </a>
  581. </div>
  582.  
  583. <div class="post-info">
  584. <a href="{BlogURL}">{name}</a>
  585.  
  586. {block:RebloggedFrom} reblogged a post from
  587. <a href="{ReblogParentURL}">{ReblogParentName}</a>.
  588. {/block:RebloggedFrom}
  589.  
  590. {block:NotReblog}
  591.  
  592. {block:Chat}
  593. updated {text:Pronoun} status.
  594. {/block:Chat}
  595. {block:Text}
  596. updated {text:Pronoun} status.
  597. {/block:Text}
  598. {block:Quote}
  599. updated {text:Pronoun} status.
  600. {/block:Quote}
  601. {block:Photo}
  602. added a photo.
  603. {/block:Photo}
  604. {block:Photoset}
  605. created an album.
  606. {/block:Photoset}
  607. {block:Video}
  608. added a video.
  609. {/block:Video}
  610. {block:Audio}
  611. added an audio file.
  612. {/block:Audio}
  613. {block:Link}
  614. shared a link.
  615. {/block:Link}
  616. {block:Answer}
  617. answered a question.
  618. {/block:Answer}
  619.  
  620. {/block:NotReblog}
  621.  
  622. <br>
  623. <a href="{Permalink}">{TimeAgo}</a> with <a href="{Permalink}">{NoteCountWithLabel}</a>
  624.  
  625. </div><!-- post-info -->
  626.  
  627. </header>
  628.  
  629. {/block:Date}
  630.  
  631. <div class="post-content">
  632.  
  633. {block:Text}
  634.  
  635. {block:Title}
  636. <h2 class="title">{Title}</h2>
  637. {/block:Title}
  638.  
  639. {Body}
  640.  
  641. {/block:Text}
  642.  
  643. {block:Photo}
  644.  
  645. <div class="media make_lightbox"
  646. data-width="{PhotoWidth-HighRes}"
  647. data-height="{PhotoHeight-HighRes}"
  648. data-lowres="{PhotoURL-500}" data-highres="{PhotoURL-HighRes}">
  649. <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" class="photoset-img"/>
  650. </div>
  651.  
  652.  
  653. {/block:Photo}
  654.  
  655. {block:Photoset}
  656.  
  657. <div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">
  658.  
  659. {block:Photos}
  660.  
  661. <div class="media photo-data">
  662.  
  663. <div class="pxu-photo">
  664. <img alt="{PhotoAlt}"
  665. src="{PhotoURL-500}"
  666. width="{PhotoWidth-500}"
  667. height="{PhotoHeight-500}"
  668. data-highres="{PhotoURL-HighRes}"
  669. data-width="{PhotoWidth-HighRes}"
  670. data-height="{PhotoHeight-HighRes}"
  671. class="{block:Exif}exif-yes{/block:Exif} {block:Caption}{/block:Caption}"{block:Exif}
  672. data-camera="{block:Camera}{Camera}{/block:Camera}"
  673. data-iso="{block:ISO}{ISO}{/block:ISO}"
  674. data-aperture="{block:Aperture}{Aperture}{/block:Aperture}"
  675. data-exposure="{block:Exposure}{Exposure}{/block:Exposure}"
  676. data-focal="{block:FocalLength}{FocalLength}{/block:FocalLength}"{/block:Exif} {block:Caption}
  677. data-caption=""{/block:Caption} />
  678. </div><!-- pxu-photo -->
  679.  
  680. <div class="icons">
  681. <a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}">
  682. <span class="zoom"></span>
  683. </a>
  684. </div><!-- icons -->
  685.  
  686. </div><!-- photo-data -->
  687.  
  688. {/block:Photos}
  689.  
  690. </div><!-- photo-slidshow -->
  691.  
  692.  
  693. {/block:Photoset}
  694.  
  695. {block:Quote}
  696.  
  697. <p class="quote {Length}">“{Quote}”</p>
  698. {block:Source}
  699. <p class="source">&mdash; {Source}</p>
  700. {/block:Source}
  701.  
  702. {/block:Quote}
  703.  
  704. {block:Link}
  705.  
  706. <a href="{URL}" class="link {block:Thumbnail}has-excerpt{/block:Thumbnail}">
  707. <div class="link-text">
  708. <h2>{Name}</h2>
  709. <div class="excerpt">{Excerpt}</div>
  710. </div><!-- link-text -->
  711.  
  712. {block:Thumbnail}
  713. <div class="link-img" style="background:url('{Thumbnail}'); background-size:cover"></div>
  714. {/block:Thumbnail}
  715. </a><!-- link -->
  716.  
  717. {block:Description}
  718. <div class="caption">{Description}</div>
  719. {/block:Description}
  720.  
  721. {/block:Link}
  722.  
  723. {block:Chat}
  724.  
  725. {block:Title}
  726. <h2 class="title">{Title}</h2>
  727. {/block:Title}
  728.  
  729. <div class="chat">
  730. <p>
  731. {block:Lines}
  732. <div class="{Alt} user_{UserNumber}">
  733. {block:Label}<span class="name">{Label}</span>{/block:Label}&nbsp;{Line}
  734. </div>
  735. {/block:Lines}
  736. </p>
  737. </div><!-- chat -->
  738.  
  739. {/block:Chat}
  740.  
  741. {block:Video}
  742.  
  743. <div class="media video">{Video-500}</div>
  744. {block:Caption}
  745. <div class="caption"></div>
  746. {/block:Caption}
  747.  
  748. {/block:Video}
  749.  
  750. {block:Audio}
  751.  
  752. <div class="media audio">
  753. {block:AudioEmbed}
  754. {AudioEmbed color="white"}
  755. {/block:AudioEmbed}
  756. </div><!-- audio -->
  757.  
  758. {block:Caption}
  759. <div class="caption"></div>
  760. {/block:Caption}
  761.  
  762. {/block:Audio}
  763.  
  764. {block:Answer}
  765.  
  766. <div class="question-container">
  767. <span class="asker">{Asker}:</span><br />
  768. <span class="question">{Question}</span>
  769. </div><!-- question-container -->
  770.  
  771. {block:Answerer}
  772. <div class="answerer">{Answerer}</div>
  773. {/block:Answerer}
  774.  
  775. <div class="answer">{Answer}</div>
  776.  
  777. {/block:Answer}
  778.  
  779. </div><!-- post-content -->
  780.  
  781. {block:Date}
  782. <footer class="post-footer">
  783. <ul>
  784. <a href="{ReblogURL}" target="_blank">reblogar</a>
  785. </ul>
  786. </footer><!-- post-footer -->
  787. {/block:Date}
  788.  
  789. </div><!-- post-main -->
  790.  
  791. {block:IndexPage}
  792. {block:IfShowTags}
  793. <div class="comments">
  794.  
  795. {block:HasTags}
  796. <div class="tags">
  797. {block:Tags}
  798. <a href="{TagURL}">#{Tag}</a>
  799. {/block:Tags}
  800. </div><!-- tags -->
  801. {/block:HasTags}
  802.  
  803. </div><!-- comments -->
  804. {/block:IfShowTags}
  805. {/block:IndexPage}
  806.  
  807. {block:PermalinkPage}
  808.  
  809. <div class="comments">
  810.  
  811. {block:HasTags}
  812. <div class="tags">
  813. {block:Tags}
  814. <a href="{TagURL}">#{Tag}</a>
  815. {/block:Tags}
  816. </div><!-- tags -->
  817. {/block:HasTags}
  818.  
  819.  
  820. {block:NoteCount}
  821. {block:PostNotes}
  822. <div class="post-notes">{PostNotes}</div>
  823. {/block:PostNotes}
  824. {/block:NoteCount}
  825.  
  826. </div><!-- comments -->
  827.  
  828. {/block:PermalinkPage}
  829.  
  830. </article>
  831. <div class="sources">{block:RebloggedFrom}<a href="{ReblogParentURL}"></a>{/block:RebloggedFrom} {block:ContentSource}<a href="{SourceURL}"></a>{/block:ContentSource}</div>
  832. {/block:Posts}
  833.  
  834. {block:Pagination}
  835. <nav class="pagination" id="pagination">
  836.  
  837. {block:PreviousPage}
  838. <a class="back" id= "back" href="{PreviousPage}">back</a>
  839. {/block:PreviousPage}
  840. {block:JumpPagination length="3"}
  841. {block:CurrentPage}
  842. <span class="current">{PageNumber}</span>
  843. {/block:CurrentPage}
  844. {block:JumpPage}
  845. <a class="jump" href="{URL}">{PageNumber}</a>
  846. {/block:JumpPage}
  847. {/block:JumpPagination}
  848. {block:NextPage}
  849. <a class="next" id="next" href="{NextPage}">next</a>
  850. {/block:NextPage}
  851.  
  852. </nav>
  853. {/block:Pagination}
  854.  
  855. {block:PermalinkPagination}
  856. <nav class="pagination">
  857.  
  858. {block:PreviousPost}
  859. <a class="back" href="{PreviousPost}">Previous Post</a>
  860. {/block:PreviousPost}
  861.  
  862. {block:NextPost}
  863. <a class="next" href="{NextPost}">Next Post</a>
  864. {/block:NextPost}
  865.  
  866. </nav>
  867. {/block:PermalinkPagination}
  868.  
  869. </main>
  870.  
  871. </div><!-- container -->
  872.  
  873. </div><!-- wrapper -->
  874.  
  875. <script type="text/javascript" src="http://static.tumblr.com/cqfswrg/1xXo902k0/jquery_photoset.js"></script><!-- pxu-photoset script-->
  876.  
  877. <script type="text/javascript" src="http://static.tumblr.com/cqfswrg/tr3odz0m5/jquery_sticky-sidebar.js"></script><!-- stickykit -->
  878.  
  879. {block:IfInfiniteScroll}
  880. <script type="text/javascript" src="http://static.tumblr.com/cqfswrg/k0bodz8wo/jquery_infinite-scroll.js"></script><!-- infinite scroll script -->
  881. {/block:IfInfiniteScroll}
  882.  
  883. <script type="text/javascript">
  884. $(document).ready(function() {
  885. var $child = $("#sidebar");
  886. $child.parent().css("min-height", $child.outerHeight());
  887. $child.stick_in_parent({
  888. "offset_top": 15
  889. });
  890. });
  891. </script>
  892.  
  893. <script type="text/javascript">
  894.  
  895. $(document).ready(function() {
  896. $('.photo-slideshow').pxuPhotoset({
  897. 'gutter' : '10px',
  898. 'rounded' : 'false',
  899. }, function() {
  900. // callback
  901. });
  902. });
  903.  
  904. </script>
  905.  
  906. <script type="text/javascript">
  907.  
  908. function callLightbox() {
  909.  
  910. $('.make_lightbox').each(function(){
  911. $(this).on('click',function(){
  912. var lbArray = [];
  913. var arrayContents = {
  914. "width":$(this).data('width'),
  915. "height":$(this).data('height'),
  916. "low_res":$(this).data("lowres"),
  917. "high_res":$(this).data('highres')
  918. };
  919. lbArray.push(arrayContents);
  920. Tumblr.Lightbox.init(lbArray,1);
  921. $('body').toggleClass('tumblr_lightbox_active');
  922. });
  923. });
  924.  
  925. }
  926.  
  927. $(document).ready(function(){
  928.  
  929. callLightbox();
  930.  
  931. });
  932.  
  933. </script>
  934.  
  935. {block:IfInfiniteScroll}
  936. {block:IndexPage}
  937. <script type="text/javascript">
  938.  
  939. $(document).ready(function() {
  940.  
  941. $('#content').infinitescroll({
  942.  
  943. navSelector : "#pagination",
  944. // selector for the paged navigation (it will be hidden)
  945. nextSelector : "a#next",
  946. // selector for the NEXT link (to page 2)
  947. itemSelector : "article",
  948. // selector for all items you'll retrieve
  949. loading : {
  950. msgText: "Loading..."
  951. }
  952.  
  953. }, function( newElements ) {
  954. //photoset callback
  955. $( newElements ).find('.photo-slideshow').pxuPhotoset({
  956. lightbox:"true",
  957. rounded:"false",
  958. borderRadius: '0px',
  959. gutter:'10px',
  960. photoset:'.photo-slideshow',
  961. photoWrap:'.photo-data',
  962. photo:'.pxu-photo'
  963. });
  964.  
  965. //lightbox callback
  966. callLightbox();
  967.  
  968. //like button callback
  969. var $newElems = $(newElements);
  970. var $newElemsIDs = $newElems.map(function(){
  971. return this.id;
  972. }).get();
  973. console.log($newElems, $newElemsIDs);
  974. Tumblr.LikeButton.get_status_by_post_ids($newElemsIDs);
  975.  
  976. });
  977. });
  978.  
  979. </script>
  980. {/block:IndexPage}
  981. {/block:IfInfiniteScroll}
  982.  
  983. </body>
  984.  
  985. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement