kyoukaizumi

pawsome

Nov 26th, 2017
3,307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.79 KB | None | 0 0
  1. <html>
  2. <script src="http://static.tumblr.com/qxrkgx6/LuRmgn2rm/modernizr-2.6.2.min.js"></script>
  3. <link href="https://fonts.googleapis.com/css?family=Short+Stack" rel="stylesheet">
  4. <script src="http://static.tumblr.com/qxrkgx6/LuRmgn2rm/modernizr-2.6.2.min.js"></script>
  5. <link href="https://fonts.googleapis.com/css?family=Karla" rel="stylesheet">
  6.  
  7. <script src="http://static.tumblr.com/qxrkgx6/LuRmgn2rm/modernizr-2.6.2.min.js"></script>
  8. <link href="https://fonts.googleapis.com/css?family=Comic+Sans+MS" rel="stylesheet">
  9.  
  10. <!--
  11.  
  12. ..*•.¸(*•.¸❤¸.•*)¸.•*..
  13. ╔═╦══╦═╗ pawsome! theme
  14. ║╩╣║║║║║ by maca @55minutes
  15. ╚═╩╩╩╩═╝ base code by nezzi00
  16. pls lmk if there are any bugs~❣
  17. ¸.•*(¸.•*´❤`*•.¸)*•.¸
  18.  
  19. -->
  20.  
  21.  
  22.  
  23. <title>{Title}</title>
  24. <link rel="shortcut icon" href="{image:favicon}">
  25.  
  26. <meta name="image:background" content=""/>
  27. <meta name="image:sidebar" content=""/>
  28. <meta name="image:favicon" content=""/>
  29. <meta name="image:cursor" content=""/>
  30.  
  31. <meta name="color:background" content="#fff"/>
  32. <meta name="color:text" content="#d3d3d3"/>
  33. <meta name="color:link" content="#ADD8E6"/>
  34. <meta name="color:link hover" content="#72bcd4"/>
  35. <meta name="color:post bg" content="#fff"/>
  36. <meta name="color:glowing links" content="#000"/>
  37. <meta name="color:link border" content="#fff"/>
  38.  
  39. <meta name="if:title" content="1"/>
  40. <meta name="if:sidebar img" content="1"/>
  41. <meta name="if:rounded sidebar img" content="" />
  42. <meta name="if:circle sidebar img" content="" />
  43. <meta name="if:custom cursor" content=""/>
  44. <meta name="if:description" content="1"/>
  45. <meta name="if:dropdown" content=""/>
  46. <meta name="if:links" content=""/>
  47. <meta name="if:link border" content="" />
  48. <meta name="if:rainbow links" content="0"/>
  49. <meta name="if:bold links" content=""/>
  50. <meta name="if:show tags" content="0"/>
  51. <meta name="if:link border" content="0"/>
  52. <meta name="if:glowing links" content="0"/>
  53. <meta name="if:white sparkles" content=""/>
  54. <meta name="if:gray sparkles" content=""/>
  55. <meta name="if:black sparkles" content=""/>
  56. <meta name="if:rainbow sparkles" content=""/>
  57. <meta name="if:redirect tag" content=""/>
  58. <meta name="if:spacing on hover" content="" />
  59. <meta name="if:rounded posts" content="0"/>
  60. <meta name="if:caption" content="0"/>
  61. <meta name="if:full bg" content="0"/>
  62.  
  63. <meta name="select:post size" content="250px"/>
  64. <meta name="select:post size" content="300px"/>
  65. <meta name="select:post size" content="350px"/>
  66. <meta name="select:post size" content="400px"/>
  67. <meta name="select:post size" content="450px"/>
  68. <meta name="select:post size" content="500px"/>
  69.  
  70. <meta name="select:font" content="arial"/>
  71. <meta name="select:font" content="ms gothic"/>
  72. <meta name="select:font" content="times"/>
  73. <meta name="select:font" content="karla"/>
  74. <meta name="select:font" content="short stack"/>
  75. <meta name="select:font" content="comic sans ms"/>
  76.  
  77. <meta name="text:font size" content="">
  78. <meta name="text:redirect tag" content=""/>
  79. <meta name="text:hover spacing" content="0.5" />
  80. <meta name="text:permalink divider" content=","/>
  81. <meta name="text:notes" content="!"/>
  82. <meta name="text:dropdown title" content="">
  83. <meta name="text:link divider" content="+"/>
  84. <meta name="text:link 1" content=""/>
  85. <meta name="text:link 1 url" content="/"/>
  86. <meta name="text:link 2" content=""/>
  87. <meta name="text:link 2 url" content="/"/>
  88. <meta name="text:link 3" content=""/>
  89. <meta name="text:link 3 url" content="/"/>
  90.  
  91. <style>
  92.  
  93.  
  94. body {
  95.  
  96. font-size: {text:font size}px;
  97. color: {color:text};
  98. background-image: url('{image:background}');
  99. {block:ifnotfullbg}
  100. background-repeat: repeat;
  101. background-attachment: fixed;
  102. letter-spacing:0.5px;
  103. {/block:ifnotfullbg}
  104. {block:iffullbg}
  105. background-size: cover;
  106. background-attachment: fixed;
  107. {/block:iffullbg}
  108. background-color: {color:background};
  109. font-family: {select:font};
  110.  
  111. }
  112.  
  113.  
  114. }
  115.  
  116. ul {
  117. list-style-type: hiragana;
  118.  
  119. }
  120.  
  121. a, a:visited {
  122.  
  123. text-decoration: none;
  124. color:{color:link};
  125. font-size: {text:font size}px;
  126. {block:ifGlowingLinks}text-shadow: 0px 0px 2.5px {color:glowing links}; {/block:ifGlowingLinks}
  127. {block:iflinkborder}
  128. text-shadow: -1px 0 {color:link border}, 0 1px {color:link border}, 1px 0 {color:link border}, 0 -1px {color:link border};{/block:iflinkborder}
  129. {block:ifboldlinks}
  130. font-weight:bold;
  131. {/block:ifboldlinks}
  132. -webkit-transition-duration: .3s;
  133. -moz-transition-duration: .3s;
  134. -o-transition-duration: .3s;
  135.  
  136. }
  137.  
  138.  
  139. a:hover {
  140.  
  141. color:{color:link hover};
  142. transition-duration: .3s;
  143. {block:ifGlowingLinks}text-shadow: 0px 0px 2.5px {color:glowing links}; {/block:ifGlowingLinks}
  144. {block:ifspacingonhover}letter-spacing: 2.5px;
  145. transition: all 0.5s;{/block:ifspacingonhover}
  146. {block:ifboldlinks}
  147. font-weight:bold;
  148. {/block:ifboldlinks}
  149. -webkit-transition-duration: .3s;
  150. -moz-transition-duration: .3s;
  151. -o-transition-duration: .3s;
  152.  
  153. }
  154.  
  155. #entries {
  156.  
  157. position: relative;
  158. padding: 15px;
  159. width: {select:post size};
  160. margin: 30px 5px 20px 650px;
  161. background: {color:post bg};
  162. {block:ifroundedposts}
  163. border-radius:20px;
  164. {/block:ifroundedposts}
  165.  
  166.  
  167. }
  168.  
  169. #entries blockquote {
  170.  
  171. color: {color:text};
  172. border-left: 1px {select:border}{color:blockquote};
  173. padding: 0px 0px 0px 5px;
  174.  
  175. }
  176.  
  177. #sidebar {
  178.  
  179. position:fixed;
  180. margin-left: 300px;
  181. margin-top: 100px;
  182. width: 150px;
  183.  
  184.  
  185. }
  186.  
  187. #sidebar img {
  188.  
  189. width: 150px;
  190. height: 150px;
  191. {block:ifroundedsidebarimg}
  192. border-radius:20px;
  193. {/block:ifroundedsidebarimg}
  194. {block:ifcirclesidebarimg}
  195. border-radius:100px;
  196. {/block:ifcirclesidebarimg}
  197. }
  198.  
  199. #sidebar .title {
  200.  
  201. font-size: 18px;
  202. margin-bottom: 5px;
  203.  
  204. }
  205.  
  206. #sidebar .clicky {
  207.  
  208. margin-top: 10px;
  209. }
  210.  
  211. #sidebar .img {
  212.  
  213. margin-top: 10px;
  214. }
  215.  
  216. #sidebar .desc {
  217.  
  218. margin-top: 10px;
  219.  
  220. }
  221.  
  222. .ask {
  223.  
  224. background: {color:post bg};
  225. padding: 5px;
  226.  
  227. }
  228.  
  229.  
  230. #credit {
  231.  
  232. position: fixed;
  233. padding: 7px;
  234. width: 10px;
  235. height: 7;
  236. line-height: 90%;
  237. bottom: 5px;
  238. left: 5px;
  239. }
  240.  
  241.  
  242.  
  243. </style>
  244.  
  245.  
  246. <head>
  247.  
  248. {block:ifredirecttag}
  249. <script>if(window.location.pathname == '/') location.replace('/tagged/{text:redirect tag}');</script>{/block:ifredirecttag}
  250.  
  251. {block:ifcustomcursor}
  252. <style>body, a, a:hover { cursor:url({image:cursor}), auto; }</style>
  253. {/block:ifcustomcursor}
  254.  
  255.  
  256. {block:ifwhitesparkles}
  257. <script type="text/javascript">
  258. // <![CDATA[
  259. var colour="#FFFFFF";
  260. var sparkles=120;
  261.  
  262. /****************************
  263. * Tinkerbell Magic Sparkle *
  264. * (c) 2005 mf2fm web-design *
  265. * http://www.mf2fm.com/rv *
  266. * DON'T EDIT BELOW THIS BOX *
  267. ****************************/
  268. var x=ox=400;
  269. var y=oy=300;
  270. var swide=800;
  271. var shigh=600;
  272. var sleft=sdown=0;
  273. var tiny=new Array();
  274. var star=new Array();
  275. var starv=new Array();
  276. var starx=new Array();
  277. var stary=new Array();
  278. var tinyx=new Array();
  279. var tinyy=new Array();
  280. var tinyv=new Array();
  281.  
  282. window.onload=function() { if (document.getElementById) {
  283. var i, rats, rlef, rdow;
  284. for (var i=0; i<sparkles; i++) {
  285. var rats=createDiv(3, 3);
  286. rats.style.visibility="hidden";
  287. document.body.appendChild(tiny[i]=rats);
  288. starv[i]=0;
  289. tinyv[i]=0;
  290. var rats=createDiv(5, 5);
  291. rats.style.backgroundColor="transparent";
  292. rats.style.visibility="hidden";
  293. var rlef=createDiv(1, 5);
  294. var rdow=createDiv(5, 1);
  295. rats.appendChild(rlef);
  296. rats.appendChild(rdow);
  297. rlef.style.top="2px";
  298. rlef.style.left="0px";
  299. rdow.style.top="0px";
  300. rdow.style.left="2px";
  301. document.body.appendChild(star[i]=rats);
  302. }
  303. set_width();
  304. sparkle();
  305. }}
  306.  
  307. function sparkle() {
  308. var c;
  309. if (x!=ox || y!=oy) {
  310. ox=x;
  311. oy=y;
  312. for (c=0; c<sparkles; c++) if (!starv[c]) {
  313. star[c].style.left=(starx[c]=x)+"px";
  314. star[c].style.top=(stary[c]=y)+"px";
  315. star[c].style.clip="rect(0px, 5px, 5px, 0px)";
  316. star[c].style.visibility="visible";
  317. starv[c]=50;
  318. break;
  319. }
  320. }
  321. for (c=0; c<sparkles; c++) {
  322. if (starv[c]) update_star(c);
  323. if (tinyv[c]) update_tiny(c);
  324. }
  325. setTimeout("sparkle()", 40);
  326. }
  327.  
  328. function update_star(i) {
  329. if (--starv[i]==25) star[i].style.clip="rect(1px, 4px, 4px, 1px)";
  330. if (starv[i]) {
  331. stary[i]+=1+Math.random()*3;
  332. if (stary[i]<shigh+sdown) {
  333. star[i].style.top=stary[i]+"px";
  334. starx[i]+=(i%5-2)/5;
  335. star[i].style.left=starx[i]+"px";
  336. }
  337. else {
  338. star[i].style.visibility="hidden";
  339. starv[i]=0;
  340. return;
  341. }
  342. }
  343. else {
  344. tinyv[i]=50;
  345. tiny[i].style.top=(tinyy[i]=stary[i])+"px";
  346. tiny[i].style.left=(tinyx[i]=starx[i])+"px";
  347. tiny[i].style.width="2px";
  348. tiny[i].style.height="2px";
  349. star[i].style.visibility="hidden";
  350. tiny[i].style.visibility="visible"
  351. }
  352. }
  353.  
  354. function update_tiny(i) {
  355. if (--tinyv[i]==25) {
  356. tiny[i].style.width="1px";
  357. tiny[i].style.height="1px";
  358. }
  359. if (tinyv[i]) {
  360. tinyy[i]+=1+Math.random()*3;
  361. if (tinyy[i]<shigh+sdown) {
  362. tiny[i].style.top=tinyy[i]+"px";
  363. tinyx[i]+=(i%5-2)/5;
  364. tiny[i].style.left=tinyx[i]+"px";
  365. }
  366. else {
  367. tiny[i].style.visibility="hidden";
  368. tinyv[i]=0;
  369. return;
  370. }
  371. }
  372. else tiny[i].style.visibility="hidden";
  373. }
  374.  
  375. document.onmousemove=mouse;
  376. function mouse(e) {
  377. set_scroll();
  378. y=(e)?e.pageY:event.y+sdown;
  379. x=(e)?e.pageX:event.x+sleft;
  380. }
  381.  
  382. function set_scroll() {
  383. if (typeof(self.pageYOffset)=="number") {
  384. sdown=self.pageYOffset;
  385. sleft=self.pageXOffset;
  386. }
  387. else if (document.body.scrollTop || document.body.scrollLeft) {
  388. sdown=document.body.scrollTop;
  389. sleft=document.body.scrollLeft;
  390. }
  391. else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
  392. sleft=document.documentElement.scrollLeft;
  393. sdown=document.documentElement.scrollTop;
  394. }
  395. else {
  396. sdown=0;
  397. sleft=0;
  398. }
  399. }
  400.  
  401. window.onresize=set_width;
  402. function set_width() {
  403. if (typeof(self.innerWidth)=="number") {
  404. swide=self.innerWidth;
  405. shigh=self.innerHeight;
  406. }
  407. else if (document.documentElement && document.documentElement.clientWidth) {
  408. swide=document.documentElement.clientWidth;
  409. shigh=document.documentElement.clientHeight;
  410. }
  411. else if (document.body.clientWidth) {
  412. swide=document.body.clientWidth;
  413. shigh=document.body.clientHeight;
  414. }
  415. }
  416.  
  417. function createDiv(height, width) {
  418. var div=document.createElement("div");
  419. div.style.position="absolute";
  420. div.style.height=height+"px";
  421. div.style.width=width+"px";
  422. div.style.overflow="hidden";
  423. div.style.backgroundColor=colour;
  424. return (div);
  425. }
  426. // ]]>
  427. </script>
  428. {/block:ifwhitesparkles}
  429.  
  430. {block:ifrainbowsparkles}
  431. <script type="text/javascript">
  432. // <![CDATA[
  433. var colour="random"; // in addition to "random" can be set to any valid colour eg "#f0f" or "red"
  434. var sparkles=50;
  435.  
  436. /****************************
  437. * Tinkerbell Magic Sparkle *
  438. *(c)2005-13 mf2fm web-design*
  439. * http://www.mf2fm.com/rv *
  440. * DON'T EDIT BELOW THIS BOX *
  441. ****************************/
  442. var x=ox=400;
  443. var y=oy=300;
  444. var swide=800;
  445. var shigh=600;
  446. var sleft=sdown=0;
  447. var tiny=new Array();
  448. var star=new Array();
  449. var starv=new Array();
  450. var starx=new Array();
  451. var stary=new Array();
  452. var tinyx=new Array();
  453. var tinyy=new Array();
  454. var tinyv=new Array();
  455.  
  456. window.onload=function() { if (document.getElementById) {
  457. var i, rats, rlef, rdow;
  458. for (var i=0; i<sparkles; i++) {
  459. var rats=createDiv(3, 3);
  460. rats.style.visibility="hidden";
  461. rats.style.zIndex="999";
  462. document.body.appendChild(tiny[i]=rats);
  463. starv[i]=0;
  464. tinyv[i]=0;
  465. var rats=createDiv(5, 5);
  466. rats.style.backgroundColor="transparent";
  467. rats.style.visibility="hidden";
  468. rats.style.zIndex="999";
  469. var rlef=createDiv(1, 5);
  470. var rdow=createDiv(5, 1);
  471. rats.appendChild(rlef);
  472. rats.appendChild(rdow);
  473. rlef.style.top="2px";
  474. rlef.style.left="0px";
  475. rdow.style.top="0px";
  476. rdow.style.left="2px";
  477. document.body.appendChild(star[i]=rats);
  478. }
  479. set_width();
  480. sparkle();
  481. }}
  482.  
  483. function sparkle() {
  484. var c;
  485. if (Math.abs(x-ox)>1 || Math.abs(y-oy)>1) {
  486. ox=x;
  487. oy=y;
  488. for (c=0; c<sparkles; c++) if (!starv[c]) {
  489. star[c].style.left=(starx[c]=x)+"px";
  490. star[c].style.top=(stary[c]=y+1)+"px";
  491. star[c].style.clip="rect(0px, 5px, 5px, 0px)";
  492. star[c].childNodes[0].style.backgroundColor=star[c].childNodes[1].style.backgroundColor=(colour=="random")?newColour():colour;
  493. star[c].style.visibility="visible";
  494. starv[c]=50;
  495. break;
  496. }
  497. }
  498. for (c=0; c<sparkles; c++) {
  499. if (starv[c]) update_star(c);
  500. if (tinyv[c]) update_tiny(c);
  501. }
  502. setTimeout("sparkle()", 40);
  503. }
  504.  
  505. function update_star(i) {
  506. if (--starv[i]==25) star[i].style.clip="rect(1px, 4px, 4px, 1px)";
  507. if (starv[i]) {
  508. stary[i]+=1+Math.random()*3;
  509. starx[i]+=(i%5-2)/5;
  510. if (stary[i]<shigh+sdown) {
  511. star[i].style.top=stary[i]+"px";
  512. star[i].style.left=starx[i]+"px";
  513. }
  514. else {
  515. star[i].style.visibility="hidden";
  516. starv[i]=0;
  517. return;
  518. }
  519. }
  520. else {
  521. tinyv[i]=50;
  522. tiny[i].style.top=(tinyy[i]=stary[i])+"px";
  523. tiny[i].style.left=(tinyx[i]=starx[i])+"px";
  524. tiny[i].style.width="2px";
  525. tiny[i].style.height="2px";
  526. tiny[i].style.backgroundColor=star[i].childNodes[0].style.backgroundColor;
  527. star[i].style.visibility="hidden";
  528. tiny[i].style.visibility="visible"
  529. }
  530. }
  531.  
  532. function update_tiny(i) {
  533. if (--tinyv[i]==25) {
  534. tiny[i].style.width="1px";
  535. tiny[i].style.height="1px";
  536. }
  537. if (tinyv[i]) {
  538. tinyy[i]+=1+Math.random()*3;
  539. tinyx[i]+=(i%5-2)/5;
  540. if (tinyy[i]<shigh+sdown) {
  541. tiny[i].style.top=tinyy[i]+"px";
  542. tiny[i].style.left=tinyx[i]+"px";
  543. }
  544. else {
  545. tiny[i].style.visibility="hidden";
  546. tinyv[i]=0;
  547. return;
  548. }
  549. }
  550. else tiny[i].style.visibility="hidden";
  551. }
  552.  
  553. document.onmousemove=mouse;
  554. function mouse(e) {
  555. if (e) {
  556. y=e.pageY;
  557. x=e.pageX;
  558. }
  559. else {
  560. set_scroll();
  561. y=event.y+sdown;
  562. x=event.x+sleft;
  563. }
  564. }
  565.  
  566. window.onscroll=set_scroll;
  567. function set_scroll() {
  568. if (typeof(self.pageYOffset)=='number') {
  569. sdown=self.pageYOffset;
  570. sleft=self.pageXOffset;
  571. }
  572. else if (document.body && (document.body.scrollTop || document.body.scrollLeft)) {
  573. sdown=document.body.scrollTop;
  574. sleft=document.body.scrollLeft;
  575. }
  576. else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
  577. sleft=document.documentElement.scrollLeft;
  578. sdown=document.documentElement.scrollTop;
  579. }
  580. else {
  581. sdown=0;
  582. sleft=0;
  583. }
  584. }
  585.  
  586. window.onresize=set_width;
  587. function set_width() {
  588. var sw_min=999999;
  589. var sh_min=999999;
  590. if (document.documentElement && document.documentElement.clientWidth) {
  591. if (document.documentElement.clientWidth>0) sw_min=document.documentElement.clientWidth;
  592. if (document.documentElement.clientHeight>0) sh_min=document.documentElement.clientHeight;
  593. }
  594. if (typeof(self.innerWidth)=='number' && self.innerWidth) {
  595. if (self.innerWidth>0 && self.innerWidth<sw_min) sw_min=self.innerWidth;
  596. if (self.innerHeight>0 && self.innerHeight<sh_min) sh_min=self.innerHeight;
  597. }
  598. if (document.body.clientWidth) {
  599. if (document.body.clientWidth>0 && document.body.clientWidth<sw_min) sw_min=document.body.clientWidth;
  600. if (document.body.clientHeight>0 && document.body.clientHeight<sh_min) sh_min=document.body.clientHeight;
  601. }
  602. if (sw_min==999999 || sh_min==999999) {
  603. sw_min=800;
  604. sh_min=600;
  605. }
  606. swide=sw_min;
  607. shigh=sh_min;
  608. }
  609.  
  610. function createDiv(height, width) {
  611. var div=document.createElement("div");
  612. div.style.position="absolute";
  613. div.style.height=height+"px";
  614. div.style.width=width+"px";
  615. div.style.overflow="hidden";
  616. return (div);
  617. }
  618.  
  619. function newColour() {
  620. var c=new Array();
  621. c[0]=255;
  622. c[1]=Math.floor(Math.random()*256);
  623. c[2]=Math.floor(Math.random()*(256-c[1]/2));
  624. c.sort(function(){return (0.5 - Math.random());});
  625. return ("rgb("+c[0]+", "+c[1]+", "+c[2]+")");
  626. }
  627. // ]]>
  628. </script>
  629. {/block:ifrainbowsparkles}
  630.  
  631. {block:ifblacksparkles}
  632. <script type="text/javascript">
  633. // <![CDATA[
  634. var colour="#000000";
  635. var sparkles=120;
  636.  
  637. /****************************
  638. * Tinkerbell Magic Sparkle *
  639. * (c) 2005 mf2fm web-design *
  640. * http://www.mf2fm.com/rv *
  641. * DON'T EDIT BELOW THIS BOX *
  642. ****************************/
  643. var x=ox=400;
  644. var y=oy=300;
  645. var swide=800;
  646. var shigh=600;
  647. var sleft=sdown=0;
  648. var tiny=new Array();
  649. var star=new Array();
  650. var starv=new Array();
  651. var starx=new Array();
  652. var stary=new Array();
  653. var tinyx=new Array();
  654. var tinyy=new Array();
  655. var tinyv=new Array();
  656.  
  657. window.onload=function() { if (document.getElementById) {
  658. var i, rats, rlef, rdow;
  659. for (var i=0; i<sparkles; i++) {
  660. var rats=createDiv(3, 3);
  661. rats.style.visibility="hidden";
  662. document.body.appendChild(tiny[i]=rats);
  663. starv[i]=0;
  664. tinyv[i]=0;
  665. var rats=createDiv(5, 5);
  666. rats.style.backgroundColor="transparent";
  667. rats.style.visibility="hidden";
  668. var rlef=createDiv(1, 5);
  669. var rdow=createDiv(5, 1);
  670. rats.appendChild(rlef);
  671. rats.appendChild(rdow);
  672. rlef.style.top="2px";
  673. rlef.style.left="0px";
  674. rdow.style.top="0px";
  675. rdow.style.left="2px";
  676. document.body.appendChild(star[i]=rats);
  677. }
  678. set_width();
  679. sparkle();
  680. }}
  681.  
  682. function sparkle() {
  683. var c;
  684. if (x!=ox || y!=oy) {
  685. ox=x;
  686. oy=y;
  687. for (c=0; c<sparkles; c++) if (!starv[c]) {
  688. star[c].style.left=(starx[c]=x)+"px";
  689. star[c].style.top=(stary[c]=y)+"px";
  690. star[c].style.clip="rect(0px, 5px, 5px, 0px)";
  691. star[c].style.visibility="visible";
  692. starv[c]=50;
  693. break;
  694. }
  695. }
  696. for (c=0; c<sparkles; c++) {
  697. if (starv[c]) update_star(c);
  698. if (tinyv[c]) update_tiny(c);
  699. }
  700. setTimeout("sparkle()", 40);
  701. }
  702.  
  703. function update_star(i) {
  704. if (--starv[i]==25) star[i].style.clip="rect(1px, 4px, 4px, 1px)";
  705. if (starv[i]) {
  706. stary[i]+=1+Math.random()*3;
  707. if (stary[i]<shigh+sdown) {
  708. star[i].style.top=stary[i]+"px";
  709. starx[i]+=(i%5-2)/5;
  710. star[i].style.left=starx[i]+"px";
  711. }
  712. else {
  713. star[i].style.visibility="hidden";
  714. starv[i]=0;
  715. return;
  716. }
  717. }
  718. else {
  719. tinyv[i]=50;
  720. tiny[i].style.top=(tinyy[i]=stary[i])+"px";
  721. tiny[i].style.left=(tinyx[i]=starx[i])+"px";
  722. tiny[i].style.width="2px";
  723. tiny[i].style.height="2px";
  724. star[i].style.visibility="hidden";
  725. tiny[i].style.visibility="visible"
  726. }
  727. }
  728.  
  729. function update_tiny(i) {
  730. if (--tinyv[i]==25) {
  731. tiny[i].style.width="1px";
  732. tiny[i].style.height="1px";
  733. }
  734. if (tinyv[i]) {
  735. tinyy[i]+=1+Math.random()*3;
  736. if (tinyy[i]<shigh+sdown) {
  737. tiny[i].style.top=tinyy[i]+"px";
  738. tinyx[i]+=(i%5-2)/5;
  739. tiny[i].style.left=tinyx[i]+"px";
  740. }
  741. else {
  742. tiny[i].style.visibility="hidden";
  743. tinyv[i]=0;
  744. return;
  745. }
  746. }
  747. else tiny[i].style.visibility="hidden";
  748. }
  749.  
  750. document.onmousemove=mouse;
  751. function mouse(e) {
  752. set_scroll();
  753. y=(e)?e.pageY:event.y+sdown;
  754. x=(e)?e.pageX:event.x+sleft;
  755. }
  756.  
  757. function set_scroll() {
  758. if (typeof(self.pageYOffset)=="number") {
  759. sdown=self.pageYOffset;
  760. sleft=self.pageXOffset;
  761. }
  762. else if (document.body.scrollTop || document.body.scrollLeft) {
  763. sdown=document.body.scrollTop;
  764. sleft=document.body.scrollLeft;
  765. }
  766. else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
  767. sleft=document.documentElement.scrollLeft;
  768. sdown=document.documentElement.scrollTop;
  769. }
  770. else {
  771. sdown=0;
  772. sleft=0;
  773. }
  774. }
  775.  
  776. window.onresize=set_width;
  777. function set_width() {
  778. if (typeof(self.innerWidth)=="number") {
  779. swide=self.innerWidth;
  780. shigh=self.innerHeight;
  781. }
  782. else if (document.documentElement && document.documentElement.clientWidth) {
  783. swide=document.documentElement.clientWidth;
  784. shigh=document.documentElement.clientHeight;
  785. }
  786. else if (document.body.clientWidth) {
  787. swide=document.body.clientWidth;
  788. shigh=document.body.clientHeight;
  789. }
  790. }
  791.  
  792. function createDiv(height, width) {
  793. var div=document.createElement("div");
  794. div.style.position="absolute";
  795. div.style.height=height+"px";
  796. div.style.width=width+"px";
  797. div.style.overflow="hidden";
  798. div.style.backgroundColor=colour;
  799. return (div);
  800. }
  801. // ]]>
  802. </script>
  803. {/block:ifblacksparkles}
  804.  
  805. {block:ifgraysparkles}
  806. <script type="text/javascript">
  807. // <![CDATA[
  808. var colour="#bebcb9";
  809. var sparkles=120;
  810.  
  811. /****************************
  812. * Tinkerbell Magic Sparkle *
  813. * (c) 2005 mf2fm web-design *
  814. * http://www.mf2fm.com/rv *
  815. * DON'T EDIT BELOW THIS BOX *
  816. ****************************/
  817. var x=ox=400;
  818. var y=oy=300;
  819. var swide=800;
  820. var shigh=600;
  821. var sleft=sdown=0;
  822. var tiny=new Array();
  823. var star=new Array();
  824. var starv=new Array();
  825. var starx=new Array();
  826. var stary=new Array();
  827. var tinyx=new Array();
  828. var tinyy=new Array();
  829. var tinyv=new Array();
  830.  
  831. window.onload=function() { if (document.getElementById) {
  832. var i, rats, rlef, rdow;
  833. for (var i=0; i<sparkles; i++) {
  834. var rats=createDiv(3, 3);
  835. rats.style.visibility="hidden";
  836. document.body.appendChild(tiny[i]=rats);
  837. starv[i]=0;
  838. tinyv[i]=0;
  839. var rats=createDiv(5, 5);
  840. rats.style.backgroundColor="transparent";
  841. rats.style.visibility="hidden";
  842. var rlef=createDiv(1, 5);
  843. var rdow=createDiv(5, 1);
  844. rats.appendChild(rlef);
  845. rats.appendChild(rdow);
  846. rlef.style.top="2px";
  847. rlef.style.left="0px";
  848. rdow.style.top="0px";
  849. rdow.style.left="2px";
  850. document.body.appendChild(star[i]=rats);
  851. }
  852. set_width();
  853. sparkle();
  854. }}
  855.  
  856. function sparkle() {
  857. var c;
  858. if (x!=ox || y!=oy) {
  859. ox=x;
  860. oy=y;
  861. for (c=0; c<sparkles; c++) if (!starv[c]) {
  862. star[c].style.left=(starx[c]=x)+"px";
  863. star[c].style.top=(stary[c]=y)+"px";
  864. star[c].style.clip="rect(0px, 5px, 5px, 0px)";
  865. star[c].style.visibility="visible";
  866. starv[c]=50;
  867. break;
  868. }
  869. }
  870. for (c=0; c<sparkles; c++) {
  871. if (starv[c]) update_star(c);
  872. if (tinyv[c]) update_tiny(c);
  873. }
  874. setTimeout("sparkle()", 40);
  875. }
  876.  
  877. function update_star(i) {
  878. if (--starv[i]==25) star[i].style.clip="rect(1px, 4px, 4px, 1px)";
  879. if (starv[i]) {
  880. stary[i]+=1+Math.random()*3;
  881. if (stary[i]<shigh+sdown) {
  882. star[i].style.top=stary[i]+"px";
  883. starx[i]+=(i%5-2)/5;
  884. star[i].style.left=starx[i]+"px";
  885. }
  886. else {
  887. star[i].style.visibility="hidden";
  888. starv[i]=0;
  889. return;
  890. }
  891. }
  892. else {
  893. tinyv[i]=50;
  894. tiny[i].style.top=(tinyy[i]=stary[i])+"px";
  895. tiny[i].style.left=(tinyx[i]=starx[i])+"px";
  896. tiny[i].style.width="2px";
  897. tiny[i].style.height="2px";
  898. star[i].style.visibility="hidden";
  899. tiny[i].style.visibility="visible"
  900. }
  901. }
  902.  
  903. function update_tiny(i) {
  904. if (--tinyv[i]==25) {
  905. tiny[i].style.width="1px";
  906. tiny[i].style.height="1px";
  907. }
  908. if (tinyv[i]) {
  909. tinyy[i]+=1+Math.random()*3;
  910. if (tinyy[i]<shigh+sdown) {
  911. tiny[i].style.top=tinyy[i]+"px";
  912. tinyx[i]+=(i%5-2)/5;
  913. tiny[i].style.left=tinyx[i]+"px";
  914. }
  915. else {
  916. tiny[i].style.visibility="hidden";
  917. tinyv[i]=0;
  918. return;
  919. }
  920. }
  921. else tiny[i].style.visibility="hidden";
  922. }
  923.  
  924. document.onmousemove=mouse;
  925. function mouse(e) {
  926. set_scroll();
  927. y=(e)?e.pageY:event.y+sdown;
  928. x=(e)?e.pageX:event.x+sleft;
  929. }
  930.  
  931. function set_scroll() {
  932. if (typeof(self.pageYOffset)=="number") {
  933. sdown=self.pageYOffset;
  934. sleft=self.pageXOffset;
  935. }
  936. else if (document.body.scrollTop || document.body.scrollLeft) {
  937. sdown=document.body.scrollTop;
  938. sleft=document.body.scrollLeft;
  939. }
  940. else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
  941. sleft=document.documentElement.scrollLeft;
  942. sdown=document.documentElement.scrollTop;
  943. }
  944. else {
  945. sdown=0;
  946. sleft=0;
  947. }
  948. }
  949.  
  950. window.onresize=set_width;
  951. function set_width() {
  952. if (typeof(self.innerWidth)=="number") {
  953. swide=self.innerWidth;
  954. shigh=self.innerHeight;
  955. }
  956. else if (document.documentElement && document.documentElement.clientWidth) {
  957. swide=document.documentElement.clientWidth;
  958. shigh=document.documentElement.clientHeight;
  959. }
  960. else if (document.body.clientWidth) {
  961. swide=document.body.clientWidth;
  962. shigh=document.body.clientHeight;
  963. }
  964. }
  965.  
  966. function createDiv(height, width) {
  967. var div=document.createElement("div");
  968. div.style.position="absolute";
  969. div.style.height=height+"px";
  970. div.style.width=width+"px";
  971. div.style.overflow="hidden";
  972. div.style.backgroundColor=colour;
  973. return (div);
  974. }
  975. // ]]>
  976. </script>
  977. {/block:ifgraysparkles}
  978.  
  979. {block:ifrainbowlinks}
  980. <script type='text/javascript'>
  981. //<![CDATA[
  982. var rate = 50;
  983. if (document.getElementById)
  984. window.onerror=new Function("return true")
  985.  
  986. var objActive; // The object which event occured in
  987. var act = 0; // Flag during the action
  988. var elmH = 0; // Hue
  989. var elmS = 100; // Saturation
  990. var elmV = 255; // Value
  991. var clrOrg; // A color before the change
  992. var TimerID; // Timer ID
  993. if (document.all) {
  994. document.onmouseover = doRainbowAnchor;
  995. document.onmouseout = stopRainbowAnchor;
  996. }
  997. else if (document.getElementById) {
  998. document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);
  999. document.onmouseover = Mozilla_doRainbowAnchor;
  1000. document.onmouseout = Mozilla_stopRainbowAnchor;
  1001. }
  1002. function doRainbow(obj)
  1003. {
  1004. if (act == 0) {
  1005. act = 1;
  1006. if (obj)
  1007. objActive = obj;
  1008. else
  1009. objActive = event.srcElement;
  1010. clrOrg = objActive.style.color;
  1011. TimerID = setInterval("ChangeColor()",100);
  1012. }
  1013. }
  1014. function stopRainbow()
  1015. {
  1016. if (act) {
  1017. objActive.style.color = clrOrg;
  1018. clearInterval(TimerID);
  1019. act = 0;
  1020. }
  1021. }
  1022. function doRainbowAnchor()
  1023. {
  1024. if (act == 0) {
  1025. var obj = event.srcElement;
  1026. while (obj.tagName != 'A' && obj.tagName != 'BODY') {
  1027. obj = obj.parentElement;
  1028. if (obj.tagName == 'A' || obj.tagName == 'BODY')
  1029. break;
  1030. }
  1031. if (obj.tagName == 'A' && obj.href != '') {
  1032. objActive = obj;
  1033. act = 1;
  1034. clrOrg = objActive.style.color;
  1035. TimerID = setInterval("ChangeColor()",100);
  1036. }
  1037. }
  1038. }
  1039. function stopRainbowAnchor()
  1040. {
  1041. if (act) {
  1042. if (objActive.tagName == 'A') {
  1043. objActive.style.color = clrOrg;
  1044. clearInterval(TimerID);
  1045. act = 0;
  1046. }
  1047. }
  1048. }
  1049. function Mozilla_doRainbowAnchor(e)
  1050. {
  1051. if (act == 0) {
  1052. obj = e.target;
  1053. while (obj.nodeName != 'A' && obj.nodeName != 'BODY') {
  1054. obj = obj.parentNode;
  1055. if (obj.nodeName == 'A' || obj.nodeName == 'BODY')
  1056. break;
  1057. }
  1058. if (obj.nodeName == 'A' && obj.href != '') {
  1059. objActive = obj;
  1060. act = 1;
  1061. clrOrg = obj.style.color;
  1062. TimerID = setInterval("ChangeColor()",100);
  1063. }
  1064. }
  1065. }
  1066. function Mozilla_stopRainbowAnchor(e)
  1067. {
  1068. if (act) {
  1069. if (objActive.nodeName == 'A') {
  1070. objActive.style.color = clrOrg;
  1071. clearInterval(TimerID);
  1072. act = 0;
  1073. }
  1074. }
  1075. }
  1076. function ChangeColor()
  1077. {
  1078. objActive.style.color = makeColor();
  1079. }
  1080. function makeColor()
  1081. {
  1082. // Don't you think Color Gamut to look like Rainbow?
  1083. // HSVtoRGB
  1084. if (elmS == 0) {
  1085. elmR = elmV; elmG = elmV; elmB = elmV;
  1086. }
  1087. else {
  1088. t1 = elmV;
  1089. t2 = (255 - elmS) * elmV / 255;
  1090. t3 = elmH % 60;
  1091. t3 = (t1 - t2) * t3 / 60;
  1092. if (elmH < 60) {
  1093. elmR = t1; elmB = t2; elmG = t2 + t3;
  1094. }
  1095. else if (elmH < 120) {
  1096. elmG = t1; elmB = t2; elmR = t1 - t3;
  1097. }
  1098. else if (elmH < 180) {
  1099. elmG = t1; elmR = t2; elmB = t2 + t3;
  1100. }
  1101. else if (elmH < 240) {
  1102. elmB = t1; elmR = t2; elmG = t1 - t3;
  1103. }
  1104. else if (elmH < 300) {
  1105. elmB = t1; elmG = t2; elmR = t2 + t3;
  1106. }
  1107. else if (elmH < 360) {
  1108. elmR = t1; elmG = t2; elmB = t1 - t3;
  1109. }
  1110. else {
  1111. elmR = 0; elmG = 0; elmB = 0;
  1112. }
  1113. }
  1114. elmR = Math.floor(elmR).toString(16);
  1115. elmG = Math.floor(elmG).toString(16);
  1116. elmB = Math.floor(elmB).toString(16);
  1117. if (elmR.length == 1) elmR = "0" + elmR;
  1118. if (elmG.length == 1) elmG = "0" + elmG;
  1119. if (elmB.length == 1) elmB = "0" + elmB
  1120. elmH = elmH + rate;
  1121. if (elmH >= 360)
  1122. elmH = 0;
  1123. return '#' + elmR + elmG + elmB;
  1124. }
  1125. //]]>
  1126. </script>
  1127. {/block:ifrainbowlinks}
  1128.  
  1129. </head>
  1130.  
  1131. <body>
  1132.  
  1133. <div id="sidebar">
  1134. <center>
  1135.  
  1136. {block:iftitle}
  1137. <div class="title">
  1138. <b>{Title}</b>
  1139. </div>
  1140. {/block:iftitle}
  1141.  
  1142. {block:ifsidebarimg}
  1143. <img src="{image:sidebar}">
  1144.  
  1145. {/block:ifsidebarimg}
  1146.  
  1147. {block:ifdescription}
  1148. <div class="desc">
  1149. {Description}
  1150. </div>
  1151. {/block:ifdescription}
  1152.  
  1153. {block:ifdropdown}
  1154. <div class="desc">
  1155. <select style='width: 150px;
  1156. border: 1px solid color: black;
  1157. padding: 1px;letter-spacing: 1px;font-family: {select:font};font-size:13px;
  1158. background: {color:bg}' name="menu" onChange="top.location.href=this.options[this.selectedIndex].value;" value="GO">
  1159.  
  1160. <option>{text:dropdown title}</option>
  1161. <option value="{text:link 1 url}">{text:link 1}</option>
  1162. <option value="{text:link 2 url}">{text:link 2}</option>
  1163. <option value="{text:link 3 url}">{text:link 3}</option>
  1164. </select>
  1165. </select>{/block:ifdropdown}
  1166.  
  1167. <div class="clicky">
  1168. {block:iflinks}
  1169. {block:iflink1}
  1170. <a href="{text:link 1 url}">{text:link 1}</a>
  1171. {/block:iflink1}
  1172. {block:iflink2}
  1173. {text:link divider} <a href="{text:link 2 url}">{text:link 2}</a>
  1174. {/block:iflink2}
  1175. {block:iflink3}
  1176. {text:link divider} <a href="{text:link 3 url}">{text:link 3}</a>
  1177. {/block:iflink3}
  1178. {/block:iflinks}
  1179. </div>
  1180.  
  1181. <div id="pages">
  1182.  
  1183. {block:PreviousPage}
  1184. <a href="{PreviousPage}">back</a>
  1185. {/block:PreviousPage}
  1186.  
  1187. {block:NextPage}
  1188. <a href="{NextPage}">next</a>
  1189. {/block:NextPage}
  1190.  
  1191. </div>
  1192. </center>
  1193. </div>
  1194.  
  1195. <div id="credit">
  1196. <a href="http://55minutes.tumblr.com"> 🍒 </a>
  1197. </div>
  1198.  
  1199. <!--
  1200. u can change the credit icon to whatever u want to fit your aes, but please dont remove it! ty
  1201. -->
  1202.  
  1203. <!-- ♡ posts ♡ -->
  1204.  
  1205. <div id="content">
  1206.  
  1207. {block:Posts}
  1208. <div id="entries">
  1209.  
  1210.  
  1211.  
  1212. {block:NoRebloggedFrom}
  1213. {block:RebloggedFrom}
  1214. {ReblogParentName}
  1215. {/block:RebloggedFrom}
  1216. {/block:NoRebloggedFrom}
  1217.  
  1218.  
  1219. {block:ContentSource}
  1220. <!-- {SourceURL}
  1221. {block:SourceLogo}
  1222. <img src="{BlackLogoURL}"width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  1223. {/block:SourceLogo}
  1224. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  1225. {/block:ContentSource}
  1226.  
  1227.  
  1228. {block:Text}
  1229. {block:Title}
  1230. <b>{Title}</b>
  1231. {block:Title}
  1232. {Body}
  1233. {/block:Text}
  1234.  
  1235. {block:Photo}
  1236. {LinkOpenTag}
  1237. <img src="{PhotoURL-400}" alt="{PhotoAlt}" style="width: {select:post size};">
  1238. {LinkCloseTag}
  1239. {block:ifcaption}
  1240. {block:Caption}
  1241. {Caption}
  1242. {block:Caption}
  1243. {/block:ifcaption}
  1244. {/block:Photo}
  1245.  
  1246. {block:Photoset}
  1247. {LinkOpenTag}
  1248. {Photoset}
  1249. {LinkCloseTag}
  1250. {block:ifcaption}
  1251. {block:Caption}
  1252. {Caption}
  1253. {block:Caption}
  1254. {/block:ifcaption}
  1255. {/block:Photoset}
  1256.  
  1257. {block:Quote}
  1258. {Quote}
  1259. {block:Source}
  1260. {Source}
  1261. {/block:Source}
  1262. {/block:Quote}
  1263.  
  1264. {block:Link}
  1265. <a href="{URL}" target="_blank">{Name}</a>
  1266. {block:ifcaption}
  1267. {block:Caption}
  1268. {Caption}
  1269. {block:Caption}
  1270. {/block:ifcaption}
  1271. {/block:Link}
  1272.  
  1273. {block:Chat}
  1274. {block:Title}
  1275. <b>{Title}</b>
  1276. {/block:Title}
  1277. {block:Lines}
  1278. <div class="line {Alt}">
  1279. {block:Label}
  1280. <b>{Label}</b>
  1281. {/block:Label}
  1282. {Line}
  1283. </div>
  1284. {/block:Lines}
  1285. {/block:Chat}
  1286.  
  1287. {block:Audio}
  1288. {block:AudioPlayer}
  1289. {AudioPlayer}
  1290. {block:AudioPlayer}
  1291. {block:TrackName}
  1292. {TrackName}
  1293. {/block:TrackName}
  1294. {block:Artist}
  1295. {Artist}
  1296. {/block:Artist}
  1297. {block:ifcaption}
  1298. {block:Caption}
  1299. {Caption}
  1300. {block:Caption}
  1301. {/block:ifcaption}
  1302. {/block:Audio}
  1303.  
  1304. {block:Video}
  1305. <div style="overflow:hidden;">
  1306. {Video-400}
  1307. </div>
  1308. {block:ifcaption}
  1309. {block:Caption}
  1310. {Caption}
  1311. {block:Caption}
  1312. {/block:ifcaption}
  1313. {/block:Video}
  1314.  
  1315. {block:Answer}
  1316. <div class="ask">
  1317. {Asker} said:
  1318. {Question}
  1319. </div>
  1320. {Answer}
  1321. {block:Answerer}
  1322. {Answerer}
  1323. {/block:Answerer}
  1324. {/block:Answer}
  1325.  
  1326. {block:PostNotes}
  1327. {PostNotes}
  1328. {/block:PostNotes}
  1329. <!-- ♡ permalink ♡ -->
  1330.  
  1331. {block:Date}
  1332. <div class="permalink" style="margin-top:5px;">
  1333. <b><a href="{Permalink}">
  1334. {TimeAgo}{text:permalink divider}
  1335. {NoteCount}{text:notes}</b>
  1336. {block:ifshowtags}
  1337. {block:HasTags}
  1338. {block:Tags}<a href="{TagURL}">{Tag},</a>
  1339. {/block:Tags}
  1340. {/block:HasTags}
  1341. {/block:ifshowtags}
  1342.  
  1343.  
  1344.  
  1345. </div>
  1346. </div>
  1347. </body>
  1348. </html>
Advertisement
Add Comment
Please, Sign In to add comment