Sky_Blue

SIMPLE AND S*XY theme

May 20th, 2020 (edited)
1,667
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 24.64 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4. <!-----
  5.  
  6. SIMPLE AND S*XY THEME by @puella
  7.  
  8. is simple. is s*xy. are you a jokester? *crushes your head like an empty soda can*
  9.  
  10. you can edit the code and move / change the credit emoji, but don't completely remove or obscure it nor take credit for the theme or else..............
  11.  
  12. if u are still reading then u are gay
  13.  
  14. ----->
  15.  
  16. <script type="text/javascript">
  17. // <![CDATA[
  18. var speed=100; // speed of wobbling, lower is faster
  19. var height=3; // height of wobbling in pixels
  20. var alink="/"; // page to link text to (set to ="" for no link)
  21.  
  22. /****************************
  23. *    Wobbly Text Effect     *
  24. *(c) 2003-6 mf2fm web-design*
  25. *  http://www.mf2fm.com/rv  *
  26. * DON'T EDIT BELOW THIS BOX *
  27. ****************************/
  28. var wobtxt, wobble, wobcnt=0;
  29. window.onload=function() { if (document.getElementById) {
  30. var i, wobli;
  31. wobble=document.getElementById("wobble");
  32. wobtxt=wobble.firstChild.nodeValue;
  33. while (wobble.childNodes.length) wobble.removeChild(wobble.childNodes[0]);
  34. for (i=0; i<wobtxt.length; i++) {
  35.   wobli=document.createElement("span");
  36.   wobli.setAttribute("id", "wobb"+i);
  37.   wobli.style.position="relative";
  38.   wobli.appendChild(document.createTextNode(wobtxt.charAt(i)));
  39.   if (alink) {
  40.     wobli.style.cursor="pointer";
  41.     wobli.onclick=function() { top.location.href=alink; }
  42.   }
  43.   wobble.appendChild(wobli);
  44. }
  45. setInterval("wobbler()", speed);
  46. }}
  47.  
  48. function wobbler() {
  49. for (var i=0; i<wobtxt.length; i++) document.getElementById("wobb"+i).style.top=Math.round(height*Math.sin(i+wobcnt))+"px"
  50. wobcnt++;
  51. }
  52. // ]]>
  53. </script>
  54.  
  55. {block:ifrainbowlinks}
  56. <script type='text/javascript'>
  57. //<![CDATA[
  58. var rate = 50;
  59. if (document.getElementById)
  60. window.onerror=new Function("return true")
  61.  
  62. var objActive; // The object which event occured in
  63. var act = 0; // Flag during the action
  64. var elmH = 0; // Hue
  65. var elmS = 128; // Saturation
  66. var elmV = 255; // Value
  67. var clrOrg; // A color before the change
  68. var TimerID; // Timer ID
  69. if (document.all) {
  70. document.onmouseover = doRainbowAnchor;
  71. document.onmouseout = stopRainbowAnchor;
  72. }
  73. else if (document.getElementById) {
  74. document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);
  75. document.onmouseover = Mozilla_doRainbowAnchor;
  76. document.onmouseout = Mozilla_stopRainbowAnchor;
  77. }
  78. function doRainbow(obj)
  79. {
  80. if (act == 0) {
  81. act = 1;
  82. if (obj)
  83. objActive = obj;
  84. else
  85. objActive = event.srcElement;
  86. clrOrg = objActive.style.color;
  87. TimerID = setInterval("ChangeColor()",100);
  88. }
  89. }
  90. function stopRainbow()
  91. {
  92. if (act) {
  93. objActive.style.color = clrOrg;
  94. clearInterval(TimerID);
  95. act = 0;
  96. }
  97. }
  98. function doRainbowAnchor()
  99. {
  100. if (act == 0) {
  101. var obj = event.srcElement;
  102. while (obj.tagName != 'A' && obj.tagName != 'BODY') {
  103. obj = obj.parentElement;
  104. if (obj.tagName == 'A' || obj.tagName == 'BODY')
  105. break;
  106. }
  107. if (obj.tagName == 'A' && obj.href != '') {
  108. objActive = obj;
  109. act = 1;
  110. clrOrg = objActive.style.color;
  111. TimerID = setInterval("ChangeColor()",100);
  112. }
  113. }
  114. }
  115. function stopRainbowAnchor()
  116. {
  117. if (act) {
  118. if (objActive.tagName == 'A') {
  119. objActive.style.color = clrOrg;
  120. clearInterval(TimerID);
  121. act = 0;
  122. }
  123. }
  124. }
  125. function Mozilla_doRainbowAnchor(e)
  126. {
  127. if (act == 0) {
  128. obj = e.target;
  129. while (obj.nodeName != 'A' && obj.nodeName != 'BODY') {
  130. obj = obj.parentNode;
  131. if (obj.nodeName == 'A' || obj.nodeName == 'BODY')
  132. break;
  133. }
  134. if (obj.nodeName == 'A' && obj.href != '') {
  135. objActive = obj;
  136. act = 1;
  137. clrOrg = obj.style.color;
  138. TimerID = setInterval("ChangeColor()",100);
  139. }
  140. }
  141. }
  142. function Mozilla_stopRainbowAnchor(e)
  143. {
  144. if (act) {
  145. if (objActive.nodeName == 'A') {
  146. objActive.style.color = clrOrg;
  147. clearInterval(TimerID);
  148. act = 0;
  149. }
  150. }
  151. }
  152. function ChangeColor()
  153. {
  154. objActive.style.color = makeColor();
  155. }
  156. function makeColor()
  157. {
  158. // Don't you think Color Gamut to look like Rainbow?
  159. // HSVtoRGB
  160. if (elmS == 0) {
  161. elmR = elmV; elmG = elmV; elmB = elmV;
  162. }
  163. else {
  164. t1 = elmV;
  165. t2 = (255 - elmS) * elmV / 255;
  166. t3 = elmH % 60;
  167. t3 = (t1 - t2) * t3 / 60;
  168. if (elmH < 60) {
  169. elmR = t1; elmB = t2; elmG = t2 + t3;
  170. }
  171. else if (elmH < 120) {
  172. elmG = t1; elmB = t2; elmR = t1 - t3;
  173. }
  174. else if (elmH < 180) {
  175. elmG = t1; elmR = t2; elmB = t2 + t3;
  176. }
  177. else if (elmH < 240) {
  178. elmB = t1; elmR = t2; elmG = t1 - t3;
  179. }
  180. else if (elmH < 300) {
  181. elmB = t1; elmG = t2; elmR = t2 + t3;
  182. }
  183. else if (elmH < 360) {
  184. elmR = t1; elmG = t2; elmB = t1 - t3;
  185. }
  186. else {
  187. elmR = 0; elmG = 0; elmB = 0;
  188. }
  189. }
  190. elmR = Math.floor(elmR).toString(16);
  191. elmG = Math.floor(elmG).toString(16);
  192. elmB = Math.floor(elmB).toString(16);
  193. if (elmR.length == 1) elmR = "0" + elmR;
  194. if (elmG.length == 1) elmG = "0" + elmG;
  195. if (elmB.length == 1) elmB = "0" + elmB
  196. elmH = elmH + rate;
  197. if (elmH >= 360)
  198. elmH = 0;
  199. return '#' + elmR + elmG + elmB;
  200. }
  201. //]]>
  202. </script>
  203. {/block:ifrainbowlinks}
  204.  
  205. {block:ifcursorsparkles}
  206. <script type="text/javascript">
  207. // <![CDATA[
  208. var colour="{color:cursor sparkles}";
  209. var sparkles=120;
  210.  
  211. /****************************
  212. *  Tinkerbell Magic Sparkle *
  213. * (c) 2005 mf2fm web-design *
  214. *  https://www.mf2fm.com/rv  *
  215. * DON'T EDIT BELOW THIS BOX *
  216. ****************************/
  217. var x=ox=400;
  218. var y=oy=300;
  219. var swide=800;
  220. var shigh=600;
  221. var sleft=sdown=0;
  222. var tiny=new Array();
  223. var star=new Array();
  224. var starv=new Array();
  225. var starx=new Array();
  226. var stary=new Array();
  227. var tinyx=new Array();
  228. var tinyy=new Array();
  229. var tinyv=new Array();
  230.  
  231. window.onload=function() { if (document.getElementById) {
  232.  var i, rats, rlef, rdow;
  233.  for (var i=0; i<sparkles; i++) {
  234.    var rats=createDiv(3, 3);
  235.    rats.style.visibility="hidden";
  236.    document.body.appendChild(tiny[i]=rats);
  237.    starv[i]=0;
  238.    tinyv[i]=0;
  239.    var rats=createDiv(5, 5);
  240.    rats.style.backgroundColor="transparent";
  241.    rats.style.visibility="hidden";
  242.    var rlef=createDiv(1, 5);
  243.    var rdow=createDiv(5, 1);
  244.    rats.appendChild(rlef);
  245.    rats.appendChild(rdow);
  246.    rlef.style.top="2px";
  247.    rlef.style.left="0px";
  248.    rdow.style.top="0px";
  249.    rdow.style.left="2px";
  250.    document.body.appendChild(star[i]=rats);
  251.  }
  252.  set_width();
  253.  sparkle();
  254. }}
  255.  
  256. function sparkle() {
  257.  var c;
  258.  if (x!=ox || y!=oy) {
  259.    ox=x;
  260.    oy=y;
  261.    for (c=0; c<sparkles; c++) if (!starv[c]) {
  262.      star[c].style.left=(starx[c]=x)+"px";
  263.      star[c].style.top=(stary[c]=y)+"px";
  264.      star[c].style.clip="rect(0px, 5px, 5px, 0px)";
  265.      star[c].style.visibility="visible";
  266.      starv[c]=50;
  267.      break;
  268.    }
  269.  }
  270.  for (c=0; c<sparkles; c++) {
  271.    if (starv[c]) update_star(c);
  272.    if (tinyv[c]) update_tiny(c);
  273.  }
  274.  setTimeout("sparkle()", 40);
  275. }
  276.  
  277. function update_star(i) {
  278.  if (--starv[i]==25) star[i].style.clip="rect(1px, 4px, 4px, 1px)";
  279.  if (starv[i]) {
  280.    stary[i]+=1+Math.random()*3;
  281.    if (stary[i]<shigh+sdown) {
  282.      star[i].style.top=stary[i]+"px";
  283.      starx[i]+=(i%5-2)/5;
  284.      star[i].style.left=starx[i]+"px";
  285.    }
  286.    else {
  287.      star[i].style.visibility="hidden";
  288.      starv[i]=0;
  289.      return;
  290.    }
  291.  }
  292.  else {
  293.    tinyv[i]=50;
  294.    tiny[i].style.top=(tinyy[i]=stary[i])+"px";
  295.    tiny[i].style.left=(tinyx[i]=starx[i])+"px";
  296.    tiny[i].style.width="2px";
  297.    tiny[i].style.height="2px";
  298.    star[i].style.visibility="hidden";
  299.    tiny[i].style.visibility="visible"
  300.  }
  301. }
  302.  
  303. function update_tiny(i) {
  304.  if (--tinyv[i]==25) {
  305.    tiny[i].style.width="1px";
  306.    tiny[i].style.height="1px";
  307.  }
  308.  if (tinyv[i]) {
  309.    tinyy[i]+=1+Math.random()*3;
  310.    if (tinyy[i]<shigh+sdown) {
  311.      tiny[i].style.top=tinyy[i]+"px";
  312.      tinyx[i]+=(i%5-2)/5;
  313.      tiny[i].style.left=tinyx[i]+"px";
  314.    }
  315.    else {
  316.      tiny[i].style.visibility="hidden";
  317.      tinyv[i]=0;
  318.      return;
  319.    }
  320.  }
  321.  else tiny[i].style.visibility="hidden";
  322. }
  323.  
  324. document.onmousemove=mouse;
  325. function mouse(e) {
  326.  set_scroll();
  327.  y=(e)?e.pageY:event.y+sdown;
  328.  x=(e)?e.pageX:event.x+sleft;
  329. }
  330.  
  331. function set_scroll() {
  332.  if (typeof(self.pageYOffset)=="number") {
  333.    sdown=self.pageYOffset;
  334.    sleft=self.pageXOffset;
  335.  }
  336.  else if (document.body.scrollTop || document.body.scrollLeft) {
  337.    sdown=document.body.scrollTop;
  338.    sleft=document.body.scrollLeft;
  339.  }
  340.  else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
  341.    sleft=document.documentElement.scrollLeft;
  342.    sdown=document.documentElement.scrollTop;
  343.  }
  344.  else {
  345.    sdown=0;
  346.    sleft=0;
  347.  }
  348. }
  349.  
  350. window.onresize=set_width;
  351. function set_width() {
  352.  if (typeof(self.innerWidth)=="number") {
  353.    swide=self.innerWidth;
  354.    shigh=self.innerHeight;
  355.  }
  356.  else if (document.documentElement && document.documentElement.clientWidth) {
  357.    swide=document.documentElement.clientWidth;
  358.    shigh=document.documentElement.clientHeight;
  359.  }
  360.  else if (document.body.clientWidth) {
  361.    swide=document.body.clientWidth;
  362.    shigh=document.body.clientHeight;
  363.  }
  364. }
  365.  
  366. function createDiv(height, width) {
  367.  var div=document.createElement("div");
  368.  div.style.position="absolute";
  369.  div.style.height=height+"px";
  370.  div.style.width=width+"px";
  371.  div.style.overflow="hidden";
  372.  div.style.backgroundColor=colour;
  373.  return (div);
  374. }
  375. // ]]>
  376. </script>
  377. {/block:ifcursorsparkles}
  378.  
  379. <meta charset="utf-8">
  380. <meta https-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  381. {block:Description}
  382. <meta name="description" content="{MetaDescription}" />
  383. {/block:Description}
  384.    
  385. <title>{Title}</title>
  386.        
  387. <link rel="shortcut icon" href="{image:favicon}">
  388. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  389. <link rel="stylesheet" href="https://static.tumblr.com/qxrkgx6/RWPmgn2qa/normalize.min.css">
  390.  
  391. <script src="https://static.tumblr.com/qxrkgx6/LuRmgn2rm/modernizr-2.6.2.min.js"></script>
  392.  
  393. {block:ifsmoothscrolling}
  394. <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.1/SmoothScroll.min.js"></script>
  395. {/block:ifsmoothscrolling}
  396.  
  397. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
  398. <script src="https://static.tumblr.com/rtrqcib/VGGnlh8rf/jquery.style-my-tooltips.min.js"></script>
  399. <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>
  400.  
  401. <link href="https://fonts.googleapis.com/css?family=Kosugi+Maru|Short+Stack" rel="stylesheet">
  402.        
  403. <meta name="image:favicon" content=""/>
  404. <meta name="image:sidebar img">
  405. <meta name="image:background" content=""/>
  406. <meta name="image:footer pixel" content=""/>
  407. <meta name="image:pixel link 1" content=""/>
  408. <meta name="image:pixel link 2" content=""/>
  409. <meta name="image:pixel link 3" content=""/>
  410.  
  411. <meta name="color:background" content=""/>
  412. <meta name="color:post background" content=""/>
  413. <meta name="color:text" content=""/>
  414. <meta name="color:links" content=""/>
  415. <meta name="color:links hover" content=""/>
  416. <meta name="color:links glow" content=""/>
  417. <meta name="color:links glow hover" content=""/>
  418. <meta name="color:links outline" content=""/>
  419. <meta name="color:links outline hover" content=""/>
  420. <meta name="color:border color" content=""/>
  421. <meta name="color:selection background" content=""/>
  422. <meta name="color:selection text" content=""/>
  423. <meta name="color:box shadow" content=""/>
  424. <meta name="color:cursor sparkles" content="">
  425. <meta name="color:scrollbar" content=""/>
  426.  
  427. <meta name="if:title" content="1"/>
  428. <meta name="if:description" content="1"/>
  429. <meta name="if:links" content=""/>
  430. <meta name="if:pixel links" content="1"/>
  431. <meta name="if:rainbow links" content=""/>
  432. <meta name="if:links glow" content=""/>
  433. <meta name="if:links outline" content="1"/>
  434. <meta name="if:smooth scrolling" content="1"/>
  435. <meta name="if:redirect" content=""/>
  436. <meta name="if:tags" content=""/>
  437. <meta name="if:hover blur" content=""/>
  438. <meta name="if:captions" content="1"/>
  439. <meta name="if:round borders" content=""/>
  440. <meta name="if:box shadow" content=""/>
  441. <meta name="if:cursor sparkles" content=""/>
  442. <meta name="if:bouncing desc" content=""/>
  443. <meta name="if:footer pixel" content="1"/>
  444. <meta name="if:fade in out" content="1"/>
  445.  
  446. <meta name="select:border style" content="solid"/>
  447. <meta name="select:border style" content="dashed"/>
  448. <meta name="select:border style" content="dotted"/>
  449. <meta name="select:border style" content="double"/>
  450. <meta name="select:border style" content="inset"/>
  451. <meta name="select:border style" content="outset"/>
  452. <meta name="select:border style" content="groove"/>
  453. <meta name="select:border style" content="ridge"/>
  454. <meta name="select:border style" content="none"/>
  455.  
  456. <meta name="text:font size" content="20"/>
  457. <meta name="text:font" content=""/>
  458. <meta name="text:title font" content=""/>
  459. <meta name="text:title" content=""/>
  460. <meta name="text:title size" content""/>
  461. <meta name="text:description" content=""/>
  462. <meta name="text:link separator" content=""/>
  463. <meta name="text:link 1" content=""/>
  464. <meta name="text:link 1 url" content=""/>
  465. <meta name="text:link 2" content=""/>
  466. <meta name="text:link 2 url" content=""/>
  467. <meta name="text:link 3" content=""/>
  468. <meta name="text:link 3 url" content=""/>
  469. <meta name="text:border width" content=""/>
  470. <meta name="text:previous" content="&laquo;"/>
  471. <meta name="text:next" content="&raquo;"/>
  472. <meta name="text:sidebar img hover" content="hello :)"/>
  473. <meta name="text:redirect" content="">        
  474.        
  475. <style type="text/css">
  476.  
  477. ::selection {
  478.     background: {color:selection background};
  479.     color:{color:selection text};
  480. }
  481.  
  482. ::-moz-selection {
  483.     background: {color:selection background};
  484.     color:{color:selection text};
  485. }
  486.  
  487. ::-webkit-scrollbar {
  488.     width:10px;
  489.     height:0px;
  490.     background-color: {color:background};
  491.         }
  492.  
  493. ::-webkit-scrollbar-thumb{
  494.     width:10px;
  495.     background-color: {color:scrollbar};
  496.     {block:ifroundborders}
  497.     border-radius:100px;
  498.     {/block:ifroundborders}
  499. }
  500.  
  501. #s-m-t-tooltip {
  502.     z-index:99999999999999999;
  503.     background: white;
  504.     max-width: 300px;
  505.     margin: 20px;
  506.     padding: 5px;
  507.     border: {text:border width}px solid {color:border color};
  508.     color:{color:text};
  509.     {block:ifroundborders}
  510.     border-radius:5px;
  511.     {/block:ifroundborders}
  512. }
  513.  
  514. body {
  515.     margin:0px;
  516.     background:{color:background};
  517.     background-image: url('{image:background}');
  518.     background-size: cover;
  519.     background-attachment: fixed;
  520.     font-family:{text:font};
  521.     font-size:{text:font size}px;
  522.     color:{color:text};
  523.     word-wrap:break-word;
  524. }
  525.  
  526. p{
  527.     margin:0 0 10px 0;
  528.     padding:0;
  529. }
  530.  
  531. pre {
  532.     white-space: pre-wrap;
  533.     white-space: -moz-pre-wrap;
  534.     white-space: -pre-wrap;
  535.     white-space: -o-pre-wrap;
  536.     word-wrap: break-word;
  537. }
  538.  
  539. a{
  540.     color:{color:links};
  541.     {block:iflinksglow}
  542.     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};
  543.     {/block:iflinksglow}
  544.     {block:iflinksoutline}
  545.     text-shadow: -1px 0 {color:links outline}, 0 1px {color:links outline}, 1px 0 {color:links outline}, 0 -1px {color:links outline};
  546.     {/block:iflinksoutline}
  547.     text-decoration:none;
  548.     transition:0.5s;
  549. }
  550.  
  551. a:hover{
  552.     color:{color:links hover};
  553.     {block:iflinksglow}
  554.     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};
  555.     {/block:iflinksglow}
  556.      {block:iflinksoutline}
  557.     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};
  558.     {/block:iflinksoutline}
  559.     {block:ifhoverblur}
  560.     -webkit-filter: blur(.9px);
  561.     {/block:ifhoverblur}
  562.     transition:0.5s;
  563.     cursor:help;
  564. }
  565.  
  566. a.tumblr_blog{
  567.     display:inline-block;
  568.     margin-bottom:0px;
  569. }
  570.  
  571. li{
  572.     margin-left:-15px;
  573. }
  574.  
  575. #wrapper{
  576.     width:800px;
  577.     margin:50px auto;
  578.     {block:iffadeinout}
  579.     animation: fadeEffect 1s;
  580.     {block:iffadeinout}
  581. }
  582.  
  583. @keyframes fadeEffect {
  584.   from {opacity: 0;}
  585.   to {opacity: 1;}
  586. }
  587.  
  588. #sidebar{
  589.     width:150px;
  590.     text-align:center;
  591.     margin-left:-75px;
  592.     position:fixed;
  593.     float:left;
  594.     border:{text:border width}px {select:border style} {color:border color};;
  595.     {block:ifboxshadow}
  596.     box-shadow: 10px 10px rgb({RGBcolor:box shadow}, .3);
  597.     {/block:ifboxshadow}
  598.     {block:ifroundborders}
  599.     border-radius:5px;
  600.     {/block:ifroundborders}
  601.     background:{color:post background};
  602.     padding:10px;
  603. }
  604.  
  605. #sidebar img{
  606.     max-width:100%;
  607.     {block:ifroundborders}
  608.     border-radius:5px;
  609.     {/block:ifroundborders}
  610. }
  611.  
  612. {block:iftitle}
  613. #title{
  614.     font-size:{text:title size}px;
  615.     font-family:{text:title font};
  616.     z-index:9999999999999999999999;
  617.     text-align:center;
  618.     margin:0px 0 5px 0;
  619. }
  620. {/block:iftitle}
  621.  
  622. {block:ifdescription}
  623. #description{
  624.     max-width:150px;
  625.     font-size:{text:font size}px;  
  626.     text-align:center;
  627.     margin-top:5px;
  628. }
  629. {/block:ifdescription}
  630.  
  631. #links{
  632.     margin-top:5px;
  633.     text-align:center;
  634. }
  635.  
  636. #content{
  637.     width:900px;
  638.     margin-left:225px;
  639.     overflow:hidden;
  640. }
  641.  
  642. .post{
  643.     width:400px;
  644.     margin:0 0 50px 0;
  645.     overflow:hidden;
  646.     padding:10px;
  647.     border: {text:border width}px {select:border style} {color:border color};
  648.     background:{color:post background};
  649.     {block:ifroundborders}
  650.     border-radius:5px;
  651.     {/block:ifroundborders}
  652.     {block:ifboxshadow}
  653.     box-shadow: 10px 10px rgb({RGBcolor:box shadow}, .3);
  654.     {/block:ifboxshadow}
  655. }
  656.  
  657. .post img{
  658.     max-width:100%;
  659.     height:auto;
  660.     {block:ifroundborders}
  661.     border-radius:5px;
  662.     {/block:ifroundborders}
  663. }
  664.  
  665. .post .footer{
  666.     margin:5px 0 5px 0;
  667.     text-align:center;
  668. }
  669.  
  670. #nav{
  671.     text-align:center;
  672.     width:415px;
  673. }
  674.  
  675. video{
  676.     max-width:100%;
  677.     height:auto!important;
  678. }
  679.  
  680. .video-container {
  681.     overflow: hidden;
  682. }
  683.        
  684. .video-container iframe,
  685. .video-container object,
  686. .video-container embed {
  687.     position: center;
  688.     max-width: 400px;
  689.     max-height: 100%;
  690. }
  691.        
  692. .video-wrapper {
  693.     max-width: 400px;
  694.     max-height: 100%;
  695.  
  696. }
  697.  
  698. .media{
  699.     text-align:center;
  700.     margin:0px 0 10px 0;
  701. }
  702.  
  703. .media:hover{
  704.     {block:ifhoverblur}
  705.     -webkit-filter: blur(.9px);
  706.     {/block:ifhoverblur}
  707. }
  708.  
  709. .caption{
  710.     margin-bottom:15px;
  711. }
  712.  
  713. .title{
  714.     font-size:{text:title size}px;
  715.     font-weight:normal;
  716.     margin:10px;
  717.     text-align:center;
  718.     color:{color:text};
  719. }
  720.  
  721. h1, h2, h3, h4, h5, h6{
  722.     font-size:{text:title size}px;
  723.     font-weight:normal;
  724.     margin:10px;
  725.     text-align:center;
  726.     color:{color:text};
  727. }
  728.  
  729. .quote{
  730.     font-weight:normal;
  731.     font-size:{text:font size};
  732.     font-style:italic;
  733.     margin:0 0 10px 0;
  734. }
  735.  
  736. .question{
  737.     margin-bottom:10px;
  738. }
  739.  
  740. blockquote{
  741.     margin:0 0 10px 10px;
  742.     padding:0 0 0 10px;
  743.     border-left:dotted 0.5px {color:text};
  744. }
  745.  
  746. blockquote img{
  747.     {block:ifroundborders}
  748.     border-radius:5px
  749.     {/block:ifroundborders}
  750. }
  751.  
  752. ol.notes{
  753.     list-style-type:none;
  754.     padding:7px;
  755.     margin-top:30px;
  756.     text-align:left;
  757. }
  758.  
  759. ol.notes li.note img{
  760.     width:10px;
  761.     height:10px;
  762.     margin-right:10px;
  763. }
  764.  
  765. ol.notes li.note{
  766.     margin:0px;
  767.     margin-left:5px;
  768. }
  769.  
  770. .tags {
  771.    max-height:0px;
  772.    opacity:0;
  773.     -webkit-transition: all 0.7s ease;
  774.    transition: all 0.7s ease;
  775.    -moz-transition: all 0.7s ease;
  776.    -o-transition: all 0.7s ease;}    
  777.  
  778. .post:hover .tags{
  779.     margin-top:10px;
  780.    opacity:1;
  781.    max-height:300px;
  782.    -webkit-transition: all 0.7s ease;
  783.    transition: all 0.7s ease;
  784.    -moz-transition: all 0.7s ease;
  785.    -o-transition: all 0.7s ease;}
  786.    
  787. .heartbeat:hover{
  788.     animation: heartbeat 1s infinite;
  789. }
  790.  
  791. @keyframes heartbeat
  792. {
  793.   0%
  794.   {
  795.     transform: scale( .90 );
  796.   }
  797.   20%
  798.   {
  799.     transform: scale( 1 );
  800.   }
  801.   40%
  802.   {
  803.     transform: scale( .90 );
  804.   }
  805.   60%
  806.   {
  807.     transform: scale( 1 );
  808.   }
  809.   80%
  810.   {
  811.     transform: scale( .90 );
  812.   }
  813.   100%
  814.   {
  815.     transform: scale( .90 );
  816.   }
  817. }
  818.  
  819. {CustomCSS}
  820. </style>
  821. </head>
  822.  
  823. <body>
  824.  
  825. {block:ifredirect}
  826. {block:IndexPage}
  827. <script type="text/javascript">
  828.     var url = location.href;
  829.     if (url == "{BlogURL}") {
  830.         window.location = "{BlogURL}tagged/{text:redirect}";
  831.     }
  832. </script>
  833. {/block:IndexPage}
  834. {/block:ifredirect}
  835.  
  836. <div id="wrapper">
  837.  
  838. <div id="sidebar">
  839. {block:iftitle}
  840. <div id="title">
  841. <a href="/">{text:title}</a>
  842. </div>
  843. {/block:iftitle}
  844. <a title="{text:sidebar img hover}" href="/"><img src="{image:sidebar img}"></a>
  845. {block:ifdescription}
  846. <div id="description">
  847. {block:ifbouncingdesc}<marquee behavior="alternate">{/block:ifbouncingdesc}{text:description}{block:ifbouncingdesc}</marquee>{/block:ifbouncingdesc}
  848. </div>
  849. {/block:ifdescription}
  850. {block:iflinks}
  851. {block:ifpixellinks}
  852. <div id="links">
  853. <a href="{text:link 1 url}"><img src="{image:pixel link 1}"></a> <a href="{text:link 2 url}"><img src="{image:pixel link 2}"></a> <a href="{text:link 3 url}"><img src="{image:pixel link 3}"></a>
  854. </div>
  855. {/block:ifpixellinks}
  856. {block:ifnotpixellinks}
  857. <div id="links">
  858. <a href="{text:link 1 url}">{text:link 1}</a> {text:link separator} <a href="{text:link 2 url}">{text:link 2}</a> {text:link separator} <a href="{text:link 3 url}">{text:link 3}</a>
  859. </div>
  860. {/block:ifnotpixellinks}
  861. {/block:iflinks}
  862. </div>
  863.  
  864. <div id="content">
  865. {block:Posts}
  866.  
  867. <div class="post">
  868.  
  869. {block:Text}
  870. {block:Title}
  871. <div class="title">{Title}</div>
  872. {/block:Title}
  873. {Body}
  874. {/block:Text}
  875.  
  876. {block:Photo}
  877. <div class="media">{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{LinkCloseTag}</div>
  878. {block:ifcaptions}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:ifcaptions}
  879. {/block:Photo}
  880.  
  881. {block:Photoset}
  882. <div class="media">{Photoset-400}</div>
  883. {block:ifcaptions}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:ifcaptions}
  884. {/block:Photoset}
  885.  
  886. {block:Quote}
  887. <div class="quote">"{Quote}"</div>
  888. {block:Source}
  889. <div class="quotesource">{Source}</div>
  890. {/block:Source}
  891. {/block:Quote}
  892.  
  893. {block:Link}
  894. <div class="title"><a href="{URL}">{Name}</a></div>
  895. {block:Description}
  896. <div class="description">{Description}</div>
  897. {/block:Description}
  898. {/block:Link}
  899.  
  900. {block:Chat}
  901. {block:Title}
  902. <div class="title">{Title}</div>
  903. {/block:Title}
  904.  
  905. {block:Lines}
  906. <div class="{Alt} user_{UserNumber}">
  907. {block:Label}
  908. <b>{Label}</b>{/block:Label}
  909. &nbsp;{Line}
  910. </div>
  911. {/block:Lines}
  912. {/block:Chat}
  913.  
  914. {block:Video}
  915. <div class="media" style="margin-bottom:10px !important"><div class="video-wrapper">
  916. <div class="video-container">{video-400}</div>
  917. </div></div>
  918. {block:ifcaptions}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:ifcaptions}
  919. {/block:Video}
  920.  
  921. {block:Audio}
  922. <div class="media" style="margin-bottom:-85px !important">
  923. {block:AudioEmbed}<div class="video-wrapper"><div class="video-container">{AudioEmbed-400}</div></div>{/block:AudioEmbed}
  924. </div>
  925. {block:ifcaptions}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:ifcaptions}
  926. {/block:Audio}
  927.                
  928. {block:Answer}
  929. <div class="question" style="font-style:italic;">{Asker}: {Question}</div>
  930. <div class="caption">{Answer}</div>
  931. {/block:Answer}
  932.  
  933. {block:Date}
  934. <div class="footer">
  935. {block:iffooterpixel}<a href="{Permalink}" title="{notecount}%"><img src="{image:footer pixel}"></a>{/block:iffooterpixel}
  936.  
  937. {block:ifnotfooterpixel}
  938. <a href="{Permalink}"><a href="{Permalink}" title="{notecount}%">{24hourwithzero}:{minutes}</a>
  939. {/block:ifnotfooterpixel}
  940.  
  941. {block:iftags}
  942. {block:HasTags}<div class="tags">{block:Tags}#<a href="{TagURL}">{Tag}</a> {/block:Tags}</div>{/block:HasTags}
  943. {/block:iftags}
  944.  
  945. <!-- {block:NoRebloggedFrom}
  946. {block:RebloggedFrom}{ReblogParentName}{/block:RebloggedFrom}
  947. {/block:NoRebloggedFrom} -->{block:ContentSource}<!-- {SourceURL}
  948. {block:SourceLogo}<img src="{BlackLogoURL}"width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />{/block:SourceLogo}
  949. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  950. {/block:ContentSource}
  951.  
  952. </div>
  953.  
  954. {block:PermalinkPage}
  955. {block:NoteCount}
  956. {block:PostNotes}{PostNotes}{/block:PostNotes}
  957. {/block:NoteCount}
  958. {/block:PermalinkPage}
  959. {/block:Date}
  960.  
  961. </div>
  962. {/block:Posts}
  963.  
  964. {block:Pagination}
  965. <div id="nav">
  966. <div style="float:left;">{block:PreviousPage}<a href="{PreviousPage}">{text:previous}</a>{/block:PreviousPage}</div>
  967.  
  968. <div style="float:right;">{block:NextPage}<a href="{NextPage}">{text:next}</a>{/block:NextPage}</div>
  969. </div>
  970. {/block:Pagination}
  971. </div>
  972. </div>
  973.  
  974. </div>
  975.  
  976.         <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
  977.         <script>window.jQuery || document.write('<script src="https://static.tumblr.com/qxrkgx6/q6kmgn2w2/jquery-1.8.3.min.js"><\/script>')</script>
  978.  
  979. <a href="https://puella.tumblr.com" title="by @puella" style="position:fixed;left:12px;bottom:-12px;font-size:20px;"><div class="heartbeat"><3</div></a>
  980.  
  981.     </body>
  982. </html>
Add Comment
Please, Sign In to add comment