deadboys

Untitled

Nov 11th, 2017
362
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.19 KB | None | 0 0
  1. <!-- base code by creamsofa, code by fotnsmutual
  2. please do not remove credit! tell me if u use this, I'd love to see what u can do with it!-->
  3.  
  4. <html>
  5. <head>
  6.  
  7.  
  8.  
  9. <link rel="shortcut icon" href="{Favicon}" />
  10. <link rel="alternate" type="application/rss+xml" href="{RSS}" />
  11. <title>{Title}</title>
  12. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  13.  
  14.  
  15. <meta name="color:background" content="#ffffff">
  16. <meta name="color:text" content="#c0bdb8" />
  17. <meta name="color:link hover" content="#fdfdfd" />
  18. <meta name="color:link" content="#c0bdb8" />
  19. <meta name="color:Bold" content="#777777" />
  20. <meta name="color:Italic" content="#bbbbbb"/>
  21. <meta name="color:sidebar bg" content="#ffffff">
  22. <meta name="color:post bg" content="#ffffff">
  23.  
  24. <meta name="image:sidebar" content=""/>
  25. <meta name="image:render" content=""/>
  26.  
  27.  
  28. <meta name="text:link1" content="url" />
  29. <meta name="text:name1" content="link" />
  30. <meta name="text:link2" content="url" />
  31. <meta name="text:name2" content="link" />
  32. <meta name="text:link3" content="url" />
  33. <meta name="text:name3" content="link" />
  34. <meta name="text:link4" content="url" />
  35. <meta name="text:name4" content="link" />
  36.  
  37. <script type='text/javascript'>
  38. //<![CDATA[
  39. var rate = 50;
  40. if (document.getElementById)
  41. window.onerror=new Function("return true")
  42.  
  43. var objActive;
  44. var act = 0;
  45. var elmH = 0;
  46. var elmS = 128;
  47. var elmV = 255;
  48. var clrOrg;
  49. var TimerID;
  50. if (document.all) {
  51. document.onmouseover = doRainbowAnchor;
  52. document.onmouseout = stopRainbowAnchor;
  53. }
  54. else if (document.getElementById) {
  55. document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);
  56. document.onmouseover = Mozilla_doRainbowAnchor;
  57. document.onmouseout = Mozilla_stopRainbowAnchor;
  58. }
  59. function doRainbow(obj)
  60. {
  61. if (act == 0) {
  62. act = 1;
  63. if (obj)
  64. objActive = obj;
  65. else
  66. objActive = event.srcElement;
  67. clrOrg = objActive.style.color;
  68. TimerID = setInterval("ChangeColor()",100);
  69. }
  70. }
  71. function stopRainbow()
  72. {
  73. if (act) {
  74. objActive.style.color = clrOrg;
  75. clearInterval(TimerID);
  76. act = 0;
  77. }
  78. }
  79. function doRainbowAnchor()
  80. {
  81. if (act == 0) {
  82. var obj = event.srcElement;
  83. while (obj.tagName != 'A' && obj.tagName != 'BODY') {
  84. obj = obj.parentElement;
  85. if (obj.tagName == 'A' || obj.tagName == 'BODY')
  86. break;
  87. }
  88. if (obj.tagName == 'A' && obj.href != '') {
  89. objActive = obj;
  90. act = 1;
  91. clrOrg = objActive.style.color;
  92. TimerID = setInterval("ChangeColor()",100);
  93. }
  94. }
  95. }
  96. function stopRainbowAnchor()
  97. {
  98. if (act) {
  99. if (objActive.tagName == 'A') {
  100. objActive.style.color = clrOrg;
  101. clearInterval(TimerID);
  102. act = 0;
  103. }
  104. }
  105. }
  106. function Mozilla_doRainbowAnchor(e)
  107. {
  108. if (act == 0) {
  109. obj = e.target;
  110. while (obj.nodeName != 'A' && obj.nodeName != 'BODY') {
  111. obj = obj.parentNode;
  112. if (obj.nodeName == 'A' || obj.nodeName == 'BODY')
  113. break;
  114. }
  115. if (obj.nodeName == 'A' && obj.href != '') {
  116. objActive = obj;
  117. act = 1;
  118. clrOrg = obj.style.color;
  119. TimerID = setInterval("ChangeColor()",100);
  120. }
  121. }
  122. }
  123. function Mozilla_stopRainbowAnchor(e)
  124. {
  125. if (act) {
  126. if (objActive.nodeName == 'A') {
  127. objActive.style.color = clrOrg;
  128. clearInterval(TimerID);
  129. act = 0;
  130. }
  131. }
  132. }
  133. function ChangeColor()
  134. {
  135. objActive.style.color = makeColor();
  136. }
  137. function makeColor()
  138. {
  139. // Don't you think Color Gamut to look like Rainbow?
  140. // HSVtoRGB
  141. if (elmS == 0) {
  142. elmR = elmV; elmG = elmV; elmB = elmV;
  143. }
  144. else {
  145. t1 = elmV;
  146. t2 = (255 - elmS) * elmV / 255;
  147. t3 = elmH % 60;
  148. t3 = (t1 - t2) * t3 / 60;
  149. if (elmH < 60) {
  150. elmR = t1; elmB = t2; elmG = t2 + t3;
  151. }
  152. else if (elmH < 120) {
  153. elmG = t1; elmB = t2; elmR = t1 - t3;
  154. }
  155. else if (elmH < 180) {
  156. elmG = t1; elmR = t2; elmB = t2 + t3;
  157. }
  158. else if (elmH < 240) {
  159. elmB = t1; elmR = t2; elmG = t1 - t3;
  160. }
  161. else if (elmH < 300) {
  162. elmB = t1; elmG = t2; elmR = t2 + t3;
  163. }
  164. else if (elmH < 360) {
  165. elmR = t1; elmG = t2; elmB = t1 - t3;
  166. }
  167. else {
  168. elmR = 0; elmG = 0; elmB = 0;
  169. }
  170. }
  171. elmR = Math.floor(elmR).toString(16);
  172. elmG = Math.floor(elmG).toString(16);
  173. elmB = Math.floor(elmB).toString(16);
  174. if (elmR.length == 1) elmR = "0" + elmR;
  175. if (elmG.length == 1) elmG = "0" + elmG;
  176. if (elmB.length == 1) elmB = "0" + elmB
  177. elmH = elmH + rate;
  178. if (elmH >= 360)
  179. elmH = 0;
  180. return '#' + elmR + elmG + elmB;
  181. }
  182. //]]>
  183. </script>
  184.  
  185.  
  186. </head>
  187.  
  188.  
  189. <style type="text/css">
  190.  
  191.  
  192. body {color:{color:text}; background-color:{color:background}; font-family:verdana; font-size:11px; line-height:17px; text-align:justify}
  193.  
  194. a:link, a:active, a:visited{color: {color:link}; text-decoration:none}
  195.  
  196. a:hover {
  197. color:{color:link hover};-webkit-transition: all 0.2s linear; -moz-transition: all 0.2s linear; transition: all 0.2s linear;}
  198.  
  199. small{font-size:auto}
  200.  
  201. big{font-size:auto}
  202.  
  203. b, strong{color:{color:bold}}
  204.  
  205. h1 {font-size:15px;}
  206.  
  207. i, em {color:{color:italic}}
  208.  
  209. p{margin-top:6px; margin-bottom:6px}
  210.  
  211. blockquote {padding:0px; padding-left:10px; margin:8px; border-left:2px solid {color:text}}
  212.  
  213. img a{border:none; width:100%;}
  214.  
  215. #container {background-color:transparent; width: 400px; margin: 0 auto -10px auto}
  216.  
  217. /* the overall entries container and position of it */
  218.  
  219. #entries {margin-left:500px; text-align: justify;}
  220.  
  221. /* here are your posts to customize!! */
  222.  
  223. #posts {margin: 70px 0 0px 0; width: 400px;text-align: justify; padding: 7px;border: 1px solid #aaa; background-color:{color:post bg};}
  224.  
  225. #posts img {max-width:100%;}
  226.  
  227. #sidebar{ position:fixed; width:200px; background:{color:sidebar bg}; border:2px solid #aaa; padding:0px; overflow:hidden;left:150px; top:200px;
  228. }
  229.  
  230. h2 {
  231. font-family:helvetica; font-weight:100; line-height:17px;
  232. }
  233.  
  234. #pagination {font-family:calibri; text-align:center; font-size:24px; margin-bottom:2px;}
  235.  
  236. #credit{position:fixed; bottom:10px; left:10px; font-size:11px; font-family:calibri;color:{color:text}; text-transform:uppercase;letter-spacing: 0px; font-style:normal; background:white; border:1px solid #aaa; padding:3px;}
  237.  
  238. #info{padding-top:5px; display:block; padding-bottom:5px; width:auto; font-size:10px; font-family:verdana; text-transform:uppercase;}
  239.  
  240. .audio{background-color:black; display:block}
  241.  
  242.  
  243.  
  244. .user_1 .label {color:{color:link}; font-weight:bold}
  245. .user_2 .label {color:{color:text}; font-weight:italic}
  246. .user_3 .label {color:{color:link}; font-weight:text}
  247.  
  248.  
  249. ul.chat, .chat ol, .chat li {list-style:none; margin:0px; padding:0px}
  250.  
  251. .notes img{width:10px; position:relative; top:1px}
  252. ol.notes, .notes li{width:490px; list-style:none; margin:0px 0 -1px 5px; padding:0px}
  253. img {
  254.  
  255. -webkit-border-radius: 15px;
  256.  
  257. border-radius: 15px;
  258.  
  259. }
  260.  
  261.  
  262. </style>
  263.  
  264.  
  265.  
  266. <body>
  267. <div id="sidebar">
  268. <a href="/"><img src="{image:sidebar}" style="width:190px;position:inline;
  269. padding:5px;"></a>
  270. <center>
  271. {description}<p>
  272. <a href="/">home</a> /
  273. <a href="/ask">ask</a> /
  274. <a href="{text:link1}">{text:name1}</a> /
  275. <a href="{text:link2}">{text:name2}</a> /
  276. <a href="{text:link3}">{text:name3}</a> /
  277. <a href="{text:link4}">{text:name4}</a>
  278. <div id="pagination">{block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">«</a>{/block:PreviousPage} {block:NextPage}<a href="{NextPage}">»</a><br />{/block:NextPage}{/block:Pagination}</div>
  279. </div>
  280. </center>
  281.  
  282.  
  283.  
  284.  
  285. <div id="credit"><a href="http://fotnsmutual.tumblr.com/" title="theme credit">THEME</a></div>
  286.  
  287. <div id="entries">
  288. {block:posts}
  289.  
  290. <div id="posts">
  291. {block:Text}{block:Title}<h1>{Title}</h1>{/block:Title}{Body}{/block:Text}
  292.  
  293.  
  294. {block:Quote}<h2>“{Quote}” — {Source}</h2><br>{/block:Quote}
  295.  
  296. {block:Link}<a href="{URL}"><h1>{Name}</h1></a>
  297. {block:Description}<p>{Description}</p>{/block:Description}{/block:Link}
  298.  
  299. {block:Photo}<center><img src="{PhotoURL-400}"/></center>
  300. {block:Caption}{Caption}{/block:Caption}{/block:Photo}
  301.  
  302. {block:Photoset}<center>{Photoset-400}</center>
  303. {block:Caption}{Caption}{/block:Caption}{/block:Photoset}
  304.  
  305. {block:Chat}<ul class="chat">{block:Lines}<li class="user_{UserNumber}">{block:Label}<span class="label">{Label}</span>{/block:Label}&nbsp;{Line}</li>{/block:Lines}</ul>{/block:Chat}
  306.  
  307. {block:Video}{Video-400}{block:Caption}{Caption}{/block:Caption}{/block:Video}
  308.  
  309. {block:Answer}{Asker} whispered: {Question}<br>{Answer}{/block:Answer}
  310.  
  311.  
  312. {block:Audio}{AudioPlayerWhite}<br>
  313. {block:Caption}{Caption}{/block:Caption} {/block:Audio}
  314.  
  315. <center><div id="info">{block:Date}<a href="{Permalink}"> <a href="{ReblogURL}" target="_blank" class="details"> +Reblog</a><a href="{ReblogParentURL}"> {TimeAgo}</a>{/block:Date}{block:NoteCount} <i>with</i> <a href="{Permalink}">{NoteCountWithLabel}</a>{/block:NoteCount}{block:RebloggedFrom}<br><i>reblogged from</i> <a href="{ReblogParentURL}">{ReblogParentName}</a> - {/block:RebloggedFrom}{block:ContentSource} <i>originally from</i> <a href="{SourceURL}">{SourceLink}</a>{/block:ContentSource}</center><p>
  316.  
  317. <center>{block:HasTags}<u>filed under:</u>{block:Tags} # <a href="{TagURL}">{Tag} </a> {/block:Tags}{/block:HasTags}
  318. <br /></div>
  319.  
  320. {/block:Posts}
  321.  
  322. {block:PostNotes}{PostNotes}{/block:PostNotes}<br />
  323.  
  324. <img src={image:render} height=100 style='position:fixed;bottom:430px;left:180px;z-index:999’/>
  325.  
  326.  
  327.  
  328. </div>
  329. </div>
  330.  
  331. </body>
  332. </html>
Advertisement
Add Comment
Please, Sign In to add comment