Advertisement
thepinkrebellion

Windmill Fighters theme by thepinkrebellion

May 16th, 2012
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.01 KB | None | 0 0
  1. <!--
  2. theme by thepinkrebellion
  3. thepinkrebellion.tumblr.com
  4. -->
  5.  
  6.  
  7. <head>
  8. <link href='http://fonts.googleapis.com/css?family=Amatic+SC' rel='stylesheet' type='text/css'>
  9.  
  10. <script type="text/javascript">
  11. // <![CDATA[
  12. var bgcolour="{color:sidebanner 2}"; // background colour
  13. var fgcolour="{color:sidebanner 1}"; // foreground colour
  14. var speed=100; // speed of bubbling, lower is faster
  15. var shades=10; // number of shades of bubble
  16.  
  17. /****************************
  18. * Bubbling Text Effect *
  19. *(c) 2003-6 mf2fm web-design*
  20. * http://www.mf2fm.com/rv *
  21. * DON'T EDIT BELOW THIS BOX *
  22. ****************************/
  23. var bubbcol=new Array();
  24. var bubbler, bubbtxt;
  25. var bubbchr=new Array();
  26. window.onload=function() { if (document.getElementById) {
  27. for (bubbler=0; bubbler<=shades; bubbler++) {
  28. bubbtxt="#";
  29. for (var i=1; i<6; i+=2) {
  30. var bg=parseInt(bgcolour.substring(i,i+2),16);
  31. bubbtxt+=dechex(Math.floor(bg+(parseInt(fgcolour.substring(i,i+2),16)-bg)*(bubbler/shades)));
  32. }
  33. bubbcol[bubbler+1]=bubbtxt;
  34. }
  35. bubbler=document.getElementById("bubble");
  36. bubbtxt=bubbler.firstChild.nodeValue;
  37. while (bubbler.childNodes.length) bubbler.removeChild(bubbler.childNodes[0]);
  38. for (var i=0; i<bubbtxt.length; i++) {
  39. var bubbi=document.createElement("span");
  40. bubbi.setAttribute("id", "bubb"+i);
  41. bubbi.appendChild(document.createTextNode(bubbtxt.charAt(i)));
  42. bubbler.appendChild(bubbi);
  43. }
  44. bubbler=setInterval ("bubbling()", speed);
  45. }}
  46.  
  47. function dechex(dec) {
  48. var hex=dec.toString(16);
  49. if (dec<16) return "0"+hex;
  50. else return hex;
  51. }
  52.  
  53. function bubbling() {
  54. for (var i=0; i<bubbtxt.length; i++) {
  55. var bubbme=document.getElementById("bubb"+i);
  56. if (bubbchr[i]) {
  57. bubbme.style.color=bubbcol[bubbchr[i]];
  58. bubbchr[i]=(bubbchr[i]+1)%bubbcol.length;
  59. }
  60. else if (Math.random()<0.75/bubbchr.length) bubbchr[i]=1;
  61. }
  62. }
  63. // ]]>
  64. </script>
  65.  
  66.  
  67. <link href='http://fonts.googleapis.com/css?family=Happy+Monkey' rel='stylesheet' type='text/css'>
  68.  
  69. <link href='http://fonts.googleapis.com/css?family=Coming+Soon' rel='stylesheet' type='text/css'>
  70.  
  71.  
  72.  
  73. <!--
  74. theme by thepinkrebellion
  75. thepinkrebellion.tumblr.com
  76. -->
  77. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  78. <meta name="color:background" content="#ffffff"/>
  79. <meta name="image:background" content="">
  80. <meta name="color:text" content="#000000"/>
  81. <meta name="color:link" content="#331061"/>
  82. <meta name="color:link shadows" content="#fff"/>
  83. <meta name="color:sidebanner 1" content="#000000"/>
  84. <meta name="color:sidebanner 2" content="#CCCCCC"/>
  85. <meta name="color:Link1" content="#0f0f00"/>
  86. <meta name="color:Link2" content="#f01000"/>
  87. <meta name="color:Link3" content="#000ff0"/>
  88. <meta name="color:Link4" content="#0f0000"/>
  89. <meta name="color:Link5" content="#000000"/>
  90. <meta name="color:hover" content="#ffffff"/>
  91. <meta name="image:sidebar" content="1"/>
  92. <meta name="if:infinitescrolling" content="1"/>
  93. <meta name="if:show sidebar photo" content="0"/>
  94. <meta name="text:sidebanner" content="idk sidebanner" />
  95. <meta name="if:shadow links" content="0"/>
  96. <meta name="if:rainbow links" content="0"/>
  97. <meta name="if:Show Sidebanner" content="1"/>
  98. <meta name="if:show blog title" content="1"/>
  99. <meta name="text:Link One Title" content="" />
  100. <meta name="text:Link One" content="" />
  101. <meta name="text:Link Two Title" content="" />
  102. <meta name="text:Link Two" content="" />
  103. <meta name="text:Link Three Title" content="" />
  104. <meta name="text:Link Three" content="" />
  105. <meta name="text:Link Four Title" content="" />
  106. <meta name="text:Link Four" content="" />
  107.  
  108.  
  109.  
  110. <title>{Title}{block:PostTitle} - {PostTitle}{/block:PostTitle}</title>{block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  111.  
  112. {block:ifinfinitescrolling}<script type="text/javascript" src="http://codysherman.com/tools/infinite-scrolling/code"></script>{/block:ifinfinitescrolling}
  113.  
  114. <style type="text/css">body, a:hover {cursor: url(http://cur.cursors-4u.net/others/oth-6/oth589.cur), progress !important;}
  115.  
  116. <style type="text/css">
  117.  
  118. a {color:;text-decoration:none;-webkit-transition: all 0.7s ease-out;-moz-transition: all 0.7s ease-out;transition: all 0.7s ease-out;}
  119.  
  120.  
  121.  
  122.  
  123. .fufu {width:227px;-webkit-transition: all 0.7s ease-out;-moz-transition: all 0.7s ease-out;transition: all 0.7s ease-out;}
  124.  
  125.  
  126.  
  127.  
  128. .fufu:hover {-webkit-transform: translate(1em,0);-moz-transform: translate(1em,0);-o-transform: translate(1em,0);}
  129.  
  130.  
  131.  
  132.  
  133. #biter
  134.  
  135.  
  136.  
  137.  
  138. #bite a {display:block}
  139.  
  140.  
  141.  
  142.  
  143. #bite .death {margin-top:-45px;filter: alpha(opacity = 0);opacity:0; -webkit-transition: all 0.8s ease-out;-moz-transition: all 0.8s ease-out;transition: all 0.8s ease-out}
  144.  
  145.  
  146.  
  147.  
  148. #bite:hover .death {margin-top:0px; -webkit-transition: all 0.8s ease-out;-moz-transition: all 0.8s ease-out;transition: all 0.8s ease-out; filter: alpha(opacity = 100);filter: alpha(opacity = 100);opacity:100;}
  149.  
  150.  
  151. h2{font: 11px arial !important; font-weight:normal; line-height:20px; margin:0px; color: {color:text};}
  152.  
  153.  
  154.  
  155.  
  156. body { margin:0px; background-color: {color:Background};
  157. background-image:url({image:Background}); background-attachment: fixed;
  158. background-repeat: repeat;} body, div, p, textarea, submit, input{ font-family: 'Happy Monkey';
  159. font-size: 12px; text-transform: none; line-height:15px; letter-spacing:0px;
  160. color:{color: text};}
  161.  
  162.  
  163. p {
  164. margin:0px;
  165. margin-top:0px;
  166. }
  167.  
  168.  
  169. a:link, a:active, a:visited{
  170. color: {color:Link};
  171. text-decoration: none;
  172. }
  173.  
  174. a:hover {
  175. color: {color:hover};
  176. {block:ifshadowlinks}
  177. text-shadow:1px 1px 3px #000;{/block:ifshadowlinks}
  178. -webkit-transition: all 0.2s linear;
  179. -webkit-transition: all 0.2s linear;
  180. -moz-transition: all 0.2s linear;
  181. transition: all 0.2s linear;
  182. }
  183.  
  184.  
  185.  
  186. div#center{
  187. margin:auto;
  188. position:relative;
  189. width:840px;
  190. background-color:;
  191. overflow:auto;
  192. overflow-y:hidden;
  193. }
  194.  
  195. div#content{
  196. float:left;
  197. width: 400px;
  198. margin-left: 280px;
  199. background: #fff;
  200. padding: 2px;}
  201.  
  202. div#entry{
  203. padding-bottom: 1px;
  204. }
  205.  
  206. #entry .reblawwg{
  207. width:auto;
  208. position: absolute;
  209. font-family: 'Amatic SC', cursive;
  210. font-size: 20px;
  211. line-height: 22px;
  212. letter-spacing: 2px;
  213. text-align: right;
  214. overflow:hidden;
  215. opacity: 0.0;
  216. background-color:#F1F1F1;
  217. -webkit-transition: all 0.2s linear;
  218. -moz-transition: all 0.2s linear;
  219. transition: all 0.2s linear;
  220. }
  221.  
  222.  
  223. #entry:hover .reblawwg{
  224. width: 400px;
  225. background-color:F1F1F1;
  226. overflow:visible;
  227. -webkit-transition: opacity 1.0s linear; opacity: 1.0;
  228. -webkit-transition: all 0.3s linear;
  229. -moz-transition: all 0.3s linear;
  230. transition: all 0.3s linear;
  231. }
  232.  
  233. }
  234.  
  235.  
  236.  
  237. .textpost{padding-top:2px; padding-bottom: 2px;}
  238.  
  239.  
  240.  
  241. div#sidebar{
  242. position:fixed !important;
  243. width: 285px;
  244. height:auto;
  245. margin-top: 80px;
  246. margin-left: 30px;
  247. padding: 2px;
  248. font-size: 12px;
  249. line-height:14px;
  250. letter-spacing:0px;
  251. margin-bottom: 6px;
  252. background-color:white;
  253. border: 1px solid black;
  254. -moz-box-shadow: 0 0 3em white;
  255. -webkit-box-shadow: 0 0 7em white;
  256. box-shadow: 0 0 3em white;
  257. }
  258.  
  259. #poop a{
  260. color:#000;}
  261.  
  262. #poop{
  263. position:fixed !important;
  264. text-align:center;
  265. width: auto;
  266. height:auto;
  267. left: 10px;
  268. bottom: 5px;
  269. padding: 2px;
  270. font-size: 10px;
  271. font-family:Happy Monkey;
  272. line-height:12px;
  273. background-color: #fff;
  274. border: 1px solid #000;
  275. }
  276.  
  277. div#sidebanner{
  278. position:fixed !important;
  279. width: auto;
  280. height: auto;
  281. margin-top: 280px;
  282. margin-left: 825px;
  283. background-color: transparent;
  284. font-family: "caviardreams";
  285. font-size: 40px;
  286. line-height: 45px;
  287. text-align: center;
  288. text-shadow: 1px 1px 10px #888;
  289. -webkit-transform: rotate(90deg);
  290. -moz-transform: rotate(90deg);
  291. }
  292.  
  293.  
  294. #postnotes{
  295. text-align: justify;}
  296.  
  297. #postnotes blockquote{
  298. border: 0px;}
  299.  
  300. .linkperma{
  301. display: block;
  302. font-size: 10px;
  303. text-align: left;
  304. text-decoration: none;
  305. }
  306.  
  307. .lit
  308. {font-family:"littlefont";
  309. font-size: 8px;
  310. line-height:10px;}
  311.  
  312. .link{
  313. width:30px;
  314. height:30px;
  315. font-family:"littlefont";
  316. font-size:8px;
  317. line-height:30px;
  318. margin-left:2px;
  319. border-radius:25px;
  320. display: inline-block;
  321. -moz-transition: all .2s ease-in-out;
  322. -o-transition: all .2s ease-in-out;
  323. transition: all .2s ease-in-out;
  324. -webkit-transition: all .2s ease-in-out;
  325. -webkit-transition-duration: .8s;
  326. background:#d7d7d7;
  327. border:1px solid black;}
  328.  
  329. .link:hover{
  330. -moz-transform: rotate(360deg);
  331. -webkit-transform: rotate(360deg);
  332. -o-transform: rotate(360deg);
  333. transform: rotate(360deg);
  334. border-radius:0px;}
  335.  
  336. .headings{
  337. font-family: "caviardreams";
  338. font-size:24px;
  339. border-bottom:1px dashed #000;
  340. line-height:18px;
  341. text-align: left;}
  342.  
  343.  
  344. .title{
  345. font-family: 'Happy Monkey';
  346. font-size: 20px;
  347. line-height: 30px;
  348. color: {color:title};
  349. font-weight: normal;
  350. padding:0px 0px 0px 0px;
  351. }
  352.  
  353. @font-face { font-family: "caviardreams"; src: url('http://static.tumblr.com/4yxykdm/xXTlrecqr/caviardreams.ttf'); }
  354.  
  355.  
  356.  
  357.  
  358. #light{
  359. position:fixed;
  360. margin-top: 40px;
  361. margin-left: 20px;
  362. width:230px;
  363. font-family: 'Amatic SC', cursive;
  364. font-size: 50px;
  365. line-height: 30px;
  366. color: #000;
  367. text-align:center;
  368. border-bottom:1px dashed #000;
  369. padding-bottom:5px;
  370. text-shadow: #000 0px 2px 2px;
  371. }
  372.  
  373. .blogtitle{font-family: 'Happy Monkey';
  374. font-size: 30px;
  375. line-height: 35px;
  376. color: {color: title};
  377. padding:0px 0px 0px 0px;
  378. text-transform: none; }
  379.  
  380.  
  381. .video embed, .post div.video object {width:402px !important; height:332px !important;}
  382.  
  383. blockquote{
  384. padding:0px 0px 2px 5px;
  385. margin:0px 0px 2px 1px;
  386. border-left: 1px dotted #555555;
  387. }
  388.  
  389. blockquote p, ul{
  390. margin:0px;
  391. padding:0px;
  392. }
  393.  
  394. .link1 a{
  395. position: fixed !important;
  396. display: block;
  397. font-family: "tinytots";
  398. font-size: 8px;
  399. line-height:1px;
  400. position: fixed;
  401. text-transform: uppercase;
  402. float:left;
  403. width:40px;
  404. height: 5px;
  405. margin-top: 1px;
  406. margin-left:0px;
  407. padding-left: 0px;
  408. padding-right: 15px;
  409. padding-top: 4px;
  410. padding-bottom:4px;
  411. background-color: {color:link1};
  412. color: black;
  413. -webkit-transition: all .6s ease-out;
  414. -moz-transition: all .6s ease-out;
  415. -o-transition: all .6s ease-out;
  416. transition: all .6s ease-out;
  417. line-height:3px;
  418. }
  419.  
  420. .link1 a:hover{
  421. padding-left: 225px;
  422. -webkit-transition: all .6s ease-out;
  423. -moz-transition: all .6s ease-out;
  424. -o-transition: all .6s ease-out;
  425. transition: all .6s ease-out;
  426. color: {color:Hover};
  427. }
  428.  
  429. .link2 a{
  430. position: fixed !important;
  431. display: block;
  432. font-family: "tinytots";
  433. font-size: 8px;
  434. line-height:11px;
  435. text-transform: uppercase;
  436. float:left;
  437. width: 40px;
  438. height:5px;
  439. margin-top: 1px;
  440. padding-left: 0px;
  441. padding-right: 15px;
  442. padding-top: 4px;
  443. padding-bottom: 4px;
  444. margin-left: 56px;
  445. background-color:{color:link2};
  446. color: black;
  447. -webkit-transition: all .6s ease-out;
  448. -moz-transition: all .6s ease-out;
  449. -o-transition: all .6s ease-out;
  450. transition: all .6s ease-out;
  451. line-height:3px;
  452. }
  453.  
  454. .link2 a:hover{
  455. color: {color:Hover};
  456. padding-left: 168px;
  457. -webkit-transition: all .6s ease-out;
  458. -moz-transition: all .6s ease-out;
  459. -o-transition: all .6s ease-out;
  460. transition: all .6s ease-out;
  461. }
  462.  
  463. .link3 a{
  464. margin-left:81px;
  465. font-family: "tinytots";
  466. font-size: 8px;
  467. line-height:11px;
  468. text-transform: uppercase;
  469. position: fixed !important;
  470. display: block;
  471. float:left;
  472. width: 40px;
  473. height: 5px;
  474. margin-top: 1px;
  475. padding-left: 0px;
  476. padding-right: 15px;
  477. padding-top: 4px;
  478. padding-bottom: 4px;
  479. margin-left:112px;
  480. background-color: {color:link3};
  481. color: black;
  482. -webkit-transition: all .6s ease-out;
  483. -moz-transition: all .6s ease-out;
  484. -o-transition: all .6s ease-out;
  485. transition: all .6s ease-out;
  486. line-height:3px;
  487. }
  488.  
  489. .link3 a:hover{
  490. color: {color:Hover};
  491. padding-left: 113px;
  492. -webkit-transition: all .6s ease-out;
  493. -moz-transition: all .6s ease-out;
  494. -o-transition: all .6s ease-out;
  495. transition: all .6s ease-out;
  496. }
  497.  
  498. .link4 a{
  499. display: block;
  500. position: fixed !important;
  501. font-family: "tinytots";
  502. font-size: 8px;
  503. line-height:1px;
  504. text-transform: uppercase;
  505. float:left;
  506. width: 40px;
  507. height: 5px;
  508. margin-top: 1px;
  509. padding-left: 0px;
  510. padding-right: 15px;
  511. padding-top: 4px;
  512. padding-bottom: 4px;
  513. margin-left:168px;
  514. text-align: right;
  515. -webkit-transition: all .6s ease-out;
  516. -moz-transition: all .6s ease-out;
  517. -o-transition: all .6s ease-out;
  518. transition: all .6s ease-out;
  519. line-height:3px;
  520. background-color:{color:link4};
  521. color: black;
  522. }
  523.  
  524. .link4 a:hover{
  525. color: {color:Hover};
  526. -webkit-transition: all .6s ease-out;
  527. -moz-transition: all .6s ease-out;
  528. padding-left:57px;
  529. -o-transition: all .6s ease-out;
  530. transition: all .6s ease-out;
  531. }
  532.  
  533.  
  534. .link5 a{
  535. display: block;
  536. position: fixed !important;
  537. font-family: "tinytots";
  538. font-size: 8px;
  539. line-height:1px;
  540. text-transform: uppercase;
  541. float:left;
  542. width: 40px;
  543. height: 5px;
  544. margin-top: 1px;
  545. padding-left: 0px;
  546. padding-right: 15px;
  547. padding-top: 4px;
  548. padding-bottom: 4px;
  549. margin-left:224px;
  550. text-align: right;
  551. -webkit-transition: all .6s ease-out;
  552. -moz-transition: all .6s ease-out;
  553. -o-transition: all .6s ease-out;
  554. transition: all .6s ease-out;
  555. line-height:3px;
  556. background-color: {color:link5};
  557. color:black;
  558. }
  559.  
  560. .link5 a:hover{
  561. color: {color:Hover};
  562. -webkit-transition: all .6s ease-out;
  563. -moz-transition: all .6s ease-out;
  564. padding-left:5px;
  565. -o-transition: all .6s ease-out;
  566. transition: all .6s ease-out;
  567. }
  568.  
  569.  
  570.  
  571. a img{border: 0px;}
  572.  
  573. ul, ol, li{list-style:none; margin:0px; padding:0px;}
  574.  
  575. .user_1 .label, .user_2 .label, .user_3 .label, .user_4 .label, .user_5 .label, .user_6 .label,
  576. .user_7 .label, .user_8 .label, .user_9 .label {color:#555555;}
  577.  
  578. .notes img{width:10px; position:relative; top:3px;}
  579.  
  580.  
  581. .heart {display : block; font-size: 12px; font-family: 'coming soon'; line-height: 15px; text-indent : 5px; vertical-align : middle; background:
  582.  
  583. url('http://www.hellostar.org/wp-admin/images/q1.gif') no-repeat left; padding-left : 10px;
  584.  
  585. padding-bottom : 2px;}
  586.  
  587. .heart:hover {display : block; font-size: 12px; font-family:'coming soon'; line-height: 15px; text-indent : 5px; vertical-align : middle; background : url('http://www.hellostar.org/wp-admin/images/q2.gif') no-repeat left; padding-left : 10px; padding-bottom : 2px;}
  588.  
  589.  
  590. small{font-size: 90%;}
  591.  
  592.  
  593.  
  594. h4.small {display: table-cell; width: 100px; margin: 0px; height: 100%;}
  595.  
  596. @font-face {font-family: "tinytots";src: url('http://static.tumblr.com/rmj06l2/Usellxb4i/tinytots.ttf');}
  597.  
  598.  
  599.  
  600. </style>
  601.  
  602.  
  603. <link rel="shortcut icon" href="http://www.pixelsxo.com/graphics/images/cartoon//th_hellokity3.gif">
  604. <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}">
  605.  
  606. <meta name="viewport" content="width=820" />
  607.  
  608.  
  609.  
  610. {block:ifrainbowlinks}
  611. <script type='text/javascript'>
  612.  
  613. //<![CDATA[
  614.  
  615. var rate = 20;
  616.  
  617. if (document.getElementById)
  618. window.onerror=new Function("return true")
  619.  
  620. var objActive; // The object which event occured in
  621. var act = 0; // Flag during the action
  622. var elmH = 0; // Hue
  623. var elmS = 128; // Saturation
  624. var elmV = 255; // Value
  625. var clrOrg; // A color before the change
  626. var TimerID; // Timer ID
  627.  
  628. if (document.all) {
  629. document.onmouseover = doRainbowAnchor;
  630. document.onmouseout = stopRainbowAnchor;
  631. }
  632. else if (document.getElementById) {
  633. document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);
  634. document.onmouseover = Mozilla_doRainbowAnchor;
  635. document.onmouseout = Mozilla_stopRainbowAnchor;
  636. }
  637.  
  638. function doRainbow(obj)
  639. {
  640. if (act == 0) {
  641. act = 1;
  642. if (obj)
  643. objActive = obj;
  644. else
  645. objActive = event.srcElement;
  646. clrOrg = objActive.style.color;
  647. TimerID = setInterval("ChangeColor()",100);
  648. }
  649. }
  650.  
  651.  
  652. function stopRainbow()
  653. {
  654. if (act) {
  655. objActive.style.color = clrOrg;
  656. clearInterval(TimerID);
  657. act = 0;
  658. }
  659. }
  660.  
  661.  
  662. function doRainbowAnchor()
  663. {
  664. if (act == 0) {
  665. var obj = event.srcElement;
  666. while (obj.tagName != 'A' && obj.tagName != 'BODY') {
  667. obj = obj.parentElement;
  668. if (obj.tagName == 'A' || obj.tagName == 'BODY')
  669. break;
  670. }
  671.  
  672. if (obj.tagName == 'A' && obj.href != '') {
  673. objActive = obj;
  674. act = 1;
  675. clrOrg = objActive.style.color;
  676. TimerID = setInterval("ChangeColor()",100);
  677. }
  678. }
  679. }
  680.  
  681.  
  682. function stopRainbowAnchor()
  683. {
  684. if (act) {
  685. if (objActive.tagName == 'A') {
  686. objActive.style.color = clrOrg;
  687. clearInterval(TimerID);
  688. act = 0;
  689. }
  690. }
  691. }
  692.  
  693.  
  694. function Mozilla_doRainbowAnchor(e)
  695. {
  696. if (act == 0) {
  697. obj = e.target;
  698. while (obj.nodeName != 'A' && obj.nodeName != 'BODY') {
  699. obj = obj.parentNode;
  700. if (obj.nodeName == 'A' || obj.nodeName == 'BODY')
  701. break;
  702. }
  703.  
  704. if (obj.nodeName == 'A' && obj.href != '') {
  705. objActive = obj;
  706. act = 1;
  707. clrOrg = obj.style.color;
  708. TimerID = setInterval("ChangeColor()",100);
  709. }
  710. }
  711. }
  712.  
  713.  
  714. function Mozilla_stopRainbowAnchor(e)
  715. {
  716. if (act) {
  717. if (objActive.nodeName == 'A') {
  718. objActive.style.color = clrOrg;
  719. clearInterval(TimerID);
  720. act = 0;
  721. }
  722. }
  723. }
  724.  
  725.  
  726. function ChangeColor()
  727. {
  728. objActive.style.color = makeColor();
  729. }
  730.  
  731.  
  732. function makeColor()
  733. {
  734. // Don't you think Color Gamut to look like Rainbow?
  735.  
  736. // HSVtoRGB
  737. if (elmS == 0) {
  738. elmR = elmV; elmG = elmV; elmB = elmV;
  739. }
  740. else {
  741. t1 = elmV;
  742. t2 = (255 - elmS) * elmV / 255;
  743. t3 = elmH % 60;
  744. t3 = (t1 - t2) * t3 / 60;
  745.  
  746. if (elmH < 60) {
  747. elmR = t1; elmB = t2; elmG = t2 + t3;
  748. }
  749. else if (elmH < 120) {
  750. elmG = t1; elmB = t2; elmR = t1 - t3;
  751. }
  752. else if (elmH < 180) {
  753. elmG = t1; elmR = t2; elmB = t2 + t3;
  754. }
  755. else if (elmH < 240) {
  756. elmB = t1; elmR = t2; elmG = t1 - t3;
  757. }
  758. else if (elmH < 300) {
  759. elmB = t1; elmG = t2; elmR = t2 + t3;
  760. }
  761. else if (elmH < 360) {
  762. elmR = t1; elmG = t2; elmB = t1 - t3;
  763. }
  764. else {
  765. elmR = 0; elmG = 0; elmB = 0;
  766. }
  767. }
  768.  
  769. elmR = Math.floor(elmR).toString(16);
  770. elmG = Math.floor(elmG).toString(16);
  771. elmB = Math.floor(elmB).toString(16);
  772. if (elmR.length == 1) elmR = "0" + elmR;
  773. if (elmG.length == 1) elmG = "0" + elmG;
  774. if (elmB.length == 1) elmB = "0" + elmB;
  775.  
  776. elmH = elmH + rate;
  777. if (elmH >= 360)
  778. elmH = 0;
  779.  
  780. return '#' + elmR + elmG + elmB;
  781. }
  782.  
  783.  
  784.  
  785. //]]>
  786.  
  787. </script>
  788.  
  789.  
  790. {/block:ifrainbowlinks}
  791.  
  792. <title>thepinkrebellion</title>
  793. <script type="text/javascript"
  794. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js">
  795. </script>
  796. <script type="text/javascript" language="javascript">
  797. $(function () {
  798. $('#scrlBotm').click(function () {
  799. $('html, body').animate({
  800. scrollTop: $(document).height()
  801. },
  802. 1500);
  803. return false;
  804. });
  805.  
  806. $('#scrlTop').click(function () {
  807. $('html, body').animate({
  808. scrollTop: '0px'
  809. },
  810. 1500);
  811. return false;
  812. });
  813. });
  814. </script>
  815.  
  816.  
  817.  
  818.  
  819.  
  820. <script type="text/javascript" src="http://static.tumblr.com/53unaru/kx3lgzker/jquery-1.3.2.min.js" charset="utf-8"></script>
  821. <script type="text/javascript" src="http://static.tumblr.com/53unaru/4jtlgzkf8/easing.js"></script>
  822. <script type="text/javascript" src="http://static.tumblr.com/53unaru/y8wlgzkbt/jquery.ui.totop.js"></script>
  823. <script type="text/javascript">
  824. $(document).ready(function() {
  825. $().UItoTop({ easingType: 'easeOutQuart' });
  826. });
  827. </script>
  828.  
  829.  
  830.  
  831.  
  832. </head>
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839. <body>
  840.  
  841. {block:ifshowsidebanner}
  842. <div id="sidebanner"><span id="bubble">{text:sidebanner}</span></div>
  843. {/block:ifshowsidebanner}
  844.  
  845. <script src="http://jquery-airport.googlecode.com/files/jquery.airport-1.1.source.js" type="text/javascript"></script>
  846.  
  847.  
  848.  
  849.  
  850.  
  851. <div id="cage">
  852. <div id="center">
  853.  
  854.  
  855.  
  856. {block:ifshowblogtitle}<div id="light">{Title}</div>{/block:ifshowblogtitle}
  857.  
  858. <div id="sidebar">
  859.  
  860. {block:ifshowsidebarphoto}<a href="/"><img src="{image:sidebar}" width=200px></a>{/block:ifshowsidebarphoto}<br>
  861. <div align="center">
  862. <div class="link5"> <a href="http://thepinkrebellion.tumblr.com" target="_blank">theme</a> </div>
  863. <div class="link4"> {block:ifLinkOneTitle}<a href="{text:Link four}">{text:Link four Title}</a>{/block:ifLinkOneTitle}</div>
  864. <div class="link3"> {block:ifLinkThreeTitle}<a href="{text:Link Three}">{text:Link Three Title}</a>{/block:ifLinkThreeTitle} </div>
  865. <div class="link2"> {block:ifLinkTwoTitle}<a href="{text:Link Two}">{text:Link Two Title}</a>{/block:ifLinkTwoTitle} </div>
  866. <div class="link1"> {block:ifLinkOneTitle}<a href="{text:Link One}">{text:Link One Title}</a>{/block:ifLinkOneTitle}</div> </div>
  867.  
  868. <br><br>
  869. {Description}
  870. </div>
  871.  
  872. {block:ifnotinfinitescrolling}
  873. {block:PreviousPage}<a href="{PreviousPage}" title="newer entries">←</a>{/block:PreviousPage} {block:NextPage}<a href="{NextPage}" title="older entries">→</a>{/block:NextPage}{/block:ifnotinfinitescrolling}
  874.  
  875. </div>
  876.  
  877. <div id="content">
  878. {block:Posts}
  879. <div id="entry">
  880.  
  881. {block:IndexPage}
  882. <div class="reblawwg">
  883. {TimeAgo} <a href="{permalink}">{NoteCountWithLabel}</a> &middot; <a href="{ReblogURL}" target="_blank">reblog</a></span></div>
  884. {/block:IndexPage}
  885.  
  886. {block:Text}<div class="textpost">
  887. {block:Title}<span class="title">{Title}</span><br>{/block:Title}
  888. <span class="entrytext">{Body}</span></div>{/block:Text}
  889.  
  890. {block:Link}<div class="textpost">
  891. <a href="{URL}" class="title">{Name}</a><br>
  892. {block:Description}{Description}{/block:Description}</div>
  893. {block:Link}
  894.  
  895. {block:Photo}
  896. {LinkOpenTag}<a href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}"width=400px/></a>{LinkCloseTag}
  897. {/block:Photo}
  898.  
  899.  
  900. {block:Photoset}{Photoset-400}{/block:Photoset}
  901.  
  902. {block:Quote}<div class="textpost">
  903. {Quote}</span>
  904. {block:Source}<strong>-{Source}</strong>{/block:Source}</div>
  905. {/block:Quote}
  906.  
  907. {block:Chat}<div class="textpost">
  908. {block:Title}<span class="title">{Title}</span>{/block:Title}
  909. <ul class="chat">
  910. {block:Lines}
  911. <li class="user_{UserNumber}">
  912. {block:Label}
  913. <span class="label">{Label}</span>
  914. {/block:Label}
  915.  
  916. {Line}
  917. </li>
  918. {/block:Lines}</div>
  919. {/block:Chat}
  920.  
  921.  
  922. {block:Audio}<div class="textpost">
  923. <center><div style="width:220px; height:28px;"><div style="float:left">{AudioPlayerBlack}</div><div style="margin-top:10px; float:right;">
  924. {FormattedPlayCount} plays {block:ExternalAudio}{/block:ExternalAudio}</div></div></center><br></div>{/block:Audio}
  925.  
  926. {block:Video}<center>
  927. <div class="video">{Video-400}</div></center>
  928. {block:Video}
  929.  
  930. {block:Answer}<div class="textpost">
  931. <b>{Asker} says: {Question}</b><br>{Answer}</div>
  932. {/block:Answer}
  933.  
  934. {block:PermalinkPage}{block:Caption}{Caption}{/block:Caption}{block:NoteCount}{NoteCountWithLabel}{/block:NoteCount}{block:HasTags} &middot; {block:Tags}<a href="{TagURL}"> #{Tag}</a> {/block:Tags}{/block:hasTags}{/block:PermalinkPage}
  935.  
  936. {block:PostNotes}{PostNotes}
  937. {/block:PostNotes}
  938. </div>
  939.  
  940.  
  941.  
  942. {/block:Posts}
  943.  
  944. </div></div>
  945.  
  946. </div>
  947. </center>
  948.  
  949. <a id="scrlTop" title="Top" href="#" style="position: fixed; bottom: -40px; right: 15px;"><img src="http://static.tumblr.com/hi8vwsz/Q0ull6xz3/totop.png"></a>
  950.  
  951. </body>
  952. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement