Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <!-- redtour.tumblr.com christmas theme :) -->
- <!-- keep the credit intact -->
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <meta name="color:link" content="#515151">
- <meta name="color:hover" content="#f3f3f3">
- <meta name="color:text" content="#9a9a9a">
- <meta name="color:tags" content="#9a9a9a">
- <meta name="color:scrollbar" content="#9a9a9a">
- <meta name="color:border" content="#e2e2e2">
- <meta name="color:sbborder" content= "#e3dede">
- <meta name="image:sidebar" content=""/>
- <meta name="text:Link 1 Title" content="">
- <meta name="text:Link 1 URL" content="/">
- <meta name="text:Link 2 Title" content="">
- <meta name="text:Link 2 URL" content="/">
- <meta name="text:Link 3 Title" content="">
- <meta name="text:Link 3 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">
- a {
- color:{color:link};
- text-decoration:none;
- -moz-transition-duration:0.5s;
- -webkit-transition-duration:0.5s;
- -o-transition-duration:0.5s;
- }
- a:hover {
- text-decoration:underline;
- -moz-transition-duration:0.7s;
- -webkit-transition-duration:0.7s;
- -o-transition-duration:0.7s;
- }
- ::-webkit-scrollbar {background-color:{color:infobg}; height:8px; width:4px}
- ::-webkit-scrollbar-thumb:vertical {background-color:{color:scrollbar}; height:50px}
- ::-webkit-scrollbar-thumb:horizontal {background-color:{color:scrollbar}; height:8px!important}
- body {
- background:url('http://img90.imageshack.us/img90/3152/lightsn.gif') repeat-x top center;
- font-family:arial;
- font-weight:normal;
- font-size:11px;
- }
- h1 {
- font-weight:normal;
- font-size:10px;
- text-align:center;
- font-style:normal;
- line-height:80%;
- letter-spacing:1px;
- text-transform:uppercase;
- color:{color:text};
- }
- h2 {
- font-size:15px;
- text-align:center;
- line-height:100%;
- letter-spacing:-0.5px;
- color:{color:text};
- font-weight:normal;
- padding:5px;
- padding-bottom:2px;
- }
- blockquote {
- border-left:2px solid {color:text};
- padding-left:10px;
- margin:10px;
- }
- #theme {
- background-color:{color:background};
- width:700px;
- margin: 0 auto -12px auto;
- text-align: center;
- }
- #sidebar {
- color:{color:text};
- background:;
- position:fixed;
- width:200px
- height:200px;
- margin-top:220px;
- margin-left:-150px;
- text-align:center;
- background:#fff;
- }
- #sidebar img {
- width:180px;
- height:180px;
- margin-bottom:65px;
- position:center;
- padding:3px;
- border:1px solid {color:sbborder};
- }
- .links {
- position:center;
- padding:0px;
- width:180px;
- margin-bottom:10px;
- margin-top:-66px;
- margin-left:4px;
- font-size:20px;
- text-transform:uppercase;
- text-align:center;
- letter-spacing:1px;
- line-height:140%;
- border-bottom:1px solid {color:sbborder};
- }
- .links a{
- padding:0px;
- color:{color:links};
- letter-spacing:-1px;
- text-decoration:none;
- -moz-transition-duration:.9s;
- -webkit-transition-duration:.9s;
- -o-transition-duration:.9s;
- }
- .links a:hover{
- text-decoration:;
- color:{color:hover};
- -moz-transition-duration:.9s;
- -webkit-transition-duration:.9s;
- -o-transition-duration:.9s;
- }
- .desc {
- width:180px;
- margin-top:-4px;
- margin-left:2px;
- text-align:center;
- font-size:11px;
- color:{color:text};
- letter-spacing:0px;
- line-height:110%;
- }
- .desc a:hover{
- color:{color:link};
- }
- .pagi {
- text-transform:none;
- line-height: 200%;
- text-align:center;
- font-size: 10px;
- color:{color:text};
- }
- .pagi a:hover{
- text-decoration:underline;
- }
- #stuffcontainer {
- float:left;
- margin-left:200px;
- margin-top:20px;
- text-align:justify;
- background-color:{color:bg};
- color:{color:text};
- }
- #stuff {
- width:500px;
- margin-top:65px;
- margin-bottom:35px;
- margin-left:-25px;
- text-align:justify;
- font-size:10px;
- line-height:100%;
- letter-spacing:0x;
- color:{color:text};
- }
- .caption {
- width:500px;
- font-size:10px;
- text-align:justify;
- line-height:100%;
- }
- .ask {
- padding:10px;
- text-align:left;
- color:{color:text};
- background-color:{color:infobg};
- }
- #ask {
- float:left;
- margin-left:5px;
- }
- .audio {
- width:500px;
- padding-bottom:2px;
- background-color:{color:infobg};
- }
- .albumart {
- float:left;
- padding:0px 10px 10px 0px;
- }
- .albumart img {
- width:50px;
- height:50px;
- }
- .playercontainer {
- text-align:left;
- padding:10px;
- background-color:#ffffff;
- width:480px;
- }
- .audioinfo {
- font-size:10px;
- padding:10px;
- color:{color:text};
- }
- #postinfo {
- padding:4px;
- font-size:10px;
- color:{color:link};
- text-transform:lowercase;
- letter-spacing:0px;
- text-align:center;
- line-height:130%;
- border-top:1px solid {color:border};
- -moz-transition-duration:0.5s;
- -webkit-transition-duration:0.5s;
- -o-transition-duration:0.5s;
- margin-top:5px;
- margin-bottom:5px;
- }
- #postinfo a {
- color:{color:link};
- text-align:center;
- letter-spacing:0px;
- font-style:normal;
- margin-bottom:5px;
- }
- #postinfo a:hover {
- text-decoration:underline;
- }
- .note {
- text-transform:lowercase;
- font-style:normal;
- letter-spacing:0px;
- font-size: 10px;
- text-align:left;
- line-height:70%;
- margin-left:-20px;
- }
- .note li {
- list-style-type:none;
- border-bottom:1px solid {color:border};
- padding:10px 25px 10px 25px;
- text-align:left;
- margin:0px;
- -moz-transition-duration:0.5s;
- -webkit-transition-duration:0.5s;
- -o-transition-duration:0.5s;
- }
- .tags {
- font-style:normal;
- width:500px;
- text-transform:normal;
- font-style:normal;
- color:{color:tags};
- letter-spacing:2px;
- line-height:120%;
- font-size:10px;
- text-align:center;
- padding:2px;
- -moz-transition-duration:0.5s;
- -webkit-transition-duration:0.5s;
- -o-transition-duration:0.5s;
- margin-top:-10px;
- margin-left:3px;
- }
- .tags a {
- color:{color:tags};
- letter-spacing:0px;
- padding:1px;
- }
- .tags a:hover {
- text-decoration:underline;
- }
- ul.chat, .chat ol, .chat li {
- list-style:none;
- margin:0px;
- padding:2px;
- }
- .label {
- text-decoration:underline;
- font-weight:700;
- background-color:{color:infobg};
- margin-right:5px;
- }
- #cred {
- position:fixed;
- font-size:8px;
- opacity:40;
- color:{color:text};
- letter-spacing:1px;
- right:7px;
- bottom:10px;
- text-transform:uppercase;
- text-align:center;
- background-color:#fff;
- border:1px solid #d3d7da;
- padding:2px;
- }
- {CustomCSS}
- </style></head>
- <body>
- <div id="theme">
- <div id="sidebar">
- <img src="{image:sidebar}">
- <div class="links">
- <a href="/" title="home">❄</a> ∙
- <a href="/ask" title="ask">❄</a> ∙
- <a href="{text:Link 1 URL}" title="{text:Link 1 Title}">❄</a> ∙
- <a href="{text:Link 2 URL}" title="{text:Link 2 Title}">❄</a> ∙
- <a href="{text:Link 3 URL}" title="{text:Link 3 Title}">❄</a>
- </div>
- <div class="desc">
- {Description}
- </div>
- {block:Pagination}
- <div class="pagi">
- {block:PreviousPage}
- <a href="{PreviousPage}">previous</a>
- {/block:PreviousPage}
- ―
- {block:NextPage}
- <a href="{NextPage}">next</a>
- {/block:NextPage}
- </div>
- {/block:Pagination}
- </div>
- <div id="stuffcontainer">
- {block:Posts}
- <div id="stuff">
- {block:Text}{block:Title}<h2>{Title}</h2>{/block:Title}{Body}{/block:Text}
- {block:Quote}<h2>“{Quote}”</h2><h1>{Source}</h1>{/block:Quote}
- {block:Link}<a href="{URL}"><h2>{Name}</h2></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:Title}<h2>{Title}</h2>{/block:Title}{block:Lines}<li>{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="ask"><img src="{AskerPortraitURL-24}" style="border-radius:90px; opacity:.85;margin-left:0px;"></div> {Asker} said:<br> "{Question}"<br><br>{Answer}{/block:Answer}
- {block:Audio}<div class="audio">{block:AlbumArt}<div class="albumart"><img src="{AlbumArtURL}"/></div>{/block:AlbumArt}
- <div class="audioinfo">{block:TrackName}<b>Title:</b> {TrackName}<br />{/block:TrackName}{block:Artist}<b>Artist:</b> {Artist}<br />{/block:Artist}
- {/block:ExternalAudio}<b>Played:</b> {PlayCount} times</div>
- <br><div class="playercontainer">{AudioPlayerWhite}</div></div>
- {block:Caption}{Caption}{/block:Caption}<br>{/block:Audio}
- {block:Date}<div id="postinfo"> posted <a href="{Permalink}">{TimeAgo}</a>{block:NoteCount} with <a href="{Permalink}">{NoteCountWithLabel}</a>{/block:NoteCount}{block:RebloggedFrom} - <a href="{ReblogParentURL}">Via</a>{/block:RebloggedFrom}
- {block:ContentSource} / <a href="{SourceURL}">Source</a>{/block:ContentSource}</div>{/block:Date}
- {block:HasTags}
- <div class="tags">
- {block:Tags}<a href="{TagURL}"># {Tag}</a>{/block:Tags}</div>
- {/block:HasTags}
- <div class="note">
- {block:PostNotes}{PostNotes}{/block:PostNotes}
- </div>
- </div>
- {/block:Posts}
- </div>
- <div id="cred"><a href="http://redtour.tumblr.com">redtour</a></div>
- </div>
- </div>
- </div>
- <SCRIPT type="text/javascript">
- var snowmax=35
- var snowcolor=new Array("#aaaacc","#ddddff","#ccccdd","#f3f3f3","#f0ffff")
- var snowtype=new Array("Times","Arial","Times","Verdana")
- var snowletter="*"
- var sinkspeed=0.6
- var snowmaxsize=30
- var snowminsize=8
- var snowingzone=1
- var snow=new Array()
- var marginbottom
- var marginright
- var timer
- var i_snow=0
- var x_mv=new Array();
- var crds=new Array();
- var lftrght=new Array();
- var browserinfos=navigator.userAgent
- var ie5=document.all&&document.getElementById&&!browserinfos.match(/Opera/)
- var ns6=document.getElementById&&!document.all
- var opera=browserinfos.match(/Opera/)
- var browserok=ie5||ns6||opera
- function randommaker(range) {
- rand=Math.floor(range*Math.random())
- return rand
- }
- function initsnow() {
- if (ie5 || opera) {
- marginbottom = document.body.scrollHeight
- marginright = document.body.clientWidth-15
- }
- else if (ns6) {
- marginbottom = document.body.scrollHeight
- marginright = window.innerWidth-15
- }
- var snowsizerange=snowmaxsize-snowminsize
- for (i=0;i<=snowmax;i++) {
- crds[i] = 0;
- lftrght[i] = Math.random()*15;
- x_mv[i] = 0.03 + Math.random()/10;
- snow[i]=document.getElementById("s"+i)
- snow[i].style.fontFamily=snowtype[randommaker(snowtype.length)]
- snow[i].size=randommaker(snowsizerange)+snowminsize
- snow[i].style.fontSize=snow[i].size+'px';
- snow[i].style.color=snowcolor[randommaker(snowcolor.length)]
- snow[i].style.zIndex=1000
- snow[i].sink=sinkspeed*snow[i].size/5
- if (snowingzone==1) {snow[i].posx=randommaker(marginright-snow[i].size)}
- if (snowingzone==2) {snow[i].posx=randommaker(marginright/2-snow[i].size)}
- if (snowingzone==3) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/4}
- if (snowingzone==4) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/2}
- snow[i].posy=randommaker(2*marginbottom-marginbottom-2*snow[i].size)
- snow[i].style.left=snow[i].posx+'px';
- snow[i].style.top=snow[i].posy+'px';
- }
- movesnow()
- }
- function movesnow() {
- for (i=0;i<=snowmax;i++) {
- crds[i] += x_mv[i];
- snow[i].posy+=snow[i].sink
- snow[i].style.left=snow[i].posx+lftrght[i]*Math.sin(crds[i])+'px';
- snow[i].style.top=snow[i].posy+'px';
- if (snow[i].posy>=marginbottom-2*snow[i].size || parseInt(snow[i].style.left)>(marginright-3*lftrght[i])){
- if (snowingzone==1) {snow[i].posx=randommaker(marginright-snow[i].size)}
- if (snowingzone==2) {snow[i].posx=randommaker(marginright/2-snow[i].size)}
- if (snowingzone==3) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/4}
- if (snowingzone==4) {snow[i].posx=randommaker(marginright/2-snow[i].size)+marginright/2}
- snow[i].posy=0
- }
- }
- var timer=setTimeout("movesnow()",50)
- }
- for (i=0;i<=snowmax;i++) {
- document.write("<span id='s"+i+"' style='position:absolute;top:-"+snowmaxsize+"'>"+snowletter+"</span>")
- }
- if (browserok) {
- window.onload=initsnow
- }
- </SCRIPT>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement