Advertisement
yLii

Infinite Isotope 117

Jan 24th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.66 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>{Title}</title>
  5.  
  6. <!--jquery-->
  7. <script src="http://static.tumblr.com/iuvoef7/QBGoka58b/jquery-3.1.1.min.js"></script>
  8. <!--don't understand why this script doesn't work -->
  9. <script src="http://static.tumblr.com/iuvoef7/hshmx93xt/jquery.isotope.min.js"></script>
  10. <!-- for some reason this one works -->
  11. <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.isotope/2.2.2/isotope.pkgd.min.js"></script>
  12. <script src="https://raw.githubusercontent.com/metafizzy/isotope-fit-columns/master/fit-columns.js"></script>
  13. <!--horizontal horiz-->
  14. <script src="https://raw.githubusercontent.com/metafizzy/isotope-horizontal/master/horizontal.js"></script>
  15. <!--infinite scroll -->
  16. <script src="http://static.tumblr.com/iuvoef7/tIEmx9449/jquery.infinitescroll.min.js"></script>
  17. <!--smooth scrolling-->
  18. <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.6/SmoothScroll.min.js"></script>
  19. <!-- images Loaded -->
  20. <script src="https://npmcdn.com/imagesloaded@4.1/imagesloaded.pkgd.min.js"></script>
  21. <!-- font awesome -->
  22. <script src="https://use.fontawesome.com/a3cfd1d70a.js"></script>
  23.  
  24.  
  25.  
  26. <script>
  27. //main function, called isotope
  28.  
  29. var isotope = $(function(){
  30. var $container = $('#content');
  31. var $boxes = $('.box').css('opacity','0');
  32. $container.imagesLoaded(function(){
  33. $boxes.fadeIn();
  34. $container.isotope({
  35. itemSelector : '.box',
  36. layoutMode : {block:IfNotHorizontal}'masonry'{/block:IfNotHorizontal} {block:IfHorizontal}'horiz'{/block:IfHorizontal},
  37. masonry: {
  38. gutter: {text:Gutter Width}
  39. }
  40. });
  41. setTimeout(function(){
  42. $boxes.css('opacity','{select:Fade Opacity}');
  43. }, 1000);
  44. });
  45. $boxes.mouseover(function(){$(this).css('opacity','1')});
  46. $boxes.mouseout(function(){$(this).css('opacity','{select:Fade Opacity}')});
  47.  
  48. //infinite scroll and callback
  49. $container.infinitescroll({
  50. navSelector : '#page_nav',
  51. nextSelector : '#page_nav a',
  52. itemSelector : '.box',
  53. loading: {
  54. msgText: "<em></em>",
  55. finishedMsg: 'You have reached the end of the internet.',
  56. img: 'http://i.imgur.com/qkKy8.gif'
  57. }
  58. },
  59. // call Isotope as a callback
  60. function ( newElements ) {
  61. var $newElems = jQuery( newElements ).hide(); // hide to begin with
  62. $( newElements ).find('.photo-slideshow').pxuPhotoset({
  63. lightbox: true,
  64. rounded: false,
  65. gutter: ' {text:Photoset Gutter Width}px',
  66. borderRadius: '0px',
  67. highRes : true,
  68. captions : true,
  69. photoset: '.photo-slideshow',
  70. photoWrap: '.photo-data',
  71. photo: '.pxu-photo'
  72. });
  73. // ensure that images load before adding to masonry layout
  74. $newElems.imagesLoaded(function(){
  75. $newElems.fadeIn(); // fade in when ready
  76. $container.isotope( 'insert', $newElems );
  77. });
  78. }
  79. );
  80. {block:ifManualInfiniteScroll}
  81. //manual infinite scroll
  82. $(window).unbind('.infscr');
  83. $('.load-more').click(function(){
  84. $container.infinitescroll('retrieve');
  85. return false
  86. });
  87. {/block:ifManualInfiniteScroll}
  88. }); //ending main function
  89.  
  90. $(document).ready(isotope);
  91. </script>
  92.  
  93. <!--Responsive photosets-->
  94. <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
  95. <script src="http://static.tumblr.com/iuvoef7/M7sok4zc0/photoset.js"></script>
  96.  
  97. <script>
  98. $(document).ready(function(){
  99. $('.photo-slideshow').pxuPhotoset({
  100. lightbox: true,
  101. rounded: false,
  102. gutter: ' {text:Photoset Gutter Width}px',
  103. borderRadius: '0px',
  104. highRes : true,
  105. captions : true,
  106. photoset: '.photo-slideshow',
  107. photoWrap: '.photo-data',
  108. photo: '.pxu-photo'
  109. });
  110. });
  111. </script>
  112.  
  113. <script>
  114. $('html').hide();
  115. $('html').fadeIn(1500);
  116. </script>
  117.  
  118. <script>
  119. var string = "{URL}".split('redirect?')[0];
  120. return string;
  121. </script>
  122.  
  123.  
  124. <meta name="image:Background" content="" />
  125. <meta name="image:HeaderBackground" content="" />
  126.  
  127. <meta name="color:Background" content="#fbfbfb" />
  128. <meta name="color:Lightbox Background" content="#ffffff" />
  129. <meta name="color:Links" content="#ffa9b6" />
  130. <meta name="color:Text highlight" content="#ffa9b6" />
  131. <meta name="color:Hover" content="#b7512e" />
  132. <meta name="color:Post Deets" content="#a8a8a8" />
  133. <meta name="color:Scrollbar" content="#fed3f2" />
  134. <meta name="color:Sidebar" content="#fbfbfb" />
  135.  
  136. <meta name="font:Header Font" content="Arial" />
  137.  
  138. <meta name="if:Audio Show Album Art" content="0" />
  139. <meta name="if:Captions" content="0" />
  140. <meta name="if:Fade" content="1" />
  141. <meta name="if:Head Space" content="1" />
  142. <meta name="if:Horizontal" content="0" />
  143. <meta name="if:Infinite Scroll" content="1" />
  144. <meta name="if:Manual Infinite Scroll" content="1" />
  145. <meta name="if:Show Avatar" content="1" />
  146. <meta name="if:Show Post Deets" content="1" />
  147. <meta name="if:Show Post Deets On Hover" content="1" />
  148. <meta name="if:Sidebar" content="0" />
  149. <meta name="if:Stack Photoset" content="0" />
  150.  
  151. <meta name="select:Content Width" content="30vw" />
  152. <meta name="select:Content Width" content="10vw" />
  153. <meta name="select:Content Width" content="20vw" />
  154. <meta name="select:Content Width" content="40vw" />
  155. <meta name="select:Content Width" content="50vw" />
  156. <meta name="select:Content Width" content="60vw" />
  157. <meta name="select:Content Width" content="70vw" />
  158. <meta name="select:Content Width" content="80vw" />
  159. <meta name="select:Content Width" content="90vw" />
  160. <meta name="select:Content Width" content="100vw" />
  161.  
  162. <meta name="select:Fade Opacity" content="0.9" />
  163. <meta name="select:Fade Opacity" content="0.1" />
  164. <meta name="select:Fade Opacity" content="0.2" />
  165. <meta name="select:Fade Opacity" content="0.3" />
  166. <meta name="select:Fade Opacity" content="0.4" />
  167. <meta name="select:Fade Opacity" content="0.5" />
  168. <meta name="select:Fade Opacity" content="0.6" />
  169. <meta name="select:Fade Opacity" content="0.7" />
  170. <meta name="select:Fade Opacity" content="0.8" />
  171. <meta name="select:Fade Opacity" content="1.0" />
  172.  
  173. <meta name="select:Float" content="margin:auto" title="Align Center" />
  174. <meta name="select:Float" content="margin:auto; left:calc(-40%/2)" title="Align Left" />
  175. <meta name="select:Float" content="margin:auto; left:calc(+40%/2)" title="Align Right" />
  176.  
  177.  
  178. <meta name="select:SideFloat" content="left:0" title="Left Sidebar for Center Posts" />
  179. <meta name="select:SideFloat" content="left:calc(30%/2)" title="Left Sidebar for Right Posts" />
  180. <meta name="select:SideFloat" content="right:calc(30%/2)" title="Right Sidebar for Left Posts" />
  181. <meta name="select:SideFloat" content="right:0" title="Right Sidebar for Center Posts" />
  182.  
  183.  
  184.  
  185. <meta name="select:Post Deets Position" content="float:right; margin-right:-23px" title="Right" />
  186. <meta name="select:Post Deets Position" content="float:left; margin-left:-42px" title="Left" />
  187. <meta name="select:Post Deets Position" content="position:absolute; top:-17px; left:17px" title="Top" />
  188. <meta name="select:Post Deets Position" content="position:absolute; bottom:0px; left:17px" title="Bottom" />
  189. <meta name="select:Post Deets Position" content="float:right; " title="On Post" />
  190.  
  191.  
  192. <!--number of columns -->
  193. <meta name="text:Number of Columns" content="1" />
  194. <meta name="text:Horizontal Post Height" content="300px" />
  195. <meta name="text:Gutter Width" content="200" />
  196. <meta name="text:Photoset Gutter Width" content="1" />
  197. <meta name="text:Header Height" content="250px" />
  198. <meta name="text:Footer Height" content="100px" />
  199. <meta name="text:Header Font" content="Jellyka"/>
  200. <meta name="text:Body Font" content="Lato" />
  201. <meta name="text:Sidebar Font" content="Lato" />
  202. <meta name="text:Link Font" content="Open Sans" />
  203. <meta name="text:Quotes Font" content="Cormorant" />
  204. <meta name="text:Sidebar Background Opacity" content="0.95" />
  205.  
  206. <meta name="text:Image Border Radius" content="0px" />
  207. <meta name="text:Content Left Float Margin" content="10vh" />
  208. <meta name="text:Content Right Float Margin" content="10vh" />
  209.  
  210.  
  211. <!--fonts-->
  212. <link href='http://fonts.googleapis.com/css?family={text:Body Font}' rel='stylesheet' type='text/css'>
  213. <link href='http://fonts.googleapis.com/css?family={text:Header Font}' rel='stylesheet' type='text/css'>
  214. <link href='http://fonts.googleapis.com/css?family={text:Link Font}' rel='stylesheet' type='text/css'>
  215. <link href='http://fonts.googleapis.com/css?family={text:Quotes Font}' rel='stylesheet' type='text/css'>
  216.  
  217.  
  218.  
  219.  
  220.  
  221. <link rel="shortcut icon" href="{Favicon}"><link rel="alternate" type="application/rss+xml" href="{RSS}"><link href="http://static.tumblr.com/wgijwsy/k1Hm9ei8b/normalize.css" rel="stylesheet" type="text/css" />
  222.  
  223.  
  224.  
  225.  
  226.  
  227. <style type="text/css">
  228. @font-face {font-family:"Accent";src:url('http://static.tumblr.com/m9qxvhq/mc9mhlhm3/accent.ttf');}
  229. @font-face {font-family:"Barkentina";src:url('http://static.tumblr.com/m9qxvhq/CH5mhn23p/barkentina_1.otf');}
  230. @font-face {font-family:"Blake";src:url('http://static.tumblr.com/m9qxvhq/bnRmhedq1/blake2.ttf');}
  231. @font-face {font-family:"Buffet";src:url('http://static.tumblr.com/m9qxvhq/0V2mhl3je/buffet_script.ttf');}
  232. @font-face {font-family:"Jellyka";src:url('http://static.tumblr.com/iuvoef7/mNnojgowh/jellyka_bees_antique_handwriting.ttf');}
  233. @font-face {font-family:"Mayo";src:url('http://static.tumblr.com/m9qxvhq/dD6mhcpd0/mayonaise-condensed.otf');}
  234. @font-face {font-family:"Sachiko";src:url('http://static.tumblr.com/m9qxvhq/UTEmhi6ks/sachiko.ttf');}
  235. @font-face {font-family:"Sugah";src:url('http://static.tumblr.com/m9qxvhq/Dghmhi6ct/frenchsugar.ttf');}
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243. #tumblr_controls,.tmblr-iframe.tmblr-iframe--desktop-logged-in-controls.iframe-controls--desktop{-webkit-filter: invert(100%); -moz-filter: invert(100%); -o-filter: invert(100%); -ms-filter: invert(100%); filter: invert(100%);opacity:0; -webkit-transition: 0.8s ease-in-out; -moz-transition: 0.8s ease-in-out; transition: 0.8s ease-in-out;}
  244.  
  245. #tumblr_controls:hover,.tmblr-iframe.tmblr-iframe--desktop-logged-in-controls.iframe-controls--desktop:hover {opacity:0.5;}
  246.  
  247.  
  248.  
  249. ::selection {background: #d83e5c;color: #fff;}
  250. ::-moz-selection {background: #d83e5c;color: #fff;}
  251.  
  252. a, a:hover, a:visited {cursor:inherit;text-decoration:none;color:inherit;}
  253. ul, li {list-style-type: none; }
  254. img {border-radius:{text:Image Border Radius};}
  255. html {width:100%;}
  256.  
  257.  
  258.  
  259. body {
  260. cursor:url(''), crosshair;
  261. background: {color:Background};
  262. width:100%;
  263. font-family:'{text:Body Font}';
  264.  
  265. {block:IfHorizontal}
  266. height:100vh;
  267. overflow-y:hidden;
  268. position:fixed;
  269. {block:IfHorizontal}
  270.  
  271.  
  272. {block:PermalinkPage}
  273. height:100vh;
  274. overflow:hidden;
  275. {/block:PermalinkPage}
  276.  
  277. }
  278.  
  279.  
  280. #wrapper {
  281. {block:IndexPage}
  282. {block:IfNotHorizontal} overflow-x:hidden; {block:IfNotHorizontal}
  283. {block:IfHorizontal} overflow-y:hidden; {/block:IfHorizontal}
  284. height:100%;
  285. {/block:IndexPage}
  286.  
  287. {block:PermalinkPage}
  288. height:100vh;
  289. overflow-y:hidden;
  290. {/block:PermalinkPage}
  291.  
  292. }
  293.  
  294.  
  295.  
  296. #header{
  297. font-family:{text:Header Font};
  298.  
  299. {block:IfHeadSpace}
  300. margin-top:calc({text:Header Height}/2);
  301. margin-bottom:calc({text:Header Height}/2);
  302. width:100%;
  303. text-align:center;
  304. font-size:50px;
  305. z-index:5;
  306.  
  307. {block:IfHorizontal}
  308. position:fixed;
  309. {/block:IfHorizontal}
  310. {/block:IfHeadSpace}
  311.  
  312.  
  313. }
  314.  
  315.  
  316. #content-wrapper {
  317. {block:IndexPage}
  318. {block:IfNotHorizontal}
  319. width:100%;
  320. {block:IfHeadspace}
  321. min-height:calc(100vh - {text:Header Height});
  322. {/block:IfHeadspace}
  323.  
  324. {block:IfNotHeadspace}
  325. margin-top:9vh;
  326. min-height:100vh;
  327. {/block:IfNotHeadspace}
  328. {/block:IfNotHorizontal}
  329.  
  330. {block:IfHorizontal}
  331. {block:IfSidebar}
  332. margin-left:270px;
  333. {/block:IfSidebar}
  334. height:100vh;
  335. {/block:IfHorizontal}
  336. {/block:IndexPage}
  337.  
  338. {block:PermalinkPage}
  339. height:100%;
  340. {/block:PermalinkPage}
  341. }
  342.  
  343. #content {
  344. {block:IfNotHorizontal}
  345. width:{select:Content Width};
  346. position:absolute; {select:Float};
  347. {/block:IfNotHorizontal}
  348.  
  349. {block:IfHorizontal}
  350. height:100%;
  351. max-height:100vh;
  352. vertical-align:middle;
  353. transform:translateY(calc((100vh - {text:Horizontal Post Height})/2));
  354. overflow-y:visible;
  355. {/block:IfHorizontal}
  356.  
  357.  
  358.  
  359. {block:PermalinkPage}
  360. position:fixed;
  361. width:100%;
  362. {/block:PermalinkPage}
  363.  
  364. }
  365.  
  366.  
  367.  
  368. .box {
  369. opacity:0;
  370. cursor:inherit;
  371. font-family:'{text:Body Font}';
  372. font-size:10px;
  373. {block:IfNotHorizontal}
  374. margin-bottom:{text:Gutter Width}px;
  375. float: left;
  376. width:calc((100% - ({text:Number of Columns} - 1)*{text:Gutter Width}px)/{text:Number of Columns});
  377. {/block:IfNotHorizontal}
  378.  
  379. {block:IfHorizontal}
  380. margin-right:{text:Gutter Width}px;
  381. width:auto; height:{text:Horizontal Post Height};
  382. max-height:calc(100vh - {text:Header Height});
  383. {/block:IfHorizontal}
  384.  
  385.  
  386. {block:IfFade}
  387. opacity:{select:Fade Opacity};
  388. -webkit-transition: 0.8s ease-in-out;
  389. -moz-transition: 0.8s ease-in-out;
  390. transition: 0.8s ease-in-out;
  391. {/block:IfFade}
  392.  
  393. }
  394.  
  395.  
  396.  
  397. .box:hover {
  398. {block:IfFade}
  399. opacity:1.0;
  400. {/block:IfFade}
  401. }
  402.  
  403.  
  404.  
  405.  
  406. .title {
  407.  
  408. }
  409.  
  410.  
  411.  
  412.  
  413. .text {
  414. {block:IfNotHorizontal}max-height:300px;{block:IfNotHorizontal}
  415. {block:IfHorizontal}height:{text:Horizontal Post Height};
  416. width:{text:Horizontal Post Height} ;{/block:IfHorizontal}
  417. display:block;
  418. overflow: hidden;
  419. white-space: nowrap;
  420.  
  421.  
  422. }
  423.  
  424. .photo {
  425. margin-bottom:-3px;
  426. }
  427.  
  428. .photo img {
  429. {block:IfNotHorizontal}width:100%;height:100%;{/block:IfNotHorizontal}
  430. {block:IfHorizontal}max-height:100%; width:auto;{block:IfHorizontal}
  431. }
  432.  
  433.  
  434.  
  435.  
  436.  
  437. {block:ifStackPhotoset}
  438. .photoset-wrap {}
  439. .photoset-wrap img { display: none; width:100%; }
  440. .photoset-wrap img:first-child { display: block; width:100%; }
  441. {/block:ifStackPhotoset}
  442.  
  443.  
  444. .quote {
  445. {block:IfNotHorizontal}
  446. width:100%;
  447. padding-top:44%;
  448. padding-bottom:44%;
  449. {/block:IfNotHorizontal}
  450. {block:IfHorizontal}
  451. max-height:inherit;
  452. width:{text:Horizontal Post Height};
  453. padding-top:calc({text:Horizontal Post Height}/2);
  454. padding-bottom:calc({text:Horizontal Post Height}/2);
  455. {/block:IfHorizontal}
  456. font-family:'{text:Quotes Font}';
  457. text-align:center;
  458.  
  459. text-transform:uppercase;
  460. }
  461.  
  462. .link_container {
  463. width:inherit;
  464. height:inherit;
  465. white-space: pre; /* CSS 2.0 */
  466. white-space: pre-wrap; /* CSS 2.1 */
  467. white-space: pre-line; /* CSS 3.0 */
  468. white-space: -pre-wrap; /* Opera 4-6 */
  469. white-space: -o-pre-wrap; /* Opera 7 */
  470. white-space: -moz-pre-wrap; /* Mozilla */
  471. white-space: -hp-pre-wrap; /* HP Printers */
  472. word-wrap: break-word; /* IE 5+ */
  473. {block:IfHorizontal}
  474. width:{text:Horizontal Post Height};
  475. height:{text:Horizontal Post Height};
  476. {/block:IfHorizontal}
  477. }
  478.  
  479. .link_url {
  480. width:100%;
  481. max-height:100%;
  482. text-align:center;
  483. padding-top:45%;
  484. padding-bottom:45%;
  485. left:0; right:0;
  486. top:0; bottom:0;
  487. margin:auto;
  488. }
  489.  
  490.  
  491.  
  492. .chat li:nth-of-type(odd){
  493. background-color: #edb4c9;}
  494.  
  495. .chat li:nth-of-type(even){
  496. background-color: #ffffff;}
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503. .tumblr_audio_player {
  504. {block:IfNotAudioShowAlbumArt}
  505. height: 90px;
  506. width: 200%;
  507. -moz-transform: scale(0.50, 0.50);
  508. -webkit-transform: scale(0.50, 0.50);
  509. -o-transform: scale(0.50, 0.50);
  510. -ms-transform: scale(0.50, 0.50);
  511. transform: scale(0.50, 0.50);
  512. -moz-transform-origin: top left;
  513. -webkit-transform-origin: top left;
  514. -o-transform-origin: top left;
  515. -ms-transform-origin: top left;
  516. transform-origin: top left;
  517. margin-bottom:-47px;
  518. {/block:IfNotAudioShowAlbumArt}
  519.  
  520. {block:IfAudioShowAlbumArt}
  521. height: 90px;
  522. width: 270px;
  523. -moz-transform: scale(0.60, 0.60);
  524. -webkit-transform: scale(0.60, 0.60);
  525. -o-transform: scale(0.60, 0.60);
  526. -ms-transform: scale(0.60, 0.60);
  527. transform: scale(0.60, 0.60);
  528. -moz-transform-origin: top left;
  529. -webkit-transform-origin: top left;
  530. -o-transform-origin: top left;
  531. -ms-transform-origin: top left;
  532. transform-origin: top left;
  533. {/block:IfAudioShowAlbumArt}
  534.  
  535.  
  536.  
  537.  
  538.  
  539. }
  540.  
  541.  
  542.  
  543. .audiowrapper {
  544. background:red;
  545. position: relative;
  546. display:inline-block;
  547. {block:IfNotHorizontal}
  548. width:100%;
  549. height:calc((({select:Content Width} - ({text:Number of Columns} - 1)*{text:Gutter Width}px)/{text:Number of Columns}) - 1px);
  550. {block:IfNotHorizontal}
  551.  
  552.  
  553. {block:IfHorizontal}
  554. height:{text:Horizontal Post Height};
  555. width:{text:Horizontal Post Height};
  556. {/block:IfHorizontal}
  557.  
  558.  
  559. }
  560.  
  561.  
  562.  
  563. .audioimgwrapper {
  564. position: absolute;
  565. left: 0px;
  566. top: 0px;
  567. overflow: hidden;
  568. width: 100%;
  569. height: 100%;
  570. }
  571.  
  572. .audioimgwrapper img {
  573. width: 100%;
  574. height: auto;
  575. }
  576.  
  577. .playerbuttonbg {
  578. position: absolute;
  579. left: 0; right:0;
  580. top: 0; bottom:0;
  581. margin:auto;
  582. width: 20px;
  583. height: 20px;
  584. background-color: #ffffff;
  585. padding: 10px;
  586. -webkit-border-radius: 40px;
  587. -moz-border-radius: 40px;
  588. border-radius: 40px;
  589. opacity: .4;
  590. filter: alpha(opacity=40);
  591. -moz-opacity: 0.4;
  592. -khtml-opacity: 0.4;
  593. transition: opacity .7s ease-in-out;
  594. -moz-transition: opacity .7s ease-in-out;
  595. -webkit-transition: opacity .7s ease-in-out;
  596. }
  597.  
  598. .playerbuttonbg:hover {
  599. opacity: 1;
  600. filter: alpha(opacity=100);
  601. -moz-opacity: 1;
  602. -khtml-opacity: 1;
  603. }
  604.  
  605. .newplayerbutton {
  606. position: relative;
  607. width: 19px;
  608. height: 19px;
  609. overflow: hidden;
  610. }
  611.  
  612. .playerbuttonhug {
  613. position: absolute;
  614. top: -17px;
  615. left: -5px;
  616. }
  617.  
  618.  
  619.  
  620.  
  621. .trackdetails {
  622. position:absolute;
  623. padding-left:5px;
  624. padding-top:1px;
  625. padding-right:5px;
  626. padding-bottom:1px;
  627. background:rgba(255,255,255,0.5);
  628. width: auto;
  629. left:0;
  630. top:0;
  631. z-index:3;
  632. }
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645. #deets {
  646. {block:ifShowPostDeetsOnHover}opacity:0;{/block:ifShowPostDeetsOnHover}
  647. {block:ifNotShowPostDeetsOnHover} opacity:0.5;{/block:ifNotShowPostDeetsOnHover} -webkit-transition: 0.6s ease-in-out;-moz-transition: 0.6s ease-in-out;transition: 0.6s ease-in-out; cursor:crosshair!important;
  648. {select:Post Deets Position};}
  649.  
  650. .box:hover #deets {
  651. opacity:1;
  652. }
  653.  
  654. .like_buttons {
  655. font-size:10px;
  656. color:{color:Post Deets};
  657. position:absolute;
  658. top:2px;
  659. }
  660.  
  661.  
  662. .reblog_buttons {
  663. font-size:10px;
  664. color:{color:Post Deets};
  665. position:absolute;
  666. top:-13px;
  667. margin-left:15px;
  668.  
  669. }
  670.  
  671. .permalink_button {
  672. font-size:10px;
  673. opacity:0.5;
  674. z-index:1;
  675. position:absolute;
  676. font-size:10px;
  677. color:{color:Post Deets};
  678. text-align:center;
  679. top:2px;
  680. margin-left:15px;
  681. }
  682.  
  683.  
  684. .tumblr_like {opacity:0;z-index:10;position:absolute;left:-15px;cursor:crosshair!important;}
  685. .my_like {opacity:0.5;z-index:1;position:absolute;left:-15px;cursor:crosshair!important;-webkit-transition: 0.6s ease-in-out;-moz-transition: 0.6s ease-in-out;transition: 0.6s ease-in-out;}
  686. .tumblr_like:hover + .my_like {color:{color:Links};}
  687. /* Liked State */
  688. .tumblr_like.liked + .my_like {color:{color:Links};}
  689. .tumblr_reblog {opacity:0;z-index:10;position:absolute;top:16px;left:-15px;cursor:crosshair!important;width:10px;height:10px;}
  690. .my_reblog {opacity:0.5;z-index:1;position:absolute;top:15px;left:-14px;cursor:crosshair!important;-webkit-transition: 0.6s ease-in-out;-moz-transition: 0.6s ease-in-out;transition: 0.6s ease-in-out;}
  691. .tumblr_reblog:hover + .my_reblog {opacity:0.7;}
  692.  
  693.  
  694.  
  695. .permalink-post {
  696. font-size:1.3vh;
  697. height:100vh;
  698. text-align:center;
  699. /* position: relative;
  700. top: 50%;
  701. transform: translateY(-50%); */ /* to vertical align*/
  702.  
  703. }
  704.  
  705. .permalink-text {
  706. height: 60vh;
  707. transform:translateY(20vh);
  708. display:block;
  709. overflow: scroll;
  710. white-space: nowrap;
  711. margin-top:5px;
  712. }
  713.  
  714.  
  715.  
  716.  
  717.  
  718. /* note the :first-child thing doesn't work even with the img: specifier*/
  719. .permalink-photoset {width:100%; height:100%; }
  720. .permalink-photoset img { position:absolute; transform:translate(-50%,calc((100vh - 100%)/2)); counter-increment:number;-webkit-transition:opacity .6s ease-in-out;transition:opacity .6s ease-in-out; opacity:0; z-index:0;}
  721. .permalink-photoset img:first-child{opacity:1; z-index:1; }
  722. .permalink-photoset img .active {opacity:1; z-index:1; }
  723. .permalink-photoset img #counter { content:counter(number); }
  724.  
  725. #vignette, .vignette{opacity:0!important;}.lightbox-caption {color:#000;}
  726. #tumblr_lightbox,.tmblr-lightbox{ background:rgba( {RGBcolor:Lightbox Background}, 0.8)!important; }
  727. #tumblr_lightbox img, .lightbox-image {box-shadow:none!important;border-radius:0px!important;}
  728.  
  729.  
  730.  
  731.  
  732. #footer {
  733. width:100%;
  734. height:{text:Footer Height};
  735. bottom:0px;
  736. z-index:10;
  737.  
  738. {block:IfHorizontal}
  739. position:fixed;
  740. {block:IfHorizontal}
  741.  
  742.  
  743.  
  744. }
  745.  
  746.  
  747. .pagination {
  748. z-index:50;
  749. {block:IfNotHorizontal}
  750. margin-top:50px;
  751. margin-bottom:50px;
  752. {/block:IfNotHorizontal}
  753.  
  754. {block:IfHorizontal}
  755. margin-top:0px;
  756. {/block:IfHorizontal}
  757.  
  758. }
  759.  
  760.  
  761. .load-more {
  762. z-index:100;
  763. font-family:'{text:Link Font}';
  764. left:50vw;
  765. border:0;
  766. padding-top:2vh;
  767. padding-bottom:2vh;
  768. padding-left:10vw;
  769. padding-right:10vw;
  770. background:#f0f0f0;
  771. color:#9f9f9f;
  772. -webkit-transition: 0.8s ease-in-out;
  773. -moz-transition: 0.8s ease-in-out;
  774. transition: 0.8s ease-in-out;
  775.  
  776. }
  777.  
  778.  
  779. .load-more:hover {
  780. background:{color:Links};
  781. color:{color:Background};
  782.  
  783. }
  784.  
  785. .load-more:focus {
  786. border:none;
  787. }
  788.  
  789.  
  790.  
  791.  
  792.  
  793. {block:ifSidebar}
  794. {/block:ifSidebar}
  795. #sidebar {
  796. {block:IfNotHorizontal}
  797. position:fixed;
  798. {select:SideFloat};
  799. top:{text:Header Height};
  800. width:calc((100vw - {select:Content Width})/2);
  801. max-width:50vw;
  802. height:calc(83vh - {text:Header Height});
  803. background:rgba({RGBcolor:Sidebar}, {text:Sidebar Background Opacity});
  804. {/block:IfNotHorizontal}
  805.  
  806.  
  807. {block:IfHorizontal}
  808. position:fixed;
  809. left:0;
  810. top:0;
  811. width:250px;
  812. max-width:50vw;
  813. height:100vh;
  814. background:rgba({RGBcolor:Sidebar}, {text:Sidebar Background Opacity});
  815. {/block:IfHorizontal}
  816.  
  817. }
  818.  
  819. .sidebar {
  820. {block:IfNotHorizontal}
  821. margin-top:0px;
  822. width:200px;
  823. font-family:'{text:Sidebar Font}';
  824. font-size:10px;
  825. color:#a8a8a8;
  826. {/block:IfNotHorizontal}
  827.  
  828. {block:IfHorizontal}
  829. margin-top:{text:Header Height};
  830. width:200px;
  831. font-family:{text:Sidebar Font};
  832. font-size:10px;
  833. color:#a8a8a8;
  834. {/block:IfHorizontal}
  835. }
  836.  
  837.  
  838. .portrait {
  839. vertical-align:middle;
  840. border-radius:35px;
  841. opacity:0.7;
  842. -webkit-transition: 0.8s ease-in-out;
  843. -moz-transition: 0.8s ease-in-out;
  844. transition: 0.8s ease-in-out;
  845. }
  846.  
  847.  
  848. .portrait:hover {
  849. opacity:1.0;
  850. border-radius:0px;
  851.  
  852.  
  853. }
  854.  
  855.  
  856. .about {
  857. top : calc({text:Header Height}/4.5);
  858. left: 0; right: 0;
  859. margin:auto;
  860. padding-left:3px;
  861. padding-right:3px;
  862. padding-bottom:10px;
  863. background-color: rgba({RGBcolor:Links},0);
  864. border-radius:5px;
  865. width:300px;
  866. {block:IfNotHorizontal}position:absolute;{/block:IfNotHorizontal}
  867. {block:IfHorizontal}position:fixed;{/block:IfHorizontal}
  868. z-index:5;
  869. font-family:Barkentina;
  870. font-size:10px;
  871. color:rgba(255,255,255,0);
  872. -webkit-transition: 0.8s ease-in-out;
  873. -moz-transition: 0.8s ease-in-out;
  874. transition: 0.8s ease-in-out;
  875.  
  876.  
  877.  
  878. }
  879.  
  880. .about img {
  881. margin-top:10px;
  882. margin-bottom:10px;
  883. opacity:{select:Fade Opacity};
  884. }
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891. #nav {float: left;margin-top: 20px;position: fixed;z-index:1000;right:0px;margin-right:auto;position:fixed;}
  892. #nav a {text-decoration: none;font-size: 15px;line-height: 25px;color: #595959;}
  893. #nav a:hover {color: #393939;}
  894. #nav a:active {color: #151515;}
  895. .tumblrAutoPager_page_info, .tumblrAutoPager_page_separator {display:none;}
  896. #infscr-loading {display:none;}
  897. .navigation {display:none!important;}
  898. .isotope-item {z-index: 2;}
  899. .isotope-hidden.isotope-item {pointer-events: none;z-index: 1;}
  900. .isotope, .isotope .isotope-item {-webkit-transition: 0.8s ease-in-out;-moz-transition: 0.8s ease-in-out;transition: 0.8s ease-in-out;}
  901. .isotope {-webkit-transition-property: height, width;-moz-transition-property: height, width;transition-property: height, width;}
  902. .isotope .isotope-item {-webkit-transition-property:-webkit-transform, opacity;- moz-transition-property:-moz-transform, opacity; transition-property: transform, opacity;}
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909. </style>
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920. </head>
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933. <body>
  934. <div id="wrapper">
  935.  
  936. {block:IndexPage}
  937. {block:IfHeadSpace}
  938. <div id="header">
  939. <a href="{BlogURL}" >{Title}</a>
  940. {block:ifShowAvatar}
  941. <center>
  942. <div class="about">
  943. <center>
  944. <img src="{PortraitURL-64}" class="portrait"
  945. onmouseover="$(this).parent().parent().css('background-color', 'rgba({RGBcolor:Links},1)'); $(this).parent().parent().css('color', 'rgba(255,255,255,1)');"
  946. onmouseout="$(this).parent().parent().css('background-color', 'rgba({RGBcolor:Links},0)'); $(this).parent().parent().css('color', 'rgba(255,255,255,0)'); "
  947. />
  948. </center>
  949. This is where I experiment with my pictures :)
  950. </div>
  951. </center>
  952. {/block:ifShowAvatar}
  953. </div>
  954. {/block:IfHeadSpace}
  955. {/block:IndexPage}
  956.  
  957.  
  958.  
  959.  
  960. <div id="content-wrapper">
  961. <div id="content">
  962. {block:Posts}
  963.  
  964. {block:IndexPage}
  965. <div class="box" style="opacity:0.01;">
  966.  
  967. {block:IfShowPostDeets}
  968. <div id="deets">
  969. <div class="like_buttons"><div class="tumblr_like"> {LikeButton size="10"} </div> <div class="my_like"><i class="fa fa-heart"></i></div></div>
  970. <div class="reblog_buttons"><div class="tumblr_reblog"> {ReblogButton size="10"}</div> <div class="my_reblog"><i class="fa fa-undo"></i></div></div>
  971. <div class="permalink_button"><a href="{Permalink}"><i class="fa fa-clock-o" aria-hidden="true"></i></a></div>
  972. </div>
  973. {/block:IfShowPostDeets}
  974.  
  975.  
  976.  
  977. {block:Text}
  978. <div class="text">
  979. <u><a href="{Permalink}">{Title}</a></u>
  980. {Body}
  981. </div>
  982. <center><a href="{Permalink}"><i class="fa fa-ellipsis-h"></i></a></center>
  983. {/block:Text}
  984.  
  985.  
  986.  
  987.  
  988. {block:Photo}
  989. <div class="photo">
  990. <a href="#">
  991. <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}"
  992. 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" />
  993. </a>
  994. {block:ifCaptions}{Caption}{/block:ifCaptions}
  995. </div>
  996. {/block:Photo}
  997.  
  998.  
  999.  
  1000.  
  1001. {block:Photoset}
  1002. <div class="photoset">
  1003. {block:ifNotStackPhotoset}
  1004. {block:IfNotHorizontal}
  1005. <!--preset code to abide by pxu -->
  1006. <div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}" >
  1007. {block:Photos}
  1008. <div class="photo-data">
  1009. <div class="pxu-photo">
  1010. <img src="{PhotoURL-HighRes}" width="{PhotoWidth-500}" height="{PhotoHeight-500}" data-highres="{PhotoURL-HighRes}" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}">
  1011. </div>
  1012. <a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}">
  1013. </a>
  1014. </div>
  1015. {/block:Photos}
  1016. </div>
  1017. {/block:IfNotHorizontal}
  1018. {block:IfHorizontal}
  1019. {Photoset}
  1020. {/block:IfHorizontal}
  1021. {block:ifNotStackPhotoset}
  1022. {block:ifStackPhotoset}
  1023. {block:IndexPage}
  1024. <div class="photoset-wrap" >
  1025. {block:Photos}
  1026. <!-- <a href="#"> for some reason loads all images in photoset-->
  1027. <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" 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" {block:IfHorizontal}style="height:{text:Horizontal Post Height};
  1028. width:auto;"{/block:IfHorizontal} />
  1029. <!-- </a> -->
  1030. {/block:Photos}
  1031. </div>
  1032. {/block:IndexPage}
  1033. {/block:ifStackPhotoset}
  1034. {block:ifCaptions}{Caption}{/block:ifCaptions}
  1035. </div>
  1036. {/block:Photoset}
  1037.  
  1038.  
  1039.  
  1040. {block:Quote}<div class="quote"><i class="fa fa-quote-left" style="opacity:0.2;"></i>&nbsp;{Quote} &nbsp;<i class="fa fa-quote-right" style="opacity:0.2;" ></i></div> {/block:Quote}
  1041.  
  1042.  
  1043. {block:Link}<div class="link_container"><div class="link_url"> <a href="{URL}"><i class="fa fa-link"></i></a></div> </div>{/block:Link}
  1044.  
  1045.  
  1046.  
  1047.  
  1048. {block:Chat}
  1049. <li class="chat">
  1050. {block:Title}
  1051. <h3><a href="{Permalink}">{Title}</a></h3>
  1052. {/block:Title}
  1053.  
  1054. <ul class="chat" style="margin-left:-35px;">
  1055. {block:Lines}
  1056. <li class="{Alt} user_{UserNumber}">
  1057. {block:Label}
  1058. <span class="label">{Label}</span>
  1059. {/block:Label}{Line}
  1060. </li>
  1061. {/block:Lines}
  1062. </ul>
  1063. </li>
  1064. {/block:Chat}
  1065.  
  1066.  
  1067.  
  1068. {block:IfNotAudioShowAlbumArt}
  1069. {block:Audio}{AudioPlayerWhite}{/block:Audio}
  1070. {/block:IfNotAudioShowAlbumArt}
  1071.  
  1072. {block:IfAudioShowAlbumArt}
  1073.  
  1074. {block:AudioPlayer}
  1075. <div class="audiowrapper">
  1076. {block:AlbumArt}
  1077. <div class="audioimgwrapper"><img src="{AlbumArtURL}"></div>
  1078. {/block:AlbumArt}
  1079.  
  1080. <div class="playerbuttonbg">
  1081. <div class="newplayerbutton">
  1082. <div class="playerbuttonhug">
  1083.  
  1084. {AudioPlayerWhite}
  1085.  
  1086. </div>
  1087. </div>
  1088. </div>
  1089.  
  1090. <div class="trackdetails">
  1091. {block:TrackName}{TrackName}{/block:TrackName}<br/>
  1092. {block:Artist}Artist: {Artist}{/block:Artist}<br/>
  1093. {block:Album}Album: {Album}{/block:Album}<br/>
  1094. {PlayCountWithLabel}
  1095. </div>
  1096. </div>
  1097. {/block:AudioPlayer}
  1098. {/block:IfAudioShowAlbumArt}
  1099.  
  1100.  
  1101.  
  1102. {block:Video}
  1103. {Video-500}
  1104. {/block:Video}
  1105.  
  1106.  
  1107.  
  1108. {block:Answer} {Question} {Answer} {/block:Answer}
  1109.  
  1110. </div> <!--box-->
  1111. {/block:IndexPage}
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129. {block:PermalinkPage}
  1130. <div class="permalink-post">
  1131.  
  1132. {block:Text}
  1133. <div class="permalink-text">
  1134. {Title}
  1135. {Body}
  1136. </div>
  1137. {/block:Text}
  1138.  
  1139. {block:Photo}
  1140. <img id ="{PhotoCount}" src="{PhotoURL-HighRes}" style="width:auto; height:auto; max-width:100vw; max-height:100vh; margin:auto; transform:translateY(calc((100vh - 100%)/2))"/>
  1141. {block:Photo}
  1142.  
  1143. {block:Photoset}
  1144. <center>
  1145. <div class="permalink-photoset" >
  1146. {block:Photos}
  1147. <img class="active" src="{PhotoURL-HighRes}" alt="{PhotoAlt}"
  1148. id="counter" style="width:auto; height:auto; max-width:100vw; max-height:100vh; "
  1149. onClick="
  1150.  
  1151.  
  1152. var $next = $(this).next('img');
  1153. $(this).css('opacity','0');
  1154. $(this).css('z-index','0');
  1155. $next.css('opacity','1');
  1156. $next.css('z-index','1');
  1157. if ($next.length == 0) {
  1158. $(this).parent().find('img:first-child').css('opacity','1');
  1159. $(this).parent().find('img:first-child').css('z-index','1');
  1160. };"
  1161.  
  1162. />
  1163.  
  1164.  
  1165.  
  1166.  
  1167. {/block:Photos}
  1168. </div> </center>
  1169. <!-- <div style="width:300px; margin:auto;">{Photoset}</div> whole photoset-->
  1170.  
  1171. {block:Photoset}
  1172.  
  1173. </div>
  1174.  
  1175.  
  1176. {/block:PermalinkPage}
  1177.  
  1178.  
  1179.  
  1180.  
  1181. {/block:Posts}
  1182. </div> <!--content -->
  1183. </div> <!--content wrapper -->
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.  
  1194. {block:ifSidebar}
  1195. {block:IndexPage}
  1196. <div id="sidebar">
  1197. <center>
  1198. <div class="sidebar">
  1199. <center><img src="{PortraitURL-64}" class="portrait" /></center>
  1200. <p>
  1201. 'Oh, you can't help that,' said the Cat: 'we're all mad here. I'm mad. You're mad.' 'How do you know I'm mad?' said Alice. 'You must be,' said the Cat, 'or you wouldn't have come here.' </p>
  1202. <p>
  1203. <a href="/archive"><i class="fa fa-calendar"></i></a> &nbsp;
  1204. <a href="/"><i class="fa fa-camera-retro"></i></a> &nbsp;
  1205. <a href="/"><i class="fa fa-user"></i></a>
  1206. </p>
  1207. </div>
  1208. </center>
  1209. </div>
  1210. {block:IndexPage}
  1211. {/block:ifSidebar}
  1212.  
  1213.  
  1214.  
  1215.  
  1216.  
  1217.  
  1218. <div id="footer">
  1219. <div class="navigation">
  1220. {block:Pagination}
  1221. {block:NextPage}
  1222. <p id="page_nav"><a style="float:right" href="{NextPage}" id="next">Older ?</a>
  1223. {/block:NextPage}
  1224. {block:PreviousPage}
  1225. <a style="float:left" href="{PreviousPage}">? Newer</a></p>
  1226. {/block:PreviousPage}
  1227. {/block:Pagination}
  1228. </div>
  1229.  
  1230. {block:IfManualInfiniteScroll}
  1231. {block:Pagination}
  1232. <div class="pagination">
  1233. <center><button class="load-more" >load more</button></center>
  1234. </div>
  1235. {/block:Pagination}
  1236. {/block:IfManualInfiniteScroll}
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242. </div> <!--footer -->
  1243.  
  1244. {block:PermalinkPage}
  1245. {block:PermalinkPagination}
  1246. <a href="{BlogURL}" style="position:fixed; top:5px; left:5px;"> <i class="fa fa-home"></i> </a>
  1247.  
  1248. {block:PreviousPost} <a href="{PreviousPost}" style="float:right; right:0px; bottom:50vh; position:fixed;"><i class="fa fa-chevron-right"></i></a>{/block:PreviousPost}
  1249. {block:NextPost}<a href="{NextPost}" style="float:left; left:0px; bottom:50vh; position:fixed;"><i class="fa fa-chevron-left"></i></a> {/block:NextPost}
  1250. {/block:PermalinkPagination}
  1251. {block:PermalinkPage}
  1252.  
  1253.  
  1254.  
  1255. </div> <!--wrapper-->
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265. </body>
  1266. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement