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">
- <!-- theme by your mom (@ariahasting). don't steal -->
- <script type="text/javascript"
- src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
- <script>
- $(document).ready(function() {
- //
- //When you click on a link with class of poplight and the href starts with a #
- $('a.poplight[href^=#]').click(function() {
- var popID = $(this).attr('rel'); //Get Popup Name
- var popURL = $(this).attr('href'); //Get Popup href to define size
- //Pull Query & Variables from href URL
- var query= popURL.split('?');
- var dim= query[1].split('&');
- var popWidth = dim[0].split('=')[1]; //Gets the first query string value
- //Fade in the Popup and add close button
- $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"><img src="http://tiny.cc/closeimg" class="btn_close" title="Close Window" alt="Close" /></a>');
- //Define margin for center alignment (vertical horizontal) - we add 80px to the height/width to accomodate for the padding and border width defined in the css
- var popMargTop = ($('#' + popID).height() + 80) / 2;
- var popMargLeft = ($('#' + popID).width() + 80) / 2;
- //Apply Margin to Popup
- $('#' + popID).css({
- 'margin-top' : -popMargTop,
- 'margin-left' : -popMargLeft
- });
- //Fade in Background
- $('body').append('<div id="fade"></div>'); //Add the fade layer to bottom of the body tag.
- $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'}) is used to fix the IE Bug on fading transparencies
- return false;
- });
- //Close Popups and Fade Layer
- $('a.close, #fade').live('click', function() { //When clicking on the close or fade layer...
- $('#fade , .popup_block').fadeOut(function() {
- $('#fade, a.close').remove(); //fade them both out
- });
- return false;
- });
- });
- </script>
- <head>
- <!-- DEFAULT VARIABLES -->
- <meta name="color:background" content="#ffffff" />
- <meta name="color:entry" content="#ffffff" />
- <meta name="color:title" content="#cccccc" />
- <meta name="color:text" content="#b1b1b1" />
- <meta name="color:link" content="#cccccc" />
- <meta name="color:qbackground" content="#f2f2f2" />
- <meta name="color:info"content="#CCCCCC">
- <meta name="color:border" content="#cccccc">
- <meta name="font:title" content="arial" />
- <meta name="font:body" content="arial" />
- <meta name="image:sidebar" content=""/>
- <meta name="image:background" content="" />
- <meta name="text:Link1" content="" />
- <meta name="text:Link1 Title" content="" />
- <meta name="text:Link2" content="" />
- <meta name="text:Link2 Title" content="" />
- <meta name="text:Link3" content="" />
- <meta name="text:Link3 Title" content="" />
- <meta name="text:Link4" content="" />
- <meta name="text:Link4 Title" content="" />
- <meta name="text:Link5" content="" />
- <meta name="text:Link5 Title" content="" />
- <meta name="color:scrollbarbg" content="#ffffff"/>
- <meta name="color:scrollbar" content="#f4f4f4"/>
- <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}" />
- <link href='http://fonts.googleapis.com/css?family=La+Belle+Aurore|Yesteryear|Marck+Script|Contrail+One|Reenie+Beanie|Open+Sans+Condensed:700,300|Nothing+You+Could+Do|Kaushan+Script&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
- <style type="text/css">
- #fade {
- display: none;
- background: #000;
- position: fixed;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- opacity: .80;
- z-index: 9999;
- }
- .popup_block{
- display: none;
- background: #FFFFFF;
- padding: 20px;
- float: left;
- position: fixed;
- top: 50%;
- left: 50%;
- z-index: 99999;
- }
- img.btn_close {
- float: right;
- margin: -55px -55px 0 0;
- }
- *html #fade {
- position: absolute;
- }
- *html .popup_block {
- position: absolute;
- }
- ::-webkit-scrollbar {
- height: 5px;
- width: 5px;
- background-color: {color:scrollbar};}
- ::-webkit-scrollbar-thumb {
- background-color:{color:scrollbar};
- }
- ::-webkit-scrollbar-track{
- background-color: {color:scrollbarbg};
- }
- ::-webkit-scrollbar-buttom{
- background-color:{color:scrollbarbg};
- }
- body {color:{color:text}; background-color:{color:background}; background-image: url('{image:Background}'); background-attachment:fixed; font-family:Consolas; font-size:10px; line-height:110%; text-align:justify; }
- a:link, a:active, a:visited{color: {color:link}; text-decoration:none}
- a:hover{color:{color:linkhover}; transition: all 0.5s ease-in-out;-webkit-transition: all 0.5s ease-in-out;-moz-transition: all 0.5s ease-in-out;-ms-transition: all 0.5s ease-in-out;-o-transition: all 0.5s ease-in-out}
- #entries{ margin-left:320px; margin-top:10px; width:520px; line-height:110%;}
- #posts{overflow:hidden; background-color: {color:entry}; padding:12px;margin-top:20px;}
- #sbar {width:210px; height:100%; margin-left:20px; margin-top:-20px; position:fixed; overflow:hidden; z-index:99;background: url(http://i47.tinypic.com/k49i6b.jpgimages/bg.jpg) repeat center center fixed;}
- #simg {text-align:center; margin-left:5px;margin-top:15px;}
- #simg img {max-width: 150px; height: auto; text-align:center;
- border:1px solid {color:border};padding:5px;}
- #texty {margin-top:10px;font-family:consolas; font-size:10px;margin-left:25px;position:fixed;width:150px;}
- #simg:hover #links {opacity:1;margin-left:160px;transition: all 0.5s ease-in-out;-webkit-transition: all 0.5s ease-in-out;-moz-transition: all 0.5s ease-in-out;-ms-transition: all 0.5s ease-in-out;-o-transition: all 0.5s ease-in-out}
- #links {position:fixed;
- margin-top:-150px;
- margin-left:65px;
- padding:5px;
- text-align:center;
- letter-spacing:1px;
- width:140px;
- opacity:0;}
- #links a{display:block;
- line-height:5px;
- color:{color:link};
- padding:3px;
- font-family:consolas;
- font-size:10px;
- text-transform:lowercase;
- margin-top:7px;
- text-transform:uppercase;;}
- #links a:hover{font-style:italic;}
- #credit {width:80px;
- height:15px;
- text-align:center;
- bottom:10px;
- right:5px;
- position:fixed;
- opacity:0.5;
- font-family:trebuchet ms;
- text-transform:uppercase;
- font-size:10px;
- background:{color:credit};
- border:1px solid #eee;}
- #credit:hover {right:15px;
- text-align:center;
- text-transform:uppercase;
- opacity:1;
- transition: all 0.5s ease-in-out;-webkit-transition: all 0.5s ease-in-out;-moz-transition: all 0.5s ease-in-out;-ms-transition: all 0.5s ease-in-out;-o-transition: all 0.5s ease-in-out}
- #pagination{margin-left:80px; margin-top:85px; color: {color:link}; font-size:20px; font-family:georgia; position:fixed; text-align:center; }
- h1{color:{color:title}; font-family: cambria; font-size:15px; line-height:15px; font-weight:lowercase; text-align:center; }
- h2{color:{color:title}; font-family:Arial; font-size:12px; line-height:12px; letter-spacing:0px; font-weight:normal; text-transform:lowercase; text-align:left}
- h3{color:{color:link}; font-family:georgia; font-size:15px; letter-spacing:0px; font-weight:normal; font-style:italic; text-transform:lowercase; line-height:14px; margin-left:5px; margin-top:50px; margin-bottom:-60px; text-align:center; letter-spacing:1px}
- h3 a:hover{background-color:transparent}
- #source {text-align: left}
- #info {text-align:center; font-family:consolas; font-size: 10px; margin-top:10px;padding:3px; text-transform:lowercase;}
- #info:hover { }
- #tags {width:510px; font:10px consolas; text-transform: lowercase;text-align:center;}
- #tags:hover { }
- #ask {font-size: 10px; background-color:{color:qbackground}; color:{color:text};margin-bottom:8px; padding: 8px;text-align:center;}
- #answer {font-size:10px;font-family:consolas;margin-left:5px;}
- b, strong{color:{color:title};}
- i, em {color:{color:text};}
- p{margin-top:5px; margin-bottom:5px}
- blockquote {padding:0px; padding-left:5px; margin-left:10px; border-left:1px solid {color:border};}
- small {font-size:10px;}
- img a{border:none; width:100%}
- .audio{background-color:black; display:block;}
- .user_1 .label {color:{color:link}; font-weight:bold}
- .user_2 .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{list-style:none; margin:0px; padding:0px;}
- iframe input, iframe submit, iframe textarea, iframe div, iframe table {background-color:transparent!important;}
- .ads {margin-left:920px;position:fixed;margin-top:550px;opacity:0.9;}
- </style>
- <style type="text/css">{CustomCSS}</style>
- </head>
- <body>
- <div id="credit"><a href="http://ariahasting.tumblr.com">credit</a></div>
- <div id="sbar">
- <div id="simg">
- <img src="{image:sidebar}"/><div id="links">
- <a href="/" >home</a>
- <a href="#?w=400" rel="ask" class="poplight">ask</a>
- {block:ifLink1}<a href="{text:Link1}">{text:Link1 Title}</a>{/block:ifLink1}
- {block:ifLink2}<a href="{text:Link2}">{text:Link2 Title}</a>{/block:ifLink2}
- {block:ifLink3}<a href="{text:Link3}">{text:Link3 Title}</a>{/block:ifLink3}
- {block:ifLink4}<a href="{text:Link4}">{text:Link4 Title}</a>{/block:ifLink4}
- {block:ifLink5}<a href="{text:Link5}">{text:Link5 Title}</a>{/block:ifLink5}
- </div>
- <div id="texty">{block:Description}{Description}{/block:Description}</div>
- </div><br>
- <div id="pagination">{block:PreviousPage}<a href="{PreviousPage}">←</a> {/block:PreviousPage}{block:NextPage} <a href="{NextPage}"> →</a>{/block:NextPage}</div>
- </div>
- <div id="ask" class="popup_block">
- <iframe frameborder="0"
- height="150"
- id="ask_form"
- scrolling="no"
- src="http://www.tumblr.com/ask_form/INSERTUSERNAME.tumblr.com"
- width="100%">
- </iframe>
- </div>
- <div id="entries">
- {block:Posts}
- <div id="posts">
- {block:Title}<h1>{Title} </h1>{/block:Title}
- {block:Text}{Body}{/block:Text}
- {block:Quote}<h2>"{Quote}" — {Source}</h2>{/block:Quote}
- {block:Link}<a href="{URL}" class="link" {Target}><h1>{Name} </h1></a>
- {block:Description}<P>{Description}</p>{/block:Description}{/block:Link}
- {block:Photo}<center>{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{LinkCloseTag}</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="ask"> {Asker} asked: {Question}</div>
- <div id="answer">{Answer}</div>{/block:Answer}
- {block:Audio}<span class="audio"><center>{AudioPlayerBlack}</center></span>{block:Caption}{Caption}{/block:Caption}{/block:Audio}
- <div id="info">
- {block:Date} posted {TimeAgo} {/block:Date}{block:NoteCount} with <a href="{Permalink}">{NoteCountWithLabel}</a>{/block:NoteCount}{block:RebloggedFrom} via <a href="{ReblogParentURL}">{ReblogParentName}</a>{/block:RebloggedFrom} {block:ContentSource}<a href="{SourceURL}">© <a href="{SourceURL}">{SourceLink}</a>{/block:ContentSource}{block:RebloggedFrom} <a href="{ReblogParentURL}" target="_blank"></a>{/block:RebloggedFrom}</div>
- <div id="tags">
- {block:HasTags}{block:Tags}#<a href="{TagUrl}">{Tag} </a>{/block:Tags}{/block:HasTags}</div></div>
- {/block:Posts}
- {block:PostNotes}{PostNotes}{/block:PostNotes}
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement