Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- BASE CODE BY THEMESBYKENZIE -->
- <!-- THEME 4 by CRUIZAYN
- YOU MAY NOT REMOVE THIS CREDIT OR THE CREDIT EMBEDDED IN THE THEME.
- follow the rules or i'll find out & not be happy ok ily
- go to kinziesthemes.tumblr.com for more themes!
- IMPORTANT THEME TIPS:
- scroll all the way to the bottom of this html code and you'll see where you can edit the text for your faq/popup askbox
- -->
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <html lang="en">
- <!DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# blog: http://ogp.me/ns/blog#">
- <script type="text/javascript"
- src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
- <script>
- $(document).ready(function() {
- //
- $('a.poplight[href^=#]').click(function() {
- var popID = $(this).attr('rel'); //Get Popup Name
- var popURL = $(this).attr('href'); //Get Popup href to define size
- var query= popURL.split('?');
- var dim= query[1].split('&');
- var popWidth = dim[0].split('=')[1]; //Gets the first query string value
- $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"><img src="http://upload.wikimedia.org/wikipedia/commons/f/f8/Tooltip-CloseButton.png" class="btn_close" title="Close" alt="Close" /></a>');
- var popMargTop = ($('#' + popID).height() + 80) / 2;
- var popMargLeft = ($('#' + popID).width() + 80) / 2;
- //Apply Margin to Popup
- $('#' + popID).css({
- 'margin-top' : -popMargTop,
- 'margin-left' : -popMargLeft
- });
- $('body').append('<div id="fade"></div>');
- $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
- return false;
- });
- $('a.close, #fade').live('click', function() {
- $('#fade , .popup_block').fadeOut(function() {
- $('#fade, a.close').remove(); //fade them both out
- });
- return false;
- });
- });
- </script>
- <link href='http://fonts.googleapis.com/css?family=Alegreya+Sans+SC' rel='stylesheet' type='text/css'>
- <link href='http://fonts.googleapis.com/css?family=Alegreya+Sans+SC|The+Girl+Next+Door' rel='stylesheet' type='text/css'>
- <title>{Title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <meta name="color:background" content="#fff" />
- <meta name="color:post" content="#fff" />
- <meta name="color:sidebar" content="#eee" />
- <meta name="color:description" content="#717171" />
- <meta name="color:text" content="#7e7e7e" />
- <meta name="image:sidebar img" content="" />
- <meta name="color:link" content="#bababa">
- <meta name="image:background" content="" />
- <meta name="color:border" content="#676767">
- <meta name="text:link1" content="">
- <meta name="text:link1url" content="">
- <meta name="text:link2" content="">
- <meta name="text:link2url" content="">
- <meta name="text:link3" content="">
- <meta name="text:link3url" content="">
- <style type="text/css">
- #fade { /*--Transparent background layer--*/
- display: none; /*--hidden by default--*/
- background:#000;
- position: fixed; left: 0; top: 0;
- width: 100%; height: 100%;
- opacity: .5;
- z-index: 9999;
- }
- .popup_block{
- display: none; /*--hidden by default--*/
- background: #ffffff;
- background-image: url();
- padding: 20px;
- font-family: ronda;
- float: left;
- font-size: 8px;
- position: fixed;
- top: 50%; left: 50%;
- border: 2px solid #aaaaaa;
- z-index: 99999;
- /*--CSS3 Box Shadows--*/
- -webkit-box-shadow: 0px 0px 20px #000;
- -moz-box-shadow: 0px 0px 20px #000;
- box-shadow: 1px 1px 20px #000;
- -webkit-transition: all .7s ease;
- -moz-transition: all .7s ease;
- -o-transition: all .7s ease;
- transition: all .7s ease;
- }
- .popup_block:hover{
- opacity:1;
- -webkit-transition: all .7s ease;
- -moz-transition: all .7s ease;
- -o-transition: all .7s ease;
- transition: all .7s ease;
- }
- img.btn_close {
- float: right;
- margin: -15px -15px 0 0;
- }
- *html .popup_block {
- position: absolute;
- }
- body {
- background: {color:background};
- background-image: url('{image:background}');
- margin: 0;
- padding: 0;
- font-family: 'helvetica';
- }
- a{
- text-decoration:none;
- color:{color:link};
- }
- #title {
- font-family: 'cambria', sans-serif;
- color:{color:text};
- font-size:18px;
- font-style:bold;
- text-align:center;
- text-decoration:none;
- }
- /* --- SIDEBAR --- */
- #sidebar {
- position:fixed;
- margin-top:200px;
- margin-left:275px;
- width:150px;
- padding:5px;
- background-color:{color:sidebar};
- }
- #sidebarpic img {
- margin-bottom:5px;
- max-width:150px;
- height:auto;
- text-align:center;
- }
- #description {
- margin-top:8px;
- width: 150px;
- font-size:8px;
- text-align:justify;
- color:{color:description};
- font-family: 'The Girl Next Door', cursive;
- }
- #entry {
- font-size:9px;
- margin-right: 290px;
- margin-top:40px;
- float: right;
- text-align: justify;
- box-shadow: 0px 2px 6px rgba(0, 0, 0, .6);
- -moz-box-shadow: 0px 2px 6px rgba(0, 0, 0, .6);
- -webkit-box-shadow: 0px 2px 6px rgba(0, 0, 0, .6);
- }
- #post {
- font-size:9px;
- padding: 30px;
- letter-spacing:1px;
- font-family: 'Alegreya Sans SC', sans-serif;
- width: 400px;
- margin-bottom:20px;
- background-color:{color:post};
- color:{color:text};
- text-align: justify;
- border: solid 0px {color:border}
- }
- #links {
- margin-top:10px:
- width: 150px;
- margin-left:0px;
- letter-spacing:1px;
- text-transform:uppercase, lighter;
- font-size:10px;
- text-align:center;
- color:{color:link};
- font-family: 'Alegreya Sans SC', sans-serif;
- {CustomCSS}
- </style>
- </head>
- <body>
- <div id="sidebar">
- <div id="sidebarpic"><a href="/"><img src="{image:sidebar img}"/></a></div>
- <div id="links">
- <a href="/">home</a>
- <a href="/ask"><a href='#?w=500' rel='02' class='poplight'>letters</a> </a>
- {block:ifLink1}<a href="{text:Link1url}">{text:Link1}</a>{/block:ifLink1}
- {block:ifLink2}<a href="{text:Link2url}">{text:Link2}</a>{/block:ifLink2}
- {block:ifLink3}<a href="{text:Link3url}">{text:Link3}</a>{/block:ifLink3}
- </div>
- <div id="description">{block:Description}{Description}{/block:Description}</div>
- <center>
- {block:PreviousPage}<a href="{PreviousPage}"><font face='The Girl Next Door'><font size="1">back</font></font></a>{/block:PreviousPage} {block:NextPage} <a href="{NextPage}"><font size="1"><font face='The Girl Next Door'>forth</font></font></a>{/block:NextPage}
- </center>
- </div>
- <div id="entry">
- {block:Posts}
- <div id="post">
- {block:Text}{Body}{/block:Text}
- {block:Quote}<font size="1"><font face='The Girl Next Door'><h2>“{Quote}” — {Source}</h2></font></font>{/block:Quote}
- {block:Link}<a href="{URL}" class="link" {Target}> <h2>{Name}</h2></a>
- {block:Description}<P>{Description}</p>{/block:Description}{/block:Link}
- {block:Photo}<center>{LinkOpenTag}<img src="{PhotoURL-400}" alt="{PhotoAlt}"/>{LinkCloseTag}</center>{block:Caption}{Caption}{/block:Caption}{/block:Photo}
- {block:Photoset}<center>{Photoset-400}</center>{block:Caption}{Caption}{/block:Caption}{/block:Photoset}
- {block:Chat}{block:Title}<t>{Title}</t><br>{/block:Title}{block:Lines}{block:Label}<b>{Label}</b>{/block:Label} {Line}<br>{/block:Lines}{/block:Chat}
- {block:Video}{Video-500}{block:Caption}{Caption}{/block:Caption}{/block:Video}
- {block:Answer}
- <div class="question">
- <font size="1"><font face='The Girl Next Door'><b>{Asker}</b> asked:<br>
- {Question}</div>{Answer}</font></font>
- {/block:Answer}
- {block:Audio}<span class="audio"><center>{AudioPlayerBlack}</center></span>{block:Caption}{Caption}{/block:Caption}{/block:Audio}
- <div id="info">posted <a href="{Permalink}">{TimeAgo}</a>{/block:Date}{block:NoteCount} • <a href="{Permalink}">{NoteCount}</a> notes{/block:NoteCount}{block:RebloggedFrom} (<a href="{ReblogParentURL}">{ReblogParentName}</a>
- {block:ContentSource} source <a href="{SourceURL}">{SourceLink}</a>){block:ContentSource}{/block:RebloggedFrom}<br>
- {block:HasTags}{block:Tags}#<a href="{TagURL}">{Tag}</a> {/block:Tags}{/block:HasTags}</div></div><br>
- {/block:Posts}
- {block:PostNotes}{PostNotes}{/block:PostNotes}
- </div>
- <div style="position:fixed;bottom:3px; right:3px; font-size:9px;border:1px solid #e0e0e0;;padding:0px; padding-left:3px; padding-right:3px; font-family:cambria;"><a href="http://stylez.co.vu">▽△</a></center></div>
- </body>
- <div id="03" class="popup_block">
- </div
- </body>
- <div id="02" class="popup_block">
- <center>
- <font size=1>
- <big><b>HI THIS IS WHERE YOUR FAQ GOES</b></big><br><br>
- write your faq here <br>
- blah blah bkah<br>
- (you don't have to write here if you don't want to or don't have a faq)<br>
- <br></font>
- <p></font><iframe frameborder="0" scrolling="yes" width="100%" height="200" src="http://www.tumblr.com/ask_form/USERNAME.tumblr.com" style="background-color:transparent; overflow:hidden;" id="ask_form">
- </center></div>
- </div></div></div></div></div></div></div></div></div></div>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement