Advertisement
lucitor

needle mountain theme

Mar 23rd, 2018
1,155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.48 KB | None | 0 0
  1. <!--
  2. 。・:*:・゚★,。・:*:・゚☆   。・:*:・゚★,。・:*:・゚☆
  3.  
  4. base code by chraliecox
  5.  
  6. theme by abby yummiland Σd(≧ω≦*) グッ
  7.  
  8. all i ask is dont remove the credit
  9.  
  10. if you have anyquestions or if theres any bugs send me an ask!! i hope u like it ilysm thanks for using!!
  11.  
  12. 。・:*:・゚★,。・:*:・゚☆   。・:*:・゚★,。・:*:・゚☆
  13.  
  14. -->
  15.  
  16. <!DOCTYPE html>
  17.  
  18. <head>
  19. {block:ifcursorsparkles}<script type="text/javascript">
  20. // <![CDATA[
  21. var colour="random"; // in addition to "random" can be set to any valid colour eg "#f0f" or "red"
  22. var sparkles=50;
  23.  
  24. /****************************
  25. * Tinkerbell Magic Sparkle *
  26. *(c)2005-13 mf2fm web-design*
  27. * http://www.mf2fm.com/rv *
  28. * DON'T EDIT BELOW THIS BOX *
  29. ****************************/
  30. var x=ox=400;
  31. var y=oy=300;
  32. var swide=800;
  33. var shigh=600;
  34. var sleft=sdown=0;
  35. var tiny=new Array();
  36. var star=new Array();
  37. var starv=new Array();
  38. var starx=new Array();
  39. var stary=new Array();
  40. var tinyx=new Array();
  41. var tinyy=new Array();
  42. var tinyv=new Array();
  43.  
  44. window.onload=function() { if (document.getElementById) {
  45. var i, rats, rlef, rdow;
  46. for (var i=0; i<sparkles; i++) {
  47. var rats=createDiv(3, 3);
  48. rats.style.visibility="hidden";
  49. rats.style.zIndex="999";
  50. document.body.appendChild(tiny[i]=rats);
  51. starv[i]=0;
  52. tinyv[i]=0;
  53. var rats=createDiv(5, 5);
  54. rats.style.backgroundColor="transparent";
  55. rats.style.visibility="hidden";
  56. rats.style.zIndex="999";
  57. var rlef=createDiv(1, 5);
  58. var rdow=createDiv(5, 1);
  59. rats.appendChild(rlef);
  60. rats.appendChild(rdow);
  61. rlef.style.top="2px";
  62. rlef.style.left="0px";
  63. rdow.style.top="0px";
  64. rdow.style.left="2px";
  65. document.body.appendChild(star[i]=rats);
  66. }
  67. set_width();
  68. sparkle();
  69. }}
  70.  
  71. function sparkle() {
  72. var c;
  73. if (Math.abs(x-ox)>1 || Math.abs(y-oy)>1) {
  74. ox=x;
  75. oy=y;
  76. for (c=0; c<sparkles; c++) if (!starv[c]) {
  77. star[c].style.left=(starx[c]=x)+"px";
  78. star[c].style.top=(stary[c]=y+1)+"px";
  79. star[c].style.clip="rect(0px, 5px, 5px, 0px)";
  80. star[c].childNodes[0].style.backgroundColor=star[c].childNodes[1].style.backgroundColor=(colour=="random")?newColour():colour;
  81. star[c].style.visibility="visible";
  82. starv[c]=50;
  83. break;
  84. }
  85. }
  86. for (c=0; c<sparkles; c++) {
  87. if (starv[c]) update_star(c);
  88. if (tinyv[c]) update_tiny(c);
  89. }
  90. setTimeout("sparkle()", 40);
  91. }
  92.  
  93. function update_star(i) {
  94. if (--starv[i]==25) star[i].style.clip="rect(1px, 4px, 4px, 1px)";
  95. if (starv[i]) {
  96. stary[i]+=1+Math.random()*3;
  97. starx[i]+=(i%5-2)/5;
  98. if (stary[i]<shigh+sdown) {
  99. star[i].style.top=stary[i]+"px";
  100. star[i].style.left=starx[i]+"px";
  101. }
  102. else {
  103. star[i].style.visibility="hidden";
  104. starv[i]=0;
  105. return;
  106. }
  107. }
  108. else {
  109. tinyv[i]=50;
  110. tiny[i].style.top=(tinyy[i]=stary[i])+"px";
  111. tiny[i].style.left=(tinyx[i]=starx[i])+"px";
  112. tiny[i].style.width="2px";
  113. tiny[i].style.height="2px";
  114. tiny[i].style.backgroundColor=star[i].childNodes[0].style.backgroundColor;
  115. star[i].style.visibility="hidden";
  116. tiny[i].style.visibility="visible"
  117. }
  118. }
  119.  
  120. function update_tiny(i) {
  121. if (--tinyv[i]==25) {
  122. tiny[i].style.width="1px";
  123. tiny[i].style.height="1px";
  124. }
  125. if (tinyv[i]) {
  126. tinyy[i]+=1+Math.random()*3;
  127. tinyx[i]+=(i%5-2)/5;
  128. if (tinyy[i]<shigh+sdown) {
  129. tiny[i].style.top=tinyy[i]+"px";
  130. tiny[i].style.left=tinyx[i]+"px";
  131. }
  132. else {
  133. tiny[i].style.visibility="hidden";
  134. tinyv[i]=0;
  135. return;
  136. }
  137. }
  138. else tiny[i].style.visibility="hidden";
  139. }
  140.  
  141. document.onmousemove=mouse;
  142. function mouse(e) {
  143. if (e) {
  144. y=e.pageY;
  145. x=e.pageX;
  146. }
  147. else {
  148. set_scroll();
  149. y=event.y+sdown;
  150. x=event.x+sleft;
  151. }
  152. }
  153.  
  154. window.onscroll=set_scroll;
  155. function set_scroll() {
  156. if (typeof(self.pageYOffset)=='number') {
  157. sdown=self.pageYOffset;
  158. sleft=self.pageXOffset;
  159. }
  160. else if (document.body && (document.body.scrollTop || document.body.scrollLeft)) {
  161. sdown=document.body.scrollTop;
  162. sleft=document.body.scrollLeft;
  163. }
  164. else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
  165. sleft=document.documentElement.scrollLeft;
  166. sdown=document.documentElement.scrollTop;
  167. }
  168. else {
  169. sdown=0;
  170. sleft=0;
  171. }
  172. }
  173.  
  174. window.onresize=set_width;
  175. function set_width() {
  176. var sw_min=999999;
  177. var sh_min=999999;
  178. if (document.documentElement && document.documentElement.clientWidth) {
  179. if (document.documentElement.clientWidth>0) sw_min=document.documentElement.clientWidth;
  180. if (document.documentElement.clientHeight>0) sh_min=document.documentElement.clientHeight;
  181. }
  182. if (typeof(self.innerWidth)=='number' && self.innerWidth) {
  183. if (self.innerWidth>0 && self.innerWidth<sw_min) sw_min=self.innerWidth;
  184. if (self.innerHeight>0 && self.innerHeight<sh_min) sh_min=self.innerHeight;
  185. }
  186. if (document.body.clientWidth) {
  187. if (document.body.clientWidth>0 && document.body.clientWidth<sw_min) sw_min=document.body.clientWidth;
  188. if (document.body.clientHeight>0 && document.body.clientHeight<sh_min) sh_min=document.body.clientHeight;
  189. }
  190. if (sw_min==999999 || sh_min==999999) {
  191. sw_min=800;
  192. sh_min=600;
  193. }
  194. swide=sw_min;
  195. shigh=sh_min;
  196. }
  197.  
  198. function createDiv(height, width) {
  199. var div=document.createElement("div");
  200. div.style.position="absolute";
  201. div.style.height=height+"px";
  202. div.style.width=width+"px";
  203. div.style.overflow="hidden";
  204. return (div);
  205. }
  206.  
  207. function newColour() {
  208. var c=new Array();
  209. c[0]=255;
  210. c[1]=Math.floor(Math.random()*256);
  211. c[2]=Math.floor(Math.random()*(256-c[1]/2));
  212. c.sort(function(){return (0.5 - Math.random());});
  213. return ("rgb("+c[0]+", "+c[1]+", "+c[2]+")");
  214. }
  215. // ]]>
  216. </script>{/block:ifcursorsparkles}
  217. <title>{Title}</title>
  218.  
  219. <link rel="shortcut icon" href="{Favicon}">
  220. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  221. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  222.  
  223. <!--Default Variables-->
  224.  
  225. <meta name="color:background" content="#ffffff"/>
  226. <meta name="color:post bg" content="#2b2b2b"/>
  227. <meta name="color:text" content="#2b2b2b"/>
  228. <meta name="color:link" content="#2b2b2b"/>
  229. <meta name="color:link hover" content="#949494"/>
  230. <meta name="color:blockquote" content="#dadada"/>
  231. <meta name="color:post border" content="#2b2b2b"/>
  232.  
  233. <meta name="image:sidebar" content=""/>
  234. <meta name="image:background" content=""/>
  235.  
  236. <meta name="image:home" content="/"/>
  237. <meta name="image:ask" content="/ask"/>
  238. <meta name="text:home" content=""/>
  239. <meta name="text:ask" content=""/>
  240. <meta name="image:link 1" content=""/>
  241. <meta name="text:link 1 URL" content=""/>
  242. <meta name="image:sidebar bg" content=""/>
  243.  
  244. <meta name="if:desc" content="" />
  245. <meta name="if:searchbar" content="" />
  246. <meta name="if:permalink" content="" />
  247. <meta name="if:title" content="" />
  248. <meta name="if:tags" content="" />
  249. <meta name="if:cursorsparkles" content="" />
  250.  
  251. <meta name="text:title size" content="" />
  252. <meta name="text:searchbar text" content=""/>
  253.  
  254.  
  255.  
  256. <!--eeeeeeeee -->
  257.  
  258.  
  259. <style type="text/css">
  260.  
  261. #s-m-t-tooltip{
  262. position:absolute;
  263. margin-top: 15px;
  264. z-index:9999;
  265. background:{color:background};
  266. }
  267.  
  268. /*basics*/
  269.  
  270. blockquote {
  271. padding-left:12px;
  272. border-left:1px solid {color:blockquote};
  273. margin-left:8px;
  274. }
  275.  
  276. ul {
  277. list-style:none;
  278. text-align:left;
  279. padding-left:0;
  280. }
  281.  
  282. li {
  283. position:relative;
  284. padding-left:30px;
  285. }
  286.  
  287. ul li:before {
  288. position:absolute;
  289. left:15px;
  290. vertical-align:baseline!important;
  291. content:'›';
  292. }
  293.  
  294. body {
  295. background:{color:background};
  296. background: {color:Background} url('{image:Background}') repeat;
  297. color:{color:text};
  298. font-family:arial;
  299. font-size:18px;
  300. margin:0;
  301. text-align:justify;
  302. line-height:24px;
  303. }
  304.  
  305. a {
  306. color:{color:link};
  307. -moz-transition-duration:0.4s;
  308. -webkit-transition-duration:0.4s;
  309. -o-transition-duration:0.4s;
  310. text-decoration:none;
  311. }
  312.  
  313. a:hover {
  314. color:{color:link hover};
  315. -moz-transition-duration:0.4s;
  316. -webkit-transition-duration:0.4s;
  317. -o-transition-duration:0.4s;
  318. }
  319.  
  320. img {
  321. opacity:1;
  322. border:none;
  323. text-decoration:none;
  324. }
  325.  
  326. small {
  327. font-size:15px;
  328. }
  329.  
  330. big {
  331. font-size:18px;
  332. }
  333.  
  334. #title {
  335. line-height:18px;
  336. margin-bottom:10px;
  337. font-weight:bold;
  338. text-transform:none;
  339. text-align:center;
  340. }
  341.  
  342. /*sidebar*/
  343.  
  344. #sidebar {
  345. text-align:center;
  346. position:fixed;
  347. margin-left:-360px;
  348. margin-top:94px;
  349. width:290px;
  350. box-shadow: 0 0 5px 2px {color:post border};
  351. padding: 10px;
  352. background:{color:post bg};
  353. }
  354.  
  355. #sidebar .title {
  356. font-size: {text:title size};
  357. margin-bottom: 5px;
  358. width:290px;
  359. }
  360.  
  361. #sidebar img {
  362. width:240px;
  363. }
  364.  
  365. #links {
  366. font-size:18px;
  367. margin-top:10px;
  368. text-align:center;
  369. font-weight: bold;
  370. }
  371.  
  372. #links img {
  373. width: auto;
  374. border-radius:0px;
  375. }
  376.  
  377. #links a {
  378. margin-bottom:0px;
  379. -moz-transition-duration:0.4s;
  380. -webkit-transition-duration:0.4s;
  381. -o-transition-duration:0.4s;
  382. }
  383.  
  384. #description {
  385. margin-top:10px;
  386. text-align:center;
  387. }
  388.  
  389. /*pagination*/
  390.  
  391. #pagination {
  392. text-transform:lowercase;
  393. text-align:center;
  394. font-size:17px;
  395. margin-bottom:120px;
  396. }
  397.  
  398. #pagination a {
  399. padding:0 3px;
  400. }
  401.  
  402. /*container*/
  403.  
  404. #con {
  405. left:50%;
  406. margin-left:-140px;
  407. position:absolute;
  408. }
  409.  
  410. /*posts*/
  411.  
  412. #entries {
  413. margin-top:95px;
  414. width:500px;
  415. }
  416.  
  417. #posts {
  418. width:470px;
  419. {block:IndexPage}
  420. margin-bottom:80px;
  421. {/block:IndexPage}
  422. {block:PermalinkPage}
  423. margin-bottom:50px;
  424. {/block:PermalinkPage}
  425. background:{color:post bg};
  426. box-shadow: 0 0 5px 2px {color:post border};
  427. padding: 10px;
  428. }
  429.  
  430. #posts img {
  431. max-width:470px;
  432. }
  433.  
  434. #posts img, #posts li, #posts blockquote {
  435. max-width: 100%;
  436. }
  437.  
  438. .caption {
  439. width:100%;
  440. margin-top:13px;
  441. margin-bottom:12px;
  442. }
  443.  
  444. a.tumblr_blog {
  445. font-weight:bold;
  446. -moz-transition-duration:0.4s;
  447. -webkit-transition-duration:0.4s;
  448. -o-transition-duration:0.4s;
  449. }
  450.  
  451. /*quote*/
  452.  
  453. #titlequote {
  454. text-align:left;
  455. font-size:18px;
  456. line-height:17px;
  457. font-weight:bold;
  458. }
  459.  
  460. #source {
  461. margin-top:0px;
  462. margin-bottom:11px;
  463. margin-left:0px;
  464. }
  465.  
  466. /*asks*/
  467.  
  468. .q {
  469. line-height:17px;
  470. font-size:17px;
  471. }
  472.  
  473. .as {
  474. font-weight:normal;
  475. }
  476.  
  477. .a {
  478. margin-top:13px;
  479. }
  480.  
  481. /*chat*/
  482.  
  483. .chat ol {
  484. padding:0;
  485. list-style:none;
  486. }
  487.  
  488. .line {
  489. padding:0px 0;
  490. }
  491.  
  492. .label {
  493. font-weight:bold;
  494. }
  495.  
  496. /*permalink and notes*/
  497.  
  498. #permalink {
  499. font-size:22px;
  500. text-align:center;
  501. margin-top:9px;
  502. text-transform:uppercase;
  503. padding:10px;
  504. text-decoration:none;
  505. }
  506.  
  507. #permalink a {
  508. margin-right:0px;
  509. }
  510.  
  511. .tags {
  512. font-size:20px;
  513. text-transform:none;
  514. }
  515.  
  516. .pagenotes {
  517. {block:IndexPage}
  518. display: none!important;
  519. {/block:IndexPage}
  520. width:500px;
  521. text-align:left;
  522. }
  523.  
  524. .pagenotes img {
  525. display:none!important;
  526. }
  527.  
  528. .pagenotes li {
  529. list-style-type:none;
  530. padding:2px 0px;
  531. text-align:left;
  532. margin:0 0 0 -40px;
  533. }
  534.  
  535. {CustomCSS}
  536.  
  537. </style>
  538.  
  539. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  540. <script src ="//static.tumblr.com/fwgzvyf/l6jnyutne/shythemes.vr.js"></script>
  541.  
  542. </head>
  543.  
  544. <body>
  545.  
  546. <div id="con">
  547.  
  548. <div id="sidebar">
  549.  
  550. {block:iftitle}
  551. <div class="title">
  552. <b>{Title}</b>
  553. </div>
  554. {/block:iftitle}
  555. <div id="sidebar img"><img src="{image:sidebar}"></div>
  556.  
  557.  
  558. {block:ifdesc}<div id="description">{Description}</div>{/block:ifdesc}
  559. {block:ifsearchbar}<form action="/search" method="get">
  560. <input type="text" name="q" value="{SearchQuery}"/>
  561. <input type="submit" value="{text:searchbar text}"/>
  562. </form>{/block:ifsearchbar}
  563.  
  564. <div id="links">
  565. <a href="{text:home}" title="{Text:home}"><img src="{image:home}"></a>
  566. <a href="{text:ask}" title="{Text:ask}"><img src="{image:ask}"></a>
  567. <a href="{text:link 1 URL}" title="{Text:link 1}"><img src="{image:link 1}"></a>
  568. </div>
  569.  
  570. </div>
  571.  
  572. <div id="entries">
  573.  
  574.  
  575. {block:Posts}
  576.  
  577. <div id="posts">
  578.  
  579. {block:Quote}
  580. <div id="titlequote"><i class="fa fa-quote-left"></i>&nbsp; {Quote} &nbsp;<i class="fa fa-quote-right"></i></div>
  581. {block:Source}<div id="source">&mdash; {Source}</div>{/block:Source}
  582. {/block:Quote}
  583.  
  584. {block:Text}
  585. {block:Title}
  586. <div id="title">{Title}</div>{/block:Title}
  587. {Body}
  588. {/block:Text}
  589.  
  590. {block:link}
  591. <div id="title"><a href="{URL}"><i class="fa fa-link"></i>&nbsp; {Name}</a></div>
  592. {block:Description}{Description}{/block:Description}
  593. {/block:link}
  594.  
  595. {block:Chat}
  596. {block:Title}
  597. <div id="title">{Title}</div>{/block:Title}
  598. {/block:Text}
  599. {block:lines}
  600. {block:label}
  601. <br><b>{label}</b>
  602. {/block:label}
  603. {line}
  604. {/block:lines}
  605. {/block:Chat}
  606.  
  607. {block:Photo}
  608. {linkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{linkCloseTag}
  609. {/block:Photo}
  610.  
  611. {block:Photoset}
  612. {Photoset-500}
  613. {/block:Photoset}
  614.  
  615. <div class="video">{Video-500}</div>
  616.  
  617. {block:Audio}
  618. {block:AudioEmbed}{AudioEmbed-400}{/block:AudioEmbed}
  619. {/block:Audio}
  620.  
  621. {block:Answer}
  622. <div class="q">
  623. <div class="as"> <b><big>{Asker} asked:</big></b>
  624. {Question}</div></div>
  625. <div class="a">{Answer}</div>
  626. {/block:Answer}
  627.  
  628. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  629.  
  630. <!-- {block:ContentSource} {SourceURL} {/block:ContentSource} {block:RebloggedFrom} {ReblogRootURL} {ReblogParentURL} {/block:RebloggedFrom} -->
  631.  
  632. {block:Date}
  633. <div id="permalink">
  634. {block:ifpermalink}<a href="{Permalink}" ><b>{ShortMonth} {DayOfMonthWithSuffix}</b></a>
  635. {block:NoteCount} with <a href="{Permalink}">{NoteCountWithLabel}!</a>{/block:NoteCount}<div style="float:right;">{block:RebloggedFrom}<a href="{ReblogParentURL}" title="{ReblogParentName}"></a>{block:ContentSource} <a href="{ReblogRootURL}" title="{ReblogRootName}"></a>{/block:ContentSource}{/block:RebloggedFrom}</div>{/block:ifpermalink}
  636. {block:Date}
  637. {block:iftags}{block:HasTags}<div class="tags">{block:Tags}<a href="{TagUrl}">#{Tag}</a>&nbsp;&nbsp;{/block:Tags}</div>{/block:HasTags}{/block:iftags}
  638. </div>
  639.  
  640. {/block:Date}
  641.  
  642. </div>
  643.  
  644. {block:PostNotes}
  645. <div class="pagenotes">
  646. {PostNotes}
  647. </div>
  648. {/block:PostNotes}
  649.  
  650. {/block:Posts}
  651.  
  652. <div id="pagination">
  653. {block:Pagination}
  654. {block:PreviousPage}
  655. <a href="{PreviousPage}">BACK</a>
  656. {/block:PreviousPage}
  657.  
  658.  
  659. {block:NextPage}
  660. <a href="{NextPage}">NEXT</a>
  661. {/block:NextPage}
  662. {/block:Pagination}
  663. </div>
  664.  
  665. </div>
  666.  
  667. </div>
  668.  
  669. <div style="position:fixed;bottom:10px;opacity:1;right:20px;padding:px;font-size:19px;font-weight:normal;"><a title="theme by abby
  670. ヾ(@⌒ー⌒@)ノ" href="https://yummiland.tumblr.com/"><img src="https://78.media.tumblr.com/0065d8dfad299d195dc01035ef1a96b5/tumblr_inline_p60nz8KgZQ1vek0u1_500.png"></a></div></body></html></body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement