Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <!---
- golden age by n1a
- ☆ please do not remove the credit! thank you ☆
- ☆ please do not use this theme as a base code ☆
- ☆ you may copy parts of this theme but do not
- copy the whole thing! please be original ☆
- | . *
- *
- . : |
- - - -- -( + )-- - ---
- . |
- | : .
- , *
- *
- | . *
- .
- . . .
- --->
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- {block:Description}
- <meta name="description" content="{MetaDescription}" />
- {/block:Description}
- <title>{Title}</title>
- <meta name="text:2nd Sidebar Content" content""/>
- <meta name="text:Side IMG Bottom" content"0"/>
- <meta name="text:Side IMG Right" content"0"/>
- <meta name="text:Links Divider" content"☆"/>
- <meta name="text:Tag Redirect" content"☆"/>
- <meta name="image:Background" content="" />
- <meta name="image:Sidebar" content="" />
- <meta name="image:Sidebar Divider" content="" />
- <meta name="image:Header" content="" />
- <meta name="image:Side IMG" content="" />
- <meta name="image:Favicon" content="" />
- <meta name="color:Background" content="#FFF" />
- <meta name="color:Text" content="#000" />
- <meta name="color:Accent" content="#FFF" />
- <meta name="color:Post BG" content="#e6e6e6" />
- <meta name="color:Link" content="#e6e6e6" />
- <meta name="color:Hover" content="#000" />
- <meta name="color:Sparkles" content="#FFF" />
- <meta name="if:BGCover" content="" />
- <meta name="if:Header" content="" />
- <meta name="if:2ndSidebar" content="" />
- <meta name="if:Borders" content="" />
- <meta name="if:RoundedCorners" content="" />
- <meta name="if:Redirect" content="" />
- <meta name="if:Sparkles" content="" />
- <link rel="shortcut icon" href="{image:Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <link rel="stylesheet" href="http://static.tumblr.com/qxrkgx6/RWPmgn2qa/normalize.min.css">
- <script src="http://static.tumblr.com/qxrkgx6/LuRmgn2rm/modernizr-2.6.2.min.js"></script>
- {block:ifRedirect}<script>
- if(window.location.pathname == '/') location.replace('/tagged/{text:Tag Redirect}');
- </script>
- {/block:ifRedirect}
- {block:ifSparkles}
- <script type="text/javascript">
- // <![CDATA[
- var colour="{color:Sparkles}";
- var sparkles=50;
- 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";
- rats.style.zIndex="999";
- 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";
- rats.style.zIndex="999";
- 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 (Math.abs(x-ox)>1 || Math.abs(y-oy)>1) {
- 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+1)+"px";
- star[c].style.clip="rect(0px, 5px, 5px, 0px)";
- star[c].childNodes[0].style.backgroundColor=star[c].childNodes[1].style.backgroundColor=(colour=="random")?newColour():colour;
- 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;
- starx[i]+=(i%5-2)/5;
- if (stary[i]<shigh+sdown) {
- star[i].style.top=stary[i]+"px";
- 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";
- tiny[i].style.backgroundColor=star[i].childNodes[0].style.backgroundColor;
- 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;
- tinyx[i]+=(i%5-2)/5;
- if (tinyy[i]<shigh+sdown) {
- tiny[i].style.top=tinyy[i]+"px";
- 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) {
- if (e) {
- y=e.pageY;
- x=e.pageX;
- }
- else {
- set_scroll();
- y=event.y+sdown;
- x=event.x+sleft;
- }
- }
- window.onscroll=set_scroll;
- function set_scroll() {
- if (typeof(self.pageYOffset)=='number') {
- sdown=self.pageYOffset;
- sleft=self.pageXOffset;
- }
- else if (document.body && (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() {
- 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)=='number' && 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;
- }
- 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";
- return (div);
- }
- function newColour() {
- var c=new Array();
- c[0]=255;
- c[1]=Math.floor(Math.random()*256);
- c[2]=Math.floor(Math.random()*(256-c[1]/2));
- c.sort(function(){return (0.5 - Math.random());});
- return ("rgb("+c[0]+", "+c[1]+", "+c[2]+")");
- }
- // ]]>
- </script>
- {/block:ifSparkles}
- <style type="text/css">
- ::-webkit-scrollbar {
- height: 9px;
- width: 11px;
- -webkit-border-radius: 0px;
- background:{color:Background};
- }
- ::-webkit-scrollbar-thumb {
- background-color:{color:Accent};
- background-repeat:repeat;
- position:fixed;
- border:2px double {color:Background};
- border:1px solid {color:Background};
- }
- ::-webkit-scrollbar-track {
- background:{color:Background};
- border-left:5px solid {color:Background};
- border-right:5px solid {color:Background};
- }
- body {
- margin:0px;
- background:{color:Background};
- background-image:url('{image:Background}');
- {block:ifBGCover}background-size: cover;
- background-repeat:no-repeat;
- background-attachment: fixed;{/block:ifBGCover}
- font-family: arial, helvetica, sans-serif;
- font-size:12px;
- line-height:140%;
- color: {color:Text};
- }
- p{
- margin:0 0 10px 0;
- padding:0;
- }
- pre {
- white-space: pre-wrap;
- white-space: -moz-pre-wrap;
- white-space: -pre-wrap;
- white-space: -o-pre-wrap;
- word-wrap: break-word;
- }
- a{
- color:{color:Link};
- text-shadow: -1px 0 {color:Accent}, 0 1px {color:Accent}, 1px 0 {color:Accent}, 0 -1px {color:Accent};
- text-decoration:none;
- }
- a:hover{
- color:{color:Hover};
- }
- li{
- margin-left:-15px;
- }
- #wrapper{
- width:600px;
- margin:50px auto;
- }
- #title {
- margin: 10px;
- margin-right: 40px;
- text-align:center;
- color:{color:Title};
- font-size: 40px;
- font-weight: bold;
- }
- #title img {
- max-width:100%;
- display:block;
- padding-bottom: 4px;
- }
- #sidebar{
- width:170px;
- position:fixed;
- {block:ifRoundedCorners}border-radius: 10px;{/block:ifRoundedCorners}
- color: {color:Text};
- background-color: {color:Post BG};
- margin-top:60px;
- margin-left:-250px;
- padding: 8px 8px 8px 8px;
- text-align: center;
- {block:ifBorders}border:4px double {color:Accent};{/block:ifBorders}
- }
- #links2{
- display:inline;
- width:170px;
- position:absolute;
- {block:ifRoundedCorners}border-radius: 10px;{/block:ifRoundedCorners}
- color: {color:Text};
- background-color: {color:Post BG};
- margin-top:20px;
- margin-left:460px;
- padding: 8px 8px 8px 8px;
- text-align: center;
- {block:ifBorders}border:4px double {color:Accent};{/block:ifBorders}
- }
- #content{
- width:600px;
- overflow:hidden;
- padding: 10px 10px 10px 10px;
- margin-top:00px;
- margin-left:-20px;
- }
- .post{
- width:400px;
- margin:0 0 50px 0;
- overflow:hidden;
- color: {color:Text};
- background-color: {color:Post BG};
- padding: 8px 8px 8px 8px;
- {block:ifRoundedCorners}border-radius: 10px;{/block:ifRoundedCorners}
- {block:ifBorders}border:4px double {color:Accent};{/block:ifBorders}
- }
- #sidebar img {
- background:;
- position: relative;
- border-radius:4%;
- max-width:100%;
- display:block;
- margin:auto;
- padding-bottom: 4px;
- }
- #nav{
- margin:50px 0 0 0;
- }
- #pages{
- font-size:13px;
- font-weight:bold;
- }
- #credit {
- position:fixed;
- font-size:24px;
- bottom:5px;
- left:5px;
- font-weight:bold;
- }
- .media{
- margin:0 0 10px 0;
- }
- .title{
- font-weight:normal;
- font-size:18px;
- margin:0 0 10px 0;
- }
- .quote{
- font-weight:normal;
- font-size:16px;
- font-style:italic;
- margin:0 0 10px 0;
- }
- .question{
- margin-bottom:10px;
- background-color:{color:Link};
- {block:ifRoundedCorners}border-radius: 8px;{/block:ifRoundedCorners}
- margin: 0 0 15px 0;
- padding: 10px 15px;
- position: relative;
- font-size:14px;
- }
- blockquote{
- margin:0 0 10px 10px;
- padding:0 0 0 10px;
- border-left:solid 2px {color:Accent};
- }
- .post .footer{
- margin:0;
- text-align:left;
- }
- .photoset{
- max-width:400px;
- width:400px;
- display:block;
- margin:auto;
- }
- .media{
- max-width:400px;
- display:block;
- margin:auto;
- }
- .post img{
- max-width:400px;
- }
- ol.notes{
- list-style-type:none;
- padding:0;
- margin:0;
- }
- ol.notes li.note img{
- width:16px;
- height:16px;
- }
- ol.notes li.note{
- margin:0px;
- }
- #nav{
- margin:50px 0 0 0;
- }
- {CustomCSS}
- </style>
- </head>
- <body>
- <div id="wrapper">
- {block:ifHeader}<div id="title">
- <a href="/">
- {block:IfHeaderImage}<img src="{image:Header}" />{/block:IfHeaderImage}
- {block:IfNotHeaderImage}{Title}{/block:IfNotHeaderImage}
- </a>
- </div>
- {/block:ifHeader}
- <div id="leftside"/>
- <div id="sidebar">
- <a href="/"><img src="{image:Sidebar}"></a>
- {Description}
- <br>
- <img src="{image:Sidebar Divider}">
- <div id="pages" class="ask_and_submit">
- {text:Links Divider} {block:AskEnabled}<a href="/ask" class="page">{AskLabel}</a> {text:Links Divider} {/block:AskEnabled}
- {block:SubmissionsEnabled}<a href="/submit" class="page">{SubmitLabel}</a> {text:Links Divider} {/block:SubmissionsEnabled}
- {block:HasPages}
- {block:Pages}<a href="{URL}" class="page">{Label}</a> {text:Links Divider} {/block:Pages}
- {/block:HasPages}
- <div class="clear"></div>
- </div>
- </div>
- {block:if2ndSidebar}<div id="links2">
- {text:2nd Sidebar Content}
- </div>{/block:if2ndSidebar}
- <div id="content">
- {block:Posts}
- <div class="post">
- {block:Text}
- {block:Title}
- <div class="title">{Title}</div>
- {/block:Title}
- {Body}
- {/block:Text}
- {block:Photo}
- <div class="media">{LinkOpenTag}<img src="{PhotoURL-400}" alt="{PhotoAlt}"/>{LinkCloseTag}</div>
- {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
- {/block:Photo}
- {block:Photoset}
- <div class="media">{Photoset-400}</div>
- {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
- {/block:Photoset}
- {block:Quote}
- <div class="quote">"{Quote}"</div>
- {block:Source}
- <div class="quotesource">{Source}</div>
- {/block:Source}
- {/block:Quote}
- {block:Link}
- <div class="title"><a href="{URL}">{Name}</a></div>
- {block:Description}
- <div class="description">{Description}</div>
- {/block:Description}
- {/block:Link}
- {block:Chat}
- {block:Title}
- <div class="title">{Title}</div>
- {/block:Title}
- {block:Lines}
- <div class="{Alt} user_{UserNumber}">
- {block:Label}
- <b>{Label}</b>{/block:Label}
- {Line}
- </div>
- {/block:Lines}
- {/block:Chat}
- {block:Video}
- <div class="media">{Video-400}</div>
- {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
- {/block:Video}
- {block:Audio}
- <div class="media">
- {block:AlbumArt}<img src="{AlbumArtURL}">{/block:AlbumArt}
- {AudioPlayerWhite}
- {block:TrackName}{TrackName}<br>{/block:TrackName}
- {block:Artist}{Artist}<br>{/block:Artist}
- {block:Album}{Album}{/block:Album}
- </div>
- {block:Caption}{Caption}{/block:Caption}
- {/block:Audio}
- {block:Answer}
- <div class="question"><div class="asker_container"><img src="{AskerPortraitURL-24}"></div>{Asker}: {Question}</div>
- <div class="caption">{Answer}</div>
- {/block:Answer}
- {block:Date}
- <div class="footer">
- <a href="{Permalink}">{TimeAgo}{block:NoteCount} ({NoteCountWithLabel}){/block:NoteCount}</a>
- {block:HasTags}<br>{block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}{/block:HasTags}
- {block:RebloggedFrom}<br><a href="{ReblogParentURL}">{lang:Reblogged from ReblogParentName}</a>{/block:RebloggedFrom}
- {block:ContentSource}<br><a href="{SourceURL}">{lang:Source}: {SourceTitle}</a>{/block:ContentSource}
- </div>
- {block:PermalinkPage}
- {block:NoteCount}
- {block:PostNotes}{PostNotes}{/block:PostNotes}
- {/block:NoteCount}
- {/block:PermalinkPage}
- {/block:Date}
- </div>
- {/block:Posts}
- {block:Pagination}
- <div id="nav">
- {block:PreviousPage}<a href="{PreviousPage}">{lang:Previous}</a>{/block:PreviousPage}
- {block:NextPage}<a href="{NextPage}">{lang:Next}</a>{/block:NextPage}
- </div>
- {/block:Pagination}
- </div>
- </div>
- </div>
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
- <script>window.jQuery || document.write('<script src="http://static.tumblr.com/qxrkgx6/q6kmgn2w2/jquery-1.8.3.min.js"><\/script>')</script>
- <img src="{image:Side IMG}" style="position:fixed;opacity:{text:Sideimg transparency}; bottom:{text:Side IMG bottom}px;right:{text:Side IMG right}px"
- ;/>
- <div id="credit"><a href="http://n1a.tumblr.com/" title="theme credit">☆</a></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement