Professional Documents
Culture Documents
DOCTYPE html>
<!-- -------------------------------------------------------------
------------------------------------------------------------- -->
<html lang="en">
<head>
<meta charset="utf-8" />
<title>{Title}</title>
<link rel="shortcut icon" href="{Favicon}">
<link rel="alternate" type="application/rss+xml" href="{RSS}">
<link href='http://fonts.googleapis.com/css?family=Unica+One|Abel|
Open+Sans+Condensed:700,300|BenchNine' rel='stylesheet'
type='text/css'>
2} 0%, {color:Photo Gradient Layer 1} 100%); background-image: -webkitlinear-gradient(bottom, {color:Photo Gradient Layer 2} 0%, {color:Photo
Gradient Layer 1} 100%); background-image: -ms-linear-gradient(bottom,
{color:Photo Gradient Layer 2} 0%, {color:Photo Gradient Layer 1} 100%);}
#content #post #photo #hover #links { position:absolute; height:100%;
width:200px; top:0; left:0;} #content #post #photo #hover a, #content
#post #photo #hover a:hover { display: inline-block; font-size: 11px; fontweight: 700; letter-spacing: 1px; line-height: 100%; padding: 7px 11px 8px;
position: absolute; text-align:center; text-transform: uppercase; color:
{color:Photo hover links}; border: 2px solid {color:Photo hover links};
{Block:IfFontAbel} font-family: 'Abel', sans-serif; font-size:13px; padding: 7px
11px; font-weight:normal; {/Block:IfFontAbel} {Block:IfFontBenchNine} fontfamily: 'BenchNine',Helvetica,Arial,sans-serif; padding: 7px 11px; fontsize:14px; font-weight:400; {/Block:IfFontBenchNine}
{Block:IfFontOpenSansCondensed} font-family: 'Open Sans Condensed',
sans-serif; border-width:3px; font-weight:700; font-size:13px;
{/Block:IfFontOpenSansCondensed} {Block:IfFontUnicaOne} font-family:
'Unica One', cursive; font-weight:400; padding: 7px 11px; font-size:13px;
{/Block:IfFontUnicaOne}} #content #post #photo #hover a.N { top: 10px;
left: 10px;} #content #post #photo #hover a.T { top: 10px; width:51px;
right: 10px;} #content #post #photo #hover a.R { bottom: 10px; right:
10px; width:51px;} #content #post #photo #hover a.S { bottom:10px;
left:10px;} {/Block:IfSwitchPhotoPostHoverStyle} #content #post.photoset
{ {block:IndexPage} width:430px !important; padding:25px 10px 10px;
padding:25px 10px; {/block:IndexPage}} #content #post #photoset
{ overflow:hidden;} #content #post #photoset a img { width:250px;
height:auto; display:none;} #content #post #photoset a:first-child img
{ display:block;} #container #audio_box { position:relative} #container
#audio_box #gradient { z-index:1000; position:absolute; height:100%;
width:100%; -webkit-transition: all 0.6s ease; -moz-transition: all 0.6s ease;
-o-transition: all 0.6s ease; transition: all 0.6s ease;
{Block:IfNotSwitchPhotoPostHoverStyle} opacity:{text:Photo Gradient
Transparency}; background-image: linear-gradient(bottom, {color:Photo
Gradient Layer 2} 0%, {color:Photo Gradient Layer 1} 100%); backgroundimage: -o-linear-gradient(bottom, {color:Photo Gradient Layer 2} 0%,
{color:Photo Gradient Layer 1} 100%); background-image: -moz-lineargradient(bottom, {color:Photo Gradient Layer 2} 0%, {color:Photo Gradient
Layer 1} 100%); background-image: -webkit-linear-gradient(bottom,
{color:Photo Gradient Layer 2} 0%, {color:Photo Gradient Layer 1} 100%);
background-image: -ms-linear-gradient(bottom, {color:Photo Gradient Layer
2} 0%, {color:Photo Gradient Layer 1} 100%);
{/Block:IfNotSwitchPhotoPostHoverStyle}} #container #audio_box:hover
#gradient{ opacity:0;} #container .album{ margin:0; height:36px}
#container .albumart{ margin:0; min-height:36px; width:200px;
<body>
<div id="background-gradient"></div>
<div id="fb-root"></div>
<script>
(function(d, s, id) {
<div id="center">
{Block:IfShowHeader}
<div id="header">
<center>
<a href="/">
{Block:IfnotHeaderLogoImage}
{Block:IfCustomHeaderTitle}
<h1>{Text:Custom Header Title}</h1>
{/Block:IfCustomHeaderTitle}
{Block:IfNotCustomHeaderTitle}
<h1>{Title}</h1>
{/Block:IfNotCustomHeaderTitle}
{/Block:IfnotHeaderLogoImage}
{Block:IfHeaderLogoImage}
<img src="{Image:Header logo}" id="logo" />
{/Block:IfHeaderLogoImage}
</a>
</center>
</div><!-- end #header -->
{/Block:IfShowHeader}
{Block:IfNotShowHeader}
<div id="noheader"></div>
{/Block:IfNotShowHeader}
<div id="container">
<div id="background"></div>
<div id="xtr_spc">
<div id="sidebar">
{Block:IfSidebarPortraitimage}
<div id="sidebar_box">
<div id="background"></div>
<a href="/">
<img src="{image:Sidebar Portrait}" class="portrait"/>
</a>
</div>
{/Block:IfSidebarPortraitimage}
<div id="sidebar_box">
<div id="background"></div>
<a href="/"><h1>{title}</h1></a>
</div>
{Block:IfShowDescriptionBox}
<div id="sidebar_box">
<div id="background"></div>
{Description}
</div>
{/Block:IfShowDescriptionBox}
<div id="sidebar_box">
<div id="background"></div>
<div id="links">
<h2>Links</h2>
{Block:IfShowBlogRoll}
<a href="#blogroll" class="blogroll">Blogroll</a>
{Block:IfShowBlogRoll}
{block:ifLink1Title}
<a href="{text:Link 1}">{text:Link 1 Title}</a>
{/block:ifLink1Title}
{block:ifLink2Title}
{block:AskEnabled}
<a href="/ask">{AskLabel}</a>
{/block:AskEnabled}
{block:SubmissionsEnabled}
<a href="/submit">Submit</a>
{/block:SubmissionsEnabled}
{Block:IfShowArchiveLink}
<a href="/archive">Archive</a>
{/Block:IfShowArchiveLink}
{Block:IfShowRandomLink}
<a href="/random">Random</a>
{/Block:IfShowRandomLink}
{Block:IfShowSearchBar}
{block:HasPages}
{block:Pages}
<a href="{URL}" title="{Label}">{Label}</a>
{/block:Pages}
{/block:HasPages}
</div>
</div>
{Block:IfShowSocialButtons}
<div id="sidebar_box">
<div id="background"></div>
<div id="widgets">
<h2>Social</h2>
{Block:IfTwitterusername}
<div id="twitter">
<a href="https://twitter.com/{text:Twitter Username}"
class="twitter-follow-button" data-show-count="false" data-show-screenname="false">Follow @{text:Twitter Username}</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!
d.getElementById(id))
{js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.
parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
{/Block:IfTwitterusername}
<div class="fb-like" data-send="false" datalayout="button_count" data-width="200" data-show-faces="false"></div>
<div class="clear"></div>
</div><!-- end #widgets -->
</div>
{/Block:IfShowSocialButtons}
</div><!-- end #sidebar -->
</div>
{block:IndexPage}
{Block:IfNot4columns}
{Block:IfTwitterusername}
<div id="xtr_spc_twitter">
<div id="sidebar">
<div id="background"></div>
<h2>Tweets</h2>
<div id="feed"></div>
</div>
</div>
{/Block:IfTwitterusername}
{/Block:IfNot4columns}
{/block:IndexPage}
{Block:IfShowBlogRoll}
<div id="blogroll">
<div id="background"></div>
{block:Following}
<h1>Blogs I follow:</h1>
<ul>
{block:Followed}
<li>
<a href="{FollowedURL}">
<img src="{FollowedPortraitURL-48}"/></a>
</li>
{/block:Followed}
</ul>
{/block:Following}
<div class="close"></div>
</div>
{/Block:IfShowBlogRoll}
<div id="content">
{block:IndexPage}
{Block:If4columns}
{block:SearchPage}<div class="hidden">{/block:SearchPage}
{block:TagPage}<div class="hidden">{/block:TagPage}
{Block:IfTwitterusername}
<div id="twitter">
<div id="background"></div>
<h3>Tweets</h3>
<div id="feed"></div>
</div>
{/Block:IfTwitterusername}
{block:SearchPage}</div>{/block:SearchPage}
{block:TagPage}</div>{/block:TagPage}
{/Block:If4columns}
{/block:IndexPage}
{block:SearchPage}
<div id="post" class="pages">
<div id="background"></div>
<h3>Search results for "{SearchQuery}"</h3>
</div>
<div id="post" class="pages">
<div id="background"></div>
{block:NoSearchResults}
<h3>No results found</h3>
{/block:NoSearchResults}
</div>
{/block:SearchPage}
{block:TagPage}
<div id="post" class="pages">
<div id="background"></div>
<h3>Posts tagged with "{Tag}"</h3>
</div>
{/block:TagPage}
{block:Posts}
<div id="post"
{block:Video}class="video"{/block:Video}
{block:Photoset}class="photoset"{/block:Photoset}>
<div id="background"></div>
{block:Text}
{block:Title}
<a href="{Permalink}"><h3>{Title}</h3></a>
{/block:Title}
{Body}
{/block:Text}
{block:Photo}
<div id="photo">
{block:IndexPage}
{Block:IfNotSwitchPhotoPostHoverStyle}
<a href="{Permalink}"><div id="gradient"></div></a>
{block:Date}
{Block:IfSwitchPhotoPostHoverStyle}
{block:Date}
<div id="hover"><div id="background"></div>
<div id="links">
{block:NoteCount}
<a href="{Permalink}" class="N">{NoteCount}</a><br />
{/block:NoteCount}
<a href="{Permalink}" class="T">
{DayOfMonthWithZero}.{MonthNumberWithZero}.{ShortYear}
</a>
<a href="{ReblogURL}" class="R">Reblog</a>
{block:RebloggedFrom}
<a href="{ReblogRootURL}" class="S">Source</a>
{/block:RebloggedFrom}
</div>
</div>
{/block:Date}
{/Block:IfSwitchPhotoPostHoverStyle}
<a href="{Permalink}">
<img src="{PhotoURL-500}"/></a>
{/block:IndexPage}
{block:PermalinkPage}
<center><img src="{PhotoURL-HighRes}"/></center>
{/block:PermalinkPage}
</div>
{/block:Photo}
{block:Photoset}
{block:IndexPage}
<center>{Photoset-400}</center>
{/block:IndexPage}
{block:PermalinkPage}
<center>{Photoset-500}</center>
{/block:PermalinkPage}
{/block:Photoset}
{block:Quote}
<div id="quote">
<div id="quote_symbol">,,</div>
<a href="{Permalink}"><h3>{Quote}</h3></a>
{block:Source}
<div class="source">{Source}</div>
{/block:Source}
</div>
{/block:Quote}
{block:Link}
<a href="{URL}" class="link" {Target}><h3>
{Name}</h3></a>
{block:Description}
<div class="description">{Description}</div>
{/block:Description}
{/block:Link}
{block:Audio}
<div id="audio_box">
<a href="{Permalink}"><div id="gradient"></div></a>
<div class="album{block:AlbumArt}art{/block:AlbumArt}">
{block:AlbumArt}
{block:IndexPage}<a href="{Permalink}">{/block:IndexPage}
<img src="{AlbumArtURL}" />
{block:IndexPage}</a>{/block:IndexPage}
{/block:AlbumArt}</div>
<div id="{postID}" class="audio
{block:AlbumArt}short{/block:AlbumArt}
">
{block:IndexPage}
{AudioPlayerBlack}
{/block:IndexPage}
{block:PermalinkPage}
{block:ifDarkorlightversion}
{AudioPlayerBlack}
{/block:ifDarkorlightversion}
{block:ifNotDarkorlightversion}
{AudioPlayerWhite}
{/block:ifNotDarkorlightversion}
{/block:PermalinkPage}
</div>
{block:PermalinkPage}
<ul class="artist_info">
{block:Artist}
<li>{Artist}</li>
{/block:Artist}
{block:Album}
<li>{Album}</li>
{/block:Album}
{block:TrackName}
<li>{TrackName}</li>
{/block:TrackName}
</ul>{/block:PermalinkPage}
<div class="clear"></div>
</div>
{/block:Audio}
{block:Chat}
{block:Title}
<a href="{Permalink}"><h3>{Title}</h3></a>
{/block:Title}
<ul id="chat">
{block:Lines}
<li class="{Alt} user_{UserNumber}">
{block:Label}
<span class="label">{Label}</span>
{/block:Label}
{Line}
</li>
{/block:Lines}
</ul>
{/block:Chat}
{block:Video}
<div id="video">
<center>{Video-500}</center>
</div>
{/block:Video}
{block:Answer}
<div id="question">
<img src="{AskerPortraitURL-64}" />
<a href="{Permalink}" title="Got to Permalink page">
<p><span>{Asker}:</span><br/>
{Question}</p></a>
<div class="clear"></div>
</div>
<div id="answer">
{Answer}
<div class="clear"></div>
</div>
{/block:Answer}
{Block:IfShowPostCaptions}
{block:IndexPage}
{block:Date}
{block:Caption}
<div class="caption">{Caption}</div>
{/block:Caption}
{/block:Date}
{/block:IndexPage}
{/Block:IfShowPostCaptions}
{block:PermalinkPage}
{block:Date}
<div id="info">
{block:Caption}
<div class="caption">
<div id="background"></div>
{Caption}
</div>{/block:Caption}
<div class="info_list">
<div id="background"></div>
<ul>
{block:NoteCount}
<li>{NoteCountWithLabel}</li>
{/block:NoteCount}
<li>{DayOfMonthWithZero} {Month} {Year}</li>
{block:RebloggedFrom}
<li><a href="{ReblogRootURL}" target="_blank">
{ReblogRootName}</a></li>
{/block:RebloggedFrom}
{block:HighRes}
{block:PostNotes}
<div class="notes_box">
<div id="background"></div>
{PostNotes}
<div class="clear"></div>
</div>
</div>
{/block:PostNotes}
{/block:Date}
{/block:PermalinkPage}
{/block:Posts}
{Block:IfNotInfiniteScroll}
{block:Pagination}
<div id="pagination">
<div id="background"></div>
{block:PreviousPage}
<a href="{PreviousPage}" class="prev">Previous</a>
{/block:PreviousPage}
{block:NextPage}
<a href="{NextPage}" class="next">Next</a>
{/block:NextPage}
<div class="clear"></div>
</div>
{/block:Pagination}
{/Block:IfNotInfiniteScroll}
</div><!-- end #content -->
<div class="clear"></div>
</div><!-- end #container -->
</div><!-- end #center -->
<script type="text/javascript"
src="http://themaxdavisthemes.com/code/jQuery.js"></script>
{Block:IfSidebarFixed}<script type="text/javascript"
src="http://static.tumblr.com/8jq17g7/c7Bmgqg0l/jquery.stickyscroll.js"></scr
ipt>{/Block:IfSidebarFixed}
{Block:IfTwitterusername}<script type="text/javascript"
src="http://static.tumblr.com/8jq17g7/t06mgzc3u/jquery.tweet.js"></script>
{/Block:IfTwitterusername}
<script type="text/javascript">
$(window).load(function(){
var $wall = $('#content');
{block:IndexPage}
$wall.masonry({
itemSelector: '#post,
#twitter{block:SearchPage}_hide{/block:SearchPage}
{block:TagPage}_hide{/block:TagPage}, #pagination',
columnWidth: 230
});
{Block:IfInfiniteScroll}
$wall.infinitescroll({
navSelector : ".nav",
nextSelector : ".nav a",
itemSelector : "#post",
behavior
: 'twitter',
extraScrollPx: 50,
bufferPx
: 5000,
loadingImg : "",
loadingText : "",
loading
donetext
: "",
: ""
},
function( newElements ) {
var $newElems = $( newElements ).css({
opacity: 0
});
$newElems.imagesLoaded(function(){
$newElems.animate({ opacity: 1 });
$wall.masonry( "appended", $newElems, true );
});
$('.audio').each(function(){
var audioID = $(this).attr("id");
var $audioPost = $(this);
$.ajax({
url: 'http://{Name}.tumblr.com/api/read/json?id=' + audioID,
dataType: 'jsonp',
timeout: 50000,
success: function(data){
$audioPost.find('#audio_player_'+audioID).replaceWith('<div
style="background-color:#000000;">' + data.posts[0]['audioplayer'].replace("audio_player.swf", "audio_player_black.swf") +'</div>');}
});
});
});{/Block:IfInfiniteScroll}
$(document).load(function(){
e.preventDefault();
$wall.infinitescroll('retrieve');
});
$('#load').click(function(){
$(document).trigger('retrieve.infscr');
return false;
});
});
{/block:IndexPage}
{Block:IfSidebarFixed}
$(document).ready(function() {
$('#xtr_spc, #xtr_spc_twitter').stickyScroll({ container: '#container' });
});{/Block:IfSidebarFixed}
jQuery(function($){
$("#feed").tweet({
username: "{Text:Twitter username}",
count: "{Text:Tweet count}"
});
});
$('.blogroll').click(function(){
$('#blogroll').show();
$('#content').hide();
});
$('#close').click(function(){
$('#content').show();
$('#blogroll').hide();
});
</script>
</html>