Advertisement
t-offee

Cotton Candy Theme v.1 (NEW)

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