calliearambulo

Lighthouse Theme by Pillow Themes

Jul 26th, 2018
4,480
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.63 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.  
  5. <!---
  6. ___ ___ _ _ _____ __ _____ _ _ ___ __ __ ___ ___
  7. | _ \_ _| | | | / _ \ \ / / |_ _| || | __| \/ | __/ __|
  8. | _/| || |__| |_| (_) \ \/\/ / | | | __ | _|| |\/| | _|\__ \
  9. |_| |___|____|____\___/ \_/\_/ |_| |_||_|___|_| |_|___|___/
  10.  
  11. BY CARA
  12.  
  13. Rules:
  14. 1. Do not steal snippets or all of my codes.
  15. 2. Do not claim theme as yours.
  16. 3. Do not remove the credit.
  17. -->
  18.  
  19. <!--- Meta Tags --->
  20. <meta name="color:background" content="#fff"/>
  21. <meta name="color:text" content="#000"/>
  22. <meta name="color:accent" content="#eeeeee"/>
  23.  
  24. <meta name="text:font size" content="just type the number"/>
  25.  
  26. <meta name="if:infinite scroll" content="1"/>
  27.  
  28. <meta name="text:link 1" content=""/>
  29. <meta name="text:link 1 url" content=""/>
  30.  
  31. <meta name="text:link 2" content=""/>
  32. <meta name="text:link 2 url" content=""/>
  33.  
  34. <meta name="text:link 3" content=""/>
  35. <meta name="text:link 3 url" content=""/>
  36.  
  37. <link rel="shortcut icon" href="{Favicon}">
  38. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  39. <link href="https://static.tumblr.com/wgijwsy/k1Hm9ei8b/normalize.css" rel="stylesheet" type="text/css"/>
  40. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  41.  
  42. <link rel="stylesheet" href="https://static.tumblr.com/vowb075/m9vpc1yxe/animate.min.css">
  43.  
  44. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">
  45.  
  46. <link href="https://fonts.googleapis.com/css?family=Raleway|Work+Sans" rel="stylesheet">
  47.  
  48. </head>
  49. <style type="text/css">
  50.  
  51. /* Scrollbar */
  52. ::-webkit-scrollbar {
  53. width:12px;
  54. background: white;
  55. }
  56.  
  57. ::-webkit-scrollbar-thumb {
  58. border-top:5px solid #fff;
  59. border-bottom:5px solid #fff;
  60. border-left:5px solid #fff;
  61. border-right:5px solid #fff;
  62. background-color:{color:accent};
  63. }
  64.  
  65. ::-webkit-scrollbar-track {
  66. background:white;
  67. }
  68.  
  69. /* DO NOT REMOVE MY CREDIT */
  70. .animated {
  71. animation-duration: 2s;
  72. animation-fill-mode: both;
  73. animation-iteration-count:1;
  74. }
  75.  
  76. @keyframes bounceInUp {
  77. from,
  78. 60%,
  79. 75%,
  80. 90%,
  81. to {
  82. animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  83. }
  84.  
  85. from {
  86. opacity: 0;
  87. transform: translate3d(0, 3000px, 0);
  88. }
  89.  
  90. 60% {
  91. opacity: 1;
  92. transform: translate3d(0, -20px, 0);
  93. }
  94.  
  95. 75% {
  96. transform: translate3d(0, 10px, 0);
  97. }
  98.  
  99. 90% {
  100. transform: translate3d(0, -5px, 0);
  101. }
  102.  
  103. to {
  104. transform: translate3d(0, 0, 0);
  105. }
  106. }
  107.  
  108. .bounceInUp {
  109. animation-name: bounceInUp;
  110. }
  111.  
  112. #pillowthemes {
  113. font-size:12px;
  114. right:0;
  115. margin-right:20px;
  116. bottom:0;
  117. margin-bottom:20px;
  118. position:fixed;
  119. }
  120. /* DO NOT REMOVE MY CREDIT */
  121.  
  122. body {
  123. font-size:{text:font size}px;
  124. line-height:1.5;
  125. color:black;
  126. font-family: 'Work Sans', sans-serif;
  127. background-color:{color:background};
  128. }
  129.  
  130. a {
  131. color:black;
  132. text-decoration:none;
  133. }
  134.  
  135. /* Individual Posts */
  136. article {
  137. width:500px;
  138. margin-bottom:70px;
  139. background-color:#fff;
  140. {block:PermalinkPage}
  141. width:500px;
  142. {/block:PermalinkPage}
  143. }
  144.  
  145. iframe, img, embed, object, video {
  146. max-width: 100%;
  147. }
  148.  
  149. blockquote {
  150. border-left:1.5px solid {color:accent};
  151. color: {color:text};
  152. margin-left:20px;
  153. padding-left:20px;
  154. }
  155.  
  156. /* Top Border */
  157. #topb {
  158. top:0;
  159. width:100%;
  160. height:10px;
  161. position:fixed;
  162. background-color:{color:accent};
  163. z-index:9;
  164. }
  165.  
  166. /* Container that holds everything!!!! */
  167. #container {
  168. width:870px;
  169. margin:100px auto;
  170. background-color:{color:background};
  171. }
  172.  
  173. /* Sidebar */
  174. #sidebar {
  175. width:250px;
  176. float:left;
  177. position:fixed;
  178. }
  179.  
  180. #blogt {
  181. font-size:20px;
  182. border-bottom:1.5px solid {color:accent};
  183. padding-bottom:15px;
  184. font-family: 'Raleway', sans-serif;
  185. text-transform:uppercase;
  186. letter-spacing:2px;
  187. }
  188.  
  189. #description {
  190. margin-top:20px;
  191. background-color:{color:accent};
  192. padding:10px
  193. }
  194.  
  195. #sidebarim {
  196. width:48px;
  197. height:48px;
  198. margin-bottom:20px;
  199. }
  200.  
  201. #sidebarim img {
  202. border-radius:50%;
  203. }
  204.  
  205. #links {
  206. margin-top:20px;
  207. text-transform:capitalize;
  208. -webkit-transition: all 0.3s linear;
  209. -moz-transition: all 0.3s linear;
  210. -o-transition: all 0.3s linear;
  211. transition: all 0.3s linear;
  212. }
  213.  
  214. #links a {
  215. display:block;
  216. margin:5px 0px 0px 0px;
  217. }
  218.  
  219. #links a:hover {
  220. font-weight:bold;
  221. margin-left:5px;
  222. -webkit-transition: all 0.3s linear;
  223. -moz-transition: all 0.3s linear;
  224. -o-transition: all 0.3s linear;
  225. transition: all 0.3s linear;
  226. }
  227.  
  228. /* Posts Container */
  229. .entries {
  230. width:500px;
  231. height:1000px;
  232. background-color:{color:background};
  233. float:right;
  234. }
  235.  
  236. /* THE FOLLOWING PERMAs (perma, reperma, tperma, taperma) TAKE EFFECT WHEN A POST IS HOVERED */
  237. /* Caption */
  238. #perma {
  239. width:500px;
  240. background-color:#f9f9f9;
  241. bottom:-10px;
  242. margin-top:-6px;
  243. text-align:left;
  244. color:{color:text};
  245. opacity:0;
  246. position:relative;
  247. {block:PermalinkPage}
  248. display:none;
  249. {/block:PermalinkPage}
  250. -webkit-transition:opacity 0.3s linear;
  251. -webkit-transition:all 0.3s linear;
  252. -moz-transition:all 0.3s linear;
  253. transition:all 0.3s linear;
  254. }
  255.  
  256. #permac {
  257. padding:10px 20px 10px 20px;
  258. }
  259.  
  260. #permac a {
  261. text-decoration:none;
  262. color:{color:text};
  263. }
  264.  
  265. article:hover #perma {
  266. opacity:1;
  267. bottom:0;
  268. -webkit-transition:opacity 0.3s linear;
  269. -webkit-transition:all 0.3s linear;
  270. -moz-transition:all 0.3s linear;
  271. transition:all 0.3s linear;
  272. {block:PermalinkPage}
  273. display:none;
  274. {/block:PermalinkPage}
  275. }
  276.  
  277. /* Reblog */
  278. #reperma {
  279. width:500px;
  280. background-color:{color:background};
  281. bottom:-10px;
  282. margin-top:20px;
  283. text-align:left;
  284. color:{color:text};
  285. opacity:0;
  286. position:relative;
  287. {block:PermalinkPage}
  288. display:none;
  289. {/block:PermalinkPage}
  290. -webkit-transition:opacity 0.3s linear;
  291. -webkit-transition:all 0.3s linear;
  292. -moz-transition:all 0.3s linear;
  293. transition:all 0.3s linear;
  294. }
  295.  
  296. #repermac {
  297. padding:0px;
  298. }
  299.  
  300. #repermac a {
  301. text-decoration:none;
  302. color:#cccccc;
  303. }
  304.  
  305. article:hover #reperma {
  306. opacity:1;
  307. bottom:0;
  308. -webkit-transition:opacity 0.3s linear;
  309. -webkit-transition:all 0.3s linear;
  310. -moz-transition:all 0.3s linear;
  311. transition:all 0.3s linear;
  312. transition-delay:0.4s;
  313. {block:PermalinkPage}
  314. display:none;
  315. {/block:PermalinkPage}
  316. }
  317.  
  318. /* Note Count */
  319. #tperma {
  320. width:500px;
  321. background-color:{color:background};
  322. bottom:-10px;
  323. left:40px;
  324. margin-top:-17px;
  325. text-align:left;
  326. color:{color:text};
  327. opacity:0;
  328. position:relative;
  329. {block:PermalinkPage}
  330. display:none;
  331. {/block:PermalinkPage}
  332. -webkit-transition:opacity 0.3s linear;
  333. -webkit-transition:all 0.3s linear;
  334. -moz-transition:all 0.3s linear;
  335. transition:all 0.3s linear;
  336. }
  337.  
  338. #tpermac {
  339. padding:0px;
  340. }
  341.  
  342. #tpermac a {
  343. text-decoration:none;
  344. color:#cccccc;
  345. }
  346.  
  347. article:hover #tperma {
  348. opacity:1;
  349. bottom:0;
  350. left:40px;
  351. -webkit-transition:opacity 0.3s linear;
  352. -webkit-transition:all 0.3s linear;
  353. -moz-transition:all 0.3s linear;
  354. transition:all 0.3s linear;
  355. transition-delay:0.6s;
  356. {block:PermalinkPage}
  357. display:none;
  358. {/block:PermalinkPage}
  359. }
  360.  
  361. /* Tags */
  362. #taperma {
  363. width:500px;
  364. background-color:{color:background};
  365. bottom:-10px;
  366. left:80px;
  367. margin-top:-17px;
  368. text-align:left;
  369. color:{color:text};
  370. opacity:0;
  371. position:relative;
  372. {block:PermalinkPage}
  373. display:none;
  374. {/block:PermalinkPage}
  375. -webkit-transition:opacity 0.3s linear;
  376. -webkit-transition:all 0.3s linear;
  377. -moz-transition:all 0.3s linear;
  378. transition:all 0.3s linear;
  379. }
  380.  
  381. #tapermac {
  382. padding:0px;
  383. color:#cccccc;
  384. font-style:italic;
  385. }
  386.  
  387. article:hover #taperma {
  388. opacity:1;
  389. bottom:0;
  390. left:80px;
  391. -webkit-transition:opacity 0.3s linear;
  392. -webkit-transition:all 0.3s linear;
  393. -moz-transition:all 0.3s linear;
  394. transition:all 0.3s linear;
  395. transition-delay:0.8s;
  396. {block:PermalinkPage}
  397. display:none;
  398. {/block:PermalinkPage}
  399. }
  400.  
  401. /* Permalinks for Text, Photoset, Video, Audio, and Panorama Posts */
  402. #normaperma {
  403. text-align: left;
  404. text-transform:uppercase;
  405. border-top:1.5px solid {color:accent};
  406. margin-top:20px;
  407. padding:20px 0px 0px 0px;
  408. position: relative;
  409. {block:PermalinkPage}
  410. display:none;
  411. {/block:PermalinkPage}
  412. }
  413.  
  414. #normaperma a {
  415. color:#cccccc;
  416. }
  417.  
  418. /* CREDITS TO TUMBLR DOCS */
  419. ol.notes {
  420. padding: 0px;
  421. margin: 25px 0px;
  422. list-style-type: none;
  423. border-bottom: solid 1px #eee;
  424. }
  425.  
  426. ol.notes li.note {
  427. border-top: solid 1px #eee;
  428. padding: 10px;
  429. }
  430.  
  431. ol.notes li.note img.avatar {
  432. vertical-align: -4px;
  433. margin-right: 10px;
  434. width: 16px;
  435. height: 16px;
  436. }
  437.  
  438. ol.notes li.note span.action {
  439. font-weight: bold;
  440. }
  441.  
  442. ol.notes li.note .answer_content {
  443. font-weight: normal;
  444. }
  445.  
  446. ol.notes li.note blockquote {
  447. border-color: #eee;
  448. padding: 4px 10px;
  449. margin: 10px 0px 0px 25px;
  450. }
  451.  
  452. ol.notes li.note blockquote a {
  453. text-decoration: none;
  454. }
  455. /* CREDITS TO TUMBLR DOCS */
  456.  
  457. .caption {
  458. background-color:#f9f9f9;
  459. padding:10px;
  460. margin-top:-7px;
  461. }
  462.  
  463. #permanotes {
  464. margin-top:20px;
  465. }
  466.  
  467. /* Text Post Title*/
  468. #ptitle {
  469. text-align:left;
  470. border-bottom:1.5px solid {color:accent};
  471. padding-bottom:15px;
  472. font-family: 'Raleway', sans-serif;
  473. text-transform:uppercase;
  474. letter-spacing:2px;
  475. font-size:14px;
  476. }
  477.  
  478. /* Text Post Body */
  479. #pbody {
  480. text-align:left;
  481. }
  482.  
  483. #posttext img {
  484. width:auto;
  485. height:auto;
  486. }
  487.  
  488. /* Asker*/
  489. .asker {
  490. text-align:center;
  491. text-transform:uppercase;
  492. border-bottom:1.5px solid {color:accent};
  493. padding-bottom:15px;
  494. font-family: 'Raleway', sans-serif;
  495. letter-spacing:2px;
  496. font-size:14px;
  497. }
  498.  
  499. .asker a {
  500. text-decoration:none;
  501. border:none;
  502. }
  503.  
  504. /* Question */
  505. .q {
  506. background-color:{color:accent};
  507. padding:20px;
  508. margin-top:20px;
  509. }
  510.  
  511. /* Quote */
  512. .quo {
  513. background-color:{color:accent};
  514. padding:20px;
  515. }
  516.  
  517. /* Source */
  518. .sou {
  519. margin-top:20px;
  520. }
  521.  
  522. /* AUDIO POSTS */
  523. .albumart {
  524. width:250px;
  525. height:250px;
  526. }
  527.  
  528. .aplayer {
  529. width:250px;
  530. }
  531.  
  532. .acaption {
  533. padding:5px 10px 10px 10px;
  534. }
  535.  
  536. .tumblr_audio_player {
  537. height: 30px;
  538. width: 500px;
  539. }
  540.  
  541. /* Infinite Scroll */
  542. {block:ifnotinfinitescroll}
  543. .pagi {
  544. text-align:left;
  545. margin-top:50px;
  546. margin-bottom:50px;
  547. text-transform:uppercase;
  548. font-family: 'Raleway', sans-serif;
  549. font-size:14px;
  550. letter-spacing:2px;
  551. }
  552. {/block:ifnotinfinitescroll}
  553.  
  554. {block:ifinfinitescroll}
  555. .pagi {
  556. display:none;
  557. }
  558. {/block:ifinfinitescroll}
  559.  
  560. </style>
  561. <body>
  562.  
  563. <title>{Title}</title>
  564.  
  565. <div id="topb"></div>
  566.  
  567. <div id="container">
  568. <div id="sidebar">
  569. <div id="sidebarim"><img src="{PortraitURL-48}"></div>
  570. <div id="blogt">{Title}</div>
  571. <div id="description">{Description}</div>
  572. <div id="links">
  573. <a href="/">home</a>
  574. <a href="/ask">mailbox</a>
  575. <a href="{text:link 1 url}">{text:link 1}</a>
  576. <a href="{text:link 2 url}">{text:link 2}</a>
  577. <a href="{text:link 3 url}">{text:link 3}</a>
  578. <a href="/archive">past</a>
  579. </div>
  580.  
  581. {block:Pagination}
  582. <div class="pagination">
  583. <div class="pagi">
  584. {block:PreviousPage}<a href="{PreviousPage}"><i class="fas fa-angle-left"></i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>{/block:PreviousPage}
  585. {block:NextPage}<a href="{NextPage}"><i class="fas fa-angle-right"></i></a>{/block:NextPage}
  586. </div></div>
  587. {/block:Pagination}
  588. <nav>
  589. <ul>
  590. {block:HasPages}
  591. {block:Pages}
  592. <li> <a href="{URL}">{Label}</a></li>
  593. {/block:Pages}
  594. {/block:HasPages}
  595. </ul>
  596. </nav>
  597. </div>
  598.  
  599. <div class="entries">
  600. {block:Posts}
  601. <article>
  602. {block:Text}
  603. <div id="posttext">
  604. {block:Title}
  605. <div id="ptitle"><a href="{Permalink}">{Title}</a></div>
  606. {/block:Title}
  607. <div id="pbody">{Body}</div>
  608.  
  609. <div id="normaperma">
  610. <a href="{Permalink}" title="{NoteCountWithLabel}"><i class="fas fa-tag"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  611. <a href="{ReblogURL}"><i class="fas fa-redo-alt"></i></a>
  612. </div>
  613. {/block:Text}
  614.  
  615. {block:Photo}
  616. <div class="photo">
  617. {LinkOpenTag}<img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" />{LinkCloseTag}
  618. <div id="perma">
  619. <div id="permac">
  620. {block:Caption}{Caption}{/block:Caption}</div>
  621. </div>
  622. <div id="reperma">
  623. <div id="repermac">
  624. <a href="{ReblogURL}"><i class="fas fa-redo-alt"></i></a>
  625. </div>
  626. </div>
  627. <div id="tperma">
  628. <div id="tpermac">
  629. <a href="{Permalink}" title="{NoteCountWithLabel}"><i class="fas fa-tag"></i></a>
  630. </div>
  631. </div>
  632. <div id="taperma">
  633. <div id="tapermac">
  634. {block:HasTags}{block:Tags}#{Tag} {/block:Tags}{/block:HasTags}
  635. </div>
  636. </div>
  637. {/block:Photo}
  638.  
  639. {block:Panorama}
  640. <div id="post panorama">
  641. {LinkOpenTag}
  642. <img src="{PhotoURL-Panorama}" alt="{PhotoAlt}"/>
  643. {LinkCloseTag}
  644. <div id="normaperma">
  645. <a href="{Permalink}" title="{NoteCountWithLabel}"><i class="fas fa-tag"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  646. <a href="{ReblogURL}"><i class="fas fa-redo-alt"></i></a>
  647. </div>
  648. </div>
  649. {/block:Panorama}
  650.  
  651. {block:Photoset}
  652. <div class="photoset">
  653. {block:IndexPage}
  654. {Photoset-500}
  655. <div id="normaperma">
  656. <a href="{Permalink}" title="{NoteCountWithLabel}"><i class="fas fa-tag"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  657. <a href="{ReblogURL}"><i class="fas fa-redo-alt"></i></a>
  658. </div>
  659. {/block:IndexPage}
  660. {block:PermalinkPage}
  661. {Photoset-500}
  662. {/block:PermalinkPage}
  663. {/block:Photoset}
  664.  
  665. {block:Video}
  666. <div id="post video">
  667. {Video-500}
  668. <div id="normaperma">
  669. <a href="{Permalink}" title="{NoteCountWithLabel}"><i class="fas fa-tag"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  670. <a href="{ReblogURL}"><i class="fas fa-redo-alt"></i></a>
  671. </div>
  672. </div>
  673. {/block:Video}
  674.  
  675. {block:Audio}
  676. {block:AlbumArt}<img class="albumart" src="{AlbumArtURL}">{/block:AlbumArt}
  677. {block:AudioPlayer}<div class="aplayer">{AudioPlayer}</div>{/block:AudioPlayer}
  678. <!-- CHANGE AUDIO-250 TO AUDIO-500 IF YOUR POST SIZE IS 500 -->
  679. {block:AudioEmbed}{AudioEmbed-500}{/block:AudioEmbed}
  680. {block:IndexPage}<div class="acaption">{block:TrackName}Track: {TrackName}<br>{/block:TrackName}
  681. {block:Artist}Artist: {Artist}<br>{/block:Artist}
  682. {block:PlayCount}Played: {PlayCount}{/block:PlayCount}</div>
  683. {/block:IndexPage}
  684. {block:PermalinkPage}
  685. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  686. {/block:PermalinkPage}
  687.  
  688. <div id="normaperma">
  689. <a href="{Permalink}" title="{NoteCountWithLabel}"><i class="fas fa-tag"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  690. <a href="{ReblogURL}"><i class="fas fa-redo-alt"></i></a>
  691. </div>
  692.  
  693. {/block:Audio}
  694.  
  695. {block:Quote}
  696. <div class="quote">
  697. <div class="quo">“{Quote}”</div>
  698. {block:Source}<div class="sou">— {Source}</div>{/block:Source}
  699. <div id="normaperma">
  700. <a href="{Permalink}" title="{NoteCountWithLabel}"><i class="fas fa-tag"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  701. <a href="{ReblogURL}"><i class="fas fa-redo-alt"></i></a>
  702. </div>
  703. {/block:Quote}
  704.  
  705. {block:Chat}
  706. <div class="chat">
  707. <ul>
  708. {block:Lines}
  709. {block:Label}<b>{Label}</b>{/block:Label} {Line}<br>
  710. {/block:Lines}
  711. </ul>
  712. <div id="normaperma">
  713. <a href="{Permalink}" title="{NoteCountWithLabel}"><i class="fas fa-tag"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  714. <a href="{ReblogURL}"><i class="fas fa-redo-alt"></i></a>
  715. </div>
  716. {/block:Chat}
  717.  
  718. {block:Link}
  719. <div class="link">
  720. <a href="{URL}">{Name}</a>
  721. {block:Description}{Description}{/block:Description}
  722. <div id="normaperma">
  723. <a href="{Permalink}" title="{NoteCountWithLabel}"><i class="fas fa-tag"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  724. <a href="{ReblogURL}"><i class="fas fa-redo-alt"></i></a>
  725. </div>
  726. {/block:Link}
  727.  
  728. {block:Answer}
  729. <div class="answer">
  730. <div class="asker">{Asker} asked:</div>
  731. <div class="q">{Question}</div>
  732. {Answer}
  733. </div>
  734. <div id="normaperma">
  735. <a href="{Permalink}" title="{NoteCountWithLabel}"><i class="fas fa-tag"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  736. <a href="{ReblogURL}"><i class="fas fa-redo-alt"></i></a>
  737. </div>
  738. {/block:Answer}
  739.  
  740. {block:PermalinkPage}
  741. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  742. {block:PostNotes}{PostNotes}{/block:PostNotes}
  743. </div></div>
  744. {/block:PermalinkPage}
  745.  
  746. </article>
  747. {/block:Posts}
  748.  
  749. </div>
  750. </div>
  751.  
  752. <!--- DO NOT TOUCH THIS PART --->
  753. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
  754. <script src="https://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
  755. {block:IfInfiniteScroll}
  756. <script src="https://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
  757. <script src="https://static.tumblr.com/iwtk77u/Yhym2yygt/jquery.imagesloaded.min.js"></script>
  758. {/block:IfInfiniteScroll}
  759.  
  760. <div id="pillowthemes" class="animated bounceInUp"><a href="https://pillowthemes.tumblr.com/">PILLOW THEMES</a></div>
  761.  
  762. <script>
  763. (function() {
  764. var $tumblelog = $('#content');
  765. {block:IfInfiniteScroll}
  766. $tumblelog.infinitescroll({
  767. navSelector : ".pagination",
  768. nextSelector : ".pagination a:first",
  769. itemSelector : "article",
  770. bufferPx : 50,
  771. done : "",
  772. loading: {
  773. img : "",
  774. msgText: ""
  775. },
  776. },
  777. function( newElements ) {
  778. var $newElems = $( newElements ).css({ opacity: 0 });
  779. $newElems.imagesLoaded(function(){
  780. $newElems.animate({ opacity: 1 });
  781. $tumblelog.masonry( 'appended', $newElems);
  782. });
  783. }
  784. );
  785. {/block:IfInfiniteScroll}
  786. $tumblelog.imagesLoaded( function(){
  787. $tumblelog.masonry({
  788. columnWidth: function( containerWidth ) {
  789. return containerWidth / 100;
  790. }
  791. });
  792. });
  793. })();
  794. </script>
  795.  
  796. <script>
  797. window.onscroll = function() {myFunction()};
  798.  
  799. var header = document.getElementById("myHeader");
  800. var sticky = header.offsetTop;
  801.  
  802. function myFunction() {
  803. if (window.pageYOffset > sticky) {
  804. header.classList.add("sticky");
  805. } else {
  806. header.classList.remove("sticky");
  807. }
  808. }
  809. </script>
  810. <!--- DO NOT TOUCH THIS PART --->
  811.  
  812. </body>
  813. </html>
Add Comment
Please, Sign In to add comment