Advertisement
maryaciolli

Theme #2

May 25th, 2013
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.97 KB | None | 0 0
  1.  
  2. <!------ Theme by primadoonnagirl.tumblr.com ----------->
  3. <!------ Don't copy bitch! ----------->
  4.  
  5.  
  6. <head>
  7.  
  8. {block:ifinfinitescroll}
  9. <script type="text/javascript" src="http://codysherman.com/tools/infinite-scrolling/code"></script>
  10. {/block:ifinfinitescroll}
  11.  
  12. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  13. <meta name="color:background" content="#DFDBE6"/>
  14. <meta name="color:text" content="#000"/>
  15. <meta name="color:link" content="#4B4B4B"/>
  16. <meta name="color:hover" content="#9e9e9d"/>
  17. <meta name="image:Sidebar" content="http://static.tumblr.com/d7cb93fd5866580f8e626bad3866538c/hb9qx6v/E0smndka3/tumblr_static_large__3_.png"/>
  18. <meta name="image:Background" content=""/>
  19. <meta name="if:Show Photo" content="0"/>
  20. <meta name="if:tiny cursor" content="0"/>
  21. <meta name="if:tiny cursor with heart" content="1"/>
  22. <meta name="if:Show Captions" content="0"/>
  23. <meta name="if:Show Blog Title" content="0"/>
  24. <meta name="text:Custom Link One Title" content="Home" />
  25. <meta name="text:Custom Link One" content="/" />
  26. <meta name="text:Custom Link Two Title" content="Ask box" />
  27. <meta name="text:Custom Link Two" content="/ask" />
  28. <meta name="text:Custom Link Three Title" content="" />
  29. <meta name="text:Custom Link Three" content="" />
  30. <meta name="text:Custom Link Four Title" content="" />
  31. <meta name="text:Custom Link Four" content="" />
  32. <meta name="if:infinite scroll" content="0"/>
  33. <meta name="if:rainbow links" content="0"/>
  34.  
  35. <title>{Title}{block:PostTitle} - {PostTitle}{/block:PostTitle}</title>{block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  36.  
  37.  
  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. body {margin:0px; background-color: {color:Background}; background-image:url({image:Background});
  48. background-attachment: fixed; background-repeat: repeat; font-family: cambria; font-size: 10px;
  49. line-height: 10px; letter-spacing:0px; color:{color:Text};}
  50.  
  51. p {margin:0px; margin-top: 0px;}
  52.  
  53. a:link, a:active, a:visited {color: {color:Link}; text-decoration: none; -webkit-transition: color 0.3s ease-out; -moz-transition: color 0.3s ease-out;}
  54.  
  55. a:hover {color:{color:Hover}; text-decoration: none;}
  56.  
  57. #cage {margin:auto; position:relative; width:750px; overflow:hidden; color: {color:Title};
  58. margin-left:10%;}
  59.  
  60. #center {margin:auto; position:relative; width:740px; overflow:auto; overflow-y:hidden;}
  61.  
  62. #content {float:right; width: 440px; padding: 1px; margin-top: 2px; margin-right: 10px; background: #FFFFFF;}
  63.  
  64. #poop{
  65. position:fixed !important;
  66. text-align:center;
  67. width: auto;
  68. height:auto;
  69. left: 10px;
  70. bottom: 5px;
  71. padding: 2px;
  72. font-size: 10px;
  73. font-family:cambria;
  74. line-height:10px;
  75. background-color: #fff;
  76. border: 0px solid #000;
  77. }
  78.  
  79. #sidebar {position:fixed !important; width: 205px; height: auto; margin-left: 755px;
  80. margin-top: 20px; padding: 1px; letter-spacing:0px; margin-bottom: 0px; background-color:white;}
  81.  
  82. .links {position:fixed !important; width: 205px; height: 40px; margin-top: 10px; padding: 1px; background-color: white;}
  83.  
  84. .pages {position:fixed !important; width: 200px; height: 15px; margin-top: 32px; border-top: 1px dotted #555; border-bottom: 0px dotted #555; background-color: white; margin-left: 5px;}
  85.  
  86. #entry {margin-top: 0px; margin-bottom: 1px;}
  87.  
  88. #entry .perma a {color:{color:Links};}
  89.  
  90. #entry .perma {width: 440px; position: absolute; font-family: cambria; font-size: 10px; line-height: 15px; text-align: center; overflow:hidden; opacity: 0.0; background-color:#fff;}
  91.  
  92. #entry:hover .perma {overflow:visible; -webkit-transition: opacity 0.2s linear; opacity: 0.8;
  93. -webkit-transition: all 0.2s linear; -moz-transition: all 0.2s linear; transition: all 0.2s linear;}
  94.  
  95. #postnotes {text-align: justify;}
  96. #postnotes blockquote {border: 0px;}
  97.  
  98. .title {font-family: cambria; font-size: 14px; line-height: 12px; color: #000; font-weight: normal;}
  99.  
  100. .blogtitle {font-family: cambria; font-size: 18px; line-height: 20px; color: {color:Title};
  101. letter-spacing: 1px; font-weight: normal; }
  102.  
  103. blockquote {padding:0px 0px 2px 5px; margin:0px 0px 2px 1px; border-left: 1px dotted {color:Text};}
  104.  
  105. blockquote p, ul {margin:0px; padding:0px;}
  106.  
  107. div.permalink {font-size:8px; text-align:center; text-transform: uppercase; background:#EEEEEE;
  108. margin-bottom:1px; font-family: cambria; letter-spacing:0px; padding:2px; padding-top:2px;}
  109.  
  110. a img{border: 0px;}
  111. ul, ol, li{list-style:none; margin:0px; padding:0px;}
  112. .user_1 .label, .user_2 .label, .user_3 .label, .user_4 .label, .user_5 .label, .user_6 .label,
  113. .user_7 .label, .user_8 .label, .user_9 .label {color:{color:Title};}
  114. .notes img{width:10px; position:relative; top:3px;}
  115.  
  116. .permalink {color: {color:Links} display: block; font-size: 10px; text-align: right;
  117. text-decoration: none;}
  118.  
  119. small{font-size: 90%;}
  120.  
  121. .video embed, .post div.video object {width: 380px !important;}
  122.  
  123. {CustomCSS}
  124.  
  125. {block:ifrainbowlinks}
  126. <script type='text/javascript'>
  127.  
  128. //<![CDATA[
  129.  
  130. var rate = 20;
  131.  
  132. if (document.getElementById)
  133. window.onerror=new Function("return true")
  134.  
  135. var objActive; // The object which event occured in
  136. var act = 0; // Flag during the action
  137. var elmH = 0; // Hue
  138. var elmS = 128; // Saturation
  139. var elmV = 255; // Value
  140. var clrOrg; // A color before the change
  141. var TimerID; // Timer ID
  142.  
  143. if (document.all) {
  144. document.onmouseover = doRainbowAnchor;
  145. document.onmouseout = stopRainbowAnchor;
  146. }
  147. else if (document.getElementById) {
  148. document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);
  149. document.onmouseover = Mozilla_doRainbowAnchor;
  150. document.onmouseout = Mozilla_stopRainbowAnchor;
  151. }
  152.  
  153. function doRainbow(obj)
  154. {
  155. if (act == 0) {
  156. act = 1;
  157. if (obj)
  158. objActive = obj;
  159. else
  160. objActive = event.srcElement;
  161. clrOrg = objActive.style.color;
  162. TimerID = setInterval("ChangeColor()",100);
  163. }
  164. }
  165.  
  166.  
  167. function stopRainbow()
  168. {
  169. if (act) {
  170. objActive.style.color = clrOrg;
  171. clearInterval(TimerID);
  172. act = 0;
  173. }
  174. }
  175.  
  176.  
  177. function doRainbowAnchor()
  178. {
  179. if (act == 0) {
  180. var obj = event.srcElement;
  181. while (obj.tagName != 'A' && obj.tagName != 'BODY') {
  182. obj = obj.parentElement;
  183. if (obj.tagName == 'A' || obj.tagName == 'BODY')
  184. break;
  185. }
  186.  
  187. if (obj.tagName == 'A' && obj.href != '') {
  188. objActive = obj;
  189. act = 1;
  190. clrOrg = objActive.style.color;
  191. TimerID = setInterval("ChangeColor()",100);
  192. }
  193. }
  194. }
  195.  
  196.  
  197. function stopRainbowAnchor()
  198. {
  199. if (act) {
  200. if (objActive.tagName == 'A') {
  201. objActive.style.color = clrOrg;
  202. clearInterval(TimerID);
  203. act = 0;
  204. }
  205. }
  206. }
  207.  
  208.  
  209. function Mozilla_doRainbowAnchor(e)
  210. {
  211. if (act == 0) {
  212. obj = e.target;
  213. while (obj.nodeName != 'A' && obj.nodeName != 'BODY') {
  214. obj = obj.parentNode;
  215. if (obj.nodeName == 'A' || obj.nodeName == 'BODY')
  216. break;
  217. }
  218.  
  219. if (obj.nodeName == 'A' && obj.href != '') {
  220. objActive = obj;
  221. act = 1;
  222. clrOrg = obj.style.color;
  223. TimerID = setInterval("ChangeColor()",100);
  224. }
  225. }
  226. }
  227.  
  228.  
  229. function Mozilla_stopRainbowAnchor(e)
  230. {
  231. if (act) {
  232. if (objActive.nodeName == 'A') {
  233. objActive.style.color = clrOrg;
  234. clearInterval(TimerID);
  235. act = 0;
  236. }
  237. }
  238. }
  239.  
  240.  
  241. function ChangeColor()
  242. {
  243. objActive.style.color = makeColor();
  244. }
  245.  
  246.  
  247. function makeColor()
  248. {
  249. // Don't you think Color Gamut to look like Rainbow?
  250.  
  251. // HSVtoRGB
  252. if (elmS == 0) {
  253. elmR = elmV; elmG = elmV; elmB = elmV;
  254. }
  255. else {
  256. t1 = elmV;
  257. t2 = (255 - elmS) * elmV / 255;
  258. t3 = elmH % 60;
  259. t3 = (t1 - t2) * t3 / 60;
  260.  
  261. if (elmH < 60) {
  262. elmR = t1; elmB = t2; elmG = t2 + t3;
  263. }
  264. else if (elmH < 120) {
  265. elmG = t1; elmB = t2; elmR = t1 - t3;
  266. }
  267. else if (elmH < 180) {
  268. elmG = t1; elmR = t2; elmB = t2 + t3;
  269. }
  270. else if (elmH < 240) {
  271. elmB = t1; elmR = t2; elmG = t1 - t3;
  272. }
  273. else if (elmH < 300) {
  274. elmB = t1; elmG = t2; elmR = t2 + t3;
  275. }
  276. else if (elmH < 360) {
  277. elmR = t1; elmG = t2; elmB = t1 - t3;
  278. }
  279. else {
  280. elmR = 0; elmG = 0; elmB = 0;
  281. }
  282. }
  283.  
  284. elmR = Math.floor(elmR).toString(16);
  285. elmG = Math.floor(elmG).toString(16);
  286. elmB = Math.floor(elmB).toString(16);
  287. if (elmR.length == 1) elmR = "0" + elmR;
  288. if (elmG.length == 1) elmG = "0" + elmG;
  289. if (elmB.length == 1) elmB = "0" + elmB;
  290.  
  291. elmH = elmH + rate;
  292. if (elmH >= 360)
  293. elmH = 0;
  294.  
  295. return '#' + elmR + elmG + elmB;
  296. }
  297.  
  298.  
  299.  
  300. //]]>
  301.  
  302. </script>
  303.  
  304.  
  305. {/block:ifrainbowlinks}
  306. </style>
  307. <link rel="shortcut icon" href="{Favicon}">
  308. <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}" />
  309. <meta name="viewport" content="width=820" />
  310. </head>
  311. <body>
  312.  
  313. <div id="cage">
  314. <div id="center">
  315. <div id="sidebar">
  316. <center>
  317. {block:ifshowblogtitle}<span class=blogtitle><a title="" href="/">
  318. {Title}
  319. </a></span><br>{/block:ifshowblogtitle}
  320. {block:ifshowphoto}<a href="/"><img src="{image:sidebar}" width=205px></a>{/block:ifshowphoto}
  321.  
  322. {Description}<br>
  323.  
  324. <div class="links"><center>
  325. <a href="/">home</a> ·
  326. <a href="/ask">ask</a>
  327. {block:HasPages}{block:Pages}<a href="{URL}">{Label}</a>{/block:Pages}{/block:HasPages} {block:IfCustomLinkOneTitle} · <a href="{text:Custom Link One}">{text:Custom Link One Title} </a> {/block:ifCustomLinkOneTitle} {block:ifCustomLinkTwoTitle} · <a href="{text:Custom Link Two}"> {text:Custom Link Two Title} </a> {/block:ifCustomLinkTwoTitle} {block:ifCustomLinkThreeTitle} · <a href="{text:Custom Link Three}"> {text:Custom Link Three Title} </a> {/block:ifCustomLinkThreeTitle} {block:ifCustomLinkFourTitle}&nbsp;&nbsp;&nbsp;<a href="{text:Custom Link Four}">{text:Custom Link Four Title} </a> {/block:ifCustomLinkFourTitle} ·
  328. </div></center>
  329.  
  330. <center><div class="pages">{block:NextPage}<a href="{NextPage}"><font size="2"><em>→</em></font></a>{/block:NextPage}
  331. {block:PreviousPage}<a href="{PreviousPage}"><font size="2"><em>←</em></font></a>{/block:PreviousPage}<br><br></center>
  332. </center></div>
  333. </div>
  334.  
  335. <div id="poop"><a href="http://primadoonnagirl.tumblr.com" target="_blank">credits</a></div>
  336.  
  337.  
  338. <div id="content">
  339. {block:Posts}
  340. <div id="entry">
  341.  
  342. {block:IndexPage}
  343. <div class="perma">
  344. <a href="{permalink}">{NoteCountWithLabel}</a> <img src="http://myspacelyts.net/albums/ee115/yayitssteph/graphics/pixels/hearts/heart8.gif"> &nbsp;<a href="{ReblogURL}" target="_blank">reblog</a></span></div>
  345. {/block:IndexPage}
  346.  
  347. {block:Text}{block:Title}<span class="title"><em>{Title}</em></span>{/block:Title}<span class="entrytext">{Body}</span>{/block:Text}
  348.  
  349. {block:Link}<a href="{URL}" class="title"><em>{Name}</em></a>{block:Description}{Description}{/block:Description}{block:Link}
  350.  
  351. {block:Photo}{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"width=440px/></center>{LinkCloseTag}{block:ifShowCaptions}{block:Caption}{Caption}{/block:Caption}{/block:ifShowCaptions}{/block:Photo}
  352.  
  353. {block:Quote}<div class="title"><em>"{Quote}"</em></div> — {block:Source}<strong>{Source}</strong>{/block:Source}{/block:Quote}
  354.  
  355. {block:Chat}{block:Title}<span class="title"><em>{Title}</em></span>{/block:Title}<ul class="chat">
  356. {block:Lines}<li class="user_{UserNumber}">{block:Label}<span class="label">{Label}</span>
  357. {/block:Label}{Line}</li>{/block:Lines}{/block:Chat}
  358.  
  359. {block:Audio}<center><div style="width:440px; height:28px;"><div style="float:left">{AudioPlayerWhite}</div><div style="margin-top:10px; float:right;">
  360. {FormattedPlayCount} plays {block:ExternalAudio}{/block:ExternalAudio}</div></div></center><br>{block:ifShowCaptions}{block:Caption}{Caption}{/block:Caption}{/block:ifShowCaptions}{/block:Audio}
  361.  
  362. {block:Video}<center><div class="video">{Video-400}</div></center>{block:Video}
  363. {block:Photoset}<div style="width:440px !important;">{Photoset-400}</div></span>{/block:Photoset}
  364.  
  365. {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}
  366.  
  367. {block:PostNotes}{PostNotes}{/block:PostNotes}</div>{/block:Posts}
  368.  
  369. </div></div>
  370. </div>
  371. </body>
  372. </html>
  373.  
  374.  
  375. <!------ Theme by primadoonnagirl.tumblr.com ----------->
  376. <!------ Don't copy bitch! ----------->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement