drxgonfly

THEME 06- WINTER

Nov 5th, 2017 (edited)
6,200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.94 KB | None | 0 0
  1. <!----------------------------------------------------------------------------
  2. THEME 06 BY DRXGONFLY
  3. LAST UPDATED MAY 4 2021
  4. - Removed saturnicons font and replaced with font awesome
  5. - this is a temporary fix, I will go back and clean up the code some more when I have time, please check back in about a month to reinstall with the newest changes, thank you!
  6.  
  7. ------------------------------------------------------------------------------
  8. RESOURCES
  9. ------------------------------------------------------------------------------
  10.  
  11. • FLIP ANIMATION:https://davidwalsh.name/css-flip
  12. • UNNESTED CAPTIONS: NEOTHMS & MAGNUSTHEMES
  13. • RESIZING VIDEOS, PXU PHOTOSETS, LIKE/REBLOG BUTTONS: SHYTHEMES
  14. • TUMBLR CONTROL FIX: CYANTISTS
  15. • FONT ICONS: FONTAWESOME
  16. • FALLING SNOW: https://yukoki.tumblr.com/post/37909424708/falling-snow-on-your-blog
  17.  
  18. ------------------------------------------------------------------------------
  19. CUSTOMIZATION NOTES
  20. ------------------------------------------------------------------------------
  21.  
  22. • MULTICOLUMN TOGGLE- Varies between 1-4 columns depending on your screen size. If multicolumn is selected but your screen is super small it will change to a 250px one column theme. If multicolumn is turned off and your screen is super small it will also change to a 250px one column theme.
  23.  
  24. • THE ___ TOGGLE DOESN'T WORK!!!- Toggle it on and off a few times, it'll be fine
  25.  
  26. • BACKGROUND/ SIDEBAR IMAGES- If you'd rather use a link image than one on your computer hit ctrl + f and replace ALL "image:background image" with "text:background image" and/or ALL "image:sidebar image" with "text:sidebar image"
  27.  
  28. • SIDEBAR FONT AWESOME ICON- To change the icon go to fontawesome.io/cheatsheet and replace the new code AFTER "fa-li" so it should ALWAYS read "fa-li fa fa-NEWICONNAME"
  29.  
  30. • 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.
  31.  
  32.  
  33. I recommend you don't touch the code if you don't know anything about coding otherwise you'll mess something up. But if you decide to explore Ive included some notes.
  34. -->
  35. <html>
  36. <head>
  37.  
  38. <title>{Title}{block:PostSummary}, {PostSummary}{/block:PostSummary}</title>
  39. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  40. <link rel="shortcut icon" href="{Favicon}"/>
  41.  
  42. <link href="https://fonts.googleapis.com/css?family={text:body font google fonts name}" rel="stylesheet"> <!--GOOGLE FONTS-->
  43. <link href="https://fonts.googleapis.com/css?family={text:Blog Title Font Name Google Fonts}" rel="stylesheet"> <!--GOOGLE FONTS-->
  44.  
  45. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.12.1/css/all.css">
  46. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.12.1/css/v4-shims.css">
  47. <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/> <!--PXU PHOTOSET CSS--->
  48. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <!--JQUERY--->
  49. <script src="https://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script> <!--PXU PHOTOSET--->
  50. <script src="https://static.tumblr.com/wgg6svp/I8Yobwo15/unnest.min.js"></script> <!-- UNNESTED CAPTIONS-->
  51. {block:ifinfinitescroll}<script src="https://static.tumblr.com/anzluor/ycPn74dop/jquery.infinitescroll.min.js"></script>{/block:ifinfinitescroll} <!--INFINITE SCROLL-->
  52. <script src="https://static.tumblr.com/anzluor/Np0nv9fs0/masonry.pkgd.min.js"></script> <!--MASONRY-->
  53. <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.1/SmoothScroll.min.js"></script> <!--SMOOTH SCROLLING-->
  54. <script src="https://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script> <!--TOOLTIPS-->
  55. <script src="https://static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script><!--VIDEO RESIZE-->
  56.  
  57.  
  58. {block:ifsnoweffect}<script type="text/javascript" src="https://static.tumblr.com/qsifglb/mZjl87ts1/f8.js"></script>{/block:ifsnoweffect}<!--FALLING SNOW-->
  59.  
  60. <meta name="color:background color" content="#fff"/>
  61. <meta name="color:sidebar background" content="#fff"/>
  62. <meta name="color:sidebar text" content="#aaa"/>
  63. <meta name="color:sidebar links color" content="#2E4053"/>
  64. <meta name="color:post container background" content="#fff"/>
  65. <meta name="color:post background" content="#fff"/>
  66. <meta name="color:post footer background" content="#D8E9EF"/>
  67. <meta name="color:body links" content="#AEB6BF"/>
  68. <meta name="color:body text" content="#000"/>
  69. <meta name="color:selector highlight background" content="#D8E9EF"/>
  70. <meta name="color:scrollbar color" content="#85929E"/>
  71. <meta name="color:credit symbol" content="#427ea3"/>
  72.  
  73. <meta name="image:background image" content="https://images.unsplash.com/photo-1468476775582-6bede20f356f?auto=format&fit=crop&w=1366&q=80&ixid=dW5zcGxhc2guY29tOzs7Ozs%3D"/>
  74. <meta name="image:sidebar image" content="https://s-media-cache-ak0.pinimg.com/originals/db/77/7e/db777effc0fe05bb52818e0df3858772.jpg"/>
  75.  
  76. <meta name="if:show avatar on flip" content="0"/>
  77. <meta name="if:show post container background" content="0"/>
  78. <meta name="if:multicolumn" content="1"/>
  79. <meta name="if:show tags on index page" content="1"/>
  80. <meta name="if:snow effect" content="1"/>
  81. <meta name="if:infinite scroll" content="1"/>
  82. <meta name="if:show captions" content="1"/>
  83. <meta name="if:show extra links" content="1"/>
  84.  
  85. <meta name="text:sidebar font awesome icon" content="fa-li fa fa-snowflake-o"/>
  86. <meta name="text:blog title font size" content="36px"/>
  87. <meta name="text:body font google fonts name" content="calibri"/>
  88. <meta name="text:Blog Title Font Name Google Fonts" content="Sacramento"/>
  89. <meta name="text:ask link" content="/ask"/>
  90. <meta name="text:link one url" content="link one url" />
  91. <meta name="text:link one" content="Link 1" />
  92. <meta name="text:link two url" content="link two url" />
  93. <meta name="text:link two" content="Link 2" />
  94. <meta name="text:link three url" content="link three url" />
  95. <meta name="text:link three" content="Link 3" />
  96. </head>
  97.  
  98. <style>
  99.  
  100. /*****************************************************************************
  101. BASIC STUFF
  102. TUMBLR CONTROLS, ALL LINKS, BODY, ALL IMAGES, HIGHLIGHT COLOR, SCROLLBAR COLOR
  103. *****************************************************************************/
  104. *{margin:0 auto;}
  105.  
  106. iframe.tmblr-iframe {
  107. z-index:99999999999999!important;
  108. top:0px!important;
  109. right:0%!important;
  110. opacity:0.4;
  111. transform:scale(0.6);
  112. transform-origin:100% 0;
  113. -webkit-transform:scale(0.6);
  114. -webkit-transform-origin:100% 0;
  115. -o-transform:scale(0.6);
  116. -o-transform-origin:100% 0;
  117. -moz-transform:scale(0.6);
  118. -moz-transform-origin:100% 0;
  119. -ms-transform:scale(0.6);
  120. -ms-transform-origin:100% 0;}
  121.  
  122. a{text-decoration:none;color:{color:body links};}
  123.  
  124. body{
  125. background-image: url("{image:background image}");
  126. background-attachment:fixed;
  127. background-size:cover;
  128. font-family:{text:body font google fonts name};
  129. color:{color:body text};
  130. font-size:12px;
  131. background-color:{color:background color};
  132. }
  133.  
  134. img{max-width:100%;height:auto;}
  135.  
  136. ::selection{
  137. color:{color:body text};
  138. background-color:{color:selector highlight background};
  139. }
  140.  
  141. ::-webkit-scrollbar{width:5px;height:5px;background-color:{color:background color};}
  142. ::-webkit-scrollbar-track{border:5px solid {color:background color} ;background-color:{color:background color};}
  143. ::-webkit-scrollbar-thumb{border:1px solid {color:scrollbar color} ;background-color:{color:scrollbar color}; }
  144.  
  145. #infscr-loading { display:none!important;}
  146.  
  147. p.npf_quirky{font-family:{select:font};}
  148. p.npf_chat{font-family:{select:font};}
  149. p.npf_quote{font-family:{select:font};}
  150.  
  151. /*****************************************************************************
  152. SIDEBAR FLIP ANIMATION - DON'T TOUCH
  153. *****************************************************************************/
  154. .sidebarimage-container{perspective:1000px;float:left;}
  155. .sidebarimage-container:hover .flipper, .sidebarimage-container.hover .flipper{transform:rotateY(180deg);}
  156. .sidebarimage-container, .front, .back{width:250px;height:250px;}
  157. .flipper{transition:0.6s;transform-style:preserve-3d;position:relative;}
  158. .front, .back{backface-visibility:hidden;position:absolute;top:0;left:0;}
  159. .front{z-index:2;transform:rotateY(0deg);}
  160.  
  161. /*****************************************************************************
  162. SIDEBAR STUFF
  163. IMAGE, AVATAR, BLOG TITLE & DESCRIPTION, SIDEBAR LINK ICONS &LINKS, PAGINATION
  164. *****************************************************************************/
  165. .sidebar{
  166. width:400px;
  167. height:250px;
  168. background-color:{color:sidebar background};
  169. padding:30px;
  170. position:fixed;
  171. border-radius:5px;
  172. float:left;
  173. }
  174.  
  175. .sidebarimage{height:250px;width:250px;}
  176.  
  177. .back{
  178. transform:rotateY(180deg);
  179. text-align:center;
  180. color:{color:sidebar text};
  181. overflow:scroll;
  182. }
  183.  
  184. .sidebaravatar{
  185. width:75px;
  186. height:75px;
  187. border-radius:100%;
  188. margin-top:10px;
  189. display:inline-block;
  190. }
  191.  
  192. .title{
  193. font-family:{text:Blog Title Font Name Google Fonts};
  194. font-size:{text:blog title font size};
  195. {block:ifnotshowavataronflip}margin-top:40px;{/block:ifnotshowavataronflip}
  196. }
  197.  
  198. .back p{
  199. padding:20px;
  200. font-family:{text:body font google fonts name};
  201. letter-spacing:2px;
  202. font-size:14px;
  203. {block:ifshowavataronflip}padding-top:0px;{/block:ifshowavataronflip}
  204. }
  205.  
  206. .sidebar .fa{
  207. {block:ifshowextralinks}
  208. padding:2px 0px;
  209. {/block:ifshowextralinks}
  210. color:{color:sidebar links color};
  211. }
  212.  
  213. .links{
  214. float:right;
  215. text-align:left;
  216. width:100px;
  217. padding:30px 5px;
  218. {block:ifshowextralinks}
  219. padding:11px 5px;
  220. {/block:ifshowextralinks}
  221.  
  222. }
  223.  
  224. .links a{
  225. font-size:16px;
  226. letter-spacing:2px;
  227. text-decoration:none;
  228. text-align:left;
  229. display:inline;
  230. font-family:{text:body font google fonts name};
  231. color:{color:sidebar links color};
  232. transition:ease-in-out .3s;
  233. }
  234.  
  235. .links a:hover{opacity:.5;transition:ease-in-out .3s;}
  236.  
  237. .pagination{
  238. text-align:center;
  239. margin-top:300px;
  240. background-color:{color:sidebar background};
  241. padding:15px;
  242. border-radius:5px;
  243. width:100px;
  244. {block:ifinfinitescroll}display:none;{/block:ifinfinitescroll}
  245. }
  246.  
  247. .pagination span{margin:10px;}
  248.  
  249. /*****************************************************************************
  250. POSTS
  251. MIDDLE, POSTS CONTAINER, POSTS, AUDIO POSTS , Q & A POSTS, VIDEO POSTS
  252. *****************************************************************************/
  253. .middle{
  254. width:1160px;
  255. {block:ifmulticolumn}width:1180px;{/block:ifmulticolumn}
  256. margin:0 auto;
  257. left:0;
  258. right:0;
  259. position:absolute;
  260. margin-top:100px;
  261. }
  262.  
  263. .container{
  264. width:600px;
  265. {block:ifmulticolumn}width:620px;{/block:ifmulticolumn}
  266. height:auto;
  267. margin-bottom:50px;
  268. {block:ifshowpostcontainerbackground}
  269. background-color:{color:post container background};
  270. {/block:ifshowpostcontainerbackground}
  271. float:right;
  272. }
  273.  
  274. .posts{
  275. width:540px;
  276. margin:15px;
  277. padding:15px;
  278. background-color:{color:post background};
  279. border-radius:5px;
  280. {block:ifmulticolumn}width:250px;float:left;{/block:ifmulticolumn}
  281. {block:permalinkpage}width:540px;{/block:permalinkpage}
  282. }
  283.  
  284. .audio{
  285. width:540px;
  286. height:275px;
  287. {block:ifmulticolumn}width:250px;height:115px;{/block:ifmulticolumn}
  288. }
  289.  
  290. .albumart{
  291. width:275px;
  292. height:275px;
  293. display:block;
  294. float:left;
  295. {block:ifmulticolumn}width:115px;height:115px;{/block:ifmulticolumn}
  296. }
  297.  
  298. .audiodetails{
  299. width:245px;
  300. max-height:250px;
  301. line-height:50px;
  302. padding:10px;
  303. font-size:15px;
  304. display:inline-block;
  305. float:right;
  306. {block:ifmulticolumn}width:115px;max-height:90px;font-size:9px;line-height:10px;{/block:ifmulticolumn}
  307. }
  308.  
  309. .audiodetails li{
  310. list-style:none;
  311. }
  312.  
  313. .audioplayer{
  314. display:block;
  315. padding:5px 5px;
  316. width:245px;
  317. height:30px;
  318. overflow:hidden;
  319. {block:ifmulticolumn}width:120px;{/block:ifmulticolumn}
  320. }
  321.  
  322. .spotify_audio_player {
  323. height: 80px !important;
  324. width:100%;
  325. max-width:540px;
  326. }
  327.  
  328. .video{overflow:hidden;}
  329.  
  330. .asker-avatar{
  331. display:inline-block;
  332. vertical-align:middle;
  333. line-height:20px;
  334. margin-right:5px;
  335. width:20px;
  336. height:20px;
  337. }
  338.  
  339. img.asker-avatar{
  340. float:none;
  341. }
  342.  
  343. .question{
  344. text-align:left;
  345. background-color:rgba(0,0,0,.1);
  346. padding:20px;
  347. }
  348. .answer{
  349. text-align:right;
  350. padding:20px;
  351. margin-top:10px;
  352. background-color:rgba(0,0,0,.05);
  353. }
  354.  
  355. /*****************************************************************************
  356. CAPTIONS & POST FOOTER
  357. CAPTIONS, POST FOOTER, TIME STAMP, LIKE & REBLOG, NOTES, TAGS, LIKE BUTTON
  358. *****************************************************************************/
  359. .caption{padding:5px;margin-top:5px;}
  360. .posts p{ margin: 5px 0px;}
  361.  
  362. /********************************
  363. UNNESTED CAPTIONS -DON'T TOUCH
  364. ********************************/
  365. .tumblr_parent {padding:5px 0px;}
  366. .tumblr_parent blockquote{margin-left:0px;padding-left:20px;}
  367. .tumblr_avatar,.tumblr_blog{display:inline-block;margin-bottom:10px;}
  368. .tumblr_avatar{border-radius:50%;width:20px;vertical-align:middle;margin:-2px 10px 0px 0px;}
  369. img.tumblr_avatar{float:none;}
  370.  
  371. .post_footer{
  372. text-align:center;
  373. font-size:12px;
  374. padding:5px 10px;
  375. margin-top:5px;
  376. line-height:12px;
  377. position:relative;
  378. height:12px;
  379. background-color:{color:background color};
  380. {block:permalinkpage}
  381. height:24px;
  382. line-height:auto;
  383. {/block:permalinkpage}
  384. }
  385.  
  386. .post_footer_like_reblog{
  387. float:right;
  388. display:inline-block;
  389. margin:0 auto;
  390. width:50px;
  391. text-align:right;
  392. }
  393.  
  394. .post_footer_like_reblog .like-b{
  395. position:relative;
  396. display:inline-block;
  397. height:1em!important;
  398. line-height:1em!important;
  399. }
  400.  
  401. .post_footer_like_reblog a{
  402. padding:0 1px;
  403. }
  404.  
  405. .post_footer_notes{
  406. float:left;
  407. width:90px;
  408. text-align:left;
  409. {block:permalinkpage}width:220px;{/block:permalinkpage}
  410. }
  411.  
  412. .tags{
  413. font-size:11px;
  414. padding:0px 3px;
  415. color:{color:body links};
  416. display:inline;
  417. }
  418.  
  419. .b{
  420. opacity:1;
  421. display:inline;
  422. overflow:visible;
  423. }
  424. .like-b {
  425. position:relative;
  426. display:inline-block;
  427. }
  428. .like-b .liked + svg {
  429. opacity:1;
  430. }
  431.  
  432. .like-b .like_button {
  433. position:relative;
  434. }
  435. .like-b .like_button iframe {
  436. position:absolute;
  437. top:0;
  438. left:0;
  439. bottom:0;
  440. right:0;
  441. z-index:9999;
  442. opacity:0.000001;
  443. }
  444.  
  445. .like-b .liked + .b {color:red;}
  446. /*****************************************************************************
  447. PERMALINK PAGE- POST NOTES & CREDIT
  448. *****************************************************************************/
  449. ol.notes {
  450. padding:0px;
  451. margin:25px 0px;
  452. list-style-type:none;
  453. height:auto;
  454. max-height:400px;
  455. overflow:auto;
  456. text-align:left;
  457. }
  458.  
  459. ol.notes li.note {padding:5px;}
  460.  
  461. ol.notes li.note img.avatar {
  462. vertical-align:-4px;
  463. margin-right:10px;
  464. width:16px;
  465. height:16px;
  466. float:left;
  467. border-radius:100%;
  468. }
  469.  
  470. img.avatar{float:none;}
  471. ol.notes li.note span.action {font-weight:normal;}
  472. ol.notes li.note .answer_content {font-weight:normal;}
  473.  
  474. #dcs svg {
  475. height: 48px;
  476. width: 48px;
  477. position: fixed;
  478. bottom: 20px;
  479. right: 10px;
  480. z-index: 999999999999999;
  481. fill:{color:credit symbol};
  482. }
  483.  
  484. /*****************************************************************************
  485. RESPONSIVE LAYOUT
  486. DON'T TOUCH!!!
  487. *****************************************************************************/
  488. @media only screen and (max-width:1279px){
  489. .middle{width:870px;{block:ifmulticolumn}width:870px;{/block:ifmulticolumn}}
  490. .container{width:310px;{block:ifmulticolumn}width:310px;{/block:ifmulticolumn}}
  491. .posts{width:250px;}
  492. .audio{width:250px;height:115px;}
  493. .albumart{width:115px;height:115px;}
  494. .audiodetails{width:115px;max-height:90px;font-size:9px;line-height:10px;}
  495. .audioplayer{width:120px;}
  496. }
  497.  
  498. @media only screen and (min-width:1600px) and (max-width:1899px){
  499. .middle{width:1160px;{block:ifmulticolumn}width:1490px;{/block:ifmulticolumn}}
  500. .container{width:600px;{block:ifmulticolumn}width:930px;{/block:ifmulticolumn}}
  501. body{font-size:15px;}
  502. .post_footer{font-size:13px;}
  503. .tags{font-size:13px;}
  504. }
  505.  
  506. @media only screen and (min-width:1900px) {
  507. .middle{width:1160px;{block:ifmulticolumn}width:1800px;{/block:ifmulticolumn}}
  508. .container{width:600px;{block:ifmulticolumn}width:1240px;{/block:ifmulticolumn}}
  509. body{font-size:15px;}
  510. .post_footer{font-size:13px;}
  511. .tags{font-size:13px;}
  512. }
  513. </style>
  514.  
  515. <body>
  516.  
  517. <div class="middle">
  518. <div class="sidebar">
  519.  
  520. <div class="sidebarimage-container" ontouchstart="this.classList.toggle('hover');">
  521. <div class="flipper">
  522. <div class="front">
  523. <!-- front content -->
  524. <img class="sidebarimage" src="{image:sidebar image}"/>
  525. </div>
  526. <div class="back">
  527. <!-- back content -->
  528. {block:ifshowavataronflip}
  529. <center><img class="sidebaravatar" src="{PortraitURL-128}"></center>{/block:ifshowavataronflip}
  530. <h1 class="title">{title}</h1>
  531. <p class="description"> {description}</p>
  532. </div>
  533. </div>
  534. </div>
  535.  
  536. <ul class="fa-ul">
  537. <li style="opacity:.3"class="links"><a href="/"><i class="{text:sidebar font awesome icon}"></i> Home</a></li>
  538. <li style="opacity:.45"class="links"><a href="{text:ask link}"><i class="{text:sidebar font awesome icon}" ></i> Ask</a></li>
  539. <li style="opacity:.6"class="links"><a href="/archive"><i class="{text:sidebar font awesome icon}"></i> Archive</a></li>
  540. {block:ifshowextralinks}
  541. <li style="opacity:.75"class="links"><a href="{text:link one url}"><i class="{text:sidebar font awesome icon}"></i> {text:link one}</a></li>
  542. <li style="opacity:.9"class="links"><a href="{text:link two url}"><i class="{text:sidebar font awesome icon}"></i> {text:link two}</a></li>
  543. <li style="opacity:1"class="links"><a href="{text:link three url}"><i class="{text:sidebar font awesome icon}"></i> {text:link three}</a></li>
  544. {/block:ifshowextralinks}
  545. </ul>
  546.  
  547. {block:Pagination}
  548. <div class="pagination">
  549. {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}
  550. </div>
  551. {/block:Pagination}
  552.  
  553. </div>
  554.  
  555.  
  556. <div class="container">
  557. {block:posts}
  558. <div class="posts">
  559.  
  560. <!-- {block:NoRebloggedFrom}
  561. {block:RebloggedFrom}{ReblogParentName}{/block:RebloggedFrom}
  562. {/block:NoRebloggedFrom} -->
  563.  
  564. {block:ContentSource}<!-- {SourceURL}
  565. {block:SourceLogo}<img src="{BlackLogoURL}"width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />{/block:SourceLogo}
  566. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  567. {/block:ContentSource}
  568. <!---------------------------------------------------------------------------
  569. TEXT POSTS
  570. ----------------------------------------------------------------------------->
  571. {block:text}
  572. {block:title}{title}{/block:title}
  573. <div class="caption">{Body}</div>
  574. {/block:text}
  575.  
  576. <!---------------------------------------------------------------------------
  577. Q & A POSTS
  578. ----------------------------------------------------------------------------->
  579. {block:Answer}
  580. <div class="question">
  581. <img class="asker-avatar" src="{AskerPortraitURL-24}"style="border-radius:100%;">{asker} asked: <br> {question} </div>
  582. <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>
  583. {block:rebloggedfrom}<div class="caption">{Replies}</div>{/block:rebloggedfrom}
  584. {/block:Answer}
  585.  
  586. <!---------------------------------------------------------------------------
  587. QUOTE POSTS
  588. ----------------------------------------------------------------------------->
  589. {block:Quote}
  590. <center><p>"{Quote}"</p> <br>
  591. {block:Source}<div class="source">- {Source}</div>{/block:Source} </center>
  592. {/block:Quote}
  593.  
  594. <!---------------------------------------------------------------------------
  595. LINK POSTS
  596. ----------------------------------------------------------------------------->
  597. {block:Link}
  598. <h1><a href="{URL}">{Name}</a></h1>
  599. {block:Description}{Description}{/block:Description}
  600. {/block:Link}
  601.  
  602. <!---------------------------------------------------------------------------
  603. CHAT POSTS
  604. ----------------------------------------------------------------------------->
  605. {block:Chat}
  606. {block:Title}<h1>{Title}</h1>{/block:Title}
  607. {block:Lines}
  608. {block:Label}<b>{Label}</b>{/block:Label}
  609. {Line}<br>
  610. {/block:Lines}
  611. {/block:Chat}
  612.  
  613. <!---------------------------------------------------------------------------
  614. PHOTO POSTS
  615. ----------------------------------------------------------------------------->
  616. {block:Photo}
  617. {LinkOpenTag}<img src="{PhotoURL-500}" {block:indexpage}{block:ifmulticolumn} width="250px" {/block:ifmulticolumn} {block:ifnotmulticolumn} width="540px" {/block:ifnotmulticolumn}{/block:indexpage} {block:permalinkpage} width="540px" {/block:permalinkpage} alt="{PhotoAlt}">{LinkCloseTag}
  618. {block:indexpage}{block:IfShowCaptions}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:IfShowCaptions}{/block:indexpage}
  619. {block:permalinkpage}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:permalinkpage}
  620. {/block:Photo}
  621.  
  622. <!---------------------------------------------------------------------------
  623. PHOTOSET POSTS
  624. ----------------------------------------------------------------------------->
  625. {block:Photoset}
  626. <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>
  627. {/block:Photos}</div>{block:indexpage}{block:IfShowCaptions}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:IfShowCaptions}{/block:indexpage}
  628. {block:permalinkpage}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:permalinkpage}
  629. {/block:Photoset}
  630.  
  631. <!---------------------------------------------------------------------------
  632. AUDIO POSTS
  633. ----------------------------------------------------------------------------->
  634. {block:Audio}
  635. <div class="audio">
  636. {block:AlbumArt}<img src="{AlbumArtURL}" class="albumart">{/block:AlbumArt}
  637. <div class="audioplayer">{block:AudioPlayer}{AudioPlayerBlack}{/block:AudioPlayer}</div>
  638. <div class="audiodetails">
  639. <li>{block:TrackName}<span class="fa fa-music" style="font-size:10px"></span> Title: {TrackName}{/block:TrackName}</li>
  640. <li>{block:Artist}<span class="fa fa-user" style="font-size:10px"></span> Artist: {Artist}{/block:Artist} </li>
  641. <li>{block:Album}<span class="fa fa-book" style="font-size:10px"></span> Album: {Album}{/block:Album} </li>
  642. </div>
  643. </div>
  644. {block:indexpage}{block:IfShowCaptions}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:IfShowCaptions}{/block:indexpage}
  645. {block:permalinkpage}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:permalinkpage}
  646. {/block:Audio}
  647.  
  648. <!---------------------------------------------------------------------------
  649. VIDEO POSTS
  650. ----------------------------------------------------------------------------->
  651. {block:Video}
  652. <div class="video">{block:indexpage}{block:ifmulticolumn}{Video-250}{/block:ifmulticolumn} {block:ifnotmulticolumn}{Video-500}{/block:ifnotmulticolumn} {/block:indexpage}{block:permalinkpage}{video-500}{/block:permalinkpage} </div>
  653. {block:indexpage}{block:IfShowCaptions}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:IfShowCaptions}{/block:indexpage}
  654. {block:permalinkpage}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:permalinkpage}
  655. {/block:Video}
  656.  
  657. <!---------------------------------------------------------------------------
  658. PERMALINK PAGE
  659. ----------------------------------------------------------------------------->
  660. {block:indexpage}
  661. <div class="post_footer">
  662. <a class="post_footer_notes" href="{permalink}"> {NoteCountWithLabel}</a>
  663. <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>
  664. </div>
  665.  
  666. {block:ifshowtagsonindexpage}{block:HasTags}<br> {block:Tags} <a class="tags" href="{tagurl}"> #{Tag}</a>{/block:Tags} {/block:HasTags} {/block:ifshowtagsonindexpage} {/block:indexpage}
  667. {block:permalinkpage}
  668. {block:HasTags}<br> {block:Tags} <a class="tags" href="{tagurl}"> #{Tag}</a>{/block:Tags} {/block:HasTags}
  669. {block:date}
  670. <div class="post_footer"> Posted on {Month} {DayOfMonth}{DayOfMonthSuffix} {Year} with {notecountwithlabel}
  671. {block:RebloggedFrom}<br>(Via <a href="{ReblogParentURL}">{ReblogParentName}</a>, Source <a href="{ReblogRootURL}">{ReblogRootName}</a>){/block:RebloggedFrom}
  672. </div>
  673. {/block:date}{/block:permalinkpage}
  674.  
  675. {block:PostNotes}{PostNotes}{/block:PostNotes}
  676. </div>
  677. {/block:posts}
  678. </div>
  679. </div>
  680.  
  681. <div id="credit">
  682. <a title="theme by drxgonfly" href="https://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></div></a>
  683. </div>
  684.  
  685. <!----------------------------------------------------------------------------
  686. SCRIPTS
  687. ----------------------------------------------------------------------------->
  688. {block:ifsnoweffect}
  689. <script type="text/javascript">
  690. snowStorm.snowColor = '#fff'; //
  691. snowStorm.flakesMaxActive = 50;
  692. </script>
  693. {/block:ifsnoweffect}
  694.  
  695. <script>
  696. $(function(){
  697. $('.photo-slideshow').pxuPhotoset({
  698. lightbox: true,
  699. rounded: false,
  700. gutter: '1px',
  701. photoset: '.photo-slideshow',
  702. photoWrap: '.photo-data',
  703. photo: '.pxu-photo'
  704. });
  705. var container = $('.container');
  706.  
  707. container.imagesLoaded(function(){
  708. container.masonry({
  709. itemSelector : '.posts'
  710. });
  711. });
  712.  
  713. {block:indexpage}
  714. {block:ifinfinitescroll}
  715. container.infinitescroll({
  716. navSelector : 'div.pagination',
  717. nextSelector : 'div.pagination a#next',
  718. itemSelector : '.posts',
  719. bufferPx : 2000,
  720. },
  721. function( newElements ) {
  722.  
  723. var $newElems = $( newElements ).css({ opacity: 0 });
  724.  
  725. $newElems.imagesLoaded(function(){
  726. $newElems.animate({ opacity: 1 });
  727. container.masonry( 'appended', $newElems, true );
  728. });
  729.  
  730.  
  731. var $newElemsIDs = $newElems.map(function(){
  732. return this.id;
  733. }).get();
  734. Tumblr.LikeButton.get_status_by_post_ids($newElemsIDs);
  735.  
  736.  
  737.  
  738. $newElems.unnest({
  739. yourCaption: ".caption",
  740. wrapName: ".tumblr_parent",
  741. newCaptionUsername: true,
  742. originalPostCaptionUsername: false,
  743. tumblrAvatars: true,
  744. tumblrAvatarClass: ".tumblr_avatar",
  745. usernameColon: false
  746. });
  747.  
  748. $newElems.find('.photo-slideshow').pxuPhotoset({
  749. lightbox: true,
  750. rounded: false,
  751. gutter: '1px',
  752. photoset: '.photo-slideshow',
  753. photoWrap: '.photo-data',
  754. photo: '.pxu-photo'
  755. });
  756.  
  757. resizeVideos();
  758. }
  759. );
  760. {/block:ifinfinitescroll}
  761. {/block:indexpage}
  762. });
  763. </script>
  764.  
  765.  
  766.  
  767. <script> // UNNESTED CAPTIONS
  768. $(function(){ $('.posts').unnest({
  769. yourCaption: ".caption",
  770. wrapName: ".tumblr_parent",
  771. newCaptionUsername: true,
  772. originalPostCaptionUsername: false,
  773. tumblrAvatars: true,
  774. tumblrAvatarClass: ".tumblr_avatar",
  775. usernameColon: false
  776. }); }); </script>
  777.  
  778. <script>
  779. (function($){ // TOOLTIPS
  780. $(document).ready(function(){
  781. $("a[title]").style_my_tooltips({
  782. tip_follows_cursor:true,
  783. tip_delay_time:90,
  784. tip_fade_speed:600,
  785. attribute:"title"
  786. });
  787. });
  788. })(jQuery);
  789.  
  790. </script>
  791.  
  792.  
  793. </body>
  794. </html>
Add Comment
Please, Sign In to add comment