Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <!-----
- ✧゚・: heh :・゚✧
- larch theme by punkcherries!!
- oso base code by anaarthemes!!
- dont delete the credit k thanks
- u can change the credit img to match ur blog tho!
- jus go down to th bottom of the code n change the url in the img src
- blockthing psphsphsphs
- other than that edit as u please just dont repost as ur own!!
- ----->
- {block:ifsparkles}<script type="text/javascript">
- // <![CDATA[
- var colour="#3AFBFF";
- var sparkles=120;
- /****************************
- * Tinkerbell Magic Sparkle *
- * (c) 2005 mf2fm web-design *
- * http://www.mf2fm.com/rv *
- * DON'T EDIT BELOW THIS BOX *
- ****************************/
- var x=ox=400;
- var y=oy=300;
- var swide=800;
- var shigh=600;
- var sleft=sdown=0;
- var tiny=new Array();
- var star=new Array();
- var starv=new Array();
- var starx=new Array();
- var stary=new Array();
- var tinyx=new Array();
- var tinyy=new Array();
- var tinyv=new Array();
- window.onload=function() { if (document.getElementById) {
- var i, rats, rlef, rdow;
- for (var i=0; i<sparkles; i++) {
- var rats=createDiv(3, 3);
- rats.style.visibility="hidden";
- document.body.appendChild(tiny[i]=rats);
- starv[i]=0;
- tinyv[i]=0;
- var rats=createDiv(5, 5);
- rats.style.backgroundColor="transparent";
- rats.style.visibility="hidden";
- var rlef=createDiv(1, 5);
- var rdow=createDiv(5, 1);
- rats.appendChild(rlef);
- rats.appendChild(rdow);
- rlef.style.top="2px";
- rlef.style.left="0px";
- rdow.style.top="0px";
- rdow.style.left="2px";
- document.body.appendChild(star[i]=rats);
- }
- set_width();
- sparkle();
- }}
- function sparkle() {
- var c;
- if (x!=ox || y!=oy) {
- ox=x;
- oy=y;
- for (c=0; c<sparkles; c++) if (!starv[c]) {
- star[c].style.left=(starx[c]=x)+"px";
- star[c].style.top=(stary[c]=y)+"px";
- star[c].style.clip="rect(0px, 5px, 5px, 0px)";
- star[c].style.visibility="visible";
- starv[c]=50;
- break;
- }
- }
- for (c=0; c<sparkles; c++) {
- if (starv[c]) update_star(c);
- if (tinyv[c]) update_tiny(c);
- }
- setTimeout("sparkle()", 40);
- }
- function update_star(i) {
- if (--starv[i]==25) star[i].style.clip="rect(1px, 4px, 4px, 1px)";
- if (starv[i]) {
- stary[i]+=1+Math.random()*3;
- if (stary[i]<shigh+sdown) {
- star[i].style.top=stary[i]+"px";
- starx[i]+=(i%5-2)/5;
- star[i].style.left=starx[i]+"px";
- }
- else {
- star[i].style.visibility="hidden";
- starv[i]=0;
- return;
- }
- }
- else {
- tinyv[i]=50;
- tiny[i].style.top=(tinyy[i]=stary[i])+"px";
- tiny[i].style.left=(tinyx[i]=starx[i])+"px";
- tiny[i].style.width="2px";
- tiny[i].style.height="2px";
- star[i].style.visibility="hidden";
- tiny[i].style.visibility="visible"
- }
- }
- function update_tiny(i) {
- if (--tinyv[i]==25) {
- tiny[i].style.width="1px";
- tiny[i].style.height="1px";
- }
- if (tinyv[i]) {
- tinyy[i]+=1+Math.random()*3;
- if (tinyy[i]<shigh+sdown) {
- tiny[i].style.top=tinyy[i]+"px";
- tinyx[i]+=(i%5-2)/5;
- tiny[i].style.left=tinyx[i]+"px";
- }
- else {
- tiny[i].style.visibility="hidden";
- tinyv[i]=0;
- return;
- }
- }
- else tiny[i].style.visibility="hidden";
- }
- document.onmousemove=mouse;
- function mouse(e) {
- set_scroll();
- y=(e)?e.pageY:event.y+sdown;
- x=(e)?e.pageX:event.x+sleft;
- }
- function set_scroll() {
- if (typeof(self.pageYOffset)=="number") {
- sdown=self.pageYOffset;
- sleft=self.pageXOffset;
- }
- else if (document.body.scrollTop || document.body.scrollLeft) {
- sdown=document.body.scrollTop;
- sleft=document.body.scrollLeft;
- }
- else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
- sleft=document.documentElement.scrollLeft;
- sdown=document.documentElement.scrollTop;
- }
- else {
- sdown=0;
- sleft=0;
- }
- }
- window.onresize=set_width;
- function set_width() {
- if (typeof(self.innerWidth)=="number") {
- swide=self.innerWidth;
- shigh=self.innerHeight;
- }
- else if (document.documentElement && document.documentElement.clientWidth) {
- swide=document.documentElement.clientWidth;
- shigh=document.documentElement.clientHeight;
- }
- else if (document.body.clientWidth) {
- swide=document.body.clientWidth;
- shigh=document.body.clientHeight;
- }
- }
- function createDiv(height, width) {
- var div=document.createElement("div");
- div.style.position="absolute";
- div.style.height=height+"px";
- div.style.width=width+"px";
- div.style.overflow="hidden";
- div.style.backgroundColor=colour;
- return (div);
- }
- // ]]>
- </script>{/block:ifsparkles}
- <head>
- <title>{Title}{block:PostSummary}: {PostSummary}{/block:PostSummary}</title>
- {block:Description}<meta name="description" content="{MetaDescription}"/>{/block:Description}
- <link rel="shortcut icon" href="{Favicon}"/>
- <link rel="alternate" type="application/rss+xml" href="{RSS}"/>
- <meta name="image:Background" content=""/>
- <meta name="image:Sidebar Image" content=""/>
- <meta name="image:side img" content="">
- <meta name="image:favicon" content="">
- <meta name="color:Background" content="#fffaaa"/>
- <meta name="color:Text" content="#000033"/>
- <meta name="color:Link" content="#5d5d5d"/>
- <meta name="color:Link Hover" content="#c3c3c3"/>
- <meta name="color:post bg" content="#fff"/>
- <meta name="color:sidebar bg" content="fff"/>
- <meta name="text:side img size" content="auto">
- <meta name="text:sidebar bg opacity" content="1">
- <meta name="text:link 1 url" content=""/>
- <meta name="text:link 1 title" content=""/>
- <meta name="text:link 2 url" content=""/>
- <meta name="text:link 2 title" content=""/>
- <meta name="text:link 3 url" content=""/>
- <meta name="text:link 3 title" content=""/>
- <meta name="text:link 4 url" content=""/>
- <meta name="text:link 4 title"content=""/>
- <meta name="if:title"content="0"/>
- <meta name="if:sparkles"content="0"/>
- <meta name="if:fit bg"content="0"/>
- <meta name="select:Sidebar Img Shape" content="
- -moz-border-radius: 70px;
- -webkit-border-radius: 70px;
- border-radius: 70px;" title="Circle">
- <meta name="select:Sidebar Img Shape" content="
- -moz-border-radius: 8px;
- -webkit-border-radius: 8px;
- border-radius: 8px;" title="Rounded">
- <meta name="select:Sidebar Img Shape" content="" title="Square">
- <style type="text/css">
- body {
- background: {color:Background} url('{image:Background}') fixed repeat;
- background-size:{block:iffitbg}cover{/block:iffitbg};
- color: {color:Text};
- font-size: 12px;
- line-height: 120%;
- word-wrap: break-word;
- font-family: monospace, serif;
- }
- h1, h2 {
- font-size: 20px;
- font-weight: bold;
- }
- h3, h4, h5, h6 {
- font-size: 18px;
- font-style: italic;
- }
- a {
- color: {color:Link};
- transition: 0.5s ease-in-out;
- text-decoration: underline;
- transition: 0.5s ease-in-out;
- -webkit-transition: 0.5s ease-in-out;
- -moz-transition: 0.5s ease-in-out;
- -o-transition: 0.5s ease-in-out;
- }
- a:hover {
- color: {color:Link Hover};
- transition: 0.5s ease-in-out;
- -webkit-transition: 0.5s ease-in-out;
- -moz-transition: 0.5s ease-in-out;
- -o-transition: 0.5s ease-in-out;
- }
- blockquote {
- margin: 10px;
- padding-left: 8px;
- border-left: 3px solid #d3d3d3;
- }
- b, strong {
- color: {color:Text};
- }
- i, em, oblique {
- color: {color:Text};
- }
- #container {
- position: relative;
- width: 800px;
- margin: 30px auto;
- }
- #sidebar {
- position: fixed;
- padding: 10px;
- width: 200px;
- margin-left: -50px;
- background: {color:sidebar bg};
- background: {text:sidebar bg opacity};
- border: 1px solid transparent;
- border-radius: 5px;
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- -o-border-radius: 5px;
- }
- #sidebar img {
- width: 160px;
- margin: 20px;
- height: auto;
- border: 1px solid transparent;
- margin-top:
- padding:3px; {select:Sidebar Img Shape}
- }
- #sidebar .description {
- text-align: center;
- padding: 5px;
- border-bottom: 1px dashed #c3c3c3;
- }
- #sidebar .links {
- padding: 4px;
- display: block;
- text-align: center;
- border-bottom: 1px dashed #c3c3c3;
- }
- .posts {
- width: 450px;
- padding: 20px;
- margin: 25px 0 25px 250px;
- background: {color:post bg};
- border: 1px solid transparent;
- border-radius: 5px;
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- -o-border-radius: 5px;
- }
- .posts img, iframe {
- max-width: 100%;
- opacity: 1;
- transition: 0.5s ease-in-out;
- -webkit-transition: 0.5s ease-in-out;
- -moz-transition: 0.5s ease-in-out;
- -o-transition: 0.5s ease-in-out;
- }
- .posts img:hover, iframe:hover {
- opacity: 1;
- transition: 0.5s ease-in-out;
- -webkit-transition: 0.5s ease-in-out;
- -moz-transition: 0.5s ease-in-out;
- -o-transition: 0.5s ease-in-out;
- }
- .info {
- padding: 5px;
- text-align: center;
- background: #fff;
- }
- #credit{
- font-size: 12px;
- text-decoration: none;
- color: #fff;
- position:fixed;
- bottom:0;
- left:0;
- padding:15px;
- padding-bottom:5px;
- </style>
- </head>
- <div id="sideimg">
- <img src='{image:side img}' height={text:side img size} width=fixed style='z-index:-999; position:fixed;bottom:0px; right:0px; ' />
- </div>
- <body>
- <div style="position: fixed; bottom: -5px; right: -5px; z-index: -1;">
- <img src="{image:sideimg}" style="width:{text:sideimgsize};"/>
- </div>
- <div id="container">
- <div id="sidebar">
- {block:iftitle}<div align="center"><h2>{Title}</h2></div>{/block:iftitle}
- <a href="/" title="{title}" ><img src="{image:Sidebar Image}"></a>
- <div class="description">{Description}</div>
- <div class="links">
- <a href="{text:link 1 url}">{text:link 1 title}</a><br>
- <a href="{text:link 2 url}">{text:link 2 title}</a><br>
- <a href="{text:link 3 url}">{text:link 3 title}</a><br>
- <a href="{text:link 4 url}">{text:link 4 title}</a>
- </div>
- {block:Pagination}
- {block:PreviousPage}<a href="{PreviousPage}">{lang:Previous} </a>{/block:PreviousPage}
- {block:NextPage}<a href="{NextPage}"> {lang:Next}</a>{/block:NextPage}
- {/block:Pagination}
- </div>
- {block:Posts}
- <div class="posts">
- {block:Text}
- {block:Title}<h2>{Title}</h2>{/block:Title}
- {Body}
- {/block:Text}
- {block:Photo}
- <img src="{PhotoURL-400}" width="100%">
- {block:Caption}{Caption}{/block:Caption}
- {/block:Photo}
- {block:Photoset}
- {Photoset-400}
- {block:Caption}{Caption}{/block:Caption}
- {/block:Photoset}
- {block:Video}
- {Video-400}
- {block:Caption}{Caption}{/block:Caption}
- {/block:Video}
- {block:Link}
- <a href="{URL}"><h3>{Name}</h3></a>
- {block:Description}{Description}{/block:Description}
- {/block:Link}
- {block:Audio}
- {block:AudioEmbed}
- {AudioEmbed-400}
- {/block:AudioEmbed}
- {block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}
- {block:TrackName}<br>{TrackName}{/block:TrackName}{block:Album} ({Album}) {/block:Album}{block:Artist} — {Artist}{/block:Artist}
- {block:Caption}{Caption}{/block:Caption}
- {/block:Audio}
- {block:Quote}
- <h3>“{Quote}”</h3>
- {block:Source} — {Source} {/block:Source}<br>
- {/block:Quote}
- {block:Chat}
- {block:Title}<h3>{Title}</h3>{/block:Title}
- {block:Lines}
- <li class="{Alt}" style="list-style-type: none;">
- {block:Label}<strong>{Label}</strong> {/block:Label}
- {Line}
- {/block:Lines}
- </div>
- {/block:Chat}
- {block:Answer}
- <em>{lang:Asker asked 2}:</em> {Question}
- <br>
- {Replies}
- {/block:Answer}
- {block:Date}
- <div class="info">
- {lang:Posted TimeAgo} | {block:RebloggedFrom}<a href="{ReblogParentURL}">{lang:Via}</a> |{/block:RebloggedFrom} <a href="{Permalink}">{NoteCountWithLabel}</a>
- {block:HasTags}<br>{lang:Tags}: {block:Tags}<a href="{TagURL}">#{Tag}</a>
- {/block:Tags}{/block:HasTags}
- </div>
- {/block:Date}
- {block:PostNotes}
- {PostNotes}
- {/block:PostNotes}
- </div>
- {/block:Posts}
- </div>
- <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>
- </body>
- </html>
Add Comment
Please, Sign In to add comment