Advertisement
thepinkrebellion

Faux Animaux theme by thepinkrebellion

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