Sky_Blue

YOU'RE TELLING ME A GAY CODED THIS theme

Dec 24th, 2021 (edited)
2,981
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 25.71 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4. <!-----
  5.  
  6. YOU'RE TELLING ME A GAY CODED THIS theme by @puella
  7.  
  8. umm.... peanus supremus
  9.  
  10. happy holidays!!! i hope you all have a wonderful 2022!! <33
  11.  
  12. DEFAULTS:
  13. -by default, the theme is a sidebar theme. if you want it to be a header theme, then turn the 'header' option on!
  14.  
  15. -by default, the grid option is off. if you want a grid, then turn the 'grid' option on!
  16.  
  17. -by default, the footer, description, title, and links are visible. if you want them off, turn off 'show footer', 'show description', 'show title', or 'show links'!
  18.  
  19. -by default, the icon is a square. if you want it to be a header image, then turn the 'header image' option on! NOTE: the header image is NOT optimized for sidebar grid. only use the header image in header theme form or nongrid sidebar form.
  20.  
  21. -by default, the links are in text form. if you want them to be pixels, then turn the 'pixel links' option on!
  22.  
  23. CREDITS:
  24. -photosets by @annasthms
  25.  
  26. -scrollbar from https://gist.github.com/Dakedres/0ccda599648833a1c2f65d3967aa131b
  27.  
  28. -infinite scroll from https://github.com/MatthewRayfield/tumblr-infinite-scrolling
  29.  
  30. ----->
  31.  
  32. <!--- blobs -_- --->
  33. {block:ifblobs}
  34. <script>
  35. // <![CDATA[
  36. var colour="{color:blob color}"; // what colour are the blobs
  37. var speed=66; // speed of animation, lower is faster
  38. var blobs=20; // how many blobs are in the jar
  39. var charc="{text:blob}"; // a blob - can be changed to charc='hello' or charc='*' for a different effect
  40.  
  41. /***************************\
  42. * Blobs in a Jar Effect *
  43. * (c)2012 mf2fm web-design *
  44. * http://www.mf2fm.com/rv *
  45. * DON'T EDIT BELOW THIS BOX *
  46. \***************************/
  47.  
  48. window.onload=fill_the_jar;
  49. var div;
  50. var xpos=new Array();
  51. var ypos=new Array();
  52. var zpos=new Array();
  53. var dx=new Array();
  54. var dy=new Array();
  55. var dz=new Array();
  56. var blob=new Array();
  57. var swide=800;
  58. var shigh=600;
  59. function fill_the_jar() {
  60. var i, dvs;
  61. div=document.createElement('div');
  62. dvs=div.style;
  63. dvs.position='fixed';
  64. dvs.left='0px';
  65. dvs.top='0px';
  66. dvs.width='1px';
  67. dvs.height='1px';
  68. document.body.appendChild(div);
  69. set_width();
  70. for (i=0; i<blobs; i++) {
  71. add_blob(i);
  72. jamjar(i);
  73. }
  74. }
  75.  
  76. function add_blob(ref) {
  77. var dv, sy;
  78. dv=document.createElement('div');
  79. dv.appendChild(document.createTextNode(charc));
  80. sy=dv.style;
  81. sy.position='absolute';
  82. sy.textAlign="center";
  83. if (navigator.appName=="Microsoft Internet Explorer") {
  84. sy.fontSize="10px";
  85. sy.width="100px";
  86. sy.height="100px";
  87. sy.paddingTop="40px";
  88. sy.color=colour;
  89. }
  90. else sy.color='rgba(0,0,0,0)';
  91. ypos[ref]=Math.floor(shigh*Math.random());
  92. dy[ref]=(0.5+Math.random())*(Math.random()>.5?2:-2);
  93. xpos[ref]=Math.floor(swide*Math.random());
  94. dx[ref]=(0.5+Math.random())*(Math.random()>.5?2:-2);
  95. zpos[ref]=Math.random()*20;
  96. dz[ref]=(0.5+Math.random())*(Math.random()>.5?.5:-.5);
  97. blob[ref]=dv;
  98. div.appendChild(blob[ref]);
  99. set_blob(ref);
  100. }
  101. function rejig(ref, xy) {
  102. if (xy=='y') {
  103. dx[ref]=(0.5+Math.random())*sign(dx[ref]);
  104. dy[ref]=(0.5+Math.random())*-sign(dy[ref]);
  105. }
  106. else {
  107. dx[ref]=(0.5+Math.random())*-sign(dx[ref]);
  108. dy[ref]=(0.5+Math.random())*sign(dy[ref]);
  109. }
  110. }
  111. function sign(a) {
  112. if (a<0) return (-2);
  113. else if (a>0) return (2);
  114. else return (0);
  115. }
  116. function set_blob(ref) {
  117. var sy;
  118. sy=blob[ref].style;
  119. sy.top=ypos[ref]+'px';
  120. sy.left=xpos[ref]+'px';
  121. if (navigator.appName=="Microsoft Internet Explorer") {
  122. sy.filter="glow(color="+colour+",strength="+zpos[ref]+")";
  123. sy.fontSize=30-zpos[ref]+"px";
  124. }
  125. else {
  126. sy.textShadow=colour+' 0px 0px '+zpos[ref]+'px';
  127. sy.fontSize=40+zpos[ref]+'px';
  128. }
  129. }
  130. function jamjar(ref) {
  131. if (ypos[ref]+dy[ref]<-50 || ypos[ref]+dy[ref]>shigh) rejig(ref, 'y');
  132. ypos[ref]+=dy[ref];
  133. if (xpos[ref]+dx[ref]<-50 || xpos[ref]+dx[ref]>swide) rejig(ref, 'x');
  134. xpos[ref]+=dx[ref];
  135. if (zpos[ref]+dz[ref]<0 || zpos[ref]+dz[ref]>20) dz[ref]=-dz[ref];
  136. zpos[ref]+=dz[ref];
  137. set_blob(ref);
  138. setTimeout("jamjar("+ref+")", speed);
  139. }
  140.  
  141. window.onresize=set_width;
  142. function set_width() {
  143. var sw_min=999999;
  144. var sh_min=999999;
  145. if (document.documentElement && document.documentElement.clientWidth) {
  146. if (document.documentElement.clientWidth>0) sw_min=document.documentElement.clientWidth;
  147. if (document.documentElement.clientHeight>0) sh_min=document.documentElement.clientHeight;
  148. }
  149. if (typeof(self.innerWidth)!="undefined" && self.innerWidth) {
  150. if (self.innerWidth>0 && self.innerWidth<sw_min) sw_min=self.innerWidth;
  151. if (self.innerHeight>0 && self.innerHeight<sh_min) sh_min=self.innerHeight;
  152. }
  153. if (document.body.clientWidth) {
  154. if (document.body.clientWidth>0 && document.body.clientWidth<sw_min) sw_min=document.body.clientWidth;
  155. if (document.body.clientHeight>0 && document.body.clientHeight<sh_min) sh_min=document.body.clientHeight;
  156. }
  157. if (sw_min==999999 || sh_min==999999) {
  158. sw_min=800;
  159. sh_min=600;
  160. }
  161. swide=sw_min;
  162. shigh=sh_min;
  163. }
  164. // ]]>
  165. </script>
  166. {/block:ifblobs}
  167.  
  168. <link href="https://static.tumblr.com/0podkko/oDSpg7y88/photosets.css" rel="stylesheet">
  169.  
  170. <script>
  171. function gatherData(images, arr) {
  172.   for (let i = 0; i < images.length; i++) {
  173.    let currentData = {
  174.      "width": images[i].getAttribute('data-width'),
  175.      "height": images[i].getAttribute('data-height'),
  176.      "low_res": images[i].getAttribute('data-lowres'),
  177.      "high_res": images[i].getAttribute('data-highres')
  178.    };
  179.    arr.push(currentData);
  180.  }
  181. }
  182. function getIndex(elem) {
  183.  let i = 0;
  184.  while( (elem = elem.previousElementSibling) != null ) i++;
  185.  return i;
  186. }
  187. function lightbox(elem) {
  188.  let currentPhotoset = elem.parentNode;
  189.  let photosetPhotos = currentPhotoset.getElementsByTagName('div');
  190.  let data = [];
  191.  gatherData(photosetPhotos, data);
  192.  Tumblr.Lightbox.init(data, getIndex(elem) + 1);
  193. }
  194. </script>
  195.  
  196. <script src="https://kit.fontawesome.com/f936906ae0.js" crossorigin="anonymous"></script>
  197.  
  198. <meta charset="utf-8">
  199. <meta https-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  200. {block:Description}
  201. <meta name="description" content="{MetaDescription}" />
  202. {/block:Description}
  203.    
  204. <title>{Title}</title>
  205.        
  206. <link rel="shortcut icon" href="{image:favicon}">
  207. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  208. <link rel="stylesheet" href="https://static.tumblr.com/qxrkgx6/RWPmgn2qa/normalize.min.css">
  209.  
  210. <link rel="stylesheet" href="https://static.tumblr.com/p6yopnt/PxJr3vu6k/scrollbar.css">
  211.  
  212. {block:ifsmoothscrolling}
  213. <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.1/SmoothScroll.min.js"></script>
  214. {/block:ifsmoothscrolling}
  215.  
  216. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
  217. <script src="https://static.tumblr.com/rtrqcib/VGGnlh8rf/jquery.style-my-tooltips.min.js"></script>
  218. <script>(function($){$(document).ready(function(){$("a[title]").style_my_tooltips({tip_follows_cursor:true,tip_delay_time:0,tip_fade_speed:0,attribute:"title"});});})(jQuery);</script>
  219.  
  220. <script src="https://matthewrayfield.github.io/tumblr-infinite-scrolling/infinitescrolling.js"></script>
  221.  
  222. <link href="https://fonts.googleapis.com/css?family=Kosugi+Maru|Short+Stack" rel="stylesheet">
  223.        
  224. <meta name="image:favicon" content=""/>
  225. <meta name="image:icon" content=""/>
  226. <meta name="image:pixel link one" content=""/>
  227. <meta name="image:pixel link two" content=""/>
  228. <meta name="image:pixel link three" content=""/>
  229. <meta name="image:background" content=""/>
  230.  
  231. <meta name="color:background" content=""/>
  232. <meta name="color:post background" content="#fff"/>
  233. <meta name="color:sidebar header background" content="#fff"/>
  234. <meta name="color:footer background" content="#fff"/>
  235. <meta name="color:text" content="#000"/>
  236. <meta name="color:title" content="#000"/>
  237. <meta name="color:title hover" content=""/>
  238. <meta name="color:title glow" content=""/>
  239. <meta name="color:title glow hover" content=""/>
  240. <meta name="color:title outline" content=""/>
  241. <meta name="color:title outline hover" content=""/>
  242. <meta name="color:links" content="#000"/>
  243. <meta name="color:links hover" content=""/>
  244. <meta name="color:links glow" content=""/>
  245. <meta name="color:links glow hover" content=""/>
  246. <meta name="color:links outline" content=""/>
  247. <meta name="color:links outline hover" content=""/>
  248. <meta name="color:border" content="#000"/>
  249. <meta name="color:tooltip background" content="#fff"/>
  250. <meta name="color:tooltip text" content="#000"/>
  251. <meta name="color:box shadow" content=""/>
  252. <meta name="color:box glow" content=""/>
  253. <meta name="color:selection background" content=""/>
  254. <meta name="color:selection text" content=""/>
  255. <meta name="color:blob color" content="#000"/>
  256.  
  257. <meta name="if:show title" content="1"/>
  258. <meta name="if:show description" content="1"/>
  259. <meta name="if:show links" content="1"/>
  260. <meta name="if:show footer" content="1"/>
  261. <meta name="if:captions" content="1"/>
  262. <meta name="if:pixel links" content=""/>
  263. <meta name="if:smooth scrolling" content="1"/>
  264. <meta name="if:redirect" content=""/>
  265. <meta name="if:title glow" content=""/>
  266. <meta name="if:title outline" content="1"/>
  267. <meta name="if:links glow" content=""/>
  268. <meta name="if:links outline" content=""/>
  269. <meta name="if:hover blur" content=""/>
  270. <meta name="if:round borders" content=""/>
  271. <meta name="if:box shadow" content=""/>
  272. <meta name="if:box glow" content=""/>
  273. <meta name="if:background cover" content=""/>
  274. <meta name="if:grid" content=""/>
  275. <meta name="if:header" content=""/>
  276. <meta name="if:header image" content=""/>
  277. <meta name="if:blobs" content=""/>
  278.  
  279. <meta name="select:border style" content="solid"/>
  280. <meta name="select:border style" content="double"/>
  281. <meta name="select:border style" content="dashed"/>
  282. <meta name="select:border style" content="dotted"/>
  283. <meta name="select:border style" content="inset"/>
  284. <meta name="select:border style" content="outset"/>
  285. <meta name="select:border style" content="groove"/>
  286. <meta name="select:border style" content="ridge"/>
  287.  
  288. <meta name="text:font size" content="20"/>
  289. <meta name="text:font" content="ms gothic"/>
  290. <meta name="text:title" content="title"/>
  291. <meta name="text:title font" content=""/>
  292. <meta name="text:description" content=""/>
  293. <meta name="text:link 1" content="I"/>
  294. <meta name="text:link 1 url" content=""/>
  295. <meta name="text:link 2" content="II"/>
  296. <meta name="text:link 2 url" content=""/>
  297. <meta name="text:link 3" content="III"/>
  298. <meta name="text:link 3 url" content=""/>
  299. <meta name="text:border width" content="2"/>
  300. <meta name="text:blob" content="a"/>
  301. <meta name="text:redirect" content="">        
  302.        
  303. <style type="text/css">
  304.  
  305. .npf_row {
  306.     margin: 0 !important;
  307. }
  308.  
  309. iframe.tumblr_audio_player {
  310.     height: 85px;
  311. }
  312.  
  313. ::selection {
  314. background: {color:selection background};
  315. color:{color:selection text};
  316. }
  317.  
  318. ::-moz-selection {
  319. background: {color:selection background};
  320. color:{color:selection text};
  321. }
  322.  
  323. #s-m-t-tooltip{
  324.     margin: 20px 0 0 20px;
  325.     padding: 5px;
  326.     max-width: 300px;
  327.     background-color:{color:tooltip background};
  328.     color:{color:tooltip text};
  329.     border:{text:border width}px {select:border style} {color:border};
  330.     z-index: 9999;
  331.     {block:ifroundborders}
  332.     border-radius:10px;
  333.     {/block:ifroundborders}
  334. }
  335.  
  336. @font-face{
  337.     font-family: 'Magica';
  338.     src: url(https://static.tumblr.com/p6yopnt/Qkiqnu0r5/theheart.ttf);
  339. }
  340. @font-face{
  341.     font-family: 'DEAD END';
  342.     src: url(https://static.tumblr.com/pvnotae/DzVqdg2j5/dead_end.ttf);
  343. }
  344. @font-face{
  345.     font-family: 'Decibil';
  346.     src: url(https://static.tumblr.com/pvnotae/kwwqdg2pw/decibel_2.ttf);
  347. }
  348. @font-face{
  349.     font-family: 'Aachen';
  350.     src: url(https://static.tumblr.com/pvnotae/YIoqdg2yp/aachen-bold-opentype.otf);
  351. }
  352.  
  353. body {
  354.     margin:0px;
  355.     background:{color:background};
  356.     background-image: url('{image:background}');
  357.     {block:ifbackgroundcover}
  358.     background-size: cover;
  359.     {/block:ifbackgroundcover}
  360.     {block:ifnotbackgroundcover}
  361.     background-repeat:repeat;
  362.     {/block:ifnotbackgroundcover}
  363.     background-attachment:fixed;
  364.     font-family:{text:font};
  365.     font-size:{text:font size}px;
  366.     color:{color:text};
  367. }
  368.  
  369. p{
  370.     margin:0 0 0px 0;
  371.     padding:0;
  372. }
  373.  
  374. pre {
  375.     white-space: pre-wrap;
  376.     white-space: -moz-pre-wrap;
  377.     white-space: -pre-wrap;
  378.     white-space: -o-pre-wrap;
  379.     word-wrap: break-word;
  380. }
  381.  
  382. a{
  383.     color:{color:links};
  384.     {block:iflinksglow}
  385.     text-shadow:0 0 2px {color:links glow},0 0 2px {color:links glow},0 0 2px {color:links glow}, 0 0 1px {color:links glow};
  386.     {/block:iflinksglow}
  387.     {block:iflinksoutline}
  388.     text-shadow: -1px 0 {color:links outline}, 0 1px {color:links outline}, 1px 0 {color:links outline}, 0 -1px {color:links outline};
  389.     {/block:iflinksoutline}
  390.     transition:0.5s;
  391.     text-decoration:none;
  392. }
  393.  
  394. a:hover{
  395.     color:{color:links hover};
  396.     {block:iflinksglow}
  397.     text-shadow:0 0 2px {color:links glow hover},0 0 2px {color:links glow hover},0 0 2px {color:links glow hover},0 0 1px {color:links glow hover};
  398.     {/block:iflinksglow}
  399.     {block:iflinksoutline}
  400.     text-shadow: -1px 0 {color:links outline hover}, 0 1px {color:links outline hover}, 1px 0 {color:links outline hover}, 0 -1px           {color:links outline hover};
  401.     {/block:iflinksoutline}
  402.     {block:ifhoverblur}
  403.     -webkit-filter: blur(.9px);
  404.     {/block:ifhoverblur}
  405.     cursor:help;
  406. }
  407.  
  408. a.tumblr_blog{
  409.     display:inline-block;
  410.     margin-bottom:5px;
  411. }
  412.  
  413. li{
  414.     margin-left:-15px;
  415. }
  416.  
  417. #wrapper{
  418.     {block:ifnotgrid}
  419.     width:850px;
  420.     {block:ifheaderimage}
  421.     width:952px;
  422.     {block:ifheaderimage}
  423.     {/block:ifnotgrid}
  424.     {block:ifgrid}
  425.     {block:IndexPage}
  426.     width:1230px;
  427.     {/block:IndexPage}
  428.     {block:PermalinkPage}
  429.     width:850px;
  430.     {/block:PermalinkPage}
  431.     {/block:ifgrid}
  432.     margin:55px auto;
  433.     animation: fadeEffect 1s;
  434. }
  435.  
  436. @keyframes fadeEffect {
  437.   from {opacity: 0;}
  438.   to {opacity: 1;}
  439. }
  440.  
  441. #sidebarcontainer{
  442.     position:fixed;
  443.     display: flex;  
  444.     flex-direction:column;
  445.     height:fit-content;
  446.     height:-moz-fit-content;
  447.     top: 0;
  448.     bottom: 0;
  449.     margin: auto;
  450. }
  451.  
  452. #sidebar{
  453.     {block:ifnotheaderimage}
  454.     width:225px;
  455.     {/block:ifnotheaderimage}
  456.     {block:ifheaderimage}
  457.     width:450px;
  458.     {/block:ifheaderimage}
  459.     text-align:center;
  460.     {block:ifboxshadow}
  461.     box-shadow: 10px 10px rgb({RGBcolor:box shadow}, .3);
  462.     {/block:ifboxshadow}
  463.     {block:ifroundborders}
  464.     border-radius:5px;
  465.     {/block:ifroundborders}
  466.     border: {text:border width}px {select:border style} {color:border};
  467.     {block:ifheader}
  468.     margin:auto;
  469.     {/block:ifheader}
  470.     {block:ifboxglow}
  471.     -webkit-box-shadow:0px 0px 10px 5px rgba({RGBcolor:box glow},0.5);
  472.     -moz-box-shadow: 0px 0px 10px 5px rgba({RGBcolor:box glow},0.5);
  473.     box-shadow: 0px 0px 10px 5px rgba({RGBcolor:box glow},0.5);
  474.     {/block:ifboxglow}
  475.     background-color:{color:sidebar header background};
  476.     box-sizing:border-box;
  477. }
  478.  
  479. #sidebar img{
  480.     width:100%;
  481.     height:225px;
  482.     box-sizing: border-box;
  483.     display:block;
  484. }
  485.  
  486. img{
  487.     transition:0.5s;
  488. }
  489.  
  490. img:hover{
  491.     {block:ifhoverblur}
  492.     -webkit-filter: blur(.9px);
  493.     {/block:ifhoverblur}
  494.     transition:0.5s;
  495. }
  496.  
  497. #title{
  498.     padding:5px;
  499.     font-size:calc({text:font size}px * 2 - 5px);
  500.     text-align:center;
  501.     border-bottom: {text:border width}px {select:border style} {color:border};
  502.     min-height:30px;
  503.     display: flex;
  504.     align-items: center;
  505.     justify-content: center;
  506.     font-family:{text:title font};
  507. }
  508.  
  509. #title a{
  510.     color:{color:title};
  511.     text-decoration:none;
  512.     {block:iftitleglow}
  513.     text-shadow:0 0 2px {color:title glow},0 0 2px {color:title glow},0 0 2px {color:title glow}, 0 0 1px {color:title glow};
  514.     {/block:iftitleglow}
  515.     {block:iftitleoutline}
  516.     text-shadow: -1px 0 {color:title outline}, 0 1px {color:title outline}, 1px 0 {color:title outline}, 0 -1px {color:title outline};
  517.     {/block:iftitleoutline}
  518.     transition:0.5s;
  519. }
  520.  
  521. #title a:hover{
  522.     color:{color:title hover};
  523.     {block:iftitleglow}
  524.     text-shadow:0 0 2px {color:title glow hover},0 0 2px {color:title glow hover},0 0 2px {color:title glow hover},0 0 1px {color:title glow hover};
  525.     {/block:iftitleglow}
  526.     {block:iftitleoutline}
  527.     text-shadow: -1px 0 {color:title outline hover}, 0 1px {color:title outline hover}, 1px 0 {color:title outline hover}, 0 -1px           {color:title outline hover};
  528.     {/block:iftitleoutline}
  529.     transition:0.5s;
  530.    
  531.     {block:ifhoverblur}
  532.     -webkit-filter: blur(.9px);
  533.     {/block:ifhoverblur}
  534.     cursor:help;
  535. }
  536.  
  537. #description{
  538.     border-top: {text:border width}px {select:border style} {color:border};
  539.     text-align:center;
  540.     padding:10px;
  541.     word-break: break-word;
  542. }
  543.  
  544. #links{
  545.     text-align:center;
  546.     margin-top:10px;
  547.     {block:ifheader}
  548.     margin-bottom:40px;
  549.     {/block:ifheader}
  550. }
  551.  
  552. #content{
  553.     {block:ifnotheader}
  554.     float:right;
  555.     {/block:ifnotheader}
  556.     {block:ifgrid}
  557.     {block:IndexPage}
  558.     column-count: 2;
  559.     column-gap: 40px;
  560.     width:945px;
  561.     {/block:IndexPage}
  562.     {block:ifheader}
  563.     {block:PermalinkPage}
  564.     width:450px;
  565.     {/block:PermalinkPage}
  566.     {/block:ifheader}
  567.     {/block:ifgrid}
  568.     {block:ifheader}
  569.     margin:auto;
  570.     {/block:ifheader}
  571.     {block:ifnotgrid}
  572.     width:450px;
  573.     margin:auto;
  574.     {/block:ifnotgrid}
  575. }
  576.  
  577. .post{
  578.     width:450px;
  579.     margin-bottom:40px;
  580.     border: {text:border width}px {select:border style} {color:border};
  581.     background-color:{color:post background};
  582.     box-sizing:border-box;
  583.     {block:ifboxshadow}
  584.     box-shadow: 10px 10px rgb({RGBcolor:box shadow}, .3);
  585.     {/block:ifboxshadow}
  586.     {block:ifroundborders}
  587.     border-radius:5px;
  588.     {/block:ifroundborders}
  589.     {block:ifgrid}
  590.     break-inside: avoid;
  591.     display:inline-block;
  592.     {/block:ifgrid}
  593.     {block:ifboxglow}
  594.     -webkit-box-shadow:0px 0px 10px 5px rgba({RGBcolor:box glow},0.5);
  595.     -moz-box-shadow: 0px 0px 10px 5px rgba({RGBcolor:box glow},0.5);
  596.     box-shadow: 0px 0px 10px 5px rgba({RGBcolor:box glow},0.5);
  597.     {/block:ifboxglow}
  598.     animation: fadeEffect 1s;
  599.     word-break: break-word;
  600. }
  601.  
  602. .post img{
  603.     max-width:100%;
  604.     height:auto;
  605. }
  606.  
  607. .footer{
  608.     text-align:center;
  609.     border-top: {text:border width}px {select:border style} {color:border};
  610.     padding:10px;
  611.     background-color:{color:footer background};
  612. }
  613.  
  614. .caption{
  615.     border-top: {text:border width}px {select:border style} {color:border};
  616.     padding:10px;
  617.     background-color:{color:footer background};
  618. }
  619.  
  620. video{
  621.     max-width:100%;
  622.     height:auto!important;
  623. }
  624.  
  625. .video-container {
  626.     overflow: hidden;
  627. }
  628.  
  629. .video-container iframe,
  630. .video-container object,
  631. .video-container embed {
  632.     position: center;
  633.     max-width: 445px;
  634.     max-height: 445px;
  635. }
  636.  
  637. .video-wrapper {
  638.     max-width: 445px;
  639.     max-height: 445px;
  640.  
  641. }
  642.  
  643. .media{
  644.     margin:0;
  645.     text-align:center;
  646.     line-height:0 !important;
  647.     transition:0.5s;
  648. }
  649.  
  650. .media:hover{
  651.     {block:ifhoverblur}
  652.     -webkit-filter: blur(.9px);
  653.     {/block:ifhoverblur}
  654. }
  655.  
  656. .title{
  657.     font-size:calc({text:font size}px * 2 - 5px);
  658.     font-weight:bold;
  659.     margin:10px 0 10px 0;
  660.     color:{color:text};
  661. }
  662.  
  663. h1, h2, h3, h4, h5, h6{
  664.     font-size:calc({text:font size}px * 2 - 5px);
  665.     font-weight:bold;
  666.     margin:10px 0 10px 0;
  667.     color:{color:text};
  668. }
  669.  
  670. .quote{
  671.     font-weight:normal;
  672.     font-size:{text:font size}px;
  673.     font-style:italic;
  674.     margin:0 0 10px 0;
  675. }
  676.  
  677. .question{
  678.     margin-bottom:10px;
  679.     border:dotted 1px {color:text};
  680.     padding:10px;
  681. }
  682.  
  683. blockquote{
  684.     margin:0 0 0px 10px;
  685.     padding:0 0 0 10px;
  686.     border-left:dotted 1px {color:text};
  687.     border-radius:5px;
  688. }
  689.  
  690. ol.notes{
  691.     list-style-type:none;
  692.     padding:10px;
  693.     height:200px;
  694.     overflow:auto;
  695.     border-top: {text:border width}px {select:border style} {color:border};
  696.     margin:0;
  697.     background-color:{color:footer background};
  698. }
  699.  
  700. ol.notes li.note img{
  701.     display:none;
  702. }
  703.  
  704. ol.notes li.note{
  705.     margin:0px;
  706. }
  707.  
  708. [photoset-layout] {
  709.   grid-gap: 5px;
  710. }
  711.  
  712. /***** the image *****/
  713. [photoset-layout] img {
  714.     display: block;
  715.     height: 100%;
  716.     width: 100%;
  717.     object-fit: cover;
  718. }
  719.  
  720. [photoset-layout] div {
  721.   cursor: help;
  722. }
  723.  
  724. #button{
  725.     position:fixed;
  726.     right:12px;
  727.     bottom:6px;
  728.     font-size:18px !important;
  729. }
  730.  
  731. #heartbeat{
  732.     position:fixed;
  733.     left:12px;
  734.     bottom:6px;
  735.     font-size:18px !important;
  736. }
  737.  
  738. #heartbeat:hover{
  739.     animation: heartbeat 1s infinite;
  740. }
  741.  
  742. @keyframes heartbeat
  743. {
  744.   0%
  745.   {
  746.     transform: scale( .90 );
  747.   }
  748.   20%
  749.   {
  750.     transform: scale( 1 );
  751.   }
  752.   40%
  753.   {
  754.     transform: scale( .90 );
  755.   }
  756.   60%
  757.   {
  758.     transform: scale( 1 );
  759.   }
  760.   80%
  761.   {
  762.     transform: scale( .90 );
  763.   }
  764.   100%
  765.   {
  766.     transform: scale( .90 );
  767.   }
  768. }
  769.  
  770. {CustomCSS}
  771. </style>
  772. </head>
  773.  
  774. <body>
  775.  
  776. {block:ifredirect}
  777. {block:IndexPage}
  778. <script type="text/javascript">
  779.     var url = location.href;
  780.     if (url == "{BlogURL}") {
  781.         window.location = "{BlogURL}tagged/{text:redirect}";
  782.     }
  783. </script>
  784. {/block:IndexPage}
  785. {/block:ifredirect}
  786.  
  787. <div id="wrapper">
  788.  
  789. {block:ifnotheader}
  790. <div id="sidebarcontainer">
  791. {/block:ifnotheader}
  792. <div id="sidebar">
  793. {block:ifshowtitle}
  794. <div id="title">
  795. <a href="/">{text:title}</a>
  796. </div>
  797. {/block:ifshowtitle}
  798. <a href="/"><img src="{image:icon}"></a>
  799. {block:ifshowdescription}
  800. <div id="description">
  801. {text:description}
  802. </div>
  803. {/block:ifshowdescription}
  804. </div>
  805. {block:ifshowlinks}
  806. <div id="links">
  807. <a href="{text:link 1 url}">{block:ifnotpixellinks}{text:link 1}{/block:ifnotpixellinks}{block:ifpixellinks}<img src="{image:pixel link one}">{/block:ifpixellinks}</a>  
  808. <a href="{text:link 2 url}">{block:ifnotpixellinks}{text:link 2}{/block:ifnotpixellinks}{block:ifpixellinks}<img src="{image:pixel link two}">{/block:ifpixellinks}</a>  
  809. <a href="{text:link 3 url}">{block:ifnotpixellinks}{text:link 3}{/block:ifnotpixellinks}{block:ifpixellinks}<img src="{image:pixel link three}">{/block:ifpixellinks}</a>
  810. </div>
  811. {/block:ifshowlinks}
  812. {block:ifnotheader}
  813. </div>
  814. {/block:ifnotheader}
  815.  
  816. <div id="content">
  817. {block:Posts}
  818.  
  819. <div class="post">
  820.  
  821.  
  822. {block:Text}
  823. <div style="padding:10px">
  824. {block:Title}
  825. <div class="title">{Title}</div>
  826. {/block:Title}
  827. {Body}
  828. </div>
  829. {/block:Text}
  830.  
  831. {block:Photo}
  832. <div class="media">{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{LinkCloseTag}</div>
  833. {block:ifcaptions}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:ifcaptions}
  834. {/block:Photo}
  835.  
  836. {block:Photoset}
  837. <div class="photoset-grid" photoset-layout="{PhotosetLayout}">{block:Photos}<div data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}" data-lowres="{PhotoURL-500}" data-highres="{PhotoURL-HighRes}" onclick="lightbox(this)"><img src="{PhotoURL-HighRes}" /></div>{/block:Photos}</div>
  838. {block:ifcaptions}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:ifcaptions}
  839. {/block:Photoset}
  840.  
  841. {block:Quote}
  842. <div class="quote">"{Quote}"</div>
  843. {block:Source}
  844. <div class="quotesource">{Source}</div>
  845. {/block:Source}
  846. {/block:Quote}
  847.  
  848. {block:Link}
  849. <div style="padding:10px"><
  850. <div class="title"><a href="{URL}">{Name}</a></div>
  851. {block:Description}
  852. <div class="description">{Description}</div>
  853. {/block:Description}
  854. </div>
  855. {/block:Link}
  856.  
  857. {block:Chat}
  858. <div style="padding:10px">
  859. {block:Title}
  860. <div class="title">{Title}</div>
  861. {/block:Title}
  862.  
  863. {block:Lines}
  864. <div class="{Alt} user_{UserNumber}">
  865. {block:Label}
  866. <b>{Label}</b>{/block:Label}
  867. &nbsp;{Line}
  868. </div>
  869. {/block:Lines}
  870. </div>
  871. {/block:Chat}
  872.  
  873. {block:Video}
  874. <div class="media"><div class="video-wrapper">
  875. <div class="video-container">{video-500}</div>
  876. </div></div>
  877. {block:ifcaptions}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:ifcaptions}
  878. {/block:Video}
  879.  
  880. {block:Audio}
  881. <div class="media">
  882. {block:AudioEmbed}<div class="video-wrapper"><div class="video-container">{AudioEmbed}</div></div>{/block:AudioEmbed}
  883. </div>
  884. {block:ifcaptions}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:ifcaptions}
  885. {/block:Audio}
  886.                
  887. {block:Answer}
  888. <div style="padding:10px">
  889. <div class="question" style="font-style:italic">{Asker}: {Question}</div>
  890. {Answer}
  891. </div>
  892. {/block:Answer}
  893.  
  894. {block:ifshowfooter}
  895.  
  896. {block:Date}
  897. <div class="footer">
  898. <a href="{Permalink}"><a href="{Permalink}" title="{notecount}%">{24hourwithzero}:{minutes}</a>
  899.  
  900. <!-- {block:NoRebloggedFrom}
  901. {block:RebloggedFrom}{ReblogParentName}{/block:RebloggedFrom}
  902. {/block:NoRebloggedFrom} -->{block:ContentSource}<!-- {SourceURL}
  903. {block:SourceLogo}<img src="{BlackLogoURL}"width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />{/block:SourceLogo}
  904. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  905. {/block:ContentSource}
  906.  
  907. {block:HasTags}<div class="tags">{block:Tags}#<a href="{TagURL}">{Tag}</a> {/block:Tags}</div>{/block:HasTags}
  908.  
  909. </div>
  910.  
  911. {block:PermalinkPage}
  912. {block:NoteCount}
  913. {block:PostNotes}{PostNotes}{/block:PostNotes}
  914. {/block:NoteCount}
  915. {/block:PermalinkPage}
  916. {/block:Date}
  917.  
  918. {/block:ifshowfooter}
  919.  
  920. </div>
  921.  
  922. {/block:Posts}
  923.  
  924.  
  925. </div>
  926.  
  927. </div>
  928.  
  929. {block:IndexPage}
  930. <a id="button"><i class="fas fa-arrow-up"></i></a>
  931. {/block:IndexPage}
  932.  
  933. <script>
  934.     var btn = $('#button');
  935.            
  936.             btn.hide();
  937.  
  938.             $(window).scroll(function() {
  939.               if ($(window).scrollTop() > 200) {
  940.                 btn.fadeIn();
  941.               } else {
  942.                 btn.fadeOut();
  943.               }
  944.             });
  945.  
  946.             btn.on('click', function(e) {
  947.               e.preventDefault();
  948.               $('html, body').animate({scrollTop:0}, '300');
  949.             });
  950. </script>
  951.  
  952. <a id="heartbeat" href="https://puella.tumblr.com" title="by @puella"><i class="fas fa-heart"></i></a>
  953.  
  954.  
  955.         <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
  956.         <script>window.jQuery || document.write('<script src="https://static.tumblr.com/qxrkgx6/q6kmgn2w2/jquery-1.8.3.min.js"><\/script>')</script>
  957.  
  958.  
  959.     </body>
  960. </html>
Add Comment
Please, Sign In to add comment