Advertisement
Guest User

Versatility theme

a guest
Jan 27th, 2015
2,207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.09 KB | None | 0 0
  1. <style> body, a, a:hover { cursor:url('{text:Cursor Image URL}'), auto }</style>
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5.  
  6. <!-----------------------------------------------------------------
  7. Themes by Chloethemez // Dark orgasm
  8.  
  9. Versatility theme
  10.  
  11. Comments and suggestions are welcome
  12.  
  13. chloethemez.tumblr.com
  14.  
  15. ------------------------------------------------------------------>
  16. <meta name="image:Background" content="" />
  17. <meta name="image:Sidebar" content="" />
  18. <meta name="image:Pop up close button" content=""/>
  19. <meta name="image:Left Corner Image" content=""/>
  20. <meta name="image:Right Corner Image" content=""/>
  21.  
  22. <meta name="color:Background" content="#000000" />
  23. <meta name="color:Background Top Colour" content="#ff10a7"/>
  24. <meta name="color:Background Bottom Colour" content="#FFFFFF"/>
  25. <meta name="color:Body links" content="#615151" />
  26. <meta name="color:Body text" content="#1d1818" />
  27. <meta name="color:Sidebar background" content="#0a0303" />
  28. <meta name="color:Sidebar links" content="#b9b8b8" />
  29. <meta name="color:Sidebar text" content="#868484" />
  30. <meta name="color:Post color" content="#ffffff" />
  31. <meta name="color:Borders" content="#ffffff"/>
  32. <meta name="color:Text highlight" content="#d83e3e" />
  33. <meta name="color:Tooltip background" content=""/>
  34. <meta name="color:Tooltip text" content=""/>
  35. <meta name="color:Scrollbar thumb colour" content=""/>
  36. <meta name="color:Glitter Colour" content=""/>
  37.  
  38. <meta name="font:Body" content='Calibri'/>
  39. <meta name="font:Blogtitle" content='Calibri'/>
  40.  
  41. <meta name="if:Background Image" content="">
  42. <meta name="if:Maximised Background" content=""/>
  43. <meta name="if:Gradient Background" content="1"/>
  44. <meta name="if:Simple permalinks" content="">
  45. <meta name="if:Triangle permalinks" content="">
  46. <meta name="if:Night time permalinks" content="1">
  47. <meta name="if:Chinese permalinks" content="0">
  48. <meta name="if:Infinite scroll" content="1"/>
  49. <meta name="if:Sidebar portrait" content="0"/>
  50. <meta name="if:Captions" content="0"/>
  51. <meta name="if:Blogtitle bottom border" content=""/>
  52. <meta name="if:Online" content="1" />
  53. <meta name="if:Offline" content="0" />
  54. <meta name="if:Postlimit" content="0" />
  55. <meta name="if:Disable right click" content=""/>
  56. <meta name="if:Sparkle Cursor" content=""/>
  57. <meta name="if:Falling Hearts Effect" content="0" />
  58.  
  59. <meta name="text:Username" content=""/>
  60. <meta name="text:Favicon" content=""/>
  61. <meta name="text:Cursor Image URL" content=""/>
  62. <meta name="text:Title hover message" content=""/>
  63. <meta name="text:Ask info" content=""/>
  64. <meta name="text:Typing Tab Title Message One" content="These are the messages"/>
  65. <meta name="text:Typing Tab Title Message Two" content="that will type in your tab"/>
  66. <meta name="text:Typing Tab Title Message Three" content="at the top next to your favicon"/>
  67. <meta name="text:Font size" content='10px'/>
  68. <meta name="text:Border width 1 to 10" content=""/>
  69. <meta name="text:Sidebar width" content='200px'/>
  70. <meta name="text:Nav width" content='160px'/>
  71. <meta name="text:Sidebar margin left" content="100px"/>
  72. <meta name="text:Sidebar opacity 0 to 1" content="0.9"/>
  73. <meta name="text:Post width" content='230px'/>
  74. <meta name="text:Post margin" content='15px'/>
  75. <meta name="text:Post padding" content='3px'/>
  76. <meta name="text:Post opacity 0 to 1" content="0.9"/>
  77. <meta name="text:Content width" content='700px'/>
  78. <meta name="text:Content margin left" content="350px"/>
  79. <meta name="text:Update one" content="put your updates in here">
  80. <meta name="text:Update two" content="and here">
  81. <meta name="text:Update three" content="and here hahaha">
  82. <meta name="text:Network Badge Codes" content=""/>
  83. <meta name="text:Online counter codes" content=""/>
  84. <meta name="text:Views counter codes" content=""/>
  85. <meta name="text:Follower counter codes" content=""/>
  86. <meta name="text:Link One URL" content=""/>
  87. <meta name="text:Link One Title" content=""/>
  88. <meta name="text:Link Two URL" content=""/>
  89. <meta name="text:Link Two Title" content=""/>
  90. <meta name="text:Link Three URL" content=""/>
  91. <meta name="text:Link Three Title" content=""/>
  92.  
  93. <script type="text/javascript"
  94. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  95. <script>
  96. $(document).ready(function() {
  97. //
  98. $('a.poplight[href^=#]').click(function() {
  99. var popID = $(this).attr('rel'); //Get Popup Name
  100. var popURL = $(this).attr('href'); //Get Popup href to define size
  101. var query= popURL.split('?');
  102. var dim= query[1].split('&');
  103. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  104. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"><img src="{image:Pop up close button}" class="btn_close" title="Close" alt="Close" /></a>');
  105. var popMargTop = ($('#' + popID).height() + 80) / 2;
  106. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  107. //Apply Margin to Popup
  108. $('#' + popID).css({
  109. 'margin-top' : -popMargTop,
  110. 'margin-left' : -popMargLeft
  111. });
  112. $('body').append('<div id="fade"></div>');
  113. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
  114. return false;
  115. });
  116. $('a.close, #fade').live('click', function() {
  117. $('#fade , .popup_block').fadeOut(function() {
  118. $('#fade, a.close').remove(); //fade them both out
  119. });
  120. return false;
  121. });
  122. });
  123. </script>
  124.  
  125. {block:Description}
  126. <meta name="description" content="{MetaDescription}" />
  127. {/block:Description}
  128. <meta charset="utf-8">
  129. <meta name="viewport" content="initial-scale=1.0, width=device-width" />
  130. <title>{block:TagPage}{Tag} posts - {/block:TagPage} {block:SearchPage}{lang:Search results for SearchQuery} - {/block:SearchPage}{block:PostSummary}{PostSummary} - {/block:PostSummary}{Title}</title>
  131. <link rel="shortcut icon" href="{text:Favicon}">
  132. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  133. <link href="http://static.tumblr.com/wgijwsy/k1Hm9ei8b/normalize.css" rel="stylesheet" type="text/css" />
  134.  
  135.  
  136.  
  137. <script type="text/javascript" src="http://static.tumblr.com/3ikgvxs/0TGl4zgpu/jquery.min.js"></script>
  138. <script type="text/javascript">
  139. $(document).ready(function(){
  140. $(".links_body").hide();
  141. $(".links_head").click(function(){
  142. $(this).next(".links_body").slideToggle('fast');
  143. }); }); </script>
  144.  
  145. <script src="http://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
  146. <script>
  147. (function($){
  148. $(document).ready(function(){
  149. $("[title]").style_my_tooltips({
  150. tip_follows_cursor:true,
  151. tip_delay_time:200,
  152. tip_fade_speed:300
  153. }
  154. );
  155. });
  156. })(jQuery);
  157. </script>
  158.  
  159.  
  160.  
  161.  
  162. <style type="text/css">
  163.  
  164. ::-webkit-scrollbar{ width:12px;
  165. background-image: -o-linear-gradient(bottom, #fff, #000 );
  166. background-image: -moz-linear-gradient(bottom, #000, #fff);
  167. background-image: -webkit-linear-gradient(bottom, {color:Background Bottom Colour}, {color:Background Top Colour});
  168. background-image: -ms-linear-gradient(bottom, #000, #fff);
  169. background-image: linear-gradient(bottom, #000, #fff); }
  170. ::-webkit-scrollbar-thumb{ background-color: {color:Scrollbar thumb colour}; border: {text:Border Width 1 to 10}px solid {color:Borders} }
  171.  
  172. #s-m-t-tooltip{
  173. max-width:200px;
  174. margin:15px;
  175. padding:4px 5px;
  176. border:1px solid {color:Borders};
  177. background:{color:Tooltip background};
  178. color:{color:Tooltip text};
  179. z-index:999999;
  180. font-size:10px;
  181. text-transform:uppercase;
  182. box-shadow:1px 1px 3px rgba(0,0,0,.1);}
  183.  
  184. .links_list { margin:0px; padding:0px; width:{text:Nav width}; border:1px solid #000; margin-left:-5px;}
  185.  
  186. .links_head { padding-top:3px; border:1px solid {color:Borders}; padding-bottom:3px; position:relative; margin:1px; text-align:center;}
  187.  
  188. .links_body { padding:9px; text-align:center; text-transform:uppercase;color: #fff; display:none;}
  189.  
  190.  
  191.  
  192. /*Basic styles*/
  193. ::-moz-selection {
  194. background: {color:Text highlight};
  195. color: #fff;
  196. }
  197. ::selection {
  198. background: {color:Text highlight};
  199. color: #fff;
  200. }
  201. #content {
  202. margin-left:{text:Content margin left};
  203. margin-top:10px;
  204. width:{text:Content width};
  205.  
  206. }
  207. body {
  208. background: {color:Background};
  209. background-position:fixed;
  210. color: {color:Body text};
  211. font-family: {font:Body};
  212. font-size: {text:Font size};
  213. margin: 0;
  214. padding: 0;
  215. background-repeat: no-repeat;
  216.  
  217. {block:ifBackgroundImage} background: url({image:Background}){/block:ifBackgroundImage}
  218.  
  219. {block:ifGradientBackground} background-image: -webkit-linear-gradient(bottom, {color:Background Bottom Colour}, {color:Background Top Colour});
  220. background-repeat: no-repeat;
  221. background-attachment: fixed;
  222. background-position: center;
  223. {/block:ifGradientBackground};
  224.  
  225.  
  226. {block:ifMaximisedBackground}
  227.  
  228. no-repeat center center fixed;
  229. -webkit-background-size: cover;
  230. -moz-background-size: cover;
  231. -o-background-size: cover;
  232. background-size: cover;
  233. {/block:ifMaximisedBackground}
  234.  
  235. }
  236.  
  237. a {
  238. color: {color:Body links};
  239. text-decoration: none;
  240. }
  241. blockquote {
  242. background: rgba(0, 0, 0, 0.2);
  243. border-left: 10px solid rgba(0, 0, 0, 0.2);
  244. margin: 0;
  245. padding: 2%;
  246. }
  247. iframe, img, embed, object, video {
  248. max-width: 100%;
  249. }
  250. img {
  251. height: auto;
  252. width: auto;
  253. }
  254. /*Sidebar*/
  255. #sidebar {
  256. border:{text:Border Width 1 to 10} solid {color:Borders};
  257. background: {color:Sidebar background};
  258. color: {color:Sidebar text};
  259. opacity:{text:Sidebar opacity 0 to 1};
  260. padding: 5px;
  261. padding-bottom:10px;
  262. color: {color:Sidebar text};
  263. width: {text:Sidebar width};
  264. float: left;
  265. opacity:{text:Sidebar opacity 0 to 1};
  266. margin-top:190px;
  267. margin-left:{text:Sidebar margin left};
  268. position:fixed;
  269.  
  270. }
  271. #sidebar a {
  272. color: {color:Sidebar links};
  273. }
  274.  
  275. #blogtitle{
  276. font-size:14px;
  277. text-transform:uppercase;
  278. text-align:center;
  279. {block:ifBlogtitleBottomBorder} border-bottom:{text:Border Width 1 to 10} solid {color:Borders}{/block:ifBlogtitleBottomBorder};
  280. Font-family:{font:Blogtitle};
  281.  
  282. }
  283. nav li {
  284. display: inline;
  285. }
  286. /*Article*/
  287. article {
  288. border:{text:Border Width 1 to 10} solid {color:Borders};
  289. background: {color:Post color};
  290. margin: {text:Post margin};
  291. padding: {text:Post Padding};
  292. width: {text:Post width};
  293. opacity:{text:Post opacity 0 to 1};
  294.  
  295. {block:PermalinkPage}
  296. width:500px;
  297. {/block:PermalinkPage}
  298.  
  299. }
  300.  
  301.  
  302.  
  303. .chat span {
  304. float: left;
  305. margin-right: 1%;
  306. }
  307. /*Metadata*/
  308.  
  309.  
  310. .metadata {
  311. opacity: 0;
  312. font-size:0px;
  313.  
  314. display:hidden;
  315. width: 100%;
  316. -webkit-transition: all .6s ;
  317. -moz-transition: all .6s;
  318. transition: all .6s ;
  319.  
  320. }
  321.  
  322. article:hover .metadata{
  323. opacity: 1;
  324. font-size:11px;
  325. font-family:Calibri;
  326.  
  327. width: 100%;
  328. -webkit-transition: all .6s ;
  329. -moz-transition: all .6s ;
  330. transition: all .6s ;
  331.  
  332. }
  333.  
  334. .notecount {
  335. float: right;
  336. }
  337. .reblogged {
  338. float: right;
  339. margin: 3% 0;
  340. width: 100%;
  341. }
  342. /*Tags and notes*/
  343. #tags, nav ul, .chat ul {
  344. list-style: none;
  345. list-style-image: none;
  346. margin: 0;
  347. padding: 0;
  348. }
  349. #tags li {
  350. float: left;
  351. margin-right: 1%;
  352. }
  353. .notes {
  354. clear: both;
  355. padding: 0;
  356. }
  357. /*Custom CSS*/
  358. {CustomCSS}
  359.  
  360. #fade { /*--Transparent background layer--*/
  361. display: none; /*--hidden by default--*/
  362. background: #000;
  363. position: fixed; left: 0; top: 0;
  364. width: 100%; height: 100%;
  365. opacity: .80;
  366. z-index: 9999;
  367. }
  368. .popup_block{
  369. display: none; /*--hidden by default--*/
  370. background: {color:Sidebar background};
  371. padding: 10px;
  372. border: 5px solid {color:Borders};
  373. float: left;
  374. color:{color:Sidebar text};
  375. font-size: 11px;
  376. position: fixed;
  377. top: 50%; left: 50%;
  378. z-index: 99999;
  379. /*--CSS3 Box Shadows--*/
  380. -webkit-box-shadow: 0px 0px 20px #000;
  381. -moz-box-shadow: 0px 0px 20px #000;
  382. box-shadow: 0px 0px 20px #000;
  383. /*--CSS3 Rounded Corners--*/
  384. -webkit-border-radius: 5px;
  385. -moz-border-radius: 5px;
  386. border-radius: 5px;
  387. }
  388. img.btn_close {
  389. float: right;
  390. margin: -20 -20px 0 0;
  391. }
  392. /*--Making IE6 Understand Fixed Positioning--*/
  393. *html #fade {
  394. position: absolute;
  395. }
  396. *html .popup_block {
  397. position: absolute;
  398. }
  399.  
  400.  
  401.  
  402. /*made by sppice, tutorial at megscoding.tumblr.com*/
  403.  
  404. #oneout {
  405. position:fixed;
  406. top:64px;left:1px;
  407. text-align:center;
  408. -webkit-transition-duration:0.3s;-moz-transition-duration:0.3s;-o-transition-duration:0.3s;transition-duration:0.3s;
  409. z-index:1; }
  410.  
  411. #oneout_inner {
  412. position:fixed;
  413. width:230px; height:10px;
  414. top:13px; left:-253px;
  415. padding:10px;
  416. border:{text:Border Width 1 to 10} solid {color:Borders};
  417. background: {color:Sidebar background};
  418. color: {color:Sidebar text};
  419. opacity:{text:Sidebar opacity 0 to 1};
  420. -webkit-transition-duration:0.3s;-moz-transition-duration:0.3s;-o-transition-duration:0.3s;transition-duration:0.3s;
  421. text-align:left;
  422. z-index:1; }
  423.  
  424. #oneout:hover {
  425.  
  426. left:255px;
  427. z-index:99999999; }
  428.  
  429. #oneout:hover #oneout_inner {
  430. height:50px;
  431. left:0px;
  432. z-index:-1; }
  433.  
  434. .onetitle {
  435. position:absolute;
  436. left:-2px; top:-50px;
  437. width:100px;
  438. padding:3px;
  439. text-transform:uppercase;
  440. font-family:arial; font-size:11px;
  441. border:{text:Border Width 1 to 10} solid {color:Borders};
  442. background: {color:Sidebar background};
  443. color: {color:Sidebar text};
  444. opacity:{text:Sidebar opacity 0 to 1};
  445. z-index:99999999; }
  446.  
  447. /*made by sppice, tutorial at megscoding.tumblr.com*/
  448.  
  449. #twoout {
  450. position:fixed;
  451. top:257px;left:-3px;
  452. text-align:center;
  453. -webkit-transition-duration:0.3s;-moz-transition-duration:0.3s;-o-transition-duration:0.3s;transition-duration:0.3s;
  454. z-index:1; }
  455.  
  456. #twoout_inner {
  457. height:2px;
  458. position:fixed;
  459. width:180px; height:auto;
  460. top:47px; left:-455px;
  461. padding:10px;
  462. border:{text:Border Width 1 to 10} solid {color:Borders};
  463. background: {color:Sidebar background};
  464. color: {color:Sidebar text};
  465. opacity:{text:Sidebar opacity 0 to 1};/* change #FFFFFF; to transparent; if you want the background of the slide out tab to be transparent and not white*/
  466. -webkit-transition-duration:0.3s;-moz-transition-duration:0.3s;-o-transition-duration:0.3s;transition-duration:0.3s;
  467. text-align:left;
  468. z-index:1; }
  469.  
  470. #twoout:hover {
  471. left:205px;
  472. z-index:1; }
  473.  
  474. #twoout:hover #twoout_inner {
  475. height:100px;
  476. left:0px;
  477. z-index:2; }
  478.  
  479. .twotitle {
  480. position:absolute;
  481. left:1px; top:-210px;
  482. width:80px;
  483. padding:3px;
  484. text-transform:uppercase;
  485. font-family:arial; font-size:11px;
  486. border:{text:Border Width 1 to 10} solid {color:Borders};
  487. background: {color:Sidebar background};
  488. color: {color:Sidebar text};
  489. opacity:{text:Sidebar opacity 0 to 1};
  490. z-index:1;
  491. }
  492.  
  493. /*made by sppice, tutorial at megscoding.tumblr.com*/
  494.  
  495. #threeout {
  496. position:fixed;
  497. top:65px;left:-5px;
  498. text-align:center;
  499. -webkit-transition-duration:0.3s;-moz-transition-duration:0.3s;-o-transition-duration:0.3s;transition-duration:0.3s;
  500. z-index:0; }
  501.  
  502. #threeout_inner {
  503. position:fixed;
  504. width:150px; height:10px;
  505. top:85px; left:-255px;
  506. padding:10px;
  507. border:{text:Border Width 1 to 10} solid {color:Borders};
  508. background: {color:Sidebar background};
  509. color: {color:Sidebar text};
  510. opacity:{text:Sidebar opacity 0 to 1}; /* change #FFFFFF; to transparent; if you want the background of the slide out tab to be transparent and not white*/
  511. -webkit-transition-duration:0.3s;-moz-transition-duration:0.3s;-o-transition-duration:0.3s;transition-duration:0.3s;
  512. text-align:left;
  513. z-index:-1; }
  514.  
  515. #threeout:hover {
  516. left:170px;
  517. z-index:-1; }
  518.  
  519. #threeout:hover #threeout_inner {
  520. left:-5px;
  521. height:85px;
  522. z-index:-1; }
  523.  
  524. .threetitle {
  525. position:absolute;
  526. left:1px; top:20px;
  527. width:60px;
  528. padding:3px;
  529. text-transform:uppercase;
  530. font-family:arial; font-size:11px;
  531. border:{text:Border Width 1 to 10} solid {color:Borders};
  532. background: {color:Sidebar background};
  533. color: {color:Sidebar text};
  534. opacity:{text:Sidebar opacity 0 to 1};
  535. z-index:-1; }
  536.  
  537. </style>
  538. {block:ifSparkleCursor}
  539. <script type="text/javascript">
  540. // <![CDATA[
  541. var colour="{color:Glitter Colour}";
  542. var sparkles=120;
  543.  
  544. /****************************
  545. * Tinkerbell Magic Sparkle *
  546. * (c) 2005 mf2fm web-design *
  547. * http://www.mf2fm.com/rv *
  548. * DON'T EDIT BELOW THIS BOX *
  549. ****************************/
  550. var x=ox=400;
  551. var y=oy=300;
  552. var swide=800;
  553. var shigh=600;
  554. var sleft=sdown=0;
  555. var tiny=new Array();
  556. var star=new Array();
  557. var starv=new Array();
  558. var starx=new Array();
  559. var stary=new Array();
  560. var tinyx=new Array();
  561. var tinyy=new Array();
  562. var tinyv=new Array();
  563.  
  564. window.onload=function() { if (document.getElementById) {
  565. var i, rats, rlef, rdow;
  566. for (var i=0; i<sparkles; i++) {
  567. var rats=createDiv(3, 3);
  568. rats.style.visibility="hidden";
  569. document.body.appendChild(tiny[i]=rats);
  570. starv[i]=0;
  571. tinyv[i]=0;
  572. var rats=createDiv(5, 5);
  573. rats.style.backgroundColor="transparent";
  574. rats.style.visibility="hidden";
  575. var rlef=createDiv(1, 5);
  576. var rdow=createDiv(5, 1);
  577. rats.appendChild(rlef);
  578. rats.appendChild(rdow);
  579. rlef.style.top="2px";
  580. rlef.style.left="0px";
  581. rdow.style.top="0px";
  582. rdow.style.left="2px";
  583. document.body.appendChild(star[i]=rats);
  584. }
  585. set_width();
  586. sparkle();
  587. }}
  588.  
  589. function sparkle() {
  590. var c;
  591. if (x!=ox || y!=oy) {
  592. ox=x;
  593. oy=y;
  594. for (c=0; c<sparkles; c++) if (!starv[c]) {
  595. star[c].style.left=(starx[c]=x)+"px";
  596. star[c].style.top=(stary[c]=y)+"px";
  597. star[c].style.clip="rect(0px, 5px, 5px, 0px)";
  598. star[c].style.visibility="visible";
  599. starv[c]=50;
  600. break;
  601. }
  602. }
  603. for (c=0; c<sparkles; c++) {
  604. if (starv[c]) update_star(c);
  605. if (tinyv[c]) update_tiny(c);
  606. }
  607. setTimeout("sparkle()", 40);
  608. }
  609.  
  610. function update_star(i) {
  611. if (--starv[i]==25) star[i].style.clip="rect(1px, 4px, 4px, 1px)";
  612. if (starv[i]) {
  613. stary[i]+=1+Math.random()*3;
  614. if (stary[i]<shigh+sdown) {
  615. star[i].style.top=stary[i]+"px";
  616. starx[i]+=(i%5-2)/5;
  617. star[i].style.left=starx[i]+"px";
  618. }
  619. else {
  620. star[i].style.visibility="hidden";
  621. starv[i]=0;
  622. return;
  623. }
  624. }
  625. else {
  626. tinyv[i]=50;
  627. tiny[i].style.top=(tinyy[i]=stary[i])+"px";
  628. tiny[i].style.left=(tinyx[i]=starx[i])+"px";
  629. tiny[i].style.width="2px";
  630. tiny[i].style.height="2px";
  631. star[i].style.visibility="hidden";
  632. tiny[i].style.visibility="visible"
  633. }
  634. }
  635.  
  636. function update_tiny(i) {
  637. if (--tinyv[i]==25) {
  638. tiny[i].style.width="1px";
  639. tiny[i].style.height="1px";
  640. }
  641. if (tinyv[i]) {
  642. tinyy[i]+=1+Math.random()*3;
  643. if (tinyy[i]<shigh+sdown) {
  644. tiny[i].style.top=tinyy[i]+"px";
  645. tinyx[i]+=(i%5-2)/5;
  646. tiny[i].style.left=tinyx[i]+"px";
  647. }
  648. else {
  649. tiny[i].style.visibility="hidden";
  650. tinyv[i]=0;
  651. return;
  652. }
  653. }
  654. else tiny[i].style.visibility="hidden";
  655. }
  656.  
  657. document.onmousemove=mouse;
  658. function mouse(e) {
  659. set_scroll();
  660. y=(e)?e.pageY:event.y+sdown;
  661. x=(e)?e.pageX:event.x+sleft;
  662. }
  663.  
  664. function set_scroll() {
  665. if (typeof(self.pageYOffset)=="number") {
  666. sdown=self.pageYOffset;
  667. sleft=self.pageXOffset;
  668. }
  669. else if (document.body.scrollTop || document.body.scrollLeft) {
  670. sdown=document.body.scrollTop;
  671. sleft=document.body.scrollLeft;
  672. }
  673. else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
  674. sleft=document.documentElement.scrollLeft;
  675. sdown=document.documentElement.scrollTop;
  676. }
  677. else {
  678. sdown=0;
  679. sleft=0;
  680. }
  681. }
  682.  
  683. window.onresize=set_width;
  684. function set_width() {
  685. if (typeof(self.innerWidth)=="number") {
  686. swide=self.innerWidth;
  687. shigh=self.innerHeight;
  688. }
  689. else if (document.documentElement && document.documentElement.clientWidth) {
  690. swide=document.documentElement.clientWidth;
  691. shigh=document.documentElement.clientHeight;
  692. }
  693. else if (document.body.clientWidth) {
  694. swide=document.body.clientWidth;
  695. shigh=document.body.clientHeight;
  696. }
  697. }
  698.  
  699. function createDiv(height, width) {
  700. var div=document.createElement("div");
  701. div.style.position="absolute";
  702. div.style.height=height+"px";
  703. div.style.width=width+"px";
  704. div.style.overflow="hidden";
  705. div.style.backgroundColor=colour;
  706. return (div);
  707. }
  708. // ]]>
  709. </script>
  710. {/block:ifSparkleCursor}
  711.  
  712. {block:ifFallingHeartsEffect}
  713. <script>if(typeof jQuery=='undefined'){document.write('<'+'script');document.write(' language="javascript"');document.write(' type="text/javascript"');document.write(' src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js">');document.write('</'+'script'+'>')}</script><script>if(!image_urls){var image_urls=Array()}if(!flash_urls){var flash_urls=Array()}image_urls['rain1']="http://www.picgifs.com/mini-graphics/mini-graphics/hearts/mini-graphics-hearts-655853.gif";image_urls['rain2']="http://www.picgifs.com/mini-graphics/mini-graphics/hearts/mini-graphics-hearts-655853.gif";image_urls['rain3']="http://www.picgifs.com/mini-graphics/mini-graphics/hearts/mini-graphics-hearts-655853.gif";image_urls['rain4']="http://www.picgifs.com/mini-graphics/mini-graphics/hearts/mini-graphics-hearts-655853.gif";$(document).ready(function(){var c=$(window).width();var d=$(window).height();var e=function(a,b){return Math.round(a+(Math.random()*(b-a)))};var f=function(a){setTimeout(function(){a.css({left:e(0,c)+'px',top:'-30px',display:'block',opacity:'0.'+e(10,100)}).animate({top:(d-10)+'px'},e(7500,8000),function(){$(this).fadeOut('slow',function(){f(a)})})},e(1,8000))};$('<div></div>').attr('id','rainDiv')
  714. .css({position:'fixed',width:(c-20)+'px',height:'1px',left:'0px',top:'-5px',display:'block'}).appendTo('body');for(var i=1;i<=20;i++){var g=$('<img/>').attr('src',image_urls['rain'+e(1,4)])
  715. .css({position:'absolute',left:e(0,c)+'px',top:'-30px',display:'block',opacity:'0.'+e(10,100),'margin-left':0}).addClass('rainDrop').appendTo('#rainDiv');f(g);g=null};var h=0;var j=0;$(window).resize(function(){c=$(window).width();d=$(window).height()})});</script>
  716. <script>if(typeof jQuery=='undefined'){document.write('<'+'script');document.write(' language="javascript"');document.write(' type="text/javascript"');document.write(' src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js">');document.write('</'+'script'+'>')}</script>{/block:ifFallingHeartsEffect}
  717.  
  718. <script type="text/javascript">
  719. //Created by Title bar Maker (http://www.bosiljak.hr/titlemaker)
  720. function tb8_makeArray(n){
  721. this.length = n;
  722. return this.length;
  723. }
  724.  
  725. tb8_messages = new tb8_makeArray(3);
  726. tb8_messages[0] = "{text:Typing Tab Title Message One}";
  727. tb8_messages[1] = "{text:Typing Tab Title Message Two}";
  728. tb8_messages[2] = "{text:Typing Tab Title Message Three}";
  729. tb8_rptType = 'infinite';
  730. tb8_rptNbr = 5;
  731. tb8_speed = 100;
  732. tb8_delay = 900;
  733. var tb8_counter=1;
  734. var tb8_currMsg=0;
  735. var tb8_tekst ="";
  736. var tb8_i=0;
  737. var tb8_TID = null;
  738. function tb8_pisi(){
  739. tb8_tekst = tb8_tekst + tb8_messages[tb8_currMsg].substring(tb8_i, tb8_i+1);
  740. document.title = tb8_tekst;
  741. tb8_sp=tb8_speed;
  742. tb8_i++;
  743. if (tb8_i==tb8_messages[tb8_currMsg].length){
  744. tb8_currMsg++; tb8_i=0; tb8_tekst="";tb8_sp=tb8_delay;
  745. }
  746. if (tb8_currMsg == tb8_messages.length){
  747. if ((tb8_rptType == 'finite') && (tb8_counter==tb8_rptNbr)){
  748. clearTimeout(tb8_TID);
  749. return;
  750. }
  751. tb8_counter++;
  752. tb8_currMsg = 0;
  753. }
  754. tb8_TID = setTimeout("tb8_pisi()", tb8_sp);
  755. }
  756. tb8_pisi()
  757. </script>
  758.  
  759. </head>
  760. <body>
  761. <!-- made by sppice, tutorial at megscoding.tumblr.com -->
  762.  
  763. <div id="oneout"><span class="onetitle">
  764.  
  765. Updates
  766.  
  767. </span><div id="oneout_inner">
  768.  
  769.  
  770. • {text:Update one} <br>
  771. • {text:Update two} <br>
  772. • {text:Update three}<br>
  773.  
  774.  
  775. <br></div></div>
  776.  
  777. <!-- made by sppice, tutorial at megscoding.tumblr.com -->
  778.  
  779. <div id="twoout"><span class="twotitle">
  780.  
  781. Networks
  782.  
  783. </span><div id="twoout_inner">
  784. <center>
  785.  
  786. <marquee onmouseover="this.setAttribute('scrollamount', 0, 0);" onmouseout="this.setAttribute('scrollamount', 6, 0);">{text:Network Badge Codes}</marquee>
  787.  
  788. <br></center></div></div>
  789.  
  790. <!-- made by sppice, tutorial at megscoding.tumblr.com -->
  791.  
  792. <div id="threeout"><span class="threetitle">
  793. stats
  794.  
  795. </span><div id="threeout_inner">
  796.  
  797. {block:ifOnline}☑ Online<br> ☐Offline <br>☐Post Limit{/block:ifOnline}
  798. {block:ifOffline}☐Online <br>☑ Offline <br>☐Post Limit{/block:ifOffline}
  799. {block:ifPostlimit}☐Online<br> ☐Offline<br> ☑Post Limit{/block:ifpostlimit}<br><center>
  800. {text:Online Counter Codes}//{text:Views Counter Codes}<br>
  801. {text:Follower Counter Codes}
  802.  
  803. <br></center></div></div>
  804.  
  805.  
  806.  
  807. <div style="position:fixed; background-color:{color:Sidebar Background}; right:10px; top:25px; padding:4px; color: {color:Text}; border:1px solid {color:Borders}; opacity:0.8; font-size:10px; z-index:222;"><a title="theme by Chloe"href="http://chloethemez.tumblr.com/">克洛伊</a></div>
  808. {block:IfDisableRightClick}
  809. <script language=JavaScript>
  810.  
  811. <!--
  812.  
  813. //Disable right click script III- By Renigade (renigade@mediaone.net)
  814.  
  815. //For full source code, visit http://www.dynamicdrive.com
  816.  
  817. var message="";
  818.  
  819. ///////////////////////////////////
  820.  
  821. function clickIE() {if (document.all) {(message);return false;}}
  822.  
  823. function clickNS(e) {if
  824.  
  825. (document.layers||(document.getElementById&&!document.all)) {
  826.  
  827. if (e.which==2||e.which==3) {(message);return false;}}}
  828.  
  829. if (document.layers)
  830.  
  831. {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
  832.  
  833. else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
  834.  
  835. document.oncontextmenu=new Function("return false")
  836.  
  837. // -->
  838.  
  839. </script>
  840. {/block:IfDisableRightClick}
  841.  
  842. <!--Sidebar/masthead-->
  843. <header id="sidebar">
  844. <!--Details: portrait (optional), title and description-->
  845. <div id="header">
  846. <div id="blogtitle"><a href="/" title="{text:Title hover message}">{Title}</a></div><p>
  847. {block:IfSidebarPortrait}
  848. <div id="Sidebarimg"><img src="{image:Sidebar}" width:{text:Sidebar width}/><p><div style="position:center"></div>
  849. {/block:IfSidebarPortrait}
  850. <center><div class="description">{Description}<p></div></center>
  851.  
  852. <center><div class="links_list">
  853. <p class="links_head">NAVIGATE</p>
  854. <div class="links_body">
  855. <center>
  856. <a href="/" title="refresh">REFRESH</a><br>
  857. <a href="#?w=500" rel="02" class="poplight" title="MSSG">ASK</a><br>
  858. <a href="{text:Link One URL}" title="{text:Link One Title}">{text:Link One Title}</a><br>
  859. <a href="{text:Link Two URL}" title="{text:Link Two Title}">{text:Link Two Title}</a><br>
  860. <a href="{text:Link Three URL}" title="{text:Link Three Title}">{text:Link Three Title}</a>
  861. </center>
  862. </div></div>
  863.  
  864.  
  865. </div>
  866. <!--Navigation-->
  867. <nav>
  868. <ul>
  869. {block:HasPages}
  870. {block:Pages}
  871. <li> <a href="{URL}">{Label}</a></li>
  872. {/block:Pages}
  873. {/block:HasPages}
  874. {block:SubmissionsEnabled}
  875. <li> <a href="/submit">{SubmitLabel}</a></li>
  876. {/block:SubmissionsEnabled}
  877.  
  878. </nav>
  879.  
  880. </header>
  881. <!--Content holder-->
  882. <div id="content">
  883. {block:Posts}
  884. <article>
  885. <!--Metadata: date, note count-->
  886. <header class="metadata">
  887.  
  888. {block:ifChinesePermalinks} {block:Date} <a href="{Permalink}#notes" title="{NoteCountWithLabel}">愛</a> <a href="{ReblogURL}" target="_blank" title="Reblog" >拼</a> {/block:Date} {/block:ifChinesePermalinks}
  889.  
  890. {block:ifNightTimePermalinks} {block:Date} <a href="{Permalink}#notes" title="{NoteCountWithLabel}">☆</a> <a href="{ReblogURL}" target="_blank" title="Reblog" >☽</a> {/block:Date} {/block:ifNightTimePermalinks}
  891.  
  892. {block:ifTrianglePermalinks} {block:Date} <a href="{Permalink}#notes" title="{NoteCountWithLabel}">▲</a> <a href="{ReblogURL}" target="_blank" title="Reblog" >▼</a> {/block:Date} {/block:ifTrianglePermalinks}
  893.  
  894. {block:ifSimplePermalinks} <a href="{Permalink}#notes">{NoteCountWithLabel}</a> {/block:ifSimplePermalinks}
  895.  
  896.  
  897. </header>
  898. <!--Unique code for each post type-->
  899. {block:Text}
  900. <div class="text">
  901. {block:Title}<h1 class="title"><a href="{Permalink}">{Title}</a></h1>{/block:Title}
  902. {Body}
  903. {/block:Text}
  904.  
  905. {block:Photo}
  906. <div class="photo">
  907. {LinkOpenTag}<a href="{ReblogURL}" target="_blank"><img src="{PhotoURL-500}" alt="{PhotoAlt}" /></a>{LinkCloseTag}
  908. {block:ifCaptions} {block:Caption}{Caption}{/block:Caption}{/block:ifCaptions}
  909. {/block:Photo}
  910.  
  911. {block:Photoset}
  912. <div class="photoset">
  913. {block:IndexPage}{Photoset-250}{/block:IndexPage}
  914. {block:PermalinkPage}{Photoset-700}{/block:PermalinkPage}
  915. {block:Caption}{Caption}{/block:Caption}
  916. {/block:Photoset}
  917.  
  918. {block:Quote}
  919. <div class="quote">
  920. <blockquote>{Quote}</blockquote>
  921. {block:Source}<cite> {Source} </cite>{/block:Source}
  922. {/block:Quote}
  923.  
  924. {block:Link}
  925. <div class="link">
  926. <h1 class="title"><a href="{URL}">{Name}</a></h1>
  927. {block:Description}{Description}{/block:Description}
  928. {/block:Link}
  929.  
  930. {block:Chat}
  931. <div class="chat">
  932. <ul>
  933. {block:Lines}<li class="{Alt}">{block:Label}<span class="label">{Label}</span>{/block:Label}<p> {Line} </p></li>{/block:Lines}
  934. </ul>
  935. {/block:Chat}
  936.  
  937. {block:Audio}
  938. <div class="audio">
  939. {block:TrackName}<h1 class="title"><a href="{Permalink}">{TrackName}</a></h1>{/block:TrackName}
  940. <div class="albumart">{block:AlbumArt}<img src="{AlbumArtURL}" width="500" height="500"/>{/block:AlbumArt}</div>
  941. <div class="player">{AudioPlayerBlack}</div>
  942. {block:AudioEmbed}{AudioEmbed}{/block:AudioEmbed}
  943. {block:Caption}{Caption}{/block:Caption}
  944. {/block:Audio}
  945.  
  946. {block:Video}
  947. <div class="video">
  948. <div class="video-player">{Video-500}</div>
  949. {block:Caption}{Caption}{/block:Caption}
  950. {/block:Video}
  951.  
  952. {block:Answer}
  953. <div class="answer">
  954. <h1 class="title">{Question}</h1>
  955. <div class="user"><img src="{AskerPortraitURL-96}"/><p>{Asker}</p></div>
  956. {Answer}
  957. {/block:Answer}
  958. </div>
  959. <footer class="details">
  960. {block:ContentSource}
  961.  
  962. {/block:ContentSource}
  963. {block:Permalink}
  964. <!--Tags and notes on displayed on permalink pages-->
  965. {block:HasTags}
  966. <ul id="tags">
  967. {block:Tags}<li> <a href="{TagURL}">{Tag}</a> </li>{/block:Tags}
  968. </ul>
  969. {/block:HasTags}
  970. {block:PostNotes}
  971. <div id="notes">
  972. {PostNotes}
  973. </div>
  974. {/block:PostNotes}
  975. {/block:Permalink}
  976. </footer>
  977. </article>
  978. {/block:Posts}
  979. <!--Close of article-->
  980. </div>
  981.  
  982. <!--Pagination: previous/next page links-->
  983. {block:Pagination}
  984. <div class="pagination">
  985. {block:PreviousPage}<a href="{PreviousPage}">Previous page</a>{/block:PreviousPage}
  986. {block:NextPage}<a href="{NextPage}">Next page</a>{/block:NextPage}
  987. </div>
  988. {/block:Pagination}
  989.  
  990. <!--Links to jQuery library, Masonry, infinite scroll and imagesLoaded-->
  991. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
  992. <script src="http://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
  993. {block:IfInfiniteScroll}
  994. <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
  995. <script src="http://static.tumblr.com/iwtk77u/Yhym2yygt/jquery.imagesloaded.min.js"></script>
  996. {/block:IfInfiniteScroll}
  997. <!--Code for infinite scroll and grid layout-->
  998. <script>
  999. (function() {
  1000. var $tumblelog = $('#content');
  1001. {block:IfInfiniteScroll}
  1002. $tumblelog.infinitescroll({
  1003. navSelector : ".pagination",
  1004. nextSelector : ".pagination a:first",
  1005. itemSelector : "article",
  1006. bufferPx : 50,
  1007. done : "",
  1008. loading: {
  1009. img : "",
  1010. msgText: ""
  1011. },
  1012. },
  1013. function( newElements ) {
  1014. var $newElems = $( newElements ).css({ opacity: 0 });
  1015. $newElems.imagesLoaded(function(){
  1016. $newElems.animate({ opacity: 1 });
  1017. $tumblelog.masonry( 'appended', $newElems);
  1018. });
  1019. }
  1020. );
  1021. {/block:IfInfiniteScroll}
  1022. $tumblelog.imagesLoaded( function(){
  1023. $tumblelog.masonry({
  1024. columnWidth: function( containerWidth ) {
  1025. return containerWidth / 100;
  1026. }
  1027. });
  1028. });
  1029. })();
  1030. </script>
  1031. <!--For users adding Google Analytics ID-->
  1032. <script>
  1033. var _gaq=[['_setAccount','{text:Google Analytics ID}'],['_trackPageview']];
  1034. (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
  1035. g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
  1036. s.parentNode.insertBefore(g,s)}(document,'script'));
  1037. </script>
  1038. </body>
  1039.  
  1040.  
  1041.  
  1042. <div style="position:fixed; bottom:0px; left:2px;">
  1043. <img src="{image:Left Corner Image}" width="250"/></div>
  1044.  
  1045.  
  1046.  
  1047. <div style="position:fixed; bottom:0px; right:2px;">
  1048. <img src="{image:Right Corner Image}" width="250"/></div>
  1049.  
  1050.  
  1051. <div id="02" class="popup_block">
  1052. {text:Ask info}
  1053. <Center><iframe frameborder="0" scrolling="yes" width="100%" height="190" src="http://www.tumblr.com/ask_form/{text:Username}.tumblr.com" style="background-color:transparent; overflow:hidden;" id="ask_form">
  1054. </center></div>
  1055.  
  1056. </div></div></div></div></div></div></div></div></div></div>
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement