sombrematsu

larch theme :・゚✧

Mar 8th, 2017
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.13 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <!-----
  4. ✧゚・: heh :・゚✧
  5.  
  6. larch theme by punkcherries!!
  7. oso base code by anaarthemes!!
  8.  
  9. dont delete the credit k thanks
  10. u can change the credit img to match ur blog tho!
  11. jus go down to th bottom of the code n change the url in the img src
  12. blockthing psphsphsphs
  13. other than that edit as u please just dont repost as ur own!!
  14. ----->
  15. {block:ifsparkles}<script type="text/javascript">
  16. // <![CDATA[
  17. var colour="#3AFBFF";
  18. var sparkles=120;
  19.  
  20. /****************************
  21. * Tinkerbell Magic Sparkle *
  22. * (c) 2005 mf2fm web-design *
  23. * http://www.mf2fm.com/rv *
  24. * DON'T EDIT BELOW THIS BOX *
  25. ****************************/
  26. var x=ox=400;
  27. var y=oy=300;
  28. var swide=800;
  29. var shigh=600;
  30. var sleft=sdown=0;
  31. var tiny=new Array();
  32. var star=new Array();
  33. var starv=new Array();
  34. var starx=new Array();
  35. var stary=new Array();
  36. var tinyx=new Array();
  37. var tinyy=new Array();
  38. var tinyv=new Array();
  39.  
  40. window.onload=function() { if (document.getElementById) {
  41. var i, rats, rlef, rdow;
  42. for (var i=0; i<sparkles; i++) {
  43. var rats=createDiv(3, 3);
  44. rats.style.visibility="hidden";
  45. document.body.appendChild(tiny[i]=rats);
  46. starv[i]=0;
  47. tinyv[i]=0;
  48. var rats=createDiv(5, 5);
  49. rats.style.backgroundColor="transparent";
  50. rats.style.visibility="hidden";
  51. var rlef=createDiv(1, 5);
  52. var rdow=createDiv(5, 1);
  53. rats.appendChild(rlef);
  54. rats.appendChild(rdow);
  55. rlef.style.top="2px";
  56. rlef.style.left="0px";
  57. rdow.style.top="0px";
  58. rdow.style.left="2px";
  59. document.body.appendChild(star[i]=rats);
  60. }
  61. set_width();
  62. sparkle();
  63. }}
  64.  
  65. function sparkle() {
  66. var c;
  67. if (x!=ox || y!=oy) {
  68. ox=x;
  69. oy=y;
  70. for (c=0; c<sparkles; c++) if (!starv[c]) {
  71. star[c].style.left=(starx[c]=x)+"px";
  72. star[c].style.top=(stary[c]=y)+"px";
  73. star[c].style.clip="rect(0px, 5px, 5px, 0px)";
  74. star[c].style.visibility="visible";
  75. starv[c]=50;
  76. break;
  77. }
  78. }
  79. for (c=0; c<sparkles; c++) {
  80. if (starv[c]) update_star(c);
  81. if (tinyv[c]) update_tiny(c);
  82. }
  83. setTimeout("sparkle()", 40);
  84. }
  85.  
  86. function update_star(i) {
  87. if (--starv[i]==25) star[i].style.clip="rect(1px, 4px, 4px, 1px)";
  88. if (starv[i]) {
  89. stary[i]+=1+Math.random()*3;
  90. if (stary[i]<shigh+sdown) {
  91. star[i].style.top=stary[i]+"px";
  92. starx[i]+=(i%5-2)/5;
  93. star[i].style.left=starx[i]+"px";
  94. }
  95. else {
  96. star[i].style.visibility="hidden";
  97. starv[i]=0;
  98. return;
  99. }
  100. }
  101. else {
  102. tinyv[i]=50;
  103. tiny[i].style.top=(tinyy[i]=stary[i])+"px";
  104. tiny[i].style.left=(tinyx[i]=starx[i])+"px";
  105. tiny[i].style.width="2px";
  106. tiny[i].style.height="2px";
  107. star[i].style.visibility="hidden";
  108. tiny[i].style.visibility="visible"
  109. }
  110. }
  111.  
  112. function update_tiny(i) {
  113. if (--tinyv[i]==25) {
  114. tiny[i].style.width="1px";
  115. tiny[i].style.height="1px";
  116. }
  117. if (tinyv[i]) {
  118. tinyy[i]+=1+Math.random()*3;
  119. if (tinyy[i]<shigh+sdown) {
  120. tiny[i].style.top=tinyy[i]+"px";
  121. tinyx[i]+=(i%5-2)/5;
  122. tiny[i].style.left=tinyx[i]+"px";
  123. }
  124. else {
  125. tiny[i].style.visibility="hidden";
  126. tinyv[i]=0;
  127. return;
  128. }
  129. }
  130. else tiny[i].style.visibility="hidden";
  131. }
  132.  
  133. document.onmousemove=mouse;
  134. function mouse(e) {
  135. set_scroll();
  136. y=(e)?e.pageY:event.y+sdown;
  137. x=(e)?e.pageX:event.x+sleft;
  138. }
  139.  
  140. function set_scroll() {
  141. if (typeof(self.pageYOffset)=="number") {
  142. sdown=self.pageYOffset;
  143. sleft=self.pageXOffset;
  144. }
  145. else if (document.body.scrollTop || document.body.scrollLeft) {
  146. sdown=document.body.scrollTop;
  147. sleft=document.body.scrollLeft;
  148. }
  149. else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
  150. sleft=document.documentElement.scrollLeft;
  151. sdown=document.documentElement.scrollTop;
  152. }
  153. else {
  154. sdown=0;
  155. sleft=0;
  156. }
  157. }
  158.  
  159. window.onresize=set_width;
  160. function set_width() {
  161. if (typeof(self.innerWidth)=="number") {
  162. swide=self.innerWidth;
  163. shigh=self.innerHeight;
  164. }
  165. else if (document.documentElement && document.documentElement.clientWidth) {
  166. swide=document.documentElement.clientWidth;
  167. shigh=document.documentElement.clientHeight;
  168. }
  169. else if (document.body.clientWidth) {
  170. swide=document.body.clientWidth;
  171. shigh=document.body.clientHeight;
  172. }
  173. }
  174.  
  175. function createDiv(height, width) {
  176. var div=document.createElement("div");
  177. div.style.position="absolute";
  178. div.style.height=height+"px";
  179. div.style.width=width+"px";
  180. div.style.overflow="hidden";
  181. div.style.backgroundColor=colour;
  182. return (div);
  183. }
  184. // ]]>
  185. </script>{/block:ifsparkles}
  186.  
  187. <head>
  188.  
  189.  
  190. <title>{Title}{block:PostSummary}: {PostSummary}{/block:PostSummary}</title>
  191. {block:Description}<meta name="description" content="{MetaDescription}"/>{/block:Description}
  192. <link rel="shortcut icon" href="{Favicon}"/>
  193. <link rel="alternate" type="application/rss+xml" href="{RSS}"/>
  194.  
  195. <meta name="image:Background" content=""/>
  196. <meta name="image:Sidebar Image" content=""/>
  197. <meta name="image:side img" content="">
  198. <meta name="image:favicon" content="">
  199.  
  200. <meta name="color:Background" content="#fffaaa"/>
  201. <meta name="color:Text" content="#000033"/>
  202. <meta name="color:Link" content="#5d5d5d"/>
  203. <meta name="color:Link Hover" content="#c3c3c3"/>
  204. <meta name="color:post bg" content="#fff"/>
  205. <meta name="color:sidebar bg" content="fff"/>
  206.  
  207. <meta name="text:side img size" content="auto">
  208. <meta name="text:sidebar bg opacity" content="1">
  209. <meta name="text:link 1 url" content=""/>
  210. <meta name="text:link 1 title" content=""/>
  211. <meta name="text:link 2 url" content=""/>
  212. <meta name="text:link 2 title" content=""/>
  213. <meta name="text:link 3 url" content=""/>
  214. <meta name="text:link 3 title" content=""/>
  215. <meta name="text:link 4 url" content=""/>
  216. <meta name="text:link 4 title"content=""/>
  217.  
  218. <meta name="if:title"content="0"/>
  219. <meta name="if:sparkles"content="0"/>
  220. <meta name="if:fit bg"content="0"/>
  221.  
  222. <meta name="select:Sidebar Img Shape" content="
  223. -moz-border-radius: 70px;
  224. -webkit-border-radius: 70px;
  225. border-radius: 70px;" title="Circle">
  226. <meta name="select:Sidebar Img Shape" content="
  227. -moz-border-radius: 8px;
  228. -webkit-border-radius: 8px;
  229. border-radius: 8px;" title="Rounded">
  230. <meta name="select:Sidebar Img Shape" content="" title="Square">
  231.  
  232. <style type="text/css">
  233.  
  234. body {
  235. background: {color:Background} url('{image:Background}') fixed repeat;
  236. background-size:{block:iffitbg}cover{/block:iffitbg};
  237. color: {color:Text};
  238. font-size: 12px;
  239. line-height: 120%;
  240. word-wrap: break-word;
  241. font-family: monospace, serif;
  242. }
  243.  
  244. h1, h2 {
  245. font-size: 20px;
  246. font-weight: bold;
  247. }
  248.  
  249. h3, h4, h5, h6 {
  250. font-size: 18px;
  251. font-style: italic;
  252. }
  253.  
  254. a {
  255. color: {color:Link};
  256. transition: 0.5s ease-in-out;
  257. text-decoration: underline;
  258. transition: 0.5s ease-in-out;
  259. -webkit-transition: 0.5s ease-in-out;
  260. -moz-transition: 0.5s ease-in-out;
  261. -o-transition: 0.5s ease-in-out;
  262. }
  263.  
  264. a:hover {
  265. color: {color:Link Hover};
  266. transition: 0.5s ease-in-out;
  267. -webkit-transition: 0.5s ease-in-out;
  268. -moz-transition: 0.5s ease-in-out;
  269. -o-transition: 0.5s ease-in-out;
  270. }
  271.  
  272. blockquote {
  273. margin: 10px;
  274. padding-left: 8px;
  275. border-left: 3px solid #d3d3d3;
  276. }
  277.  
  278. b, strong {
  279. color: {color:Text};
  280. }
  281.  
  282. i, em, oblique {
  283. color: {color:Text};
  284. }
  285.  
  286. #container {
  287. position: relative;
  288. width: 800px;
  289. margin: 30px auto;
  290. }
  291.  
  292. #sidebar {
  293. position: fixed;
  294. padding: 10px;
  295. width: 200px;
  296. margin-left: -50px;
  297. background: {color:sidebar bg};
  298. background: {text:sidebar bg opacity};
  299. border: 1px solid transparent;
  300. border-radius: 5px;
  301. -webkit-border-radius: 5px;
  302. -moz-border-radius: 5px;
  303. -o-border-radius: 5px;
  304. }
  305.  
  306.  
  307. #sidebar img {
  308. width: 160px;
  309. margin: 20px;
  310. height: auto;
  311. border: 1px solid transparent;
  312. margin-top:
  313. padding:3px; {select:Sidebar Img Shape}
  314. }
  315.  
  316. #sidebar .description {
  317. text-align: center;
  318. padding: 5px;
  319. border-bottom: 1px dashed #c3c3c3;
  320. }
  321.  
  322. #sidebar .links {
  323. padding: 4px;
  324. display: block;
  325. text-align: center;
  326. border-bottom: 1px dashed #c3c3c3;
  327. }
  328.  
  329. .posts {
  330. width: 450px;
  331. padding: 20px;
  332. margin: 25px 0 25px 250px;
  333. background: {color:post bg};
  334. border: 1px solid transparent;
  335. border-radius: 5px;
  336. -webkit-border-radius: 5px;
  337. -moz-border-radius: 5px;
  338. -o-border-radius: 5px;
  339.  
  340. }
  341.  
  342. .posts img, iframe {
  343. max-width: 100%;
  344. opacity: 1;
  345. transition: 0.5s ease-in-out;
  346. -webkit-transition: 0.5s ease-in-out;
  347. -moz-transition: 0.5s ease-in-out;
  348. -o-transition: 0.5s ease-in-out;
  349. }
  350.  
  351. .posts img:hover, iframe:hover {
  352. opacity: 1;
  353. transition: 0.5s ease-in-out;
  354. -webkit-transition: 0.5s ease-in-out;
  355. -moz-transition: 0.5s ease-in-out;
  356. -o-transition: 0.5s ease-in-out;
  357. }
  358.  
  359. .info {
  360. padding: 5px;
  361. text-align: center;
  362. background: #fff;
  363. }
  364.  
  365. #credit{
  366. font-size: 12px;
  367. text-decoration: none;
  368. color: #fff;
  369. position:fixed;
  370. bottom:0;
  371. left:0;
  372. padding:15px;
  373. padding-bottom:5px;
  374.  
  375. </style>
  376.  
  377. </head>
  378.  
  379. <div id="sideimg">
  380. <img src='{image:side img}' height={text:side img size} width=fixed style='z-index:-999; position:fixed;bottom:0px; right:0px; ' />
  381. </div>
  382.  
  383. <body>
  384.  
  385. <div style="position: fixed; bottom: -5px; right: -5px; z-index: -1;">
  386. <img src="{image:sideimg}" style="width:{text:sideimgsize};"/>
  387. </div>
  388.  
  389. <div id="container">
  390.  
  391. <div id="sidebar">
  392.  
  393. {block:iftitle}<div align="center"><h2>{Title}</h2></div>{/block:iftitle}
  394.  
  395. <a href="/" title="{title}" ><img src="{image:Sidebar Image}"></a>
  396.  
  397. <div class="description">{Description}</div>
  398.  
  399. <div class="links">
  400. <a href="{text:link 1 url}">{text:link 1 title}</a><br>
  401. <a href="{text:link 2 url}">{text:link 2 title}</a><br>
  402. <a href="{text:link 3 url}">{text:link 3 title}</a><br>
  403. <a href="{text:link 4 url}">{text:link 4 title}</a>
  404. </div>
  405.  
  406. {block:Pagination}
  407. {block:PreviousPage}<a href="{PreviousPage}">{lang:Previous}&nbsp;</a>{/block:PreviousPage}
  408. {block:NextPage}<a href="{NextPage}">&nbsp;{lang:Next}</a>{/block:NextPage}
  409. {/block:Pagination}
  410.  
  411. </div>
  412.  
  413. {block:Posts}
  414. <div class="posts">
  415.  
  416. {block:Text}
  417. {block:Title}<h2>{Title}</h2>{/block:Title}
  418. {Body}
  419. {/block:Text}
  420.  
  421. {block:Photo}
  422. <img src="{PhotoURL-400}" width="100%">
  423. {block:Caption}{Caption}{/block:Caption}
  424. {/block:Photo}
  425.  
  426. {block:Photoset}
  427. {Photoset-400}
  428. {block:Caption}{Caption}{/block:Caption}
  429. {/block:Photoset}
  430.  
  431. {block:Video}
  432. {Video-400}
  433. {block:Caption}{Caption}{/block:Caption}
  434. {/block:Video}
  435.  
  436. {block:Link}
  437. <a href="{URL}"><h3>{Name}</h3></a>
  438. {block:Description}{Description}{/block:Description}
  439. {/block:Link}
  440.  
  441. {block:Audio}
  442. {block:AudioEmbed}
  443. {AudioEmbed-400}
  444. {/block:AudioEmbed}
  445. {block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}
  446. {block:TrackName}<br>{TrackName}{/block:TrackName}{block:Album} ({Album}) {/block:Album}{block:Artist} — {Artist}{/block:Artist}
  447. {block:Caption}{Caption}{/block:Caption}
  448. {/block:Audio}
  449.  
  450. {block:Quote}
  451. <h3>“{Quote}”</h3>
  452. {block:Source} — {Source} {/block:Source}<br>
  453. {/block:Quote}
  454.  
  455. {block:Chat}
  456. {block:Title}<h3>{Title}</h3>{/block:Title}
  457. {block:Lines}
  458. <li class="{Alt}" style="list-style-type: none;">
  459. {block:Label}<strong>{Label}</strong> {/block:Label}
  460. {Line}
  461. {/block:Lines}
  462. </div>
  463. {/block:Chat}
  464.  
  465. {block:Answer}
  466. <em>{lang:Asker asked 2}:</em> {Question}
  467. <br>
  468. {Replies}
  469. {/block:Answer}
  470.  
  471. {block:Date}
  472. <div class="info">
  473. {lang:Posted TimeAgo} | {block:RebloggedFrom}<a href="{ReblogParentURL}">{lang:Via}</a> |{/block:RebloggedFrom} <a href="{Permalink}">{NoteCountWithLabel}</a>
  474. {block:HasTags}<br>{lang:Tags}: {block:Tags}<a href="{TagURL}">#{Tag}</a>&nbsp;
  475. {/block:Tags}{/block:HasTags}
  476. </div>
  477. {/block:Date}
  478.  
  479. {block:PostNotes}
  480. {PostNotes}
  481. {/block:PostNotes}
  482.  
  483. </div>
  484. {/block:Posts}
  485.  
  486.  
  487. </div>
  488.  
  489. <div id="credit"><a href="http://punkcherries.tumblr.com/" title="theme credit"><img src="http://orig12.deviantart.net/8852/f/2015/042/c/1/pixel_rose___blue_version_by_emoticonpixel-d8hlio0.png"></a></div></div>
  490.  
  491. </body>
  492.  
  493. </html>
Add Comment
Please, Sign In to add comment