Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <!--
- hiya! thank you for downloading my theme. my name's madi and i own the blog bliss-th.tumblr.com.
- don't remove the source or credit from my themes, and please treat me with respect when asking any questions about my themes. thank you.
- i love u. have a nice day pal.
- if you have any questions, please read my theme post and THEN ask your question if it wasn't answered.
- thank u again!! <3 i try to make my themes as easy to read and follow as possible, so read all the comments and tags in the HTML/CSS if you need help, too!
- -->
- <!-- Popup askbox script -->
- <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="{image:AskboxCloseButton}" 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>
- <!-- End of popup askbox script -->
- <!-- Meta tags :: What shows up in the Tumblr appearance options -->
- <meta name="color:Background" content="#ffffff" />
- <meta name="color:Title" content="#000000"/>
- <meta name="color:Links" content="#888888" />
- <meta name="color:Link Hover" content="#cccccc" />
- <meta name="color:Text" content="#000000"/>
- <meta name="color:Highlight Selection" content="#000000"/>
- <meta name="color:Sidebar" content="#000000"/>
- <meta name="color:Sidebar Links" content="#fff"/>
- <meta name="color:Sidebar Links Hover" content="#000"/>
- <meta name="color:Description" content="#ffffff"/>
- <meta name="color:Text Selection" content="#ffffff"/>
- {block:IfCustomScrollbar}<meta name="color:Scrollbar Thumb" content="#ffffff"/>{/block:IfCustomScrollbar}
- {block:IfCustomScrollbar}<meta name="color:Scrollbar Background" content="#000000"/>{/block:IfCustomScrollbar}
- <meta name="font:Body" content="Avalon" />
- <meta name="font:Description" content="Avalon"/>
- <meta name="font:Links" content="Avalon"/>
- <meta name="image:Background" content="" />
- <meta name="image:Askbox Close Button" content="http://www.patroncapital.com/images/close-button.png"/>
- <meta name="if:Custom Scrollbar" content="1"/>
- <meta name="if:Title Effect" content="1"/>
- <meta name="if:Top Sidebar" content="1"/>
- <meta name="if:Bottom Sidebar" content="0"/>
- <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=""/>
- <!-- End meta tags -->
- <!-- Tab titles, favicon, and search result descriptions -->
- <title>{Title}</title>
- {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
- <link rel="shortcut icon" href="{Favicon}" />
- <!-- End tab titles, favicon, and search result descriptions -->
- <!--Custom fonts -->
- <link href='http://fonts.googleapis.com/css?family=Amatic+SC:400,700' rel='stylesheet' type='text/css'>
- <!-- End custom fonts -->
- <!-- Beginning of CSS -->
- <style type="text/css">
- /* Highlight/text selection color */
- ::selection {
- background: {color:Highlight Selection}; /* Color of background upon selection */
- color: {color:Text Selection}; /* Color of text upon selection */
- }
- ::-moz-selection {
- background: {color:Highlight Selection};
- color: {color:Text Selection};
- }
- /* End of highlight/text selection color */
- /* Custom scrollbar */
- ::-webkit-scrollbar {
- width: 9px; /* Scrollbar width */
- height: 3px; /*Scrollbar height */
- background: {color:Scrollbar Background};
- }
- ::-webkit-scrollbar-thumb {
- background-color:{color:Scrollbar Thumb};
- border: 1px solid black; /*Scrollbar thumb border */
- }
- /* End custom scrollbar */
- /* Body CSS */
- body {
- background-color: {color:Background};
- font-family: {font:Body};
- background-image: url({image:Background});
- background-attachment: fixed;
- margin: 0;
- word-wrap: break-word;
- }
- /*End body CSS */
- /* Sidebar CSS */
- /* Main Sidebar */
- #sidebar {
- {block:IfTopSidebar}width: 100%;
- height: 100px;
- background-color: {color:Sidebar};
- position: fixed;
- z-index: 9999999;
- top: 0px;
- left: 0px;{/block:IfTopSidebar}
- {block:IfBottomSidebar}width: 100%;
- height: 100px;
- background-color: {color:Sidebar};
- position: fixed;
- z-index: 10;
- bottom: 0px;
- left: 0px;{/block:IfBottomSidebar}
- }
- /* End main sidebar */
- /* Sidebar title*/
- #sidebar .title {
- font-family: 'Amatic SC', cursive;
- text-align:right;
- font-size:40px;
- letter-spacing:-1px;
- margin-bottom:-8px;
- padding-right:5px;
- margin-right:5px;
- margin-top: 20px;
- {block:IfTitleEffect}text-shadow:1px 0px #96cef5,-1px -0px #f79b9b;{/block:IfTitleEffect}
- color:{color:Title};
- }
- /*End sidebar title */
- /* Sidebar description */
- #sidebar .description {
- width:100%;
- padding:5px 5px 3px 5px;
- margin-top:-0px;
- text-align:center;
- color:{color:Description};
- font-family:{font:Description};
- position: absolute;
- }
- /*End sidebar description */
- /* Sidebar links*/
- #sidebar .links {
- position:absolute;
- text-align:center;
- margin-top: -60px;
- width:100%;
- padding-top:12px;
- }
- #sidebar .links a {
- margin-bottom:4px;
- letter-spacing:2px;
- text-decoration:none;
- font-family:{font:Links};
- color:{color:Sidebar Links};
- }
- #sidebar .links a:hover {
- color:{color:Sidebar Links Hover};
- }
- /* End sidebar links */
- /* End sidebar CSS */
- /* Posts CSS */
- /* Posts :: general */
- #content {
- width: 1275px;
- background-color: rgba(255, 255, 255, 0.4);
- {block:IfTopSidebar}margin: 100px 0 60px 60px;{/block:IfTopSidebar}
- {block:IfBottomSidebar}margin:0px 100px 60px 60px;{/block:IfBottomSidebar}
- padding: 20px 0;
- color: {color:Text};
- }
- /* End posts :: general */
- /* Links */
- #content a {
- color: {color:Links};
- text-decoration: none;
- }
- #content a:hover {
- color: {color:Links Hover};
- }
- /* End links */
- /* Posts :: blockquotes */
- #content blockquote {
- border-left: solid 2px black;
- margin: 0;
- padding-left: 10px;
- }
- /*End posts :: blockquotes */
- /* Posts :: images */
- img {
- border: 0;
- max-width: 100%;
- }
- /* End posts :: images */
- /* Posts :: general+ */
- #posts {
- background-color: white;
- width: 250px;
- margin: 10px;
- padding:10px;
- float:left;
- }
- /* End posts :: general+ */
- /* Posts :: titles */
- #posts .title {
- font-size: 22px;
- }
- /* End posts :: titles */
- /* Posts :: text */
- #posts .text {
- font-size:11px;
- }
- /* End posts :: text */
- /* End post CSS */
- /* Permalink CSS */
- #content #posts #permalink {
- font-size:9px;
- margin-top:10px;
- }
- #content #posts #tags {
- font-size:9px;
- }
- #content #posts #tags .comma:last-child {
- display: none;
- }
- /* End permalink CSS */
- /* Notes CSS */
- #content #notecontainer {
- margin: 20px auto;
- width: 600px;
- font-size: 11px;
- }
- #content #notecontainer ol.notes {
- list-style-type: none;
- margin: 0;
- padding: 0;
- }
- #content #notecontainer img.avatar {
- margin-right: 10px;
- width: 20px;
- height: 20px;
- }
- /* End notes CSS */
- /* Popup askbox CSS */
- #fade { /*--Transparent background layer--*/
- display: none; /*--hidden by default--*/
- background: #000;
- position: fixed; left: 0; top: 0;
- width: 100%; height: 100%;
- opacity: .80;
- z-index: 9999;
- }
- .popup_block{
- display: none; /*--hidden by default--*/
- background: #fcfbf8;
- padding: 10px;
- border: 5px solid #f2e7e2;
- float: left;
- font-size: 10;
- position: fixed;
- top: 50%; left: 50%;
- z-index: 99999;
- /*--CSS3 Box Shadows--*/
- -webkit-box-shadow: 0px 0px 20px #000;
- -moz-box-shadow: 0px 0px 20px #000;
- box-shadow: 0px 0px 20px #000;
- /*--CSS3 Rounded Corners--*/
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- border-radius: 5px;
- }
- img.btn_close {
- float: right;
- margin: -20 -20px 0 0;
- }
- /*--Making IE6 Understand Fixed Positioning--*/
- *html #fade {
- position: absolute;
- }
- *html .popup_block {
- position: absolute;
- }
- /* End popup askbox CSS */
- {CustomCSS}
- </style>
- <!-- Infinite scroll -->
- <script type="text/javascript" src="http://codysherman.com/tools/infinite-scrolling/code"></script>
- <!-- End infinite scroll -->
- </head>
- <body>
- <!-- Sidebar -->
- <div id="sidebar">
- <div class="title">{Title}</div>
- <div class="links"><a href="/">home</a> • <a href="#?w=500" rel="02" class="poplight">ask</a> •
- <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> • <a href="http://bliss-th.tumblr.com">theme</a></div>
- <div class="description">{Description}</div></div></div>
- <!-- End sidebar -->
- <!-- Content -->
- <div id="content">
- {block:Posts}
- <div id="posts">
- {block:Photo}
- {LinkOpenTag}<img src="{PhotoURL-250}" />{LinkCloseTag}
- {block:Caption}<div class="text">{Caption}</div>{/block:Caption}
- {/block:Photo}
- {block:Photoset}
- {Photoset-250}
- {block:Caption}<div class="text">{Caption}</div>{/block:Caption}
- {/block:Photoset}
- {block:Video}
- {Video-250}
- {block:Caption}<div class="text">{Caption}</div>{/block:Caption}
- {/block:Video}
- {block:Audio}
- {AudioPlayerBlack}
- <div class="text">~ {PlayCountWithLabel}</div>
- {block:Caption}<div class="text">{Caption}</div>{/block:Caption}
- {/block:Audio}
- {block:Quote}
- <div class="title">“{Quote}”</div>
- {block:Source}<div class="text"><br>~ {Source}</div>{/block:Source}
- {/block:Quote}
- {block:Text}
- {block:Title}<div class="title">{Title}</div>{/block:Title}
- <div class="text">{Body}</div>
- {/block:Text}
- {block:Answer}
- <div class="title">{Question}</div>
- <div class="text">~ {Asker}</div>
- <div class="text">{Answer}</div>
- {block:Answer}
- {block:Chat}
- {block:Title}<div class="title">{Title}</div>{/block:Title}
- <div class="text">
- {block:Lines}
- {block:Label}<strong>{Label}</strong>{/block:Label} {Line}<br />
- {/block:Lines}
- </div> <!--text-->
- {/block:Chat}
- {block:Link}
- <div class="title"><a href="{URL}">{Name}</a></div>
- {block:Description}
- <div class="text">{Description}</div>
- {/block:Description}
- {/block:Link}
- <!--Permalink-->
- <div id="permalink">
- <a href="{Permalink}">
- {block:Date}{lang:Posted TimeAgo}{/block:Date}
- {block:NoteCount} with {NoteCountWithLabel}{/block:NoteCount}
- </a>
- </div> <!--End permalink-->
- <!--Tags-->
- {block:HasTags}<div id="tags">
- {block:Tags}<a href="{TagURL}">#{Tag}</a><span class="comma">, </span>{/block:Tags}.
- </div> <!--tags-->
- {/block:HasTags}
- </div> <!--End tags -->
- <!--End posts-->
- <!--Notes-->
- {block:PostNotes}
- <div id="notecontainer">{PostNotes}</div>
- {/block:PostNotes}
- <!-- End notes -->
- {/block:Posts}
- </div> <!-- End content-->
- <!-- Masonry scripts -->
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
- <script type="text/javascript" src="http://static.tumblr.com/me5sfsd/12Qlmj66n/script.js"></script>
- <script type="text/javascript">
- $(window).load(function(){
- var $wall = $('#content');
- $wall.imagesLoaded(function(){
- $wall.masonry({
- itemSelector: '#posts',
- isAnimated : true
- });
- });
- $wall.infinitescroll({
- navSelector : "div#navigation",
- nextSelector : "div#navigation a#nextPage",
- itemSelector : '#posts',
- loadingImg : "",
- loadingText : " ",
- donetext : " ",
- extraScrollPx : 0,
- bufferPx : 10000,
- debug : false,
- errorCallback: function() {
- $('#infscr-loading').animate({opacity: .8},2000).fadeOut('normal');
- }},
- function( newElements ) {
- var $newElems = $( newElements );
- $newElems.hide();
- $newElems.imagesLoaded(function(){
- $wall.masonry( 'appended', $newElems, {isAnimated: true, animationOptions: {duration: 250, easing: 'linear', queue: false}}, function(){$newElems.fadeIn('slow');} );
- });
- }); $('#content').show(500);
- });
- </script>
- <script language="JavaScript">
- function function1(){
- window.scrollTo(0,5);
- }
- function function2(){
- window.scroll(0,2);
- }
- </script>
- <!---- End masonry scripts -->
- <!--Popup Askbox -->
- <div id="02" class="popup_block">
- <Center><iframe frameborder="0" scrolling="yes" width="100%" height="190" src="http://www.tumblr.com/ask_form/{Name}.tumblr.com" style="background-color:transparent; overflow:hidden;" id="ask_form"></iframe>
- </center></div>
- <!-- End popup askbox -->
- </div></div></div></div></div></div></div></div></div></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement