Advertisement
maryaciolli

Theme #1

May 25th, 2013
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.32 KB | None | 0 0
  1.  
  2.  
  3. <!------ Theme by primadoonnagirl.tumblr.com ----------->
  4. <!------ Don't copy bitch! ----------->
  5.  
  6.  
  7.  
  8. <head>
  9. {block:ifinfinitescroll}
  10. <script type="text/javascript" src="http://codysherman.com/tools/infinite-scrolling/code"></script>
  11. {/block:ifinfinitescroll}
  12.  
  13. <meta name="color:background" content="#feff7f"/>
  14. <meta name="color:link" content="#000000"/>
  15. <meta name="color:text" content="#000000"/>
  16. <meta name="color:hover" content="#FFE4C4"/>
  17. <met name="color:title" content="000000">
  18. <meta name="image:background" content="1"/>
  19. <meta name="image:sidebar photo" content="http://static.tumblr.com/nqcm3ld/BE0lzyets/tumblr_lq9gy34f9u1r21g3eo1_500_large.jpg"/>
  20. <meta name="if:show photo" content="1"/>
  21. <meta name="text:Custom Link One Title" content="" />
  22. <meta name="text:Custom Link One" content="" />
  23. <meta name="text:Custom Link Two Title" content="" />
  24. <meta name="text:Custom Link Two" content="" />
  25. <meta name="text:Custom Link Three Title" content="" />
  26. <meta name="text:Custom Link Three" content="" />
  27. <meta name="text:Custom Link Four Title" content="" />
  28. <meta name="text:Custom Link Four" content="" />
  29. <meta name="if:infinite scrolling" content="1"/>
  30. <meta name="if:tiny cursor" content="0"/>
  31. <meta name="if:tiny cursor with heart" content="1"/>
  32. <meta name="if:rainbow links" content="0"/>
  33.  
  34.  
  35. <title>{block:SearchPage}Search results for "{SearchQuery}" - {/block:SearchPage}{block:PostSummary}{PostSummary} - {/block:PostSummary}{Title}</title>
  36.  
  37. <script type="text/javascript" src="http://codysherman.com/tools/infinite-scrolling/code"></script>
  38.  
  39. <style type="text/css">
  40.  
  41. {block:iftinycursor}
  42. body, a, a:hover {cursor: url(http://cur.cursors-4u.net/others/oth-6/oth589.cur), progress;}
  43. {/block:iftinycursor}
  44.  
  45. {block:iftinycursorwithheart}body, a, a:hover, a:visited {cursor: url(http://cur.cursors-4u.net/user/use-1/use169.cur), progress;}{/block:iftinycursorwithheart}
  46.  
  47. img:hover{-webkit-transition: opacity 0.1s linear; opacity: 0.9;} img{-webkit-transition: opacity 0.1s linear; opacity: 1;}
  48.  
  49. body {margin:0px;background-color: {color:Background};background-image:url({image:background});background-attachment: fixed; background-repeat: repeat;}
  50. body, div, p, textarea, submit, input{font-family: arial; font-size: 10px; line-height: 9px; color: #000000;}
  51.  
  52. p {margin:0px;margin-top:5px;}
  53.  
  54. a:link, a:active, a:visited{color: black; text-decoration: none;}
  55.  
  56. a:hover {color: black; text-decoration: none;}
  57.  
  58. #cage {margin:auto;position:relative;width:750px;overflow:hidden;color: #818181;_margin-left:10%;}
  59.  
  60. #center {margin: auto; position: relative; width: 740px; overflow: auto; overflow-y: hidden;}
  61.  
  62. #content {float:right; width: 420px; padding: 0px 1px 1px 1px; margin-top: 2px; margin-right: 270px; background: white;}
  63.  
  64. #entry {margin-top: 1px; overflow:auto;}
  65.  
  66. #sidebar {position:fixed !important;width: 200px; height: auto; background-color:white; margin: 40px 0px 0px 480px; padding: 1px;}
  67.  
  68. #links {position:fixed !important;width: 190px; height: auto; margin: 42px 0px 0px 686px; padding: 1px; border-left: 1px dotted;}
  69.  
  70. .linktext {color: black; padding-left: 2px;}
  71.  
  72. #pages {position:fixed !important;width: 190px; height: auto; margin: 235px 0px 0px 686px; padding: 1px; border-left: 1px dotted;}
  73.  
  74. #postnotes{text-align: justify;}
  75. #postnotes blockquote{border: 0px;}
  76.  
  77. .video embed, .post div.video object {width: 420px !important;}
  78.  
  79. .title {font-family: cambria; font-size: 14px; line-height: 10px; color: black; letter-spacing: font-weight: bold; padding: 1px 1px 0px 1px;}
  80.  
  81. blockquote {padding:0px 0px 2px 5px; margin: 0px 0px 2px 1px; border-left: 1px dashed #B6B6B6;}
  82.  
  83. blockquote p, ul {margin:0px; padding: 0px;}
  84.  
  85. a img{border: 0px;}
  86.  
  87. ul, ol, li{list-style:none; margin:0px; padding:0px;}
  88.  
  89. .user_1 .label, .user_2 .label, .user_3 .label, .user_4 .label, .user_5 .label, .user_6 .label, .user_7 .label, .user_8 .label, .user_9 .label {color:#818181;}
  90.  
  91. .notes img{width:10px; position:relative; top:3px;}
  92.  
  93. .permalink{display: block; line-height: 13px; text-transform: none; font-family: cambria; font-size: 10px; font-weight: bold; text-align:center; background-color: #e0e1e3; margin-top: 1px;}
  94.  
  95. @font-face {font-family: "littlefont";src: url('http://static.tumblr.com/4yxykdm/NMJlre6xz/04b_03___1_.ttf');}
  96.  
  97. {CustomCSS}
  98. </style>
  99.  
  100. {block:ifrainbowlinks}
  101. <script type='text/javascript'>
  102.  
  103. //<![CDATA[
  104.  
  105. var rate = 20;
  106.  
  107. if (document.getElementById)
  108. window.onerror=new Function("return true")
  109.  
  110. var objActive; // The object which event occured in
  111. var act = 0; // Flag during the action
  112. var elmH = 0; // Hue
  113. var elmS = 128; // Saturation
  114. var elmV = 255; // Value
  115. var clrOrg; // A color before the change
  116. var TimerID; // Timer ID
  117.  
  118. if (document.all) {
  119. document.onmouseover = doRainbowAnchor;
  120. document.onmouseout = stopRainbowAnchor;
  121. }
  122. else if (document.getElementById) {
  123. document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);
  124. document.onmouseover = Mozilla_doRainbowAnchor;
  125. document.onmouseout = Mozilla_stopRainbowAnchor;
  126. }
  127.  
  128. function doRainbow(obj)
  129. {
  130. if (act == 0) {
  131. act = 1;
  132. if (obj)
  133. objActive = obj;
  134. else
  135. objActive = event.srcElement;
  136. clrOrg = objActive.style.color;
  137. TimerID = setInterval("ChangeColor()",100);
  138. }
  139. }
  140.  
  141.  
  142. function stopRainbow()
  143. {
  144. if (act) {
  145. objActive.style.color = clrOrg;
  146. clearInterval(TimerID);
  147. act = 0;
  148. }
  149. }
  150.  
  151.  
  152. function doRainbowAnchor()
  153. {
  154. if (act == 0) {
  155. var obj = event.srcElement;
  156. while (obj.tagName != 'A' && obj.tagName != 'BODY') {
  157. obj = obj.parentElement;
  158. if (obj.tagName == 'A' || obj.tagName == 'BODY')
  159. break;
  160. }
  161.  
  162. if (obj.tagName == 'A' && obj.href != '') {
  163. objActive = obj;
  164. act = 1;
  165. clrOrg = objActive.style.color;
  166. TimerID = setInterval("ChangeColor()",100);
  167. }
  168. }
  169. }
  170.  
  171.  
  172. function stopRainbowAnchor()
  173. {
  174. if (act) {
  175. if (objActive.tagName == 'A') {
  176. objActive.style.color = clrOrg;
  177. clearInterval(TimerID);
  178. act = 0;
  179. }
  180. }
  181. }
  182.  
  183.  
  184. function Mozilla_doRainbowAnchor(e)
  185. {
  186. if (act == 0) {
  187. obj = e.target;
  188. while (obj.nodeName != 'A' && obj.nodeName != 'BODY') {
  189. obj = obj.parentNode;
  190. if (obj.nodeName == 'A' || obj.nodeName == 'BODY')
  191. break;
  192. }
  193.  
  194. if (obj.nodeName == 'A' && obj.href != '') {
  195. objActive = obj;
  196. act = 1;
  197. clrOrg = obj.style.color;
  198. TimerID = setInterval("ChangeColor()",100);
  199. }
  200. }
  201. }
  202.  
  203.  
  204. function Mozilla_stopRainbowAnchor(e)
  205. {
  206. if (act) {
  207. if (objActive.nodeName == 'A') {
  208. objActive.style.color = clrOrg;
  209. clearInterval(TimerID);
  210. act = 0;
  211. }
  212. }
  213. }
  214.  
  215.  
  216. function ChangeColor()
  217. {
  218. objActive.style.color = makeColor();
  219. }
  220.  
  221.  
  222. function makeColor()
  223. {
  224. // Don't you think Color Gamut to look like Rainbow?
  225.  
  226. // HSVtoRGB
  227. if (elmS == 0) {
  228. elmR = elmV; elmG = elmV; elmB = elmV;
  229. }
  230. else {
  231. t1 = elmV;
  232. t2 = (255 - elmS) * elmV / 255;
  233. t3 = elmH % 60;
  234. t3 = (t1 - t2) * t3 / 60;
  235.  
  236. if (elmH < 60) {
  237. elmR = t1; elmB = t2; elmG = t2 + t3;
  238. }
  239. else if (elmH < 120) {
  240. elmG = t1; elmB = t2; elmR = t1 - t3;
  241. }
  242. else if (elmH < 180) {
  243. elmG = t1; elmR = t2; elmB = t2 + t3;
  244. }
  245. else if (elmH < 240) {
  246. elmB = t1; elmR = t2; elmG = t1 - t3;
  247. }
  248. else if (elmH < 300) {
  249. elmB = t1; elmG = t2; elmR = t2 + t3;
  250. }
  251. else if (elmH < 360) {
  252. elmR = t1; elmG = t2; elmB = t1 - t3;
  253. }
  254. else {
  255. elmR = 0; elmG = 0; elmB = 0;
  256. }
  257. }
  258.  
  259. elmR = Math.floor(elmR).toString(16);
  260. elmG = Math.floor(elmG).toString(16);
  261. elmB = Math.floor(elmB).toString(16);
  262. if (elmR.length == 1) elmR = "0" + elmR;
  263. if (elmG.length == 1) elmG = "0" + elmG;
  264. if (elmB.length == 1) elmB = "0" + elmB;
  265.  
  266. elmH = elmH + rate;
  267. if (elmH >= 360)
  268. elmH = 0;
  269.  
  270. return '#' + elmR + elmG + elmB;
  271. }
  272.  
  273.  
  274.  
  275. //]]>
  276.  
  277. </script>
  278.  
  279.  
  280. {/block:ifrainbowlinks}
  281.  
  282. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  283. <meta name="viewport" content="width=820" />
  284. <link rel="shortcut icon"{Favicon}">
  285. <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}" />
  286.  
  287. </head>
  288. <body>
  289. <div id="cage"><div id="center">
  290. <div id="sidebar"><center>{block:ifshowphoto}<a href="/"><img src="{image:sidebar photo}" width=200px></a>{/block:ifshowphoto}<br><br>{Description}</center></div>
  291.  
  292. <div id="links"><div class="linktext">
  293. <p><a href="/">home</a></p>
  294. <p><a href="/ask">ask box</a></p>
  295. {block:IfCustomLinkOneTitle}<p><a href="{text:Custom Link One}">{text:Custom Link One Title} </a> </p>{/block:ifCustomLinkOneTitle}
  296. {block:ifCustomLinkTwoTitle}<p><a href="{text:Custom Link Two}"> {text:Custom Link Two Title} </a></p>{/block:ifCustomLinkTwoTitle}
  297. {block:ifCustomLinkThreeTitle}<p><a href="{text:Custom Link Three}"> {text:Custom Link Three Title} </a></p>{/block:ifCustomLinkThreeTitle}
  298. {block:ifCustomLinkFourTitle}<p><a href="{text:Custom Link Four}">{text:Custom Link Four Title} </a></p>{/block:ifCustomLinkFourTitle}
  299. <p><a href="http://primadoonnagirl.tumblr.com/" target="_blank">credits</a></p>
  300. <p>{block:NextPage}<a href="{NextPage}">next »</a>{/block:NextPage}</p>
  301. <p>{block:PreviousPage} <a href="{PreviousPage}"><center>« previous</a>{/block:PreviousPage}</p>
  302. </div></div>
  303.  
  304.  
  305. <div id="content">{block:Posts}<div id="entry">
  306.  
  307. {block:Text}{block:Title}<span class="title"><em>{Title}</em></span>{/block:Title}<span class="entrytext">{Body}</span>{/block:Text}
  308. {block:Link}<a href="{URL}" class="title"><em>{Name}</em></a>{block:Description}{Description}{/block:Description}{block:Link}
  309. {block:Photo}{LinkOpenTag}<a href="{Permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}"width=420px/></a></center>{LinkCloseTag}{/block:Photo}
  310. {block:Photoset}<div style="width:420px !important;">{Photoset-400}</div></span>{/block:Photoset}
  311. {block:Quote}<span class="title"><em>{Quote}</em></span> — {block:Source}{Source}{/block:Source}{/block:Quote}
  312. {block:Chat}{block:Title}<span class="title"><em>{Title}</em></span>{/block:Title}<ul class="chat">{block:Lines}<li class="user_{UserNumber}">{block:Label}<span class="label">{Label}</span>{/block:Label} {Line}</li>{/block:Lines}</ul>{/block:Chat}
  313. {block:Answer}<img src="{AskerPortraitURL-24}" align="left"> <b>{Asker}: {Question}</b><br> {Answer}{/block:Answer}
  314. {block:Audio}<center><div style="width:420px; height:20px;"><div style="float:left">{AudioPlayerWhite}</div><div style="margin-top:8px; float:right;"><small>{FormattedPlayCount} plays {block:ExternalAudio} // <a href="{ExternalAudioURL}">Download?</a>{/block:ExternalAudio}</small></div></div></center><br>{/block:Audio}
  315. {block:Video}<center><div class="video">{Video-500}</div><br></center>{block:Video}
  316. {block:IndexPage}<span class="permalink"><a href="{Permalink}">{block:Date}posted {TimeAgo}</a> / <a href="{Permalink}">{NoteCountWithLabel}</a> / <a href="{reblogurl}" target="_blank">reblog</a>{/block:Date}</a></span>{/block:IndexPage}
  317.  
  318. {block:PostNotes}<center>{block:NoteCount}{NoteCountWithLabel}<br>{/block:NoteCount}{block:HasTags} tagged as: {block:Tags}<a href="{TagURL}">{Tag}. </a>{/block:Tags}<br> {/block:HasTags}{block:RebloggedFrom}reblogged from <a href="{ReblogParentURL}">{ReblogParentName}</a><br>originally posted by <a href="{ReblogRootURL}">{ReblogRootName}</a> {/block:RebloggedFrom}</center></span><br><div id="postnotes">{PostNotes}</div><br><center>{block:ContentSource}<br><a href="{SourceURL}">{lang:Source}:{block:SourceLogo}<img src="{BlackLogoURL}" width="{LogoWidth}"height="{LogoHeight}" alt="{SourceTitle}" />{/block:SourceLogo}{block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo}</a>{/block:ContentSource}</center>{/block:PostNotes}
  319.  
  320. </div>{/block:Posts}</div></div></div></body></html>
  321.  
  322.  
  323.  
  324. <!------ Theme by primadoonnagirl.tumblr.com ----------->
  325. <!------ Don't copy bitch! ----------->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement