Advertisement
t-offee

Cotton Candy Theme v.2 (NEW)

Apr 19th, 2013
744
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.29 KB | None | 0 0
  1. <!------------------------------------------------------------------------
  2.  
  3.  
  4. /// cotton candy theme v.2 by ally
  5.  
  6. © 2014 stahrfruits.tumblr.com
  7.  
  8.  
  9. -------------------------------------------------------------------------->
  10. <html lang="en">
  11. <!DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  12. <html xmlns="http://www.w3.org/1999/xhtml">
  13. <head>
  14.  
  15. <script type="text/javascript">
  16. <!--
  17.  
  18. // Disable Right Click Script
  19.  
  20. function IE(e)
  21. {
  22. if (navigator.appName == "Microsoft Internet Explorer" && (event.button == "2" || event.button == "3"))
  23. {
  24. return false;
  25. }
  26. }
  27. function NS(e)
  28. {
  29. if (document.layers || (document.getElementById && !document.all))
  30. {
  31. if (e.which == "2" || e.which == "3")
  32. {
  33. return false;
  34. }
  35. }
  36. }
  37. document.onmousedown=IE;document.onmouseup=NS;document.oncontextmenu=new Function("return false");
  38.  
  39. //-->
  40. </script>
  41.  
  42.  
  43. <script type="text/javascript"
  44. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  45.  
  46. <!--DEFAULT VARIABLES-->
  47. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  48. <meta name="color:background" content="#fff"/>
  49. <meta name="color:link" content="#777"/>
  50. <meta name="color:text" content="#777"/>
  51. <meta name="color:title" content="#333"/>
  52. <meta name="color:hover" content="#fff"/>
  53. <meta name="color:sidebarbg" content="#d198a6"/>
  54. <meta name="image:banner" content="1"/>
  55. <meta name="image:background" content="1"/>
  56. <meta name="text:title" content="title"/>
  57. <meta name="if:showtitle" content="1">
  58.  
  59.  
  60. <script language="JavaScript" src="http://dl.dropbox.com/u/3173073/GothicDarkness/qTip.js" type="text/JavaScript"></script>
  61.  
  62. <style type="text/css">
  63.  
  64. ::-webkit-scrollbar-thumb:vertical {background-color:{color:sidebarbg};height:100px;}
  65.  
  66. ::-webkit-scrollbar-thumb:horizontal {background-color:{color:sidebarbg};height:10px !important;}
  67.  
  68. ::-webkit-scrollbar { height:5px;width:10px; background-color:#fff;}
  69.  
  70. #credits {font-size:12px; letter-spacing:1px; bottom:7px; text-transform: lowercase; right:10px; position:fixed; padding:5px; text-align:right; border-left:1px solid #cfcdcd; border-top:1px solid #cfcdcd; border-right:1px solid #cfcdcd; border-bottom:1px solid #cfcdcd}
  71.  
  72. div#qTip {
  73.  
  74. padding: 2px;
  75.  
  76. display: none;
  77.  
  78. font-style:italic;
  79.  
  80. text-align: center;
  81.  
  82. position: absolute;
  83.  
  84. font-size:11px;
  85.  
  86. line-height:10px;
  87.  
  88. font-family:times new;
  89.  
  90. z-index: 1000;
  91.  
  92. background: white;
  93.  
  94. border:1px solid #ddd;
  95.  
  96. color: {color:title};
  97.  
  98. text-transform:lowercase;
  99.  
  100. letter-spacing: 1px;
  101. }
  102.  
  103. 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-
  104.  
  105. transition: all 0.8s ease-out;transition: all 0.8s ease-out;}
  106.  
  107. 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;}
  108.  
  109. p {
  110. margin:0px;
  111. margin-top:0px;
  112. }
  113.  
  114.  
  115. body {
  116. padding: 0px;
  117. margin: 50px;
  118. color:{color:text};
  119. font-family: courier new;
  120. line-height:7px;
  121. font-size:12px;
  122. background-color: {color:Background};
  123. background-image:url({image:Background});
  124. background-attachment: fixed;
  125. background-repeat: repeat;
  126. }
  127.  
  128. #links {
  129.  
  130. font-family: courier new;
  131. line-height:7px;
  132. font-size:12px;
  133. text-align:right;
  134.  
  135.  
  136. }
  137.  
  138. a:link, a:active, a:visited{
  139. text-decoration: none;
  140. -webkit-transition: color 0.3s ease-out;
  141. -moz-transition: color 0.3s ease-out;
  142. transition: color 0.3s ease-out;
  143. color:{color:link};
  144. }
  145.  
  146. a:hover {
  147. text-decoration: none;
  148. font-style:;
  149. color: {color:Hover};
  150. }
  151.  
  152. div#center{
  153. margin:auto;
  154. position:relative;
  155. width:1000px;
  156. background-color:;
  157. overflow:auto;
  158. overflow-y:hidden;
  159. }
  160.  
  161.  
  162.  
  163. /*CUSTOMIZE ENTRY SETTINGS HERE*/
  164. .entry {
  165. float:left;
  166. display: block;
  167. margin:10px;
  168. overflow:hidden;
  169. width:300px;
  170. {block:PermalinkPage}
  171. width:450px;
  172. text-align:left;
  173. line-height:10px;
  174. {/block:PermalinkPage}
  175. background:white;
  176. background-image:URL();
  177. }
  178.  
  179.  
  180. /*CUSTOMIZE THE APPEARANCE OF PERMALINKS*/
  181. .entry .perma{
  182. width:220px;
  183. height:16px;
  184. margin-left:0px;
  185. position: absolute;
  186. line-height: 16px;
  187. overflow:hidden;
  188. text-align:center;
  189. top:0px;
  190. background:white;
  191. word-spacing:2px;
  192. letter-spacing:1px;
  193. opacity: 0.0;
  194. -webkit-transition: all .7s ease;
  195. -moz-transition: all .7s ease;
  196. -o-transition: all .7s ease;
  197. transition: all .7s ease;
  198.  
  199. }
  200.  
  201. .entry:hover .perma{
  202. overflow:visible;
  203. opacity:0.9;
  204. }
  205.  
  206.  
  207.  
  208.  
  209.  
  210. /*CUSTOMIZE POST POSITIONING AND STUFFZ HERE*/
  211. #posts {
  212. width:1000px;
  213. position:absolute;
  214. margin-top:1px;
  215. z-index:99;
  216. margin-left:100px;
  217. right:auto;
  218. background:transparent;
  219. margin-right:auto;
  220. position:relative;
  221. overflow-y: hidden;
  222. }
  223.  
  224.  
  225. /*CUSTOMIZE SIDEBAR HERE*/
  226. #sidebar{
  227. position:fixed !important;
  228. width:110px;
  229. background:white;
  230. height:auto;
  231. margin-top:125px;
  232. margin-left:-50px;
  233. text-align:center;
  234.  
  235. }
  236.  
  237.  
  238. @font-face { font-family: "dixel"; src: url('http://static.tumblr.com/jdjsstr/8ovm78cbb/pf_arma_five_1_.ttf'); }
  239.  
  240.  
  241. /*CUSTOMIZE TITLE OF ENTRIES HERE*/
  242. .title{
  243. line-height: 12px;
  244. color:{color:Title};
  245. font-weight: normal;
  246. }
  247.  
  248.  
  249. /*CUSTOMIZE PERMALINKS OF TEXT POSTS AND SUCH HERE*/
  250. .permalink{
  251. text-transform: normal;
  252. display: block;
  253. text-align: right;
  254. text-decoration: none;
  255. }
  256.  
  257. /* CUSOMIZE BLOG TITLE */
  258.  
  259. #title {
  260.  
  261. font-family:courier new;
  262. font-size:17px;
  263. text-align: center;
  264.  
  265.  
  266. }
  267.  
  268.  
  269. #banner {
  270.  
  271. align: center;
  272.  
  273.  
  274. }
  275.  
  276.  
  277. /*I RECCOMMEND TO NOT TOUCH ANY OF THIS LOLz*/
  278. #infscr-loading{
  279. bottom: -70px;
  280. position: absolute;
  281. left: 50%;
  282. margin-left:-8px;
  283. width:16px;
  284. height:11px;
  285. overflow:hidden;
  286. margin-bottom: 50px;
  287. }
  288.  
  289. #postnotes{
  290. text-align: justify;}
  291.  
  292. #postnotes blockquote{
  293. border: 0px;}
  294.  
  295. blockquote{
  296. padding:0px 0px 2px 5px;
  297. margin:0px 0px 2px 10px;
  298. border-left: 1px dotted #555555;
  299. }
  300.  
  301. blockquote p, ul{
  302. margin:0px;
  303. padding:0px;
  304. }
  305.  
  306. a img{border: 0px;}
  307.  
  308.  
  309. ul, ol, li{list-style:none; margin:0px; padding:0px;}
  310.  
  311. .user_1 .label, .user_2 .label, .user_3 .label, .user_4 .label, .user_5 .label, .user_6 .label,
  312. .user_7 .label, .user_8 .label, .user_9 .label {color:{color:text};}
  313.  
  314. .notes img{width:10px; position:relative; top:3px;}
  315. <--ses-->
  316. small{font-size: 90%;}
  317.  
  318. {CustomCSS}
  319.  
  320. </style>
  321.  
  322. {block:IndexPage}
  323. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  324. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  325.  
  326. <script type="text/javascript">
  327. $(window).load(function(){
  328. var $wall = $('#posts');
  329. $wall.imagesLoaded(function(){
  330. $wall.masonry({
  331. itemSelector: '.entry, .entry_photo',
  332. isAnimated : false
  333. });
  334. });
  335.  
  336. $wall.infinitescroll({
  337. navSelector : '#pagination',
  338. nextSelector : '#pagination a',
  339. itemSelector : '.entry, .entry_photo',
  340. bufferPx : 2000,
  341. debug : false,
  342. errorCallback: function() {
  343. $('#infscr-loading').fadeOut('normal');
  344. }},
  345. function( newElements ) {
  346. var $newElems = $( newElements );
  347. $newElems.hide();
  348. $newElems.imagesLoaded(function(){
  349. $wall.masonry( 'appended', $newElems,{isAnimated: false}, function(){$newElems.fadeIn('slow');} );
  350. });
  351. }); $('#posts').show(500);
  352. });
  353. </script>
  354.  
  355.  
  356. {/block:IndexPage}
  357.  
  358.  
  359. <title>{title}</title>
  360.  
  361. <link rel="shortcut icon" href="{Favicon}" />
  362. <meta name="viewport" content="width=820" />
  363. </head>
  364.  
  365. <body>
  366. <div id="credits">
  367. <a href="http://aleuha.tumblr.com">©</a></div>
  368.  
  369. <BODY onselectstart="return false;" ondragstart="return false;">
  370. <div class="wrapper">
  371. <div class="header">
  372. </div>
  373.  
  374. <div id="cage">
  375. <div id="center">
  376.  
  377. <!--STUFF THAT GOES INTO THE SIDEBAR-->
  378.  
  379. <div id="sidebar">
  380.  
  381.  
  382. <div id="title">{block:ifshowtitle}<p align="right"><b><i>{text:title}</b></i></p>{/block:ifshowtitle}</div><br>
  383.  
  384. <center>
  385.  
  386.  
  387. <br></br>
  388.  
  389. <p align="right">{description}</p>
  390. <br></br>
  391.  
  392.  
  393. <div id="links">
  394.  
  395. <!--EDIT YOUR LINKS AND THEIR HOVER TITLES HERE -->
  396.  
  397. <a href="/" title="go home">refresh</a><br>
  398. <a href="/ask" title="faq + ask">message</a><br>
  399. <a href="/archive" title="past">archive</a><br>
  400. <a href="/navi" title="navigate">more links</a><br>
  401. <a href="/tags" title="tags">tags</a>
  402.  
  403.  
  404. </div>
  405.  
  406. <br>
  407.  
  408.  
  409. <p align="right"><script language="JavaScript">
  410. var ref = (''+document.referrer+'');
  411. document.write('<script src="http://freehostedscripts.net/ocounter.php?site=ID2753591&e1=&e2=&r=' + ref + '"><\/script>');
  412. </script>// <script language="JavaScript" src="http://freehostedscripts.net/ocount.php?site=ID1926059&name="></script></p>
  413.  
  414. </center>
  415. </div>
  416. <!------------------------------------->
  417.  
  418.  
  419.  
  420. <div class="left">
  421. <div id="posts">
  422. {block:Posts}
  423. <div class="entry">
  424.  
  425. {block:Text}{block:Title}<span class="title">{Title}</span>{/block:Title}<span class="body">{Body}</span><p align=right><span class="permalink"><a
  426.  
  427. href="{Permalink}"><a href="{Permalink}"><a href="{Permalink}">{notecountwithlabel}</a></a><br>{/block:HasTags}</span></align>
  428. {/block:Text}
  429.  
  430. {block:Link}<a href="{URL}" class="title">{Name}</a>{block:Description}<div class="body">{Description}</div>{/block:Description} <p align=right><span
  431.  
  432. class="permalink"><a href="{Permalink}">{notecountwithlabel}</a> <a href="{Permalink}"></span></align>{block:Link}
  433.  
  434. {block:Photo}
  435. {block:IndexPage}
  436. <center>
  437. <div class="perma">
  438. <a href="{ReblogURL}" target="_blank"> reblog </a> </div>
  439.  
  440. <div class="photo"><a href="{permalink}"><img class="photo" src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width="100%"/></a></div>
  441. {/block:IndexPage}
  442. {block:PermalinkPage}
  443. {LinkOpenTag}<div class="photo"><a href="{permalink}"><img class="photo" src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width="100%"/></a></div>
  444.  
  445. {LinkCloseTag}
  446. {/block:PermalinkPage}
  447. {/block:Photo}
  448.  
  449. {block:Photoset}
  450. {block:IndexPage}
  451. <center>
  452.  
  453. <div class="perma">
  454. <a href="{ReblogURL}" target="_blank"> reblog </a> </div>
  455.  
  456. {Photoset-250}</center>
  457. {/block:IndexPage}
  458. {block:PermalinkPage}
  459. <center>
  460. {Photoset-500}</center>
  461. {/block:PermalinkPage}
  462. {/block:Photoset}
  463.  
  464. {block:Quote}<span class="title">"{Quote}"</span> — {block:Source}<b>{Source}</b>{/block:Source}<br><p align=right><span class="permalink"><a
  465.  
  466. href="{Permalink}">{notecountwithlabel}</a> <a href="{Permalink}"> </span>{/block:Quote}
  467.  
  468. {block:Chat}{block:Title}<span class="title">{Title}</span>{/block:Title}
  469. <ul class="chat">
  470. {block:Lines}
  471. <li class="user_{UserNumber}">
  472. {block:Label}
  473. <span class="label">{Label}</span>
  474. {/block:Label}
  475.  
  476. {Line}
  477. </li>
  478. {/block:Lines}
  479. <p align=right><span class="permalink"><a href="{Permalink}">{notecountwithlabel}</a> <a href="{Permalink}">
  480. {/block:Chat}
  481.  
  482. {block:Audio}
  483. <div style="width:200px; height:30px;">
  484. {AudioPlayerBlack}
  485. </div>
  486. {block:IndexPage}<span class="permalink">
  487. <p align=right><span class="permalink"><a href="{Permalink}">{notecountwithlabel}</a> <a href="{Permalink}"> </a>
  488. </span>{/block:IndexPage}
  489. {/block:Audio}
  490.  
  491. {block:Video}
  492. {block:IndexPage}
  493. <center>
  494. <div class="perma">
  495. <a href="{ReblogURL}" target="_blank"> reblog </a> </div>
  496. {Video-250}</center>
  497. {/block:IndexPage}
  498. {block:PermalinkPage}
  499. <center>
  500. {Video-400}</center>
  501. {/block:PermalinkPage}
  502. {block:Video}
  503.  
  504.  
  505. {block:PostNotes}<div align="middle">{caption}</div>
  506. <center>
  507.  
  508. {block:NoteCount}{NoteCountWithLabel}<br>{/block:NoteCount}
  509.  
  510. {block:HasTags}
  511. tags: {block:Tags}<a href="{TagURL}">{Tag}. </a>{/block:Tags}<br> {/block:HasTags}
  512. {block:RebloggedFrom}
  513. reblogged from <a href="{ReblogParentURL}">{ReblogParentName}</a><br>
  514. posted by <a href="{ReblogRootURL}">{ReblogRootName}</a>
  515.  
  516. {/block:RebloggedFrom}
  517. </center></span>
  518. <br>
  519. <div id="postnotes">{PostNotes}</div><br>
  520.  
  521. <center>{block:ContentSource}
  522. <br><a href="{SourceURL}">
  523. {lang:Source}:
  524. {block:SourceLogo}
  525. <img src="{BlackLogoURL}" width="{LogoWidth}"
  526. height="{LogoHeight}" alt="{SourceTitle}" />
  527. {/block:SourceLogo}
  528. {block:NoSourceLogo}
  529. {SourceLink}
  530. {/block:NoSourceLogo}
  531. </a>
  532. {/block:ContentSource}</center>
  533.  
  534. {/block:PostNotes}
  535. </div>
  536. {/block:Posts}
  537. </div></div>
  538.  
  539. {block:IndexPage}
  540. {block:Pagination}
  541. <div id="pagination">
  542. {block:NextPage}
  543. <a id="nextPage" href="{NextPage}"></a>
  544. {/block:NextPage}
  545. {block:PreviousPage}
  546. <a href="{PreviousPage}"></a>
  547. {/block:PreviousPage}
  548. </div>
  549. {/block:Pagination}
  550. {/block:IndexPage}
  551. </body>
  552. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement