Advertisement
ayeeshah

theme 1

May 18th, 2013
795
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.51 KB | None | 0 0
  1. <!--
  2. Go to tumblr.com/docs/en/custom_themes for assistance.
  3. -->
  4.  
  5. <html lang="en">
  6. <!DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  7. <html xmlns="http://www.w3.org/1999/xhtml">
  8. <head>
  9. <script type='text/javascript'> //<![CDATA[ var rate = 50; if (document.getElementById) window.onerror=new Function("return true") var objActive; // The object which event occured in var act = 0; // Flag during the action var elmH = 0; // Hue var elmS = 128; // Saturation var elmV = 255; // Value var clrOrg; // A color before the change var TimerID; // Timer ID if (document.all) { document.onmouseover = doRainbowAnchor; document.onmouseout = stopRainbowAnchor; } else if (document.getElementById) { document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT); document.onmouseover = Mozilla_doRainbowAnchor; document.onmouseout = Mozilla_stopRainbowAnchor; } function doRainbow(obj) { if (act == 0) { act = 1; if (obj) objActive = obj; else objActive = event.srcElement; clrOrg = objActive.style.color; TimerID = setInterval("ChangeColor()",100); } } function stopRainbow() { if (act) { objActive.style.color = clrOrg; clearInterval(TimerID); act = 0; } } function doRainbowAnchor() { if (act == 0) { var obj = event.srcElement; while (obj.tagName != 'A' && obj.tagName != 'BODY') { obj = obj.parentElement; if (obj.tagName == 'A' || obj.tagName == 'BODY') break; } if (obj.tagName == 'A' && obj.href != '') { objActive = obj; act = 1; clrOrg = objActive.style.color; TimerID = setInterval("ChangeColor()",100); } } } function stopRainbowAnchor() { if (act) { if (objActive.tagName == 'A') { objActive.style.color = clrOrg; clearInterval(TimerID); act = 0; } } } function Mozilla_doRainbowAnchor(e) { if (act == 0) { obj = e.target; while (obj.nodeName != 'A' && obj.nodeName != 'BODY') { obj = obj.parentNode; if (obj.nodeName == 'A' || obj.nodeName == 'BODY') break; } if (obj.nodeName == 'A' && obj.href != '') { objActive = obj; act = 1; clrOrg = obj.style.color; TimerID = setInterval("ChangeColor()",100); } } } function Mozilla_stopRainbowAnchor(e) { if (act) { if (objActive.nodeName == 'A') { objActive.style.color = clrOrg; clearInterval(TimerID); act = 0; } } } function ChangeColor() { objActive.style.color = makeColor(); } function makeColor() { // Don't you think Color Gamut to look like Rainbow? // HSVtoRGB if (elmS == 0) { elmR = elmV; elmG = elmV; elmB = elmV; } else { t1 = elmV; t2 = (255 - elmS) * elmV / 255; t3 = elmH % 60; t3 = (t1 - t2) * t3 / 60; if (elmH < 60) { elmR = t1; elmB = t2; elmG = t2 + t3; } else if (elmH < 120) { elmG = t1; elmB = t2; elmR = t1 - t3; } else if (elmH < 180) { elmG = t1; elmR = t2; elmB = t2 + t3; } else if (elmH < 240) { elmB = t1; elmR = t2; elmG = t1 - t3; } else if (elmH < 300) { elmB = t1; elmG = t2; elmR = t2 + t3; } else if (elmH < 360) { elmR = t1; elmG = t2; elmB = t1 - t3; } else { elmR = 0; elmG = 0; elmB = 0; } } elmR = Math.floor(elmR).toString(16); elmG = Math.floor(elmG).toString(16); elmB = Math.floor(elmB).toString(16); if (elmR.length == 1) elmR = "0" + elmR; if (elmG.length == 1) elmG = "0" + elmG; if (elmB.length == 1) elmB = "0" + elmB elmH = elmH + rate; if (elmH >= 360) elmH = 0; return '#' + elmR + elmG + elmB; } //]]> </script>
  10. <script type="text/javascript">
  11. <!--
  12.  
  13. // Disable Right Click Script
  14.  
  15. function IE(e)
  16. {
  17. if (navigator.appName == "Microsoft Internet Explorer" && (event.button == "2" || event.button == "3"))
  18. {
  19. return false;
  20. }
  21. }
  22. function NS(e)
  23. {
  24. if (document.layers || (document.getElementById && !document.all))
  25. {
  26. if (e.which == "2" || e.which == "3")
  27. {
  28. return false;
  29. }
  30. }
  31. }
  32. document.onmousedown=IE;document.onmouseup=NS;document.oncontextmenu=new Function("return false");
  33.  
  34. //-->
  35. </script>
  36.  
  37.  
  38. <script type="text/javascript"
  39. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  40.  
  41. <!--DEFAULT VARIABLES-->
  42. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  43. <meta name="color:background" content="#fff"/>
  44. <meta name="color:link" content="#777"/>
  45. <meta name="color:text" content="#777"/>
  46. <meta name="color:title" content="#333"/>
  47. <meta name="color:hover" content="#fff"/>
  48. <meta name="image:sidebar" content="1"/>
  49. <meta name="image:background" content="1"/>
  50. <meta name="color:entry border" content="#000000"/>
  51.  
  52.  
  53. <style type="text/css">
  54. @font-face { font-family: "learningcurve"; src: url('http://static.tumblr.com/rmj06l2/paAlm4ymo/learningcurve.ttf'); }
  55. @font-face {font-family:"Pacifico"; src:url('http://static.tumblr.com/9wzbixa/D3Wlyw7u4/pacifico.ttf');}
  56. @font-face {font-family:"Dingleberry"; src:url('http://static.tumblr.com/9wzbixa/EC3m26pf3/dingleberry_solid.ttf');}
  57.  
  58. #toptitle{
  59. font-family:"Dingleberry";
  60. font-size:35px;
  61. line-height:35px;
  62. position:fixed;
  63. margin-left:140px;
  64. margin-top:110px;
  65. width:500px;
  66. height:100px;
  67. background:;
  68. border:2px;
  69. }
  70.  
  71. iframe#tumblr_controls {right:2px !important; position: fixed !important;-webkit-transition: opacity 0.7s linear;opacity: 0.05;-webkit-transition: all 0.8s ease-out;-moz-
  72.  
  73. transition: all 0.8s ease-out;transition: all 0.8s ease-out;}
  74.  
  75. iframe#tumblr_controls:hover{-webkit-transition: opacity 0.7s linear;opacity: 0.8;-webkit-transition: all 0.4s ease-out;-moz-transition: all 0.4s ease-out;transition: all 0.4s ease-out;}
  76.  
  77. p {
  78. margin:0px;
  79. margin-top:0px;
  80. }
  81.  
  82.  
  83. body {
  84. padding: 0px;
  85. margin: 0px;
  86. color:{color:text};
  87. font-family: dixel;
  88. line-height:7px;
  89. font-size:8px;
  90. background-color: {color:Background};
  91. background-image:url({image:Background});
  92. background-attachment: fixed;
  93. background-repeat: repeat;
  94. }
  95.  
  96.  
  97. a:link, a:active, a:visited{
  98. text-decoration: none;
  99. -webkit-transition: color 0.3s ease-out;
  100. -moz-transition: color 0.3s ease-out;
  101. transition: color 0.3s ease-out;
  102. color:{color:link};
  103. }
  104.  
  105. a:hover {
  106. text-decoration: none;
  107. font-style:;
  108. color: {color:Hover};
  109. }
  110.  
  111. div#center{
  112. margin:auto;
  113. position:relative;
  114. width:1000px;
  115. background-color:;
  116. overflow:auto;
  117. overflow-y:hidden;
  118. }
  119.  
  120.  
  121. /*CUSTOMIZE ENTRY SETTINGS HERE*/
  122. .entry {
  123. float:left;
  124. display: block;
  125. opacity:100;
  126. border:2px solid #ccc;
  127. margin:5px;
  128. overflow:hidden;
  129. width:220px;
  130. {block:PermalinkPage}
  131. border:5px solid black;{color:entry border};
  132. width:450px;
  133. text-align:left;
  134. line-height:10px;
  135. {/block:PermalinkPage}
  136. background:white;
  137. background-image:URL();
  138. }
  139.  
  140.  
  141. /*CUSTOMIZE THE APPEARANCE OF PERMALINKS*/
  142. .entry .perma{
  143. width:220px;
  144. height:16px;
  145. margin-left:0px;
  146. position: absolute;
  147. line-height: 16px;
  148. overflow:hidden;
  149. text-align:center;
  150. top:0px;
  151. border:2px solid black;
  152. background:white;
  153. word-spacing:2px;
  154. letter-spacing:1px;
  155. opacity: 0.0;
  156. -webkit-transition: all .7s ease;
  157. -moz-transition: all .7s ease;
  158. -o-transition: all .7s ease;
  159. transition: all .7s ease;
  160.  
  161. }
  162.  
  163. .entry:hover .perma{
  164. overflow:visible;
  165. opacity:0.9;
  166. }
  167.  
  168.  
  169. /*CUSTOMIZE POST POSITIONING AND STUFFZ HERE*/
  170. #posts {
  171. width:500px;
  172. margin-top:1px;
  173. z-index:99;
  174. opacity:100;
  175. margin-left:319px;
  176. right:auto;
  177. padding:4px;
  178. background:transparent;
  179. blockquote {border-left:4px double #eee; border-top-right-radius: 10px;
  180. 8px; margin:3px; }
  181. margin-right:auto;
  182. position:relative;
  183. overflow-y: hidden;
  184. }
  185.  
  186.  
  187. /*CUSTOMIZE SIDEBAR HERE*/
  188. #sidebar{
  189. position:fixed !important;
  190. width:170px;
  191. background-image:url(http://data.whicdn.com/images/37966762/tumblr_mama6jVwf91rgyp0vo1_500_large.jpg);
  192. height:400px;
  193. border:5px solid black;
  194. margin-top:150px;
  195. margin-left:135px;
  196. text-align:center;
  197. }
  198.  
  199.  
  200. @font-face { font-family: "dixel"; src: url('http://static.tumblr.com/jdjsstr/8ovm78cbb/pf_arma_five_1_.ttf'); }
  201.  
  202.  
  203. /*CUSTOMIZE TITLE OF ENTRIES HERE*/
  204. .title{
  205. line-height: 12px;
  206. color:{color:Title};
  207. font-weight: normal;
  208. }
  209.  
  210.  
  211. /*CUSTOMIZE PERMALINKS OF TEXT POSTS AND SUCH HERE*/
  212. .permalink{
  213. text-transform: normal;
  214. display: block;
  215. text-align: right;
  216. text-decoration: none;
  217. }
  218.  
  219.  
  220. /*I RECCOMMEND TO NOT TOUCH ANY OF THIS LOLz*/
  221. #infscr-loading{
  222. bottom: -70px;
  223. position: absolute;
  224. left: 50%;
  225. margin-left:-8px;
  226. width:16px;
  227. height:11px;
  228. overflow:hidden;
  229. margin-bottom: 50px;
  230. }
  231.  
  232. #postnotes{
  233. text-align: justify;}
  234.  
  235. #postnotes blockquote{
  236. border: 0px;}
  237.  
  238. blockquote{
  239. padding:0px 0px 2px 5px;
  240. margin:0px 0px 2px 10px;
  241. border-left: 1px dotted #555555;
  242. }
  243.  
  244. blockquote p, ul{
  245. margin:0px;
  246. padding:0px;
  247. }
  248.  
  249. a img{border: 0px;}
  250.  
  251.  
  252. ul, ol, li{list-style:none; margin:0px; padding:0px;}
  253.  
  254. .user_1 .label, .user_2 .label, .user_3 .label, .user_4 .label, .user_5 .label, .user_6 .label,
  255. .user_7 .label, .user_8 .label, .user_9 .label {color:{color:text};}
  256.  
  257. .notes img{width:10px; position:relative; top:3px;}
  258. <--ses-->
  259. small{font-size: 90%;}
  260.  
  261. {CustomCSS}
  262. <script type="text/javascript"
  263. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  264. #oneout:hover {
  265. z-index:1000;
  266. left: 250px;}
  267.  
  268. #oneout:hover #oneout_inner {
  269. z-index:1000;
  270. left: 0px;}
  271.  
  272. div.navigate a{
  273. background: #000000; color: #ffffff; display:block; width: 100px; text-align: center; padding-top:4px; padding-bottom:3px; margin-left:2px; margin-top:2px; position:relative; text-align: center; z-index:1; -moz-border-radius:7px; -webkit-border-radius:7px; display: inline-block;
  274. }
  275. div.navigate a:hover{
  276. background: #464646; color: #ffffff; letter-spacing:1px; font-weight: bold;
  277. }
  278.  
  279. </style>
  280.  
  281. {block:IndexPage}
  282. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  283. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  284.  
  285. <script type="text/javascript">
  286. $(window).load(function(){
  287. var $wall = $('#posts');
  288. $wall.imagesLoaded(function(){
  289. $wall.masonry({
  290. itemSelector: '.entry, .entry_photo',
  291. isAnimated : false
  292. });
  293. });
  294.  
  295. $wall.infinitescroll({
  296. navSelector : '#pagination',
  297. nextSelector : '#pagination a',
  298. itemSelector : '.entry, .entry_photo',
  299. bufferPx : 2000,
  300. debug : false,
  301. errorCallback: function() {
  302. $('#infscr-loading').fadeOut('normal');
  303. }},
  304. function( newElements ) {
  305. var $newElems = $( newElements );
  306. $newElems.hide();
  307. $newElems.imagesLoaded(function(){
  308. $wall.masonry( 'appended', $newElems,{isAnimated: false}, function(){$newElems.fadeIn('slow');} );
  309. });
  310. }); $('#posts').show(500);
  311. });
  312. </script>
  313.  
  314.  
  315. {/block:IndexPage}
  316.  
  317.  
  318. <title>{title}</title>
  319.  
  320. <link rel="shortcut icon" href="{Favicon}" />
  321. <meta name="viewport" content="width=820" />
  322. </head>
  323.  
  324. <body>
  325. <div id="toptitle">heyy stalker</div>
  326. <BODY onselectstart="return false;" ondragstart="return false;">
  327. <div class="wrapper">
  328. <div class="header">
  329. </div>
  330.  
  331. <div id="cage">
  332. <div id="center">
  333.  
  334. <!--STUFF THAT GOES INTO THE SIDEBAR-->
  335. <div id="sidebar">
  336. <center>
  337. <a href="/"><img src="{image:sidebar}" width=100%></a>
  338. {description}
  339. <center><div class="navigate"><br />
  340. <a href="/ask">message</a><a href="http://trialed.tumblr.com">theme</a><a href="/submit">Submit</a></div></center>
  341. </center>
  342. </div>
  343.  
  344. </center>
  345. </div>
  346. <!------------------------------------->
  347.  
  348.  
  349. <div class="left">
  350. <div id="posts">
  351. {block:Posts}
  352. <div class="entry">
  353.  
  354. {block:Text}{block:Title}<span class="title">{Title}</span>{/block:Title}<span class="body">{Body}</span><p align=right><span class="permalink"><a
  355.  
  356. href="{Permalink}"><a href="{Permalink}"><a href="{Permalink}">{notecountwithlabel}</a></a><br>{/block:HasTags}</span></align>
  357. {/block:Text}
  358.  
  359. {block:Link}<a href="{URL}" class="title">{Name}</a>{block:Description}<div class="body">{Description}</div>{/block:Description} <p align=right><span
  360.  
  361. class="permalink"><a href="{Permalink}">{notecountwithlabel}</a> <a href="{Permalink}"></span></align>{block:Link}
  362.  
  363. {block:Photo}
  364. {block:IndexPage}
  365. <center>
  366. <div class="perma">
  367. <a href="{ReblogURL}" target="_blank"> reblog </a> </div>
  368.  
  369. <div class="photo"><a href="{permalink}"><img class="photo" src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width="100%"/></a></div>
  370. {/block:IndexPage}
  371. {block:PermalinkPage}
  372. {LinkOpenTag}<div class="photo"><a href="{permalink}"><img class="photo" src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width="100%"/></a></div>
  373.  
  374. {LinkCloseTag}
  375. {/block:PermalinkPage}
  376. {/block:Photo}
  377.  
  378. {block:Photoset}
  379. {block:IndexPage}
  380. <center>
  381.  
  382. <div class="perma">
  383. <a href="{ReblogURL}" target="_blank"> reblog </a> </div>
  384.  
  385. {Photoset-250}</center>
  386. {/block:IndexPage}
  387. {block:PermalinkPage}
  388. <center>
  389. {Photoset-500}</center>
  390. {/block:PermalinkPage}
  391. {/block:Photoset}
  392.  
  393. {block:Quote}<span class="title">"{Quote}"</span> — {block:Source}<b>{Source}</b>{/block:Source}<br><p align=right><span class="permalink"><a
  394.  
  395. href="{Permalink}">{notecountwithlabel}</a> <a href="{Permalink}"> </span>{/block:Quote}
  396.  
  397. {block:Chat}{block:Title}<span class="title">{Title}</span>{/block:Title}
  398. <ul class="chat">
  399. {block:Lines}
  400. <li class="user_{UserNumber}">
  401. {block:Label}
  402. <span class="label">{Label}</span>
  403. {/block:Label}
  404.  
  405. {Line}
  406. </li>
  407. {/block:Lines}
  408. <p align=right><span class="permalink"><a href="{Permalink}">{notecountwithlabel}</a> <a href="{Permalink}">
  409. {/block:Chat}
  410.  
  411. {block:Audio}
  412. <div style="width:200px; height:30px;">
  413. {AudioPlayerBlack}
  414. </div>
  415. {block:IndexPage}<span class="permalink">
  416. <p align=right><span class="permalink"><a href="{Permalink}">{notecountwithlabel}</a> <a href="{Permalink}"> </a>
  417. </span>{/block:IndexPage}
  418. {/block:Audio}
  419.  
  420. {block:Video}
  421. {block:IndexPage}
  422. <center>
  423. <div class="perma">
  424. <a href="{ReblogURL}" target="_blank"> reblog </a> </div>
  425. {Video-250}</center>
  426. {/block:IndexPage}
  427. {block:PermalinkPage}
  428. <center>
  429. {Video-400}</center>
  430. {/block:PermalinkPage}
  431. {block:Video}
  432.  
  433.  
  434. {block:PostNotes}<div align="middle">{caption}</div>
  435. <center>
  436.  
  437. {block:NoteCount}{NoteCountWithLabel}<br>{/block:NoteCount}
  438.  
  439. {block:HasTags}
  440. tags: {block:Tags}<a href="{TagURL}">{Tag}. </a>{/block:Tags}<br> {/block:HasTags}
  441. {block:RebloggedFrom}
  442. reblogged from <a href="{ReblogParentURL}">{ReblogParentName}</a><br>
  443. posted by <a href="{ReblogRootURL}">{ReblogRootName}</a>
  444.  
  445. {/block:RebloggedFrom}
  446. </center></span>
  447. <br>
  448. <div id="postnotes">{PostNotes}</div><br>
  449.  
  450. <center>{block:ContentSource}
  451. <br><a href="{SourceURL}">
  452. {lang:Source}:
  453. {block:SourceLogo}
  454. <img src="{BlackLogoURL}" width="{LogoWidth}"
  455. height="{LogoHeight}" alt="{SourceTitle}" />
  456. {/block:SourceLogo}
  457. {block:NoSourceLogo}
  458. {SourceLink}
  459. {/block:NoSourceLogo}
  460. </a>
  461. {/block:ContentSource}</center>
  462.  
  463. {/block:PostNotes}
  464. </div>
  465. {/block:Posts}
  466. </div></div>
  467.  
  468. {block:IndexPage}
  469. {block:Pagination}
  470. <div id="pagination">
  471. {block:NextPage}
  472. <a id="nextPage" href="{NextPage}"></a>
  473. {/block:NextPage}
  474. {block:PreviousPage}
  475. <a href="{PreviousPage}"></a>
  476. {/block:PreviousPage}
  477. </div>
  478. {/block:Pagination}
  479. {/block:IndexPage}
  480. </body>
  481. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement