drxgonfly

Theme 09

Jun 16th, 2018 (edited)
1,636
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.87 KB | None | 0 0
  1. <!---------------------------------------------------------------------------
  2. THEME 09 BY DRXGONFLY
  3. LAST UPDATED APRIL 5 2021
  4.  
  5.  
  6. APRIL 5 2021 BUG FIXES
  7. * Replaced Old Font Awesome Icons
  8. * Hid infinite Scrolling Loading Bar
  9. * Removed inverted Background Option
  10. * Removed Post Footer Text/Background Colors
  11. * Redid Post Footer Controls
  12. * Added option for 3-5 Columns
  13.  
  14. FEBRUARY 3 2020 BUG FIXES
  15. * Replaced Saturn Icons with Font Awesome
  16. * Added Zoom Button on Photo Posts on Index page only
  17. * Added in new Credit Symbol
  18. -----------------------------------------------------------------------------
  19. RESOURCES
  20. -----------------------------------------------------------------------------
  21. • UNNESTED CAPTIONS: NEOTHMS & MAGNUSTHEMES
  22. • RESIZING VIDEOS, PXU PHOTOSETS, LIKE/REBLOG BUTTONS: SHYTHEMES
  23. • TUMBLR CONTROL FIX: CYANTISTS
  24. • FONT ICONS: FONTAWESOME
  25. -----------------------------------------------------------------------------
  26. CUSTOMIZATION NOTES
  27. -----------------------------------------------------------------------------
  28. • No, your theme isn't broken. Because the editing window is so small, your theme will display in a one column layout. I recommend having another tab open with your blog up so you can see the changes as you edit and save them.
  29.  
  30. • To accomadate for different screen sizes, your navigation links will switch to numbers as the screen gets smaller. The font size will increase if you have a larger screen.
  31.  
  32. • Turn the toggles on and off a few times to trigger them to work, if they still don't work, send me a message, I may have a typo somewhere.
  33.  
  34. • GOOGLE FONTS- I left the fonts up to you, if you'd like to change them go to googlefonts.com and find a font you like and type the name EXACTLY as it's spelled into the box and it'll update.
  35.  
  36. • If you feel comfortable editing themes, I have left notes throughout the code. If you want to change something and need help, send me a message and I'll try my best to help you out!
  37. --->
  38. <html>
  39. <head>
  40.  
  41. <title>{Title}{block:PostSummary}, {PostSummary}{/block:PostSummary}</title>
  42. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  43. <link rel="shortcut icon" href="{Favicon}"/>
  44.  
  45. <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/> <!--PXU PHOTOSET CSS--->
  46. <link href="https://fonts.googleapis.com/css?family={text:body font google fonts name}" rel="stylesheet"> <!--GOOGLE FONTS-->
  47. <link href="https://fonts.googleapis.com/css?family={text:Blog Title Font Name Google Fonts}" rel="stylesheet"> <!--GOOGLE FONTS-->
  48.  
  49. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.12.1/css/all.css">
  50. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.12.1/css/v4-shims.css">
  51.  
  52.  
  53. <meta name="color:background color" content="#000"/>
  54. <meta name="color:navigation links" content="#2ab5b8"/>
  55. <meta name="color:header description" content="#cccccc"/>
  56. <meta name="color:post background" content="#fff"/>
  57. <meta name="color:body links" content="#188a8d"/>
  58. <meta name="color:body text" content="#000"/>
  59. <meta name="color:selector highlight background" content="#75DBB9"/>
  60. <meta name="color:scrollbar color" content="#188a8d"/>
  61. <meta name="color:credit symbol" content="#188a8d"/>
  62.  
  63. <meta name="image:background image" content="/"/>
  64.  
  65. <meta name="select:photo hover effects" content="rgba(255,255,255,0.9)" title="light overlay"/>
  66. <meta name="select:photo hover effects" content="rgba(0,0,0,0.9)" title="dark overlay"/>
  67.  
  68. <meta name="select:header style" content="header1" title="Normal Header" />
  69. <meta name="select:header style" content="header2" title="Minimal Header" />
  70.  
  71. <meta name="select:Columns" content="33.3%" title="3 columns"/>
  72. <meta name="select:Columns" content="25%" title="4 columns"/>
  73. <meta name="select:Columns" content="20%" title="5 columns"/>
  74.  
  75. <meta name="if:infinite scroll" content="1"/>
  76. <meta name="if:show captions" content="1"/>
  77. <meta name="if:show link one" content="1"/>
  78. <meta name="if:show link two" content="1"/>
  79. <meta name="if:show link three" content="1"/>
  80.  
  81.  
  82. <meta name="text:Post Padding" content="10px"/>
  83. <meta name="text:Post Margin" content="5px"/>
  84. <meta name="text:body font size" content="15px" />
  85. <meta name="text:blog title font size" content="36px"/>
  86. <meta name="text:body font google fonts name" content="Jaldi"/>
  87. <meta name="text:Blog Title Font Name Google Fonts" content="Quicksand"/>
  88. <meta name="text:ask link" content="/ask"/>
  89. <meta name="text:link one url" content="link one url" />
  90. <meta name="text:link one" content="Link 1" />
  91. <meta name="text:link two url" content="link two url" />
  92. <meta name="text:link two" content="Link 2" />
  93. <meta name="text:link three url" content="link three url" />
  94. <meta name="text:link three" content="Link 3" />
  95. </head>
  96.  
  97. <style>
  98.  
  99. /****************************************************************************
  100. BASIC STUFF
  101. TUMBLR CONTROLS, ALL LINKS, BODY, ALL IMAGES, HIGHLIGHT COLOR, SCROLLBAR COLOR
  102. ****************************************************************************/
  103. *{
  104. margin:0 auto;
  105. box-sizing:border-box;
  106. }
  107.  
  108. iframe.tmblr-iframe {
  109. z-index:99999999999999!important;
  110. top:50px!important;
  111. right:0%!important;
  112. opacity:0.4;
  113. transform:scale(0.6);
  114. transform-origin:100% 0;
  115. -webkit-transform:scale(0.6);
  116. -webkit-transform-origin:100% 0;
  117. -o-transform:scale(0.6);
  118. -o-transform-origin:100% 0;
  119. -moz-transform:scale(0.6);
  120. -moz-transform-origin:100% 0;
  121. -ms-transform:scale(0.6);
  122. -ms-transform-origin:100% 0;}
  123.  
  124. a{text-decoration:none;color:{color:body links};}
  125.  
  126. body{
  127. background-image: url("{image:background image}");
  128. background-attachment:fixed;
  129. background-size:cover;
  130. font-family:{text:body font google fonts name};
  131. color:{color:body text};
  132. font-size:{text:body font size};
  133. background-color:{color:background color};
  134. }
  135.  
  136. img{max-width:100%;height:auto;}
  137.  
  138. ::selection {
  139. color:{color:body text};
  140. background-color:{color:selector highlight background};
  141. }
  142.  
  143. ::-moz-selection{
  144. color:{color:body text};
  145. background-color:{color:seletcor highlight background};
  146. }
  147.  
  148. ::-webkit-scrollbar{width:5px;height:5px;background-color:{color:background color};}
  149. ::-webkit-scrollbar-track{border:5px solid {color:background color} ;background-color:{color:background color};}
  150. ::-webkit-scrollbar-thumb{border:1px solid {color:scrollbar color} ;background-color:{color:scrollbar color}; }
  151.  
  152.  
  153. #infscr-loading { display:none!important;}
  154. p.npf_quirky{font-family:{select:body font};}
  155. p.npf_chat{font-family:{select:body font};}
  156. p.npf_quote{font-family:{select:body font};}
  157.  
  158. /****************************************************************************
  159. HEADER STUFF
  160. ****************************************************************************/
  161.  
  162. /**********************
  163. NORMAL HEADER
  164. **********************/
  165. .header1{
  166. width:100%;
  167. height:175px;
  168. background-color:{color:background color};
  169. }
  170.  
  171. .header1 h1{
  172. text-align:center;
  173. margin-top:70px;
  174. font-size:50px;
  175. font-family:{text:Blog Title Font Name Google Fonts};
  176. color:{color:body links};
  177. }
  178.  
  179. .header1 p{
  180. max-width:700px;
  181. text-align:center;
  182. padding:20px;
  183. color:{color:header description};
  184. }
  185.  
  186. .header1 .navigation{
  187. height:50px;
  188. text-align:center;
  189. z-index:9999;
  190. background-color:{color:background color};
  191. width:100%;
  192. font-size:15px;
  193. }
  194.  
  195. /**********************
  196. MINIMAL HEADER
  197. **********************/
  198. .header2{
  199. width:100%;
  200. height:50px;
  201. top:0;
  202. position:fixed;
  203. background-color:{color:background color};
  204. z-index:999;
  205. border-bottom:5px solid {color:navigation links};
  206. }
  207.  
  208. .header2 h1{
  209. float:left;
  210. text-align:left;
  211. margin-top:0;
  212. line-height:50px;
  213. font-size:15px;
  214. padding:0px 30px;
  215. color:{color:body links};
  216. }
  217.  
  218. .header2 p{
  219. display:none;
  220. }
  221.  
  222. .header2 .navigation{
  223. height:50px;
  224. text-align:right;
  225. float:right;
  226. font-size:15px;
  227.  
  228. }
  229.  
  230. /**********************
  231. HEADER LINKS
  232. **********************/
  233. .navigation li{
  234. display:inline-block;
  235. text-align:center;
  236. padding:0px 15px;
  237. }
  238.  
  239. .navigation li a{
  240. text-align:center;
  241. line-height:50px;
  242. transition:ease-in-out.3s;
  243. color:{color:navigation links};
  244. }
  245.  
  246. .navigation li a:hover{
  247. color:{color:body links};
  248. transition:ease-in-out.3s;
  249. }
  250.  
  251. /*************************************************************************
  252. HEADER LINK TITLES
  253. *************************************************************************/
  254. .navigation > .home > a::before{content:'Home';}
  255. .navigation > .ask > a::before{content:'Ask';}
  256. .navigation > .archive > a::before{content:'Archive';}
  257. {block:ifshowlinkone}
  258. .navigation > .link1 > a::before{content:'{text:link one}';}
  259. {/block:ifshowlinkone}
  260.  
  261. {block:ifshowlinktwo}
  262. .navigation > .link2 > a::before{content:'{text:link two}';}
  263. {/block:ifshowlinktwo}
  264.  
  265. {block:ifshowlinkthree}
  266. .navigation > .link3 > a::before{content:'{text:link three}';}
  267. {/block:ifshowlinkthree}
  268.  
  269. .pagination{
  270. position:absolute;
  271. margin-bottom:-60px;
  272. left:0;
  273. right:0;
  274. bottom:0;
  275. text-align:center;
  276. background-color:{color:body links};
  277. padding:15px;
  278. border-radius:5px;
  279. width:120px;
  280. z-index:9999999;
  281. {block:ifinfinitescroll}display:none;{/block:ifinfinitescroll}
  282. }
  283.  
  284. .pagination span{margin:10px;color:{color:background color};}
  285. /****************************************************************************
  286. POSTS
  287. POSTS CONTAINER, POSTS, AUDIO POSTS , Q & A POSTS, VIDEO POSTS
  288. ****************************************************************************/
  289. .container{
  290. width:calc(100% - 70px);
  291. margin:0 auto;
  292. margin-left:35px;
  293. margin-right:35px;
  294. margin-bottom:80px;
  295. margin-top:80px;
  296. position:relative;
  297. }
  298.  
  299. .posts{
  300. box-sizing:border-box;
  301. margin:0 auto;
  302. width:calc({select:Columns} - ({text:post margin} + {text:post margin}));
  303. padding:{text:post padding};
  304. margin:{text:post margin};
  305. position:absolute;
  306. float:left;
  307. display:inline-block;
  308. background-color:{color:post background};
  309. right:0;
  310. {block:permalinkpage}
  311. width:700px;
  312. margin:0 auto;
  313. {/block:permalinkpage}
  314. }
  315.  
  316. .post-type{
  317. width:100%;
  318. margin:0 auto;
  319. }
  320.  
  321. .post-type h1{
  322. text-align:center;
  323. padding:10px;
  324. font-size:{text:body font size};
  325. }
  326.  
  327. .posts img{
  328. display:block;
  329. width:100%;
  330. }
  331.  
  332. /*************************************************************************
  333. PHOTO HOVER STUFF
  334. *************************************************************************/
  335. .posts:hover .postinfo { /*photo hover background shows up when you hover*/
  336. opacity:1;
  337. }
  338.  
  339. .postinfo { /*photo hover background*/
  340. position:absolute;
  341. width:calc(100% - ({text:post padding} + {text:post padding}));
  342. height:calc(100% - ({text:post padding} + {text:post padding}));
  343. bottom:{text:post padding};
  344. left:{text:post padding};
  345. opacity:0;
  346. z-index:99;
  347. background:{select:photo hover effects};
  348. transition:0.6s ease;
  349. -o-transition:0.6s ease;
  350. -moz-transition:0.6s ease;
  351. -webkit-transition:0.6s ease;
  352. }
  353.  
  354. .postinfodetails { /* photo hover text alignment*/
  355. top:50%;
  356. left:50%;
  357. bottom:50%;
  358. transform:translate(-50%,-50%);
  359. vertical-align:middle;
  360. position:relative;
  361. letter-spacing:3px;
  362. line-height:3;
  363. text-align:center;
  364. font-size:15px;
  365. text-transform:uppercase;
  366. }
  367.  
  368. .photonotes{font-size:16px;} /* photo hover notes */
  369.  
  370. .tooltip{
  371. display:inline;
  372. position:relative;
  373. }
  374.  
  375. #s-m-t-tooltip {
  376. max-width:300px;
  377. border-radius: 0px;
  378. padding:3px 5px;
  379. margin:20px 7px -2px 20px;
  380. background-color:{color:post background};
  381. border:1px solid #E0E0E0;
  382. font-family:{text:body font google fonts name};
  383. font-size:9px;
  384. letter-spacing:2px;
  385. text-transform:uppercase;
  386. color:{color:text};
  387. z-index:9999999;
  388. }
  389.  
  390. .vignette, #vignette {
  391. opacity:0;
  392. }
  393. .lightbox-image, #tumblr_lightbox img {
  394. box-shadow:none !important;
  395. border-radius:0 !important;
  396. max-width:none;
  397. }
  398.  
  399. .tmblr-lightbox, #tumblr_lightbox {
  400. background-color:{color:background color} !important;
  401. }
  402.  
  403. .lightbox-caption, #tumblr_lightbox_caption {
  404. visibility:hidden;
  405. }
  406.  
  407. /*************************************************************************
  408. AUDIO & VIDEO POST STUFF
  409. *************************************************************************/
  410. .cover{ /*audio post album art*/
  411. position:relative;
  412. width: 100%;
  413. z-index: 1;
  414. }
  415.  
  416. .playbutton { /*audio post play button*/
  417. width: 23px;
  418. height: 33px;
  419. overflow: hidden;
  420. position: relative;
  421. z-index: 98;
  422. margin: 15px 24px 13px 16px;
  423. }
  424.  
  425. .playbox{ /* audio post white circle*/
  426. background-color: #f2f2f2;
  427. position: absolute;
  428. top:50%;
  429. left:50%;
  430. transform:translate(-50%,-50%);
  431. z-index:2;
  432. border-radius: 100px;
  433. opacity:1;
  434. }
  435.  
  436. .spotify_audio_player { /* rendered for spotify posts */
  437. height: 80px !important;
  438. width:100%;
  439. max-width:540px;
  440. }
  441.  
  442. .video{overflow:hidden;} /* rendered for video posts*/
  443.  
  444. /*************************************************************************
  445. QUESTION / ANSWER POST STUFF
  446. *************************************************************************/
  447.  
  448. .asker-avatar{
  449. display:inline-block;
  450. vertical-align:middle;
  451. line-height:20px;
  452. margin-right:5px;
  453. width:20px;
  454. height:20px;
  455. border-radius:100%;
  456. }
  457.  
  458. img.asker-avatar{
  459. float:none;
  460. width:20px;
  461. height:20px;
  462. display:inline;
  463. border-radius:100%;
  464. }
  465.  
  466. .question{ /* the question part of the post, floats the text left */
  467. text-align:left;
  468. background-color:rgba(0,0,0,.1);
  469. padding:20px;
  470. margin:15px 0px;
  471. }
  472. .answer{ /* the answer part of the post, floats the text right */
  473. text-align:right;
  474. padding:20px;
  475. margin-top:10px;
  476. background-color:rgba(0,0,0,.05);
  477. margin:15px 0px;
  478. }
  479.  
  480.  
  481. /****************************************************************************
  482. CAPTIONS & POST FOOTER
  483. CAPTIONS, POST FOOTER, TIME STAMP, LIKE & REBLOG, NOTES, TAGS, LIKE BUTTON
  484. ****************************************************************************/
  485. .caption{padding:10px;} /*makes it so the caption isn't squished up against the sides*/
  486.  
  487. .posts p{ /* puts spacing between each paragraph */
  488. padding:5px 0px;
  489. }
  490. /********************************
  491. UNNESTED CAPTIONS -DON'T TOUCH
  492. ********************************/
  493. .tumblr_parent {padding:5px 0px;}
  494. .tumblr_parent blockquote{margin-left:0px;padding-left:20px;}
  495. .tumblr_avatar,.tumblr_blog{display:inline-block;word-break:break-all;}
  496. .tumblr_avatar{border-radius:100%;width:20px!important;vertical-align:middle;margin:-2px 10px 0px 0px;}
  497. img.tumblr_avatar{float:none;display:inline;}
  498.  
  499.  
  500. .post_footer{
  501. text-align:center;
  502. font-size:14px;
  503. padding:5px 10px;
  504. line-height:20px;
  505. position:relative;
  506. height:20px;
  507. {block:permalinkpage}
  508. height:30px;
  509. line-height:15px;
  510. {/block:permalinkpage}
  511. }
  512.  
  513. .post_footer a{
  514. color:{color:body links};
  515. }
  516.  
  517. .post_footer a:hover{
  518. color:{color:links hover};
  519. }
  520.  
  521. .post_footer_like_reblog{
  522. display:inline-block;
  523. margin:0 auto;
  524. text-align:center;
  525. float:right;
  526. }
  527.  
  528. .post_footer_like_reblog .like-b{
  529. position:relative;
  530. display:inline-block;
  531. height:1em;
  532. }
  533.  
  534. .post_footer_like_reblog a{
  535. margin:0px 3px;
  536. }
  537.  
  538. .post_footer_notes{
  539. font-size:14px;
  540. float:left;
  541. text-align:left;
  542. font-weight:bold;
  543. {block:permalinkpage}width:220px;{/block:permalinkpage}
  544. }
  545.  
  546. .tags{
  547. font-size:10px;
  548. padding:0px 3px;
  549. color:{color:body links};
  550. display:inline;
  551. {block:permalinkpage}
  552. margin-left:10px;
  553. {/block:permalinkpage}
  554. }
  555.  
  556. .b{
  557. opacity:1;
  558. display:inline;
  559. overflow:visible;
  560. }
  561. .like-b {
  562. position:relative;
  563. display:inline-block;
  564. }
  565. .like-b .liked + svg {
  566. opacity:1;
  567. }
  568.  
  569. .like-b .like_button {
  570. position:relative;
  571. }
  572. .like-b .like_button iframe {
  573. position:absolute;
  574. top:0;
  575. left:0;
  576. bottom:0;
  577. right:0;
  578. z-index:9999;
  579. opacity:0.000001;
  580. }
  581.  
  582. .like-b .liked + .b {color:red;}
  583. /****************************************************************************
  584. PERMALINK PAGE- POST NOTES & CREDIT
  585. ****************************************************************************/
  586. ol.notes {
  587. padding:0px;
  588. margin:25px 0px;
  589. list-style-type:none;
  590. height:auto;
  591. max-height:400px;
  592. overflow:auto;
  593. text-align:left;
  594. }
  595.  
  596. ol.notes li.note {padding:5px;}
  597.  
  598. ol.notes li.note img.avatar {
  599. vertical-align:-4px;
  600. margin-right:10px;
  601. width:16px;
  602. height:16px;
  603. float:left;
  604. border-radius:100%;
  605. }
  606.  
  607. img.avatar{float:none;}
  608. ol.notes li.note span.action {font-weight:normal;}
  609. ol.notes li.note .answer_content {font-weight:normal;}
  610.  
  611. #dcs svg {
  612. height: 48px;
  613. width: 48px;
  614. position: fixed;
  615. bottom: 20px;
  616. right: 10px;
  617. z-index:999999999999999;
  618. fill:{color:credit symbol};
  619. }
  620.  
  621. /****************************************************************************
  622. RESPONSIVE STUFF, PLEASE DON'T TOUCH!
  623. ****************************************************************************/
  624.  
  625. @media only screen and (min-width:1681px){
  626. iframe.tmblr-iframe {top:60px!important;}
  627. .container{margin-top:100px;}
  628. .postinfodetails, .photonotes{font-size:24px;}
  629. .postinfodetails-tag{font-size:14px;}
  630. .header2, .header1 > .navigation{height:65px;}
  631. .header2 h1, .header1 >.navigation, .navigation li a{line-height:65px; font-size:20px;}
  632. .like-b{padding-right:15px;}
  633. }
  634.  
  635. @media only screen and (min-width:701px) and (max-width:1079px){
  636. .container{width:540px;margin:80px auto;}
  637. .posts{width:540px;}
  638. .postinfodetails, .photonotes{font-size:20px;}
  639. .postinfodetails-tag{font-size:10px;}
  640. }
  641.  
  642. @media only screen and (max-width:700px){
  643. .container{width:500px;margin:80px auto;}
  644. .posts{width:500px;}
  645. .postinfodetails, .photonotes{font-size:18px;}
  646. .postinfodetails-tag{font-size:14px;}
  647.  
  648. .navigation > .home > a::before{content:'01.';}
  649. .navigation > .ask > a::before{content:'02.';}
  650. .navigation > .archive > a::before{content:'03.';}
  651. {block:ifshowlinkone}
  652. .navigation > .link1 > a::before{content:'04.';}
  653. {/block:ifshowlinkone}
  654. {block:ifshowlinktwo}
  655. .navigation > .link2 > a::before{content:'05.';}
  656. {/block:ifshowlinktwo}
  657. {block:ifshowlinkthree}
  658. .navigation > .link3 > a::before{content:'06.';}
  659. {/block:ifshowlinkthree}
  660.  
  661. }
  662.  
  663. </style>
  664. <body>
  665. <!---------------------------------------------------------------------------
  666. HEADER / NAVIGATION
  667. ---------------------------------------------------------------------------->
  668.  
  669. <div class="{select:header style}">
  670. <h1>{title}</h1>
  671. <p>{description}</p>
  672. <div class="navigation">
  673.  
  674. <li class="home"><a href="/"></a></li>
  675. <li class="ask"><a href="{text:ask link}"></a></li>
  676. <li class="archive"><a href="/archive"></a></li>
  677. {block:ifshowlinkone}
  678. <li class="link1"><a href="{text:link one url}"></a></li>
  679. {/block:ifshowlinkone}
  680. {block:ifshowlinktwo}
  681. <li class="link2"><a href="{text:link two url}"></a></li>
  682. {/block:ifshowlinktwo}
  683. {block:ifshowlinkthree}
  684. <li class="link3"><a href="{text:link three url}"></a></li>
  685. {/block:ifshowlinkthree}
  686.  
  687.  
  688. </div>
  689.  
  690. </div>
  691.  
  692.  
  693. <div class="container">
  694. {block:posts}
  695. <div class="posts">
  696.  
  697. <!-- {block:NoRebloggedFrom}
  698. {block:RebloggedFrom}{ReblogParentName}{/block:RebloggedFrom}
  699. {/block:NoRebloggedFrom} -->
  700.  
  701. {block:ContentSource}<!-- {SourceURL}
  702. {block:SourceLogo}<img src="{BlackLogoURL}"width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />{/block:SourceLogo}
  703. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  704. {/block:ContentSource}
  705.  
  706. <!---------------------------------------------------------------------------
  707. TEXT POSTS
  708. ---------------------------------------------------------------------------->
  709. <div class="post-type">
  710.  
  711. {block:text}
  712. {block:title}<h1>{title}</h1>{/block:title}
  713. <div class="caption">{Body}</div>
  714. {block:indexpage}
  715. <div class="post_footer">
  716. <div class="post_footer_like_reblog"><a class="like-b" href="#">{LikeButton}<span class="b"><span class ="fa fa-heart"></span> </span></a><a href="{ReblogURL}"> <span class="fa fa-sync"></span></a> </div>
  717. <a class="post_footer_notes" href="{permalink}"> {NoteCountWithLabel}</a>
  718. </div>
  719.  
  720. {/block:indexpage}
  721. {/block:text}
  722. </div>
  723. <!---------------------------------------------------------------------------
  724. Q & A POSTS
  725. ---------------------------------------------------------------------------->
  726. <div class="post-type">
  727.  
  728. {block:Answer}
  729. <div class="question">
  730. <img class="asker-avatar" src="{AskerPortraitURL-24}"style="border-radius:100%;">{asker} asked: <br> {question} </div>
  731. <div class="answer">{block:Answerer}<img class="asker-avatar" src="{AnswererPortraitURL-24}"style="border-radius:100%;">{Answerer} said: {answer}{/block:Answerer}{block:notreblog}<div class="caption">{answer}</div>{/block:notreblog}</div>
  732. {block:rebloggedfrom}<div class="caption">{Replies}</div>{/block:rebloggedfrom}
  733. {block:indexpage}
  734. <div class="post_footer">
  735. <div class="post_footer_like_reblog"><a class="like-b" href="#">{LikeButton}<span class="b"><span class ="fa fa-heart"></span> </span></a><a href="{ReblogURL}"> <span class="fa fa-sync"></span></a> </div>
  736. <a class="post_footer_notes" href="{permalink}"> {NoteCountWithLabel}</a>
  737. </div>
  738.  
  739. {/block:indexpage}
  740. {/block:Answer}
  741.  
  742. </div>
  743. <!---------------------------------------------------------------------------
  744. QUOTE POSTS
  745. ---------------------------------------------------------------------------->
  746. <div class="post-type">
  747.  
  748. {block:Quote}
  749. <div class="caption">{Quote}" <br>
  750. {block:Source}- {Source}{/block:Source} </div>
  751. {block:indexpage}
  752. <div class="post_footer">
  753. <div class="post_footer_like_reblog"><a class="like-b" href="#">{LikeButton}<span class="b"><span class ="fa fa-heart"></span> </span></a><a href="{ReblogURL}"> <span class="fa fa-sync"></span></a> </div>
  754. <a class="post_footer_notes" href="{permalink}"> {NoteCountWithLabel}</a>
  755. </div>
  756.  
  757. {/block:indexpage}
  758. {/block:Quote}
  759.  
  760. </div>
  761. <!---------------------------------------------------------------------------
  762. LINK POSTS
  763. ---------------------------------------------------------------------------->
  764. <div class="post-type">
  765.  
  766. {block:Link}
  767. <h1><a href="{URL}">{Name}</a></h1>
  768. {block:Description}{Description}{/block:Description}
  769. {block:indexpage}
  770. <div class="post_footer">
  771. <div class="post_footer_like_reblog"><a class="like-b" href="#">{LikeButton}<span class="b"><span class ="fa fa-heart"></span> </span></a><a href="{ReblogURL}"> <span class="fa fa-sync"></span></a> </div>
  772. <a class="post_footer_notes" href="{permalink}"> {NoteCountWithLabel}</a>
  773. </div>
  774.  
  775. {/block:indexpage}
  776. {/block:Link}
  777.  
  778. </div>
  779. <!---------------------------------------------------------------------------
  780. CHAT POSTS
  781. ---------------------------------------------------------------------------->
  782. <div class="post-type">
  783.  
  784. {block:Chat}
  785. {block:Title}<h1>{Title}</h1>{/block:Title}
  786. {block:Lines}
  787. {block:Label}<b>{Label}</b>{/block:Label}
  788. {Line}<br>
  789. {/block:Lines}
  790. {block:indexpage}
  791. <div class="post_footer">
  792. <div class="post_footer_like_reblog"><a class="like-b" href="#">{LikeButton}<span class="b"><span class ="fa fa-heart"></span> </span></a><a href="{ReblogURL}"> <span class="fa fa-sync"></span></a> </div>
  793. <a class="post_footer_notes" href="{permalink}"> {NoteCountWithLabel}</a>
  794. </div>
  795.  
  796. {/block:indexpage}
  797. {/block:Chat}
  798.  
  799. </div>
  800. <!---------------------------------------------------------------------------
  801. PHOTO POSTS
  802. ---------------------------------------------------------------------------->
  803. <div class="post-type">
  804. {block:Photo}
  805. {block:IndexPage}
  806. {block:ifnotshowcaptions}
  807. <div class="postinfo">
  808. <div class="postinfodetails">
  809. <a class="photonotes" href="{Permalink}">{block:notecount}{NoteCountWithLabel}{/block:notecount}</a>
  810.  
  811. <div class="permalinks">
  812.  
  813. <a title ="{ShortMonth} {DayofMonth}" href="{Permalink}"><span class="fa fa-calendar"></span></a>
  814. <a title="like" class="like-b" href="#">{LikeButton}<span class="b"><span class ="fa fa-heart"></span> </span></a>
  815. <a title="reblog" href="{ReblogURL}"> <span class="fa fa-sync"></span></a>
  816. <a title ="via {reblogparentname}" href="{Permalink}"><span class="fa fa-link"></span></a>
  817. <a title="zoom" href="#" onclick="Tumblr.Lightbox.init([{ width: {PhotoWidth-HighRes}, height: {PhotoHeight-HighRes}, low_res: '{PhotoURL-500}', high_res: '{PhotoURL-HighRes}' }]); $('body').toggleClass('tumblr_lightbox_active'); return false"><span class="fa fa-search-plus"></span>
  818. </a>
  819. </div>
  820.  
  821. </div>
  822. </div>
  823. {/block:ifnotshowcaptions}
  824. {/block:IndexPage}
  825. <img src="{PhotoURL-HighRes}" max-width="100%" {block:permalinkpage} width="540px" {/block:permalinkpage} alt="{PhotoAlt}">{block:indexpage}{block:IfShowCaptions}
  826. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  827.  
  828. <div class="post_footer">
  829. <div class="post_footer_like_reblog"><a class="like-b" href="#">{LikeButton}<span class="b"><span class ="fa fa-heart"></span> </span></a><a href="{ReblogURL}"> <span class="fa fa-sync"></span></a> </div>
  830. <a class="post_footer_notes" href="{permalink}"> {NoteCountWithLabel}</a>
  831. </div>
  832. {block:iftagsonindex}
  833. {block:HasTags}<div class="tags">{block:Tags} <a href="{tagurl}"> #{Tag}</a>{/block:Tags}</div>{/block:HasTags}
  834. {/block:iftagsonindex}
  835. {/block:IfShowCaptions}
  836. {/block:indexpage}
  837.  
  838. {block:permalinkpage}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:permalinkpage}
  839. {/block:Photo}
  840.  
  841. </div>
  842. <!---------------------------------------------------------------------------
  843. PHOTOSET POSTS
  844. ---------------------------------------------------------------------------->
  845. <div class="post-type">
  846.  
  847. {block:Photoset}
  848. <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>
  849. {/block:Photos}</div>{block:indexpage}{block:IfShowCaptions}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:IfShowCaptions}{/block:indexpage}
  850. {block:permalinkpage}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:permalinkpage}
  851. {block:indexpage}
  852. <div class="post_footer" {block:ifnotshowcaptions}style="padding-top:{text:post padding}"{/block:ifnotshowcaptions}>
  853. <a class="post_footer_notes" href="{permalink}"> {NoteCountWithLabel}</a>
  854. <div class="post_footer_like_reblog"><a class="like-b" href="#">{LikeButton}<span class="b"><span class ="fa fa-heart"></span> </span></a><a href="{ReblogURL}"> <span class="fas fa-sync-alt"></span></a> </div>
  855. </div>
  856. {block:iftagsonindex}
  857. {block:HasTags}<div class="tags">{block:Tags} <a href="{tagurl}"> #{Tag}</a>{/block:Tags}</div>{/block:HasTags}
  858. {/block:iftagsonindex}
  859.  
  860.  
  861. {/block:indexpage}
  862. {/block:Photoset}
  863.  
  864. </div>
  865. <!---------------------------------------------------------------------------
  866. AUDIO POSTS
  867. ---------------------------------------------------------------------------->
  868. <div class="post-type">
  869.  
  870. {block:Audio}
  871. <div class="playbox"><div class="playbutton">{block:AudioPlayer}{AudioPlayerBlack}{/block:AudioPlayer}</div></div>
  872. {block:AlbumArt}
  873. <img src="{AlbumArtURL}" class="cover">
  874. {/block:AlbumArt}
  875.  
  876. {block:permalinkpage}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:permalinkpage}
  877. {block:indexpage}
  878. <div class="post_footer">
  879. <div class="post_footer_like_reblog"><a class="like-b" href="#">{LikeButton}<span class="b"><span class ="fa fa-heart"></span> </span></a><a href="{ReblogURL}"> <span class="fa fa-sync"></span></a> </div>
  880. <a class="post_footer_notes" href="{permalink}"> {NoteCountWithLabel}</a>
  881. </div>
  882.  
  883. {/block:indexpage}
  884. {/block:Audio}
  885.  
  886. </div>
  887. <!---------------------------------------------------------------------------
  888. VIDEO POSTS
  889. ---------------------------------------------------------------------------->
  890. <div class="post-type">
  891.  
  892. {block:Video}
  893. <div class="video">{video-500}</div>
  894. {block:indexpage}{block:IfShowCaptions}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:IfShowCaptions}{/block:indexpage}
  895. {block:permalinkpage}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:permalinkpage}
  896. {block:indexpage}
  897. <div class="post_footer">
  898. <div class="post_footer_like_reblog"><a class="like-b" href="#">{LikeButton}<span class="b"><span class ="fa fa-heart"></span> </span></a><a href="{ReblogURL}"> <span class="fa fa-sync"></span></a> </div>
  899. <a class="post_footer_notes" href="{permalink}"> {NoteCountWithLabel}</a>
  900. </div>
  901.  
  902. {/block:indexpage}
  903. {/block:Video}
  904.  
  905. </div>
  906. <!---------------------------------------------------------------------------
  907. PERMALINK PAGE
  908. ----------------------------------------------------------------------------->
  909. {block:permalinkpage}
  910. {block:HasTags}{block:Tags} <a class="tags" href="{tagurl}"> #{Tag}</a>{/block:Tags} {/block:HasTags}
  911. {block:date}
  912. <div class="post_footer"> Posted on {Month} {DayOfMonth}{DayOfMonthSuffix} {Year} with {notecountwithlabel}
  913. {block:RebloggedFrom}<br>(Via <a href="{ReblogParentURL}">{ReblogParentName}</a>, Source <a href="{ReblogRootURL}">{ReblogRootName}</a>){/block:RebloggedFrom}
  914. </div>
  915. {/block:date}{/block:permalinkpage}
  916.  
  917. {block:PostNotes}{PostNotes}{/block:PostNotes}
  918. </div>
  919. {/block:posts}
  920.  
  921. {block:Pagination}
  922. <div class="pagination">
  923. {block:PreviousPage}<a href="{PreviousPage}"><span class="fa fa-arrow-left"></span></a> {/block:PreviousPage} {block:NextPage}<a href="{NextPage}" id="next"><span class="fa fa-arrow-right"></span></a>{/block:NextPage}
  924. </div>
  925. {/block:Pagination}
  926. </div>
  927.  
  928.  
  929. <div id="credit">
  930. <a title="theme by drxgonfly" href="http://drxgonfly.tumblr.com/themes"><div id="dcs"> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="500px" height="500px" viewBox="0 0 500 500" enable-background="new 0 0 500 500" xml:space="preserve"> <path d="M442.229,282.66c-2.602-16.983-18.477-28.644-35.459-26.043c0,0-0.111,0.016-0.328,0.048 c-0.238,0.03-0.596,0.077-1.057,0.131c-0.951,0.116-2.344,0.278-4.119,0.482c-3.572,0.4-8.709,0.958-14.893,1.57 c-12.367,1.222-28.912,2.674-45.459,3.646c-4.137,0.241-8.271,0.456-12.342,0.629c-4.066,0.17-8.074,0.31-11.941,0.388 c-3.871,0.085-7.613,0.133-11.148,0.105c-1.771-0.003-3.494-0.022-5.15-0.068c-0.83-0.02-1.65-0.037-2.453-0.053 c-0.799-0.035-1.582-0.065-2.348-0.099c-0.771-0.032-1.525-0.063-2.264-0.096c-0.73-0.047-1.443-0.09-2.141-0.134 c-0.699-0.049-1.381-0.094-2.043-0.132c-0.656-0.063-1.293-0.12-1.912-0.175c-1.236-0.109-2.404-0.22-3.455-0.372 c-0.533-0.065-1.043-0.132-1.529-0.195c-0.246-0.03-0.486-0.063-0.719-0.093c-0.223-0.035-0.438-0.07-0.646-0.106 c-0.854-0.143-1.615-0.271-2.277-0.38c-0.68-0.13-1.283-0.309-1.76-0.419c-0.961-0.237-1.473-0.366-1.473-0.366h-0.01 c-0.399-0.102-0.816-0.04-1.186,0.138c-0.028,0.01-0.058,0.011-0.086,0.022c-0.58,0.246-0.923,0.813-0.912,1.406 c-0.04,0.472,0.112,0.948,0.438,1.314c0.05,0.116,0.1,0.233,0.16,0.375c0.156,0.372,0.352,0.827,0.58,1.363 c0.277,0.548,0.598,1.177,0.957,1.882c0.182,0.352,0.375,0.744,0.584,1.116c0.211,0.373,0.43,0.762,0.658,1.167 c0.459,0.815,0.957,1.708,1.527,2.616c1.113,1.853,2.434,3.891,3.922,6.081c1.488,2.187,3.148,4.521,4.947,6.944 c1.797,2.431,3.73,4.959,5.77,7.537c1.018,1.297,2.057,2.6,3.123,3.908c1.059,1.323,2.145,2.641,3.24,3.967 c2.197,2.66,4.455,5.326,6.73,7.983c9.105,10.611,18.549,20.887,25.746,28.525c3.598,3.817,6.637,6.976,8.793,9.192 c1.09,1.107,1.945,1.98,2.529,2.577c0.303,0.302,0.535,0.534,0.691,0.69c0.18,0.169,0.271,0.257,0.271,0.257l1.639,1.577 c2.842,2.687,6.324,4.789,10.313,6.033c13.973,4.365,28.836-3.423,33.199-17.396c4.365-13.97-3.422-28.835-17.396-33.199 c0,0-0.084-0.027-0.244-0.078c-0.184-0.063-0.451-0.158-0.805-0.284c-0.71-0.256-1.747-0.637-3.056-1.114 c4.617,1.614,8.963,3.106,12.894,4.437c6.105,2.063,11.215,3.743,14.818,4.91c1.816,0.579,3.24,1.034,4.215,1.346 c0.498,0.156,0.881,0.274,1.139,0.356c0.283,0.081,0.428,0.119,0.428,0.119l2.016,0.598c4.174,1.193,8.666,1.527,13.24,0.82 C433.168,315.52,444.828,299.646,442.229,282.66z"/> <path d="M187.203,242.209c3.456,0.602,6.911,1.185,10.33,1.712c1.702,0.269,3.4,0.524,5.081,0.764 c1.669,0.252,3.335,0.471,4.969,0.687c3.265,0.436,6.439,0.803,9.451,1.114c3.013,0.305,5.873,0.536,8.518,0.704 c2.65,0.156,5.079,0.252,7.244,0.27c1.067,0.03,2.099-0.005,3.03-0.018c0.467-0.008,0.914-0.018,1.341-0.025 c0.441-0.022,0.863-0.043,1.263-0.065c0.793-0.043,1.5-0.083,2.098-0.126c0.579-0.072,1.07-0.132,1.471-0.181 c0.138-0.017,0.25-0.031,0.366-0.045c0.41,0.072,0.839,0.016,1.208-0.2c0.405-0.157,0.742-0.479,0.888-0.92 c0.141-0.428,0.075-0.872-0.136-1.232c-0.093-0.243-0.234-0.472-0.438-0.662l-0.004-0.006c0,0-0.371-0.348-1.064-0.999 c-0.343-0.327-0.791-0.725-1.266-1.203c-0.433-0.479-0.934-1.032-1.492-1.647c-0.546-0.578-1.161-1.346-1.819-2.127 c-0.328-0.388-0.67-0.8-1.025-1.226c-0.343-0.44-0.699-0.897-1.067-1.373c-0.734-0.937-1.506-1.937-2.291-3.036 c-0.795-1.084-1.623-2.213-2.458-3.442c-0.843-1.211-1.717-2.471-2.593-3.816c-0.883-1.323-1.788-2.699-2.698-4.138 c-0.918-1.424-1.847-2.9-2.78-4.434c-0.942-1.511-1.887-3.076-2.841-4.674c-1.913-3.18-3.839-6.514-5.772-9.912 c-1.935-3.398-3.859-6.88-5.769-10.366c-7.613-13.979-14.795-28.226-20.033-38.941c-2.617-5.363-4.752-9.84-6.218-12.961 c-0.721-1.548-1.288-2.769-1.675-3.6c-0.184-0.406-0.323-0.719-0.42-0.926c-0.078-0.188-0.117-0.288-0.117-0.288 c-1.76-4.211-4.523-8.245-8.173-11.474c-12.916-11.434-32.657-10.229-44.088,2.688c-11.432,12.916-10.229,32.657,2.689,44.092 l1.768,1.564c0,0,0.112,0.099,0.328,0.29c0.199,0.166,0.496,0.419,0.885,0.744c0.757,0.636,1.871,1.56,3.288,2.736 c0.908,0.75,1.953,1.607,3.096,2.542c-12.71-1.484-24.972,6.432-28.555,19.138c-3.971,14.093,4.232,28.733,18.323,32.708 l2.112,0.596c0,0,0.124,0.033,0.361,0.099c0.214,0.058,0.535,0.139,0.951,0.246c0.813,0.199,2.004,0.493,3.521,0.865 c3.013,0.732,7.293,1.74,12.428,2.893C159.693,236.899,173.384,239.792,187.203,242.209z"/> <circle cx="268.238" cy="235.156" r="17.365"/> <path d="M244.191,254.323c-7.345,3.473-10.486,12.243-7.015,19.589c3.47,7.344,12.237,10.486,19.583,7.016 c7.346-3.473,10.486-12.237,7.016-19.585C260.307,253.997,251.537,250.854,244.191,254.323z"/> <path d="M236.218,283.968c-5.867-3.806-13.708-2.136-17.516,3.73c-3.804,5.867-2.137,13.708,3.731,17.514 c5.866,3.81,13.708,2.141,17.515-3.729C243.755,295.618,242.085,287.774,236.218,283.968z"/> <path d="M213.585,304.238c-5.314-3.448-12.42-1.932-15.868,3.379c-3.449,5.318-1.936,12.419,3.379,15.87 c5.314,3.448,12.42,1.935,15.868-3.383C220.415,314.79,218.899,307.689,213.585,304.238z"/> <path d="M180.37,319.415c-4.642,2.188-6.627,7.73-4.434,12.37c2.191,4.641,7.731,6.621,12.372,4.432 c4.64-2.193,6.624-7.732,4.432-12.372C190.547,319.207,185.009,317.22,180.37,319.415z"/> <path d="M167.338,326.881c-3.309-2.146-7.733-1.205-9.88,2.107c-2.146,3.305-1.204,7.727,2.104,9.878 c3.308,2.146,7.732,1.204,9.877-2.106C171.587,333.453,170.646,329.031,167.338,326.881z"/> <path d="M150.133,331.851c-2.257-1.462-5.269-0.822-6.728,1.434c-1.463,2.252-0.821,5.262,1.433,6.726 c2.255,1.462,5.263,0.821,6.727-1.434C153.026,336.322,152.384,333.314,150.133,331.851z"/> </svg></id></a>
  931. </div>
  932. <!----------------------------------------------------------------------------
  933. SCRIPTS
  934. ----------------------------------------------------------------------------->
  935. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  936. <script src="https://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
  937. <script src="https://static.tumblr.com/wgg6svp/I8Yobwo15/unnest.min.js"></script>
  938. {block:ifinfinitescroll}<script src="https://static.tumblr.com/anzluor/ycPn74dop/jquery.infinitescroll.min.js"></script>{/block:ifinfinitescroll}
  939. <!--<script src="https://static.tumblr.com/anzluor/Np0nv9fs0/masonry.pkgd.min.js"></script>--->
  940. <script src="https://unpkg.com/masonry-layout@4/dist/masonry.pkgd.min.js"></script>
  941. <script src="https://unpkg.com/imagesloaded@4/imagesloaded.pkgd.min.js"></script>
  942. <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.1/SmoothScroll.min.js"></script>
  943. <script src="https://static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script>
  944. <script src="https://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  945. <script>
  946. $(function(){
  947. $('.photo-slideshow').pxuPhotoset({
  948. lightbox: true,
  949. rounded: false,
  950. gutter: '{text:post padding}',
  951. photoset: '.photo-slideshow',
  952. photoWrap: '.photo-data',
  953. photo: '.pxu-photo'
  954. });
  955. var container = $('.container');
  956.  
  957. container.imagesLoaded(function(){
  958. container.masonry({
  959. itemSelector : '.posts'
  960. });
  961. });
  962.  
  963. {block:indexpage}
  964. {block:ifinfinitescroll}
  965. container.infinitescroll({
  966. navSelector : 'div.pagination',
  967. nextSelector : 'div.pagination a#next',
  968. itemSelector : '.posts',
  969. bufferPx : 2000,
  970. },
  971. function( newElements ) {
  972.  
  973. var $newElems = $( newElements ).css({ opacity: 0 });
  974.  
  975. $newElems.imagesLoaded(function(){
  976. $newElems.animate({ opacity: 1 });
  977. container.masonry( 'appended', $newElems, true );
  978. });
  979.  
  980.  
  981. var $newElemsIDs = $newElems.map(function(){
  982. return this.id;
  983. }).get();
  984. Tumblr.LikeButton.get_status_by_post_ids($newElemsIDs);
  985.  
  986.  
  987.  
  988. $newElems.unnest({
  989. yourCaption: ".caption",
  990. wrapName: ".tumblr_parent",
  991. newCaptionUsername: true,
  992. originalPostCaptionUsername: false,
  993. tumblrAvatars: true,
  994. tumblrAvatarClass: ".tumblr_avatar",
  995. usernameColon: false
  996. });
  997.  
  998. $newElems.find('.photo-slideshow').pxuPhotoset({
  999. lightbox: true,
  1000. rounded: false,
  1001. gutter: '{text:post padding}',
  1002. photoset: '.photo-slideshow',
  1003. photoWrap: '.photo-data',
  1004. photo: '.pxu-photo'
  1005. });
  1006.  
  1007. resizeVideos();
  1008. }
  1009. );
  1010. {/block:ifinfinitescroll}
  1011. {/block:indexpage}
  1012. });
  1013. </script>
  1014.  
  1015.  
  1016. <script> // UNNESTED CAPTIONS
  1017. $(function(){ $('.posts').unnest({
  1018. yourCaption: ".caption",
  1019. wrapName: ".tumblr_parent",
  1020. newCaptionUsername: true,
  1021. originalPostCaptionUsername: false,
  1022. tumblrAvatars: true,
  1023. tumblrAvatarClass: ".tumblr_avatar",
  1024. usernameColon: false
  1025. }); }); </script>
  1026.  
  1027.  
  1028. <script>
  1029. (function($){
  1030. $(document).ready(function(){
  1031. $("[title]").style_my_tooltips({
  1032. tip_follows_cursor:true,
  1033. tip_delay_time:200,
  1034. tip_fade_speed:300
  1035. }
  1036. );
  1037. });
  1038. })(jQuery);
  1039. </script>
  1040.  
  1041. <script type="text/javascript">
  1042. $(function(){
  1043. var stickyRibbonTop = $('.header1 > .navigation').offset().top;
  1044. $(window).scroll(function(){
  1045. if( $(window).scrollTop() > stickyRibbonTop ) {
  1046. $('.header1 > .navigation').css({position: 'fixed', top: '0px'});
  1047. } else {
  1048. $('.header1 > .navigation').css({position: 'static', top: '0px'});
  1049. }
  1050. });
  1051. });
  1052. </script>
  1053.  
  1054. </body>
  1055. </html>
  1056.  
  1057.  
Advertisement
Add Comment
Please, Sign In to add comment