southkiralina

Old Theme Two

Jun 13th, 2012
822
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.15 KB | None | 0 0
  1. <!--
  2. theme by -injection. please don't remove credit. if you do put in your faq.-->
  3. <head>
  4. <!-- DEFAULT VARIABLES -->
  5. <html lang="en"><head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  7. <meta name="color:background" content="#ffffff"/>
  8. <meta name="color:content" content="#ffffff"/>
  9. <meta name="image:Sidebar" content="1"/>
  10. <meta name="if:Show Sidebar Image" content="0"/>
  11. <meta name="if:Infinite Scrolling" content="0"/>
  12. <meta name="image:Background" content=""/>
  13. <meta name="if:Show Arrows" content="1"/>
  14. <meta name="font:title" content="helvetica"/>
  15. <meta name="color:text" content="#000000"/>
  16. <meta name="color:title" content="#000000"/>
  17. <meta name="color:link" content="#555555"/>
  18. <meta name="color:hover" content="#000000"/>
  19. <meta name="if:rainbow links" content="1"/>
  20.  
  21.  
  22. {block:ifinfinitescrolling}<script type="text/javascript" src="http://codysherman.com/tools/infinite-scrolling/code"></script>{/block:ifinfinitescrolling}
  23.  
  24. <title>{Title}</title>
  25. <script src="http://static.tumblr.com/me5sfsd/1YFl414t0/jquery142.js"></script>
  26. <script type="text/javascript">
  27. $(document).ready(function () {
  28. $('li.drawer div:nth-child(2)').hide();
  29. $('li.drawer h4').click(function () {
  30. if ($(this).hasClass('open')) {
  31. $('li.drawer div:visible:nth-child(2)').slideUp().prev().removeClass('open');}
  32. else {
  33. $('li.drawer div:visible:nth-child(2)').slideUp().prev().removeClass('open');
  34. $(this).next().slideDown();
  35. $(this).addClass('open');}
  36. });
  37. });
  38. </script>
  39. <style type="text/css">
  40. body {margin:0px; background-color: {color:Background}; background-image:url({image:Background}); background-attachment: fixed; background-repeat: repeat;}
  41.  
  42. body, div, p, textarea, submit, input{ font-family: helvetica; font-size: 10px; line-height:11px; letter-spacing:0px; color:{color:Text};}
  43.  
  44. p { margin:0px; margin-top:0px;}
  45.  
  46. a:link, a:active, a:visited{ color: {color:Link}; text-decoration: none;}
  47.  
  48. a:hover {color:{color:Hover}; text-decoration: none;}
  49.  
  50. div#center{
  51. margin:auto;
  52. position:relative;
  53. width:840px;
  54. background-color:;
  55. overflow:auto;
  56. overflow-y:hidden;}
  57.  
  58.  
  59.  
  60. div#content{
  61. float:right;
  62. width:385px;
  63. padding:0px;
  64. padding-top: 0px;
  65. margin-right: 195px;
  66. margin-top: 0px;
  67. background:;
  68. }
  69.  
  70. div#entry{
  71. background-color: #FFF;
  72. margin-top:0px;
  73. padding-top:0px;
  74. padding-right:0px;
  75. padding-bottom:2px;
  76. }
  77.  
  78.  
  79.  
  80.  
  81. div#sidebar{
  82. position:fixed !important;
  83. width: 180px;
  84. height:auto%;
  85. margin: 200px 0px 0px 70px;
  86. padding: 1px; font-size: 10px;
  87. line-height:8px;
  88. letter-spacing:0px;
  89. margin-bottom: 5px;
  90. background-color: #FFF;
  91. border: 1px solid transparent;
  92.  
  93. }
  94.  
  95. #postnotes{
  96. text-align: justify;
  97. }
  98.  
  99. #postnotes blockquote{
  100. border: 0px;
  101. }
  102.  
  103. .title{
  104. font-family: helvetica;
  105. font-size: 10px;
  106. line-height: 12px;
  107. color: {color:Title};
  108. letter-spacing: 1px;
  109. font-weight: normal;
  110. padding:0px 0px 0px 0px;
  111. }
  112.  
  113. .title2{
  114. font-family: verdana;
  115. font-size: 10px;
  116. line-height: 12px;
  117. color: {color:Title};
  118. letter-spacing: 1px;
  119. font-weight: normal;
  120. padding:0px 0px 0px 0px;
  121. }
  122.  
  123. blockquote{
  124. padding:0px 0px 2px 5px;
  125. margin:0px 0px 2px 1px;
  126. border-left: 1px dotted #555555;
  127. }
  128.  
  129. blockquote p, ul{
  130. margin:0px;
  131. padding:0px;
  132. }
  133.  
  134. a img{
  135. border: 0px;
  136. }
  137.  
  138. ul, ol, li{
  139. list-style:none;
  140. margin:0px;
  141. padding:0px;
  142. }
  143.  
  144. .user_1 .label, .user_2 .label, .user_3 .label, .user_4 .label, .user_5 .label, .user_6 .label,
  145. .user_7 .label, .user_8 .label, .user_9 .label {color:#555555;}
  146.  
  147. .notes img{
  148. width:10px;
  149. position:relative;
  150. top:3px;
  151. }
  152.  
  153. .permalink{
  154. display: block;
  155. font-size: 10px;
  156. text-align: right;
  157. background-color:#FFFFFF;
  158. }
  159.  
  160. small{font-size: 90%;}
  161.  
  162. </style>
  163. <link rel="shortcut icon" href="{Favicon}">
  164. <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}" />
  165. <meta name="viewport" content="width=820" />
  166.  
  167. {block:ifrainbowlinks}
  168. <script type='text/javascript'>
  169.  
  170. //<![CDATA[
  171.  
  172. var rate = 50;
  173.  
  174. if (document.getElementById)
  175.  
  176. window.onerror=new Function("return true")
  177.  
  178. var objActive; // The object which event occured in
  179.  
  180. var act = 0; // Flag during the action
  181.  
  182. var elmH = 0; // Hue
  183.  
  184. var elmS = 128; // Saturation
  185.  
  186. var elmV = 255; // Value
  187.  
  188. var clrOrg; // A color before the change
  189.  
  190. var TimerID; // Timer ID
  191.  
  192. if (document.all) {
  193.  
  194. document.onmouseover = doRainbowAnchor;
  195.  
  196. document.onmouseout = stopRainbowAnchor;
  197.  
  198. }
  199.  
  200. else if (document.getElementById) {
  201.  
  202. document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);
  203.  
  204. document.onmouseover = Mozilla_doRainbowAnchor;
  205.  
  206. document.onmouseout = Mozilla_stopRainbowAnchor;
  207.  
  208. }
  209.  
  210. function doRainbow(obj)
  211.  
  212. {
  213.  
  214. if (act == 0) {
  215.  
  216. act = 1;
  217.  
  218. if (obj)
  219.  
  220. objActive = obj;
  221.  
  222. else
  223.  
  224. objActive = event.srcElement;
  225.  
  226. clrOrg = objActive.style.color;
  227.  
  228. TimerID = setInterval("ChangeColor()",100);
  229.  
  230. }
  231.  
  232. }
  233.  
  234.  
  235.  
  236. function stopRainbow()
  237.  
  238. {
  239.  
  240. if (act) {
  241.  
  242. objActive.style.color = clrOrg;
  243.  
  244. clearInterval(TimerID);
  245.  
  246. act = 0;
  247.  
  248. }
  249.  
  250. }
  251.  
  252.  
  253.  
  254. function doRainbowAnchor()
  255.  
  256. {
  257.  
  258. if (act == 0) {
  259.  
  260. var obj = event.srcElement;
  261.  
  262. while (obj.tagName != 'A' && obj.tagName != 'BODY') {
  263.  
  264. obj = obj.parentElement;
  265.  
  266. if (obj.tagName == 'A' || obj.tagName == 'BODY')
  267.  
  268. break;
  269.  
  270. }
  271.  
  272. if (obj.tagName == 'A' && obj.href != '') {
  273.  
  274. objActive = obj;
  275.  
  276. act = 1;
  277.  
  278. clrOrg = objActive.style.color;
  279.  
  280. TimerID = setInterval("ChangeColor()",100);
  281.  
  282. }
  283.  
  284. }
  285.  
  286. }
  287.  
  288.  
  289.  
  290. function stopRainbowAnchor()
  291.  
  292. {
  293.  
  294. if (act) {
  295.  
  296. if (objActive.tagName == 'A') {
  297.  
  298. objActive.style.color = clrOrg;
  299.  
  300. clearInterval(TimerID);
  301.  
  302. act = 0;
  303.  
  304. }
  305.  
  306. }
  307.  
  308. }
  309.  
  310.  
  311.  
  312. function Mozilla_doRainbowAnchor(e)
  313.  
  314. {
  315.  
  316. if (act == 0) {
  317.  
  318. obj = e.target;
  319.  
  320. while (obj.nodeName != 'A' && obj.nodeName != 'BODY') {
  321.  
  322. obj = obj.parentNode;
  323.  
  324. if (obj.nodeName == 'A' || obj.nodeName == 'BODY')
  325.  
  326. break;
  327.  
  328. }
  329.  
  330. if (obj.nodeName == 'A' && obj.href != '') {
  331.  
  332. objActive = obj;
  333.  
  334. act = 1;
  335.  
  336. clrOrg = obj.style.color;
  337.  
  338. TimerID = setInterval("ChangeColor()",100);
  339.  
  340. }
  341.  
  342. }
  343.  
  344. }
  345.  
  346.  
  347.  
  348. function Mozilla_stopRainbowAnchor(e)
  349.  
  350. {
  351.  
  352. if (act) {
  353.  
  354. if (objActive.nodeName == 'A') {
  355.  
  356. objActive.style.color = clrOrg;
  357.  
  358. clearInterval(TimerID);
  359.  
  360. act = 0;
  361.  
  362. }
  363.  
  364. }
  365.  
  366. }
  367.  
  368.  
  369.  
  370. function ChangeColor()
  371.  
  372. {
  373.  
  374. objActive.style.color = makeColor();
  375.  
  376. }
  377.  
  378.  
  379.  
  380. function makeColor()
  381.  
  382. {
  383.  
  384. // Don't you think Color Gamut to look like Rainbow?
  385.  
  386. // HSVtoRGB
  387.  
  388. if (elmS == 0) {
  389.  
  390. elmR = elmV; elmG = elmV; elmB = elmV;
  391.  
  392. }
  393.  
  394. else {
  395.  
  396. t1 = elmV;
  397.  
  398. t2 = (255 - elmS) * elmV / 255;
  399.  
  400. t3 = elmH % 60;
  401.  
  402. t3 = (t1 - t2) * t3 / 60;
  403.  
  404. if (elmH < 60) {
  405.  
  406. elmR = t1; elmB = t2; elmG = t2 + t3;
  407.  
  408. }
  409.  
  410. else if (elmH < 120) {
  411.  
  412. elmG = t1; elmB = t2; elmR = t1 - t3;
  413.  
  414. }
  415.  
  416. else if (elmH < 180) {
  417.  
  418. elmG = t1; elmR = t2; elmB = t2 + t3;
  419.  
  420. }
  421.  
  422. else if (elmH < 240) {
  423.  
  424. elmB = t1; elmR = t2; elmG = t1 - t3;
  425.  
  426. }
  427.  
  428. else if (elmH < 300) {
  429.  
  430. elmB = t1; elmG = t2; elmR = t2 + t3;
  431.  
  432. }
  433.  
  434. else if (elmH < 360) {
  435.  
  436. elmR = t1; elmG = t2; elmB = t1 - t3;
  437.  
  438. }
  439.  
  440. else {
  441.  
  442. elmR = 0; elmG = 0; elmB = 0;
  443.  
  444. }
  445.  
  446. }
  447.  
  448. elmR = Math.floor(elmR).toString(16);
  449.  
  450. elmG = Math.floor(elmG).toString(16);
  451.  
  452. elmB = Math.floor(elmB).toString(16);
  453.  
  454. if (elmR.length == 1) elmR = "0" + elmR;
  455.  
  456. if (elmG.length == 1) elmG = "0" + elmG;
  457.  
  458. if (elmB.length == 1) elmB = "0" + elmB
  459.  
  460. elmH = elmH + rate;
  461.  
  462. if (elmH >= 360)
  463.  
  464. elmH = 0;
  465.  
  466. return '#' + elmR + elmG + elmB;
  467.  
  468. }
  469.  
  470. //]]>
  471.  
  472. </script>
  473. {/block:ifrainbowlinks}
  474.  
  475. </head>
  476. <body>
  477.  
  478. <div id="cage">
  479. <div id="center">
  480. <div id="sidebar">
  481.  
  482. {block:ifshowsidebarimage}<a href="/"><img src="{image:sidebar}" width=180px></a>{/block:ifshowsidebarimage}
  483. <br>
  484. <center>{Description}
  485.  
  486. <br>
  487. <div align="right">
  488. <br>
  489. {block:ifshowarrows}{block:NextPage}<a href="{NextPage}"><center><font size="2"> > </font></center></a>{/block:NextPage}
  490. {block:PreviousPage} <a href="{PreviousPage}"><center><font size="2"> < </font></center></a>{/block:PreviousPage}{/block:ifshowarrows}
  491.  
  492. </center>
  493.  
  494.  
  495.  
  496. </div>
  497.  
  498.  
  499. <div id="content">
  500. {block:Posts}
  501. <div id="entry">
  502. <a href="{permalink}">{block:Text}
  503. {block:Title}<span class="title">{Title}</span>{/block:Title}
  504. <span class="entrytext">{Body}</span>
  505.  
  506. {/block:Text}
  507.  
  508. {block:Link}
  509. <a href="{URL}" class="title">{Name}</a>
  510. {block:Description}{Description}{/block:Description}
  511. {block:Link}
  512.  
  513. {block:Photo}<center>
  514. {LinkOpenTag}<a href="{permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}" width=385px></a>{LinkCloseTag}</center>
  515. {/block:Photo}
  516.  
  517. {block:Quote}
  518. <span class="title">{Quote}</span>
  519. {block:Source}{Source}{/block:Source}
  520. {/block:Quote}
  521.  
  522. {block:Chat}
  523. {block:Title}<span class="title">{Title}</span>{/block:Title}
  524. <ul class="chat">
  525. {block:Lines}
  526. <li class="user_{UserNumber}">
  527. {block:Label}
  528. <span class="label">{Label}</span>
  529. {/block:Label}
  530.  
  531. {Line}
  532. </li>
  533. {/block:Lines}
  534. </ul>
  535.  
  536. {/block:Chat}
  537.  
  538.  
  539. {block:Audio}
  540. <centeR><div style="width:330px; height:20px;"><div style="float:left">{AudioPlayerWhite}</div><div style="margin-top:8px; float:right;"><small>
  541. {FormattedPlayCount} plays {block:ExternalAudio} // <a href="{ExternalAudioURL}">Download?</a>{/block:ExternalAudio}</small></div></div></centeR><BR>
  542. {block:Caption}{Caption}{/block:Caption}
  543. {/block:Audio}
  544.  
  545. {block:Video}<center>
  546. {Video-400}<BR>
  547. {block:Caption}{Caption}{/block:Caption}</center>
  548. {block:Video}
  549.  
  550. {block:PostNotes}
  551. <center>
  552. {block:Caption}{Caption}{/block:Caption}
  553.  
  554. {block:NoteCount}{NoteCountWithLabel}<br>{/block:NoteCount}
  555.  
  556. {block:HasTags}
  557. # {block:Tags}<a href="{TagURL}">{Tag}. </a>{/block:Tags}<br> {/block:HasTags}
  558. {block:RebloggedFrom}
  559. reblogged from <a href="{ReblogParentURL}">{ReblogParentName}</a><br>
  560. {/block:RebloggedFrom}
  561. </center></span>
  562. <br>
  563. <div id="postnotes">{PostNotes}</div><br>
  564.  
  565. <center>{block:ContentSource}
  566. <br><a href="{SourceURL}">
  567. {lang:Source}:
  568. {block:SourceLogo}
  569. <img src="{BlackLogoURL}" width="{LogoWidth}"
  570. height="{LogoHeight}" alt="{SourceTitle}" />
  571. {/block:SourceLogo}
  572. {block:NoSourceLogo}
  573. {SourceLink}
  574. {/block:NoSourceLogo}
  575. </a>
  576. {/block:ContentSource}</center>
  577.  
  578. {/block:PostNotes}
  579. </div>
  580. {/block:Posts}<br>
  581.  
  582.  
  583. </div></div>
  584.  
  585. </div>
  586. </body>
  587.  
  588. </body>
  589. <div style="position:fixed; top:0px; left:0px;">
  590. theme by<a href="http://-injection.tumblr.com">-injection</a>
Advertisement
Add Comment
Please, Sign In to add comment