Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- Read me please! (:
- One Thing Theme - made by showerofthemes
- Please do not remove this code from the HTML, it will NOT show up on your
- blog. If you do, Harry Styles will never love you.
- If you would like to remove the theme credit that does show on the page,
- there is a check mark on the Appearance page, although I would love if
- you kept it on there.
- The Fireworks on this theme are also removable via the customize page.
- This theme has only been tested on Google Chrome, although, if you
- are not using Google Chrome, why are you on Tumblr.
- I have tested everything and as I see, everything is working fine. If you see ANY issues, feel free to stop by and tell me.
- showerofthemes.tumblr.com/ask
- Oh, and if you want, Follow my "non-theme" blog at,
- thediaryofahomosexual.tumblr.com/
- Thank you for choosing my theme!
- -->
- <head>
- <meta name="color:Background" content="#FFFFFF" />
- <meta name="color:Text" content="#808080" />
- <meta name="color:Linkcolor" content="#cd2033" />
- <meta name="color:Linkhover" content="#4b05f7" />
- <meta name="color:Linkbar" content="#FFFFFF" />
- <meta name="color:Entry" content="#FFFFFFF" />
- <meta name="color:Scrollbar" content="#808080" />
- <meta name="if:Show Theme Credit" content="1"/>
- <meta name="if:Use 1D Cursor" content="1"/>
- <meta name="if:1D Badge" content="1">
- <meta name="if:Fireworks" content="1">
- <meta name="font:Title" content="calibri" />
- <meta name="font:Body" content="calibri" />
- <meta name="image:Sidebar" content="http://static.tumblr.com/kppkhmy/kfAm7zte4/tumblr_m7x93ipbcy1rvjk8mo1_500.png"/>
- <meta name="image:Background" content="" />
- <meta name="text:About Page URL" content="/me">
- <meta name="text:Ask Page URL" content="/ask">
- <meta name="text:Link 1" content="" />
- <meta name="text:Link 1 URL" content="" />
- <meta name="text:Link 2" content="" />
- <meta name="text:Link 2 URL" content="" />
- <meta name="text:Link 3" content="" />
- <meta name="text:Link 3 URL" content="" />
- <meta name="text:Link 4" content="" />
- <meta name="text:Link 4 URL" content="" />
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>{Title}</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}" />
- <style type="text/css">
- .cred {
- position:fixed;
- left:0px;
- bottom:0px; }
- .fireworks {
- position:fixed;
- left:700px;
- bottom:0px; }
- @font-face { font-family: "oned"; src: url('http://static.tumblr.com/ngzxdtm/KNvm7cgvr/onedirection.ttf'); }
- iframe#tumblr_controls {
- top: 0% !important;
- right:0% !important;
- position: fixed !important;}
- ::-webkit-scrollbar {
- height: 12px;
- width: 12px;
- }
- ::-webkit-scrollbar-thumb {
- background-color:{color:scrollbar};
- }
- ::-webkit-scrollbar-track{
- background-color:{color:background};opacity:0;
- }
- ::-webkit-scrollbar-buttom{
- background-color:{color:background};
- }
- body {color:{color:text}; background-color:{color:background}; background-image: url('{image:Background}'); background-attachment:fixed; font-family:{font:body}; font-size:10px; line-height:100%; text-align:justify;word-wrap: break-word;}
- a:link, a:active, a:visited{color: {color:linkcolor}; text-decoration:none}
- a:hover{color:{color:linkhover}}
- small{font-size:9px}
- big{font-size:14px}
- b, strong{color:{color:text}}
- i, em {color:{color:text}}
- p{margin-top:5px; margin-bottom:5px}
- blockquote {padding:0px; padding-left:5px; margin:5px; border-left:2px solid {color:text}}
- img a{border:none; width:100%}
- #entries {margin: 10px 0 0px 195px; float:left; text-align: justify}
- #entry {margin: 0px 0 0px 0; width: 500px; background-color:{color:background}; text-align: justify; padding: 10px}
- #title {font-family: oned; font-size:30px; text-transform:lowercase; letter-spacing:0px; line-height:100%;}
- #sidebar {top: 50px; margin-left:5px; padding:0px; width: 250px; position:fixed; font-family:{font:body}}
- #description {background-color:transparent; font-family:calibri; padding-top:1px; width:190px; margin-top:-20px; margin-bottom:5px; text-align:center; line-height:100%; font-size:10px; }
- #description img {max-width:180px;padding-top:2px;padding-bottom:2px}
- {block:description}#stext {background:{color:linkbar};text-align:center; font-family: {font:body}; font-size: 10px; padding:6px; border-bottom:1px dotted {color:linkcolor};}{/block:description}
- #pagination {font-family:calibri; text-align:center; font-size:9px; margin-bottom:2px; text-transform:none}
- #links {background-color:{color:linkbar}; margin-bottom:6px; font-family:calibri; text-align:center; font-size:10px; text-transform:lowercase; font-weight:none; padding:5px; border-top: 5px solid {color:background}; border-bottom: 1px dotted {color:linkcolor}}
- #linkss {background-color:transparent; width: auto; margin-top:3px; font-family:calibri; text-align:center; font-size:10px; text-transform:lowercase; font-weight:none; padding:1px;}
- h1{color:{color:text}; font-family:{font:title}; font-size:12px; line-height:12px; letter-spacing:0px; font-weight:bold; text-transform:none; margin:0px; padding:0px; text-align:left}
- h2{color:{color:title}; font-family:{font:title}; font-size:12px; line-height:12px; letter-spacing:0px; font-weight:normal; text-transform:none; margin:0px; padding:0px; margin-bottom:-0px; text-align:left}
- #info {background-color:{color:entry}; font-family:{font:body}; text-align:center; margin:7px 2px 2px 0px; padding:5px; text-transform:lowercase; font-style:none; font-size:10px; width:492px; border-bottom: 1px dotted {color:linkcolor}}
- #tags {background-color:transparent; font-family:{font:body}; text-align:center; margin:3px 4px 2px 0px; padding:2px; text-transform:lowercase; font-style:none; font-size:9px; width:498px;}
- #questions {background-color:{color:linkbar}; color: {color:text}; padding:5px; margin-top: 4px; margin-bottom:2px; font-family:calibri; font-size:10px; text-align:center;}
- #pagination {font-family:calibri; text-align:center; font-size:9px; margin-bottom:2px; text-transform:none}
- .audio{background-color:black; display:block}
- .user_1 .label {color:{color:link}; font-weight:bold}
- .user_2 .label {color:{color:text}; font-weight:bold}
- .user_3 .label {color:{color:link}; font-weight:bold}
- .user_4 .label {color:{color:text}; font-weight:bold}
- .user_5 .label {color:{color:link}; font-weight:bold}
- .user_6 .label {color:{color:text}; font-weight:bold}
- ul.chat, .chat ol, .chat li {list-style:none; margin:0px; padding:0px}
- .notes img{width:10px; position:relative; top:1px}
- ol.notes, .notes li{width:490px; list-style:none; margin:0px 0 -1px 5px; padding:0px}
- .onething {
- position:fixed;
- left:800px;
- top:40px; }
- </style>
- <style type="text/css">{CustomCSS}</style>
- </head>
- <body>
- {block:ifshowthemecredit}<div class="cred"><a href="http://showerofthemes.tumblr.com/">theme</a></div>{/block:ifshowthemecredit}
- <div id="container">
- <div id="sidebar">
- <div id="description">
- <div id="links">
- <div id="title"><a href="/">{title}</a></div><br>
- <a href="/">home</a>
- <a href="{text:ask page url}">MESSAGE</a>
- <a href="{text:about page url}">about</a>
- <center><img src="{image:sidebar}"></center>
- <div id="linkss">
- <a href="{text:link 1 url}">{text:link 1}</a>
- <a href="{text:link 2 url}">{text:link 2}</a>
- <a href="{text:link 3 url}">{text:link 3}</a>
- <a href="{text:link 4 url}">{text:link 4}</a> </div></div>
- <div id="stext">{Description}</div><br>
- <div id="pagination">{block:Pagination}
- {block:PreviousPage}<a href="{PreviousPage}">«</a>{/block:PreviousPage}
- {block:JumpPagination length="5"}
- {block:CurrentPage}<span class="current_page" style="padding-right:6px;">{PageNumber}</span>{/block:CurrentPage}
- {block:JumpPage}<a class="jump_page" style="padding-right:6px;" href="{URL}">{PageNumber}</a>{/block:JumpPage}{/block:JumpPagination}
- {block:NextPage}<a href="{NextPage}">»</a>{/block:NextPage}
- {/block:Pagination}</div>
- </div></div>
- <div id="entries">
- {block:Posts}
- <div id="entry">
- {block:Text}{block:Title}<h1>{Title}</h1>{/block:Title}{Body}{/block:Text}
- {block:Quote}<h2>“{Quote}”<br> — {Source}</h2>{/block:Quote}
- {block:Link}<a href="{URL}"><h1>{Name}</h1></a>
- {block:Description}<p>{Description}</p>{/block:Description}{/block:Link}
- {block:Photo}<center><img src="{PhotoURL-500}"/></center>
- {block:Caption}{Caption}{/block:Caption}{/block:Photo}
- {block:Photoset}<center>{Photoset-500}</center>
- {block:Caption}{Caption}{/block:Caption}{/block:Photoset}
- {block:Chat}<ul class="chat">{block:Lines}<li class="user_{UserNumber}">{block:Label}<span class="label">{Label}</span>{/block:Label} {Line}</li>{/block:Lines}</ul>{/block:Chat}
- {block:Video}{Video-500}{block:Caption}{Caption}{/block:Caption}{/block:Video}
- {block:Answer}<div id="questions"><b>{Asker} wondered:</b> <br>{Question}</div>
- {Answer}{/block:answer}
- {block:Audio}<span class="audio"><center>{AudioPlayerBlack}</center></span>{block:Caption}{Caption}{/block:Caption}{/block:Audio}
- <div id="info">{block:Date}shared <a href="{Permalink}">{TimeAgo}</a> on {month}/{dayofmonth}/{year}{/block:Date}{block:NoteCount}, with <a href="{Permalink}">{NoteCountWithLabel}</a>{/block:NoteCount}.<br>{block:RebloggedFrom}reblogged from <a href="{ReblogParentURL}">{ReblogParentName}</a>, {/block:RebloggedFrom}{block:ContentSource}originally from <a href="{SourceURL}">{SourceLink}</a>.{/block:ContentSource}<br>{block:HasTags}{block:Tags}♥ <a href="{TagURL}">{Tag}</a> {/block:Tags}{/block:HasTags}</div>
- </div>
- <br />
- {/block:Posts}
- {block:PostNotes}{PostNotes}{/block:PostNotes}<br />
- </div></div>
- {block:if1Dbadge}<a style="position:fixed;z-index:1999; !important;bottom:-5px;right:0px;" target="_blank" class="trans_col"><img src="http://static.tumblr.com/kppkhmy/My2m7jx4n/oned.png" width="175" border="0"></a>{/block:if1Dbadge2}
- {block:ifUse1DCursor}<style> body, a, a:hover { cursor:url(http://i1143.photobucket.com/albums/n635/1dners/ravishing-beautePC.png), auto }</style>{/block:ifUse1DCursor}
- {block:iffireworks}
- <div class="fireworks">
- <script type="text/javascript">
- // <![CDATA[
- var bits=80; // how many bits
- var speed=25; // how fast - smaller is faster
- var bangs=6; // how many can be launched simultaneously (note that using too many can slow the script down)
- var colours=new Array("#03f", "#f03", "#0e0", "#93f", "#0cf", "#f93", "#f0c");
- // blue red green purple cyan orange pink
- var bangheight=new Array();
- var intensity=new Array();
- var colour=new Array();
- var Xpos=new Array();
- var Ypos=new Array();
- var dX=new Array();
- var dY=new Array();
- var stars=new Array();
- var decay=new Array();
- var swide=400;
- var shigh=500;
- var boddie;
- window.onload=function() { if (document.getElementById) {
- var i;
- boddie=document.createElement("div");
- boddie.style.position="fixed";
- boddie.style.top="0px";
- boddie.style.left="0px";
- boddie.style.overflow="visible";
- boddie.style.width="1px";
- boddie.style.height="1px";
- boddie.style.backgroundColor="transparent";
- document.body.appendChild(boddie);
- set_width();
- for (i=0; i<bangs; i++) {
- write_fire(i);
- launch(i);
- setInterval('stepthrough('+i+')', speed);
- }
- }}
- function write_fire(N) {
- var i, rlef, rdow;
- stars[N+'r']=createDiv('|', 12);
- boddie.appendChild(stars[N+'r']);
- for (i=bits*N; i<bits+bits*N; i++) {
- stars[i]=createDiv('*', 13);
- boddie.appendChild(stars[i]);
- }
- }
- function createDiv(char, size) {
- var div=document.createElement("div");
- div.style.font=size+"px monospace";
- div.style.position="absolute";
- div.style.backgroundColor="transparent";
- div.appendChild(document.createTextNode(char));
- return (div);
- }
- function launch(N) {
- colour[N]=Math.floor(Math.random()*colours.length);
- Xpos[N+"r"]=swide*0.8;
- Ypos[N+"r"]=shigh-7;
- bangheight[N]=Math.round((0.5+Math.random())*shigh*0.4);
- dX[N+"r"]=(Math.random()-0.5)*swide/bangheight[N];
- if (dX[N+"r"]>1.25) stars[N+"r"].firstChild.nodeValue="/";
- else if (dX[N+"r"]<-1.25) stars[N+"r"].firstChild.nodeValue="\\";
- else stars[N+"r"].firstChild.nodeValue="|";
- stars[N+"r"].style.color=colours[colour[N]];
- }
- function bang(N) {
- var i, Z, A=0;
- for (i=bits*N; i<bits+bits*N; i++) {
- Z=stars[i].style;
- Z.left=Xpos[i]+"px";
- Z.top=Ypos[i]+"px";
- if (decay[i]) decay[i]--;
- else A++;
- if (decay[i]==15) Z.fontSize="7px";
- else if (decay[i]==7) Z.fontSize="2px";
- else if (decay[i]==1) Z.visibility="hidden";
- Xpos[i]+=dX[i];
- Ypos[i]+=(dY[i]+=1.25/intensity[N]);
- }
- if (A!=bits) setTimeout("bang("+N+")", speed);
- }
- function stepthrough(N) {
- var i, M, Z;
- var oldx=Xpos[N+"r"];
- var oldy=Ypos[N+"r"];
- Xpos[N+"r"]+=dX[N+"r"];
- Ypos[N+"r"]-=4;
- if (Ypos[N+"r"]<bangheight[N]) {
- M=Math.floor(Math.random()*3*colours.length);
- intensity[N]=5+Math.random()*4;
- for (i=N*bits; i<bits+bits*N; i++) {
- Xpos[i]=Xpos[N+"r"];
- Ypos[i]=Ypos[N+"r"];
- dY[i]=(Math.random()-0.5)*intensity[N];
- dX[i]=(Math.random()-0.5)*(intensity[N]-Math.abs(dY[i]))*1.25;
- decay[i]=16+Math.floor(Math.random()*16);
- Z=stars[i];
- if (M<colours.length) Z.style.color=colours[i%2?colour[N]:M];
- else if (M<2*colours.length) Z.style.color=colours[colour[N]];
- else Z.style.color=colours[i%colours.length];
- Z.style.fontSize="13px";
- Z.style.visibility="visible";
- }
- bang(N);
- launch(N);
- }
- stars[N+"r"].style.left=oldx+"px";
- stars[N+"r"].style.top=oldy+"px";
- }
- window.onresize=set_width;
- function set_width() {
- var sw_min=999999;
- var sh_min=999999;
- if (document.documentElement && document.documentElement.clientWidth) {
- if (document.documentElement.clientWidth>0) sw_min=document.documentElement.clientWidth;
- if (document.documentElement.clientHeight>0) sh_min=document.documentElement.clientHeight;
- }
- if (typeof(self.innerWidth)!="undefined" && self.innerWidth) {
- if (self.innerWidth>0 && self.innerWidth<sw_min) sw_min=self.innerWidth;
- if (self.innerHeight>0 && self.innerHeight<sh_min) sh_min=self.innerHeight;
- }
- if (document.body.clientWidth) {
- if (document.body.clientWidth>0 && document.body.clientWidth<sw_min) sw_min=document.body.clientWidth;
- if (document.body.clientHeight>0 && document.body.clientHeight<sh_min) sh_min=document.body.clientHeight;
- }
- if (sw_min==999999 || sh_min==999999) {
- sw_min=800;
- sh_min=600;
- }
- swide=sw_min;
- shigh=sh_min;
- }
- // ]]>
- </script>
- </div>{/block:iffireworks}
- <div class="onething"><img src="http://static.tumblr.com/kppkhmy/hzum7zsih/one_thing.png"/></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement