drxgonfly

Theme 03

May 29th, 2017
785
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.10 KB | None | 0 0
  1. <html>
  2. <!-------------
  3. THEME 03 by Drxgonfly
  4. (Last updated June 24 2017)
  5.  
  6. Everything you'll need to edit has the option do to so on the customization page, you shouldn't need to edit anything in here, though I've added notes on what each thing does if you're feeling experimental. If you have any questions/comments send them here: https://drxgonfly.tumblr.com
  7.  
  8. Credits:
  9.  
  10. • Like/Reblog buttons: https://shythemes.tumblr.com/post/154249052918/text-like-and-reblog-buttons
  11. • font awesome icons- https://fontawesome.io/icons/
  12. • google fonts- https://fonts.google.com/
  13. • dragonfly icon- https://te5seract.tumblr.com
  14. • audio post styling- https://lmthemeslp-tut.tumblr.com/audio
  15. • Scripts from Adorable Themes Multicolumn Base Code
  16.  
  17. -------------->
  18. <head>
  19. <!--FONTS-->
  20. <link href="https://fonts.googleapis.com/css?family=Clicker+Script|Give+You+Glory|Julius+Sans+One|Lato|Open+Sans|Oswald|Pompiere|Raleway|Roboto|Rochester|Sacramento|Satisfy|Stalemate" rel="stylesheet">
  21.  
  22. <link href="https://file.myfontastic.com/qDbcTszXoEeyJ6PzE2deHY/icons.css" rel="stylesheet">
  23.  
  24. <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
  25.  
  26.  
  27. <meta name="text:sidebar image" content="https://68.media.tumblr.com/9b6898da1e47c0409f73bc0b529c06d0/tumblr_obiezf8DX21rd8524o2_1280.jpg"/>
  28. <meta name="select:title font" content="Satisfy" />
  29. <meta name="select:title font" content="Clicker Script" />
  30. <meta name="select:title font" content="Sacramento" />
  31. <meta name="select:title font" content="Stalemate" />
  32. <meta name="select:title font" content="Pompiere" />
  33. <meta name="select:title font" content="Rochester" />
  34. <meta name="select:title font" content="Julius Sans One"/>
  35. <meta name="select:title font" content="Give You Glory"/>
  36. <meta name="select:title font" content="Open Sans"/>
  37. <meta name="text:title font size" content="60px" />
  38. <meta name="color:sidebar title and links" content="#000"/>
  39.  
  40. <meta name="select: body font" content="Arial" />
  41. <meta name="select: body font" content="Calibri" />
  42. <meta name="select: body font" content="Lato" />
  43. <meta name="select: body font" content="Open Sans" />
  44. <meta name="select: body font" content="Oswald" />
  45. <meta name="select: body font" content="Raleway" />
  46. <meta name="select: body font" content="Roboto" />
  47. <meta name="select: body font" content="Verdana" />
  48. <meta name="color:body text" content="#000"/>
  49. <meta name="text:body font size" content="14px" />
  50.  
  51. <meta name="select: sidebar font" content="Arial" />
  52. <meta name="select: sidebar font" content="Calibri" />
  53. <meta name="select: sidebar font" content="Give You Glory"/>
  54. <meta name="select: sidebar font" content="Lato" />
  55. <meta name="select: sidebar font" content="Open Sans" />
  56. <meta name="select: sidebar font" content="Oswald" />
  57. <meta name="select: sidebar font" content="Raleway" />
  58. <meta name="select: sidebar font" content="Roboto" />
  59. <meta name="select: sidebar font" content="Verdana" />
  60.  
  61. <meta name="color:background color" content="#ff8faf"/>
  62. <meta name="color:sidebar background" content="#000"/>
  63. <meta name="color:links" content="#ff8faf"/>
  64. <meta name="color:permalinks" content="#888"/>
  65. <meta name="color:like and reblog buttons" content="#aaa"/>
  66. <meta name="color:hover effects permalink color" content="#fff"/>
  67. <meta name="color:post background" content="#fff"/>
  68. <meta name="color:description" content="#dad7d8"/>
  69. <meta name="if:show captions" content="0"/>
  70. <meta name="if:Show Post Controls" content="0"/>
  71. <meta name="if:Show Hover Effects" content="1"/>
  72. <meta name="if:Light Hover Effects" content="0"/>
  73. <meta name="if:Dark Hover Effects" content="1"/>
  74. <meta name="if:show description" content="1"/>
  75. <meta name="if:show credit" content="1"/>
  76. <meta name="color:credit symbol" content="#ff8faf"/>
  77.  
  78. <meta name="text:ask link" content="/ask"/>
  79. <meta name="if:show extra links" content="0"/>
  80. <meta name="if:link one" content="0"/>
  81. <meta name="text:link one url" content="link one url" />
  82. <meta name="text:link one" content="link one" />
  83. <meta name="if:link two" content="0"/>
  84. <meta name="text:link two url" content="link two url" />
  85. <meta name="text:link two" content="link two" />
  86. <meta name="if:link three" content="0"/>
  87. <meta name="text:link three url" content="link three url" />
  88. <meta name="text:link three" content="link three" />
  89. <meta name="if:link four" content="0"/>
  90. <meta name="text:link four url" content="link three url" />
  91. <meta name="text:link four" content="link four" />
  92.  
  93. <title>{Title}{block:PostSummary}, {PostSummary}{/block:PostSummary}</title>
  94. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  95. <link rel="shortcut icon" href="{Favicon}"/>
  96.  
  97. </head>
  98.  
  99.  
  100. <style>
  101.  
  102.  
  103.  
  104. *{margin:0 auto;}
  105.  
  106. a{
  107. text-decoration:none;
  108. color:{color:links};
  109. font-family:{select: body font};
  110. }
  111.  
  112. body{
  113. background-color:{color:background color};
  114. font-family:{select: body font};
  115. color:{color:body text};
  116. text-align:center;
  117. }
  118.  
  119. /* ---------------------SIDEBAR-------------------- */
  120. .sidebar{
  121. width:300px;
  122. height:100%;
  123. background-color:{color:sidebar background};
  124. left:0;
  125. margin:0;
  126. position:fixed;
  127. }
  128.  
  129. .sidebarcontent{
  130. top:50%;
  131. left:50%;
  132. transform:translate(-50%,-50%);
  133. position:relative;
  134. }
  135.  
  136. .sidebar img{
  137. width:150px;
  138. height:150px;
  139. border-radius:100%;
  140. }
  141.  
  142. .title{
  143. color:{color:sidebar title and links};
  144. font-size:{text:title font size};
  145. font-family:{select:title font};
  146. margin-top:10px;
  147. }
  148.  
  149. .description{
  150. color:{color:Description};
  151. font-size:{text:body font size};
  152. font-family:{select: sidebar font};
  153. padding:15px;
  154. }
  155.  
  156. .sidebar ul{
  157. display:block;
  158. margin-top:20px;
  159. padding:0;
  160. list-style:none;
  161. {block:ifshowextralinks}
  162. display:inline;
  163. {/block:ifshowextralinks}
  164. }
  165.  
  166. .sidebar li{
  167. padding:10px;
  168. display:block;
  169. {block:ifshowextralinks}
  170. display:inline-block;
  171. text-align:center;
  172. width:110px;
  173. {/block:ifshowextralinks}
  174. }
  175.  
  176. .sidebar li a{
  177. color:{color:sidebar title and links};
  178. font-size:20px;
  179. font-family:{select: sidebar font};
  180. transition:ease-in-out.3s;
  181. }
  182.  
  183. .sidebar li a:hover{
  184. letter-spacing:1px;
  185. transition:ease-in-out.3s;
  186. }
  187.  
  188. .underline-middle{
  189. position:relative;
  190. padding:3px;
  191. color:#7a7a7a;
  192. display:block;
  193. text-decoration:none;
  194. }
  195.  
  196. .underline-middle::before{
  197. content:'';
  198. position:absolute;
  199. height:3px;
  200. width:0;
  201. background-color:{color:sidebar title and links};
  202. left:0;
  203. right:0;
  204. margin:0 auto;
  205. bottom:0;
  206. transition:.5s;
  207. }
  208.  
  209. .underline-middle:hover:before{
  210. width:100%;
  211. }
  212.  
  213. .pagination {
  214. display: none;
  215. }
  216. /* ---------------------CONTAINER-------------------- */
  217. .container{
  218. width:65%;
  219. height:auto;
  220. top:25px;
  221. margin-left:400px;
  222. }
  223.  
  224. .posts{
  225. width:250px;
  226. height:auto;
  227. background-color:{color:post background};
  228. padding:10px;
  229. margin:10px;
  230. font-size:{text:body font size};
  231. border-radius:1%;
  232. text-align:left;
  233. {block:PermalinkPage}
  234. width:500px;
  235. margin:0 auto;
  236. left:0;
  237. right:0;
  238. {/block:PermalinkPage}
  239. }
  240.  
  241. /*----------------POST STYLING--------------*/
  242.  
  243. .posts blockquote {
  244. border-left:1px solid {color:body text};
  245. padding-left:5px;
  246. }
  247.  
  248. .posts img, .posts li, .posts blockquote{max-width:100%;}
  249.  
  250. .convo{
  251. padding-left:0px;
  252. list-style:none;
  253. }
  254.  
  255. .asker{
  256. display:inline-block;
  257. vertical-align:middle;
  258. }
  259.  
  260. /* AUDIO */
  261. .cover{
  262. position:relative;
  263. width:250px;
  264. {block:PermalinkPage}
  265. width: 500px;
  266. {/block:PermalinkPage}
  267. z-index: 1;
  268. }
  269.  
  270. .playbutton {
  271. width: 20px;
  272. height: 30px;
  273. overflow: hidden;
  274. position: relative;
  275. z-index: 1000;
  276. margin: 15px 24px 13px 16px;
  277. }
  278.  
  279. .playbox{
  280. background-color: #fff;
  281. position: absolute;
  282. z-index: 1000;
  283. margin-top: 100px;
  284. margin-left: 95px;
  285. {block:permalinkpage}
  286. margin-top:230px;
  287. margin-left:220px;
  288. {/block:permalinkpage}
  289. border-radius: 100px;
  290. opacity:0.5;
  291. }
  292.  
  293. /* ---------------------PERMALINKS------------------------ */
  294. .permalinks, .tags{{block:indexpage}float:left;{/block:indexpage}margin-top:1px;}
  295.  
  296. .permalinks a, .tags a{
  297. font-size:{text:body font size};
  298. color:{color:permalinks};
  299. transition:ease-in-out.5s;
  300. }
  301.  
  302. .permalinks a:hover, .tags a:hover{
  303. transition:ease-in-out.5s;
  304. opacity:.7;
  305. }
  306.  
  307. .viasource{font-size:{text:body font size};}
  308.  
  309. .tags i{font-size:{text:body font size};}
  310.  
  311. ol.notes {
  312. padding: 0px;
  313. margin: 25px 0px;
  314. list-style-type: none;
  315. height:auto;
  316. max-height:400px;
  317. overflow:auto;
  318. }
  319.  
  320. ol.notes li.note {padding: 5px;}
  321.  
  322. ol.notes li.note img.avatar {
  323. vertical-align: -4px;
  324. margin-right: 10px;
  325. width: 16px;
  326. height: 16px;
  327. float:left;
  328. border-radius:100%;
  329. }
  330.  
  331. ol.notes li.note span.action {font-weight: normal;}
  332.  
  333. ol.notes li.note .answer_content {font-weight: normal;}
  334.  
  335. #credit{position:fixed;bottom:0px;right:20px;height:50px;width:100%;}
  336. #credit i{font-size:30px;float:right;color:{color:credit symbol};}
  337.  
  338. /* LIKE REBLOG BUTTONS */
  339. .likereblogbuttons{
  340. float:right;
  341. }
  342.  
  343. .likereblogbuttons a{
  344. background-color:{color:posts background};color:{color:like and reblog buttons};
  345. }
  346.  
  347. .like-b {
  348. position:relative;
  349. display:inline-block;
  350. height:1em;
  351. line-height:1em;
  352. overflow:hidden;
  353. margin-top:2.5px;
  354. margin-bottom:-2px;
  355. margin-left:2px;
  356. }
  357.  
  358. .like-b .like_button iframe {
  359. position:absolute;
  360. margin:0 auto;
  361. z-index:2;
  362. opacity:0;
  363. }
  364.  
  365. .like-b .liked + .b {color:red;}
  366.  
  367. .perma i{font-size:12px;}
  368.  
  369. .hovercont:hover .rebloglike{
  370. opacity:1;
  371. transition:ease-in-out .3s;
  372. }
  373.  
  374. .hovercont{
  375. line-height:30px;
  376. }
  377.  
  378. .hovercont .permalinks{
  379. margin-top:0;
  380. }
  381.  
  382. .rebloglike{
  383. opacity:0;
  384. position:absolute;
  385. bottom:0;
  386. left:0;
  387. right:0;
  388. width:250px;
  389. height:30px;
  390. margin-bottom:18px;
  391. {block:iflighthovereffects}
  392. background-color:rgba(225, 225, 225, 0.8);
  393. {/block:iflighthovereffects}
  394. {block:ifdarkhovereffects}
  395. background-color:rgba(0, 0, 0, 0.8);
  396. {/block:ifdarkhovereffects}
  397. transition:ease-in-out .3s;
  398. }
  399.  
  400. /*SCROLL BAR STUFF */
  401. ::-webkit-scrollbar{width:5px;height:5px;background-color:{color:links};}
  402. ::-webkit-scrollbar-track{border:5px solid {color:background color};background-color:{color:background color};}
  403. ::-webkit-scrollbar-thumb{border:1px solid {color:links};background-color:{color:links};}
  404.  
  405. </style>
  406. <body>
  407.  
  408. <div class="sidebar">
  409. <div class="sidebarcontent">
  410. <center><img src="{text:Sidebar Image}"></center>
  411. <div class="title">{title}</div>
  412. {block:ifshowdescription}<div class="description">{description}</div>{/block:ifshowdescription}
  413. <ul>
  414. <li><a class="underline-middle" href="/"> Home </a> </li>
  415. <li><a class="underline-middle" href="{text:ask link}"> Ask </a> </li>
  416. {block:iflinkone}<li><a class="underline-middle" href="{text:link one url}">{text:link one}</a></li>{/block:iflinkone}
  417. {block:ifshowextralinks}
  418. {block:iflinktwo}<li><a class="underline-middle" href="{text:link two url}">{text:link two}</a></li>{/block:iflinktwo}
  419. {block:iflinkthree}<li><a class="underline-middle" href="{text:link three url}">{text:link three}</a></li>{/block:iflinkthree}
  420. {block:iflinkfour}<li><a class="underline-middle" href="{text:link four url}">{text:link four}</a></li>{/block:iflinkfour}
  421. {/block:ifshowextralinks}
  422. {block:SubmissionsEnabled}<a class="underline-middle" href="/submit">Submit</a>{/block:SubmissionsEnabled}
  423. <li><a class="underline-middle" href="/archive"> Archive </a> </li>
  424. {block:ifnotshowcredit}<li><a class="underline-middle" href="https://drxgonfly.tumblr.com/tagged/themes">Theme</a>{/block:ifnotshowcredit}
  425.  
  426. </ul>
  427. <div class="pagination">
  428. {block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">previous</a> &middot;{/block:PreviousPage} {block:NextPage}<a href="{NextPage}" id="next">next</a>{/block:NextPage}{/block:Pagination}
  429. </div>
  430.  
  431. </div>
  432. </div>
  433.  
  434. <div class="container">
  435.  
  436. <!-----------------POSTS----------------------->
  437. {block:Posts}
  438. <div class="posts" id="{postid}">
  439.  
  440. <!------------------TEXT----------------------->
  441. {block:Text}
  442. {block:Title}<h2>{Title}</h2>{/block:Title}
  443. {Body}
  444. {block:date}
  445. {block:IndexPage}
  446.  
  447. <div class="permalinks"><a href="{Permalink}">{TimeAgo}{block:NoteCount} // {NoteCountWithLabel}{/block:NoteCount}</a></div>
  448.  
  449. <div class="likereblogbuttons">
  450. <a href="{ReblogURL}"><i class="fa fa-retweet"></i></a> <a class="like-b" href="#">{LikeButton}<span class="b">❤ </span></a></div>
  451.  
  452. {/block:IndexPage}
  453. {/block:date}
  454. {/block:Text}
  455.  
  456. <!------------------Q&A----------------------->
  457. {block:Answer}
  458. <div class="asker"><img src="{AskerPortraitURL-16}"style="border-radius:100%;"></div> {Asker} asked: {Question} <br> {Answer}
  459. {block:date}
  460. {block:IndexPage}
  461. <div class="permalinks"><a href="{Permalink}">{TimeAgo}{block:NoteCount} // {NoteCountWithLabel}{/block:NoteCount}</a></div>
  462.  
  463. <div class="likereblogbuttons">
  464. <a href="{ReblogURL}"><i class="fa fa-retweet"></i></a> <a class="like-b" href="#">{LikeButton}<span class="b">❤ </span></a></div>
  465. {/block:IndexPage}
  466. {/block:date}
  467. {/block:Answer}
  468.  
  469. <!------------------QUOTES----------------------->
  470. {block:Quote}
  471. "{Quote}"
  472. {block:Source}<br> ~{Source}{/block:Source}
  473. {block:date}
  474. {block:IndexPage}
  475. <div class="permalinks"><a href="{Permalink}">{TimeAgo}{block:NoteCount} // {NoteCountWithLabel}{/block:NoteCount}</a></div>
  476.  
  477. <div class="likereblogbuttons">
  478. <a href="{ReblogURL}"><i class="fa fa-retweet"></i></a> <a class="like-b" href="#">{LikeButton}<span class="b">❤ </span></a></div>
  479. {/block:IndexPage}
  480. {/block:date}
  481. {/block:Quote}
  482.  
  483. <!------------------LINKS----------------------->
  484. {block:Link}
  485. <a href="{URL}">{Name}</a> <br>
  486. {block:Description}{Description}{/block:Description}
  487. {block:date}
  488. {block:IndexPage}
  489. <div class="permalinks"><a href="{Permalink}">{TimeAgo}{block:NoteCount} // {NoteCountWithLabel}{/block:NoteCount}</a></div>
  490.  
  491. <div class="likereblogbuttons">
  492. <a href="{ReblogURL}"><i class="fa fa-retweet"></i></a> <a class="like-b" href="#">{LikeButton}<span class="b">❤ </span></a></div>
  493. {/block:IndexPage}
  494. {/block:date}
  495. {/block:Link}
  496.  
  497. <!------------------CHATS----------------------->
  498. {block:Chat}
  499. {block:Title}{Title}<br>{/block:Title}
  500. <ul class="convo">{block:Lines}{block:Label}<b>{Label}</b></span>{/block:Label}
  501. {Line}<br>{/block:Lines}</ul>
  502. {block:date}
  503. {block:IndexPage}
  504. <div class="permalinks"><a href="{Permalink}">{TimeAgo}{block:NoteCount} // {NoteCountWithLabel}{/block:NoteCount}</a></div>
  505.  
  506. <div class="likereblogbuttons">
  507. <a href="{ReblogURL}"><i class="fa fa-retweet"></i></a> <a class="like-b" href="#">{LikeButton}<span class="b">❤ </span></a></div>
  508. {/block:IndexPage}
  509. {/block:date}
  510. {/block:Chat}
  511.  
  512. <!------------------PHOTOS----------------------->
  513. {block:Photo}
  514. {block:IndexPage}
  515. <div class="hovercont">
  516. {block:IfShowHoverEffects}
  517. <div class="rebloglike">
  518. <div class="permalinks" style="margin-left:5px;"><a style="color:{color:hover effects permalink color};"><a href="{Permalink}">{TimeAgo}{block:NoteCount} // {NoteCountWithLabel}{/block:NoteCount}</a></div>
  519.  
  520. <div class="likereblogbuttons" style="margin-right:3px;" >
  521. <a href="{ReblogURL}"><i class="fa fa-retweet"></i></a> <a class="like-b" href="#">{LikeButton}<span class="b">❤ </span></a></div>
  522.  
  523. </div>
  524. {/block:IfShowHoverEffects}
  525. {LinkOpenTag}<img src="{PhotoURL-250}" alt="{PhotoAlt}" width="250px">{LinkCloseTag}{block:IfShowCaptions}{block:Caption}{Caption}{/block:Caption}{/block:IfShowCaptions}
  526. </div>
  527.  
  528. {block:ifShowPostControls}
  529. <div class="permalinks"><a href="{Permalink}">{TimeAgo}{block:NoteCount} // {NoteCountWithLabel}{/block:NoteCount}</a></div>
  530.  
  531. <div class="likereblogbuttons">
  532. <a href="{ReblogURL}"><i class="fa fa-retweet"></i></a> <a class="like-b" href="#">{LikeButton}<span class="b">❤ </span></a></div>
  533. {/block:ifShowPostControls}
  534. {/block:IndexPage}
  535.  
  536. {block:PermalinkPage}
  537. <img src="{PhotoUrl-500}" width="500">
  538. {block:Caption}{Caption}{/block:Caption}
  539. {/block:PermalinkPage}
  540.  
  541. {/block:Photo}
  542.  
  543. <!------------------PHOTOSETS----------------------->
  544. {block:Photoset}
  545. {block:IndexPage}{Photoset-250}{block:Caption}{Caption}{/block:Caption}
  546. {block:date}
  547. <div class="permalinks"><a href="{Permalink}">{TimeAgo}{block:NoteCount} // {NoteCountWithLabel}{/block:NoteCount}</a></div>
  548.  
  549. <div class="likereblogbuttons">
  550. <a href="{ReblogURL}"><i class="fa fa-retweet"></i></a> <a class="like-b" href="#">{LikeButton}<span class="b">❤ </span></a></div>
  551. {/block:date}
  552. {/block:IndexPage}
  553. {block:PermalinkPage}{Photoset-500}
  554. {block:Caption}{Caption}{/block:Caption}
  555. {/block:PermalinkPage}
  556.  
  557. {/block:Photoset}
  558.  
  559. <!------------------VIDEOS----------------------->
  560. {block:Video}
  561. {block:indexpage}{Video-250}{block:Caption}{Caption}{/block:Caption}
  562. {block:date}
  563. <div class="permalinks"><a href="{Permalink}">{TimeAgo}{block:NoteCount} // {NoteCountWithLabel}{/block:NoteCount}</a></div>
  564.  
  565. <div class="likereblogbuttons">
  566. <a href="{ReblogURL}"><i class="fa fa-retweet"></i></a> <a class="like-b" href="#">{LikeButton}<span class="b">❤ </span></a></div> {/block:date}
  567. {/block:indexpage}
  568. {block:permalinkpage}{video-500}{block:Caption}{Caption}{/block:Caption}{/block:permalinkpage}
  569. {/block:Video}
  570.  
  571. <!------------------AUDIO----------------------->
  572. {block:Audio}
  573. <div class="playbox"><div class="playbutton">{block:AudioPlayer}{AudioPlayerBlack}{/block:AudioPlayer}</div></div>
  574. {block:AlbumArt}
  575. <img src="{AlbumArtURL}" class="cover">
  576. {/block:AlbumArt}
  577. {block:Caption}{Caption}{/block:Caption}
  578. {block:indexpage}
  579. {block:date}
  580. <div class="permalinks"><a href="{Permalink}">{TimeAgo}{block:NoteCount} // {NoteCountWithLabel}{/block:NoteCount}</a></div>
  581.  
  582. <div class="likereblogbuttons">
  583. <a href="{ReblogURL}"><i class="fa fa-retweet"></i></a> <a class="like-b" href="#">{LikeButton}<span class="b">❤ </span></a></div>
  584. {/block:date}
  585. {/block:indexpage}
  586. {/block:Audio}
  587.  
  588. <!------------------PERMALINKS----------------------->
  589. {block:IfNotShowCaptions}{block:Photos}{block:date}
  590. {block:IndexPage}<div class="permalinks"><a href="{Permalink}">{TimeAgo}{block:NoteCount} // {NoteCountWithLabel}{/block:NoteCount}</a> {/block:IndexPage}</div> {/block:date}{/block:Photos}{/block:IfNotShowCaptions}
  591.  
  592. {block:permalinkpage}{block:date}<br> <center>
  593. <a href="{Permalink}">{TimeAgo} on {ShortMonth} {DayofMonth}{DayofMonthSuffix} {Year}</a><a href="{Permalink}">{block:NoteCount} with {NoteCountWithLabel}{/block:NoteCount}</a> <br>
  594.  
  595. <div class="viasource">(Via <a href="{ReblogParentURL}">{ReblogParentName}</a>, Source {block:RebloggedFrom}<a href="{ReblogRootURL}">{ReblogRootName}</a> {/block:RebloggedFrom})</div>
  596. <div class="tags">{block:HasTags}<br> <i class="fa fa-bookmark-o"> </i> {block:Tags}<a href="{TagUrl}"> {Tag}, </a>{/block:Tags}{/block:HasTags}</div>
  597. </center>
  598. {/block:date}
  599. {/block:PermalinkPage}
  600. {block:PostNotes}{PostNotes}{/block:PostNotes}
  601. </div>
  602. {/block:Posts}
  603.  
  604. {block:ifshowcredit}
  605. <div id="credit">
  606. <a href="https://drxgonfly.tumblr.com"><i class="drx-drxgonfly-left" aria-hidden="true"></i></a>
  607. </div> {/block:ifshowcredit}
  608.  
  609. </body>
  610.  
  611. <!--SCRIPTS, PROBABLY SHOULDN'T TOUCH THIS EITHER!-->
  612. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
  613. <script src="https://static.tumblr.com/anzluor/ycPn74dop/jquery.infinitescroll.min.js"></script> <!--- infinite scroll script -->
  614. <script src="https://static.tumblr.com/anzluor/Np0nv9fs0/masonry.pkgd.min.js"></script> <!--- masonry script (makes it into a nested grid layout) -->
  615. <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.1/SmoothScroll.min.js"></script>
  616.  
  617. <script>
  618. $(function(){
  619. var container = $('.container');
  620.  
  621. container.imagesLoaded(function(){
  622. container.masonry({
  623. itemSelector : '.posts'
  624. });
  625. });
  626.  
  627. container.infinitescroll({
  628. navSelector : 'div.pagination',
  629. nextSelector : 'div.pagination a#next',
  630. itemSelector : '.posts',
  631. bufferPx : 2000,
  632. },
  633. function( newElements ) {
  634. var $newElems = $( newElements ).css({ opacity: 0 });
  635. $newElems.imagesLoaded(function(){
  636. $newElems.animate({ opacity: 1 });
  637. container.masonry( 'appended', $newElems, true );
  638. });
  639. }
  640. );
  641. });
  642. </script>
  643. </html>
Advertisement
Add Comment
Please, Sign In to add comment