Skip to content

Instantly share code, notes, and snippets.

@agoodkind
Created March 24, 2014 19:27
Show Gist options
  • Save agoodkind/9747279 to your computer and use it in GitHub Desktop.
Save agoodkind/9747279 to your computer and use it in GitHub Desktop.
austere theme minimalism
<!--
designed by andrew manufactured by alex http://chemical-themes.tumblr.com/
-->
<head>
<meta name="color:Background" content="#eeeeee"/>
<meta name="color:Text" content="#FFFFFF"/>
<meta name="color:Hover" content="#FFFFFF"/>
<meta name="color:Link" content="#FFFFFF"/>
<meta name="color:accents" content="#FFFFFF"/>
<meta name="image:Background" content="1"/>
<meta name="text:descfontsize" content="15px"/>
<meta name="text:navfontsize" content="12px"/>
<meta name="text:homelinktitle" content="return"/>
<meta name="text:link1" content=""/>
<meta name="text:link1title" content=""/>
<meta name="text:link2" content=""/>
<meta name="text:link2title" content=""/>
<meta name="text:link3" content=""/>
<meta name="text:link3title" content=""/>
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<style type="text/css">
::-webkit-scrollbar {width: 9px; height: 3px; background: #FFFFFF;}
::-webkit-scrollbar-thumb {background-color:#ffffff ; border: 1px solid black;}
-webkit-transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
a {
text-decoration:none;
-webkit-transition: all 0.7s ease-out;
-moz-transition: all 0.7s ease-out;
transition: all 0.7s ease-out;
}
a:hover {
text-decoration:none;
-webkit-transition: all 0.7s ease-out;
-moz-transition: all 0.7s ease-out;
transition: all 0.7s ease-out;
}
#tumblr_controls{
position:fixed !important;
}
#center{
padding-top:3px;
padding-bottom:3px;
position:fixed !important;
width:250px;
height:207px;
background-color:#fff;
{block:PermalinkPage}
width:410px;
height:207px;
{/block:PermalinkPage}
}
#posts{
float:center;
{block:indexpage}
width:710px;
{/block:indexpage}
{block:permalinkpage}
width:860px;
{/block:permalinkpage}
margin-left: 14%;
margin-top: 0px;
}
body {
padding: 0px;
margin: 0px;
color:{color:text};
font-family: georgia;
font-size: 10px;
line-height:14px;
background-color: {color:Background};
background-image:url({image:Background});
background-attachment: fixed;
background-size: cover;
}
a:link, a:active, a:visited{
text-decoration:none;
color:{color:link};
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;}
a:hover{
color:{color:accents};
text-shadow:0px 0px 20px #fff;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
#entry {
margin:16px;
float:left;
padding:9px;
padding-bottom:6px;
border:1px solid #fff;
z-index:9999999999999999999999999;
box-shadow:1px 1px 1px #ccc;
border:1px solid black;
background-color: white;
font-size: 12px;
line-height:15px;
{block:IndexPage}width:260px;{/block:IndexPage}
{block:PermalinkPage}width:400px; margin-left:40px;{/block:PermalinkPage}
}
#entry .perma{
position:absolute;
width: 100px;
height: auto;
float:right;
overflow:hidden;
top:0px;
right:5;
font-family: Palatino, 'Palatino Linotype', serif;
font-size: 12px;
line-height:14px;
text-align: center;
padding:3px;
text-transform: uppercase;
opacity:0.0;
background-color: rgba(255,255,255,0.5);
-webkit-transition: all 0.8s ease;
-moz-transition: all 0.8s ease;
transition: all 0.8s ease;
-o-transition: all 0.8s ease;
}
#entry:hover .perma{
overflow:visible;
top:9px;
opacity: 0.9;
}
#entry:hover .perma:hover{
width:110px;
opacity:1;
}
.perm{
display: block;
font-family:georgia;
font-size:9px;
line-height:13px;
text-transform:uppercase;
text-align: right;
background-color:{color:accents};
border-right:3px {color:accents} solid;
padding:3px;
opacity:.8;
margin: 0px;
margin-bottom:5px;
-webkit-transition: all 1s ease;
-moz-transition: all 1s ease;
transition: all 1s ease;
-o-transition: all 1s ease;
}
.perm:hover{
opacity:.6;
}
.blogtitle{
font-size:23px;
line-height:27px;
font-family:Palatino, 'Palatino Linotype', serif;
height:auto;
letter-spacing:3px;
width:200px;
z-index:99999999999999999;
opacity:.9;
text-transform:uppercase;
-webkit-transition: all 0.3s linear;
-moz-transition: all 0.3s linear;
transition: all 0.3s linear;
}
.blogtitle:hover{
text-shadow: 1px 0px #df8181, -1px 0px #54d2cb;
-webkit-transition: all 0.3s linear;
-moz-transition: all 0.3s linear;
transition: all 0.3s linear;
}
.title{
font-family:georgia;
text-transform:lowercase;
font-size: 19px;
line-height: 24px;
color: {color:text};
}
#sidebar{
z-index:999999999;
width:200px;
height:100%;
position:fixed;
right:20%;
padding:14px;
margin-top:-6px;
font-size:11px;
line-height:15px;
font-family:Georgia;
padding-top:100px;
overflow:hidden;
text-align:left;
opacity:1;
-webkit-transition: all 0.8s linear;
-moz-transition: all 0.8s linear;
transition: all 0.8s linear;
}
.titlelink:hover{
text-shadow: 1px 0px #df8181, -1px 0px #54d2cb;
-webkit-transition: all 0.3s linear;
-moz-transition: all 0.3s linear;
transition: all 0.3s linear;
}
#nav {
font-style:italic;
font-size:{text:navfontsize};
}
#decline1 {
height:100px;
padding:5px;
border-left: 2px solid #000;
}
#decline2 {
height:100px;
padding:5px;
border-left: 2px solid #000;
}
.avatar {
display:none;
}
</style>
<title>{title}</title>
<link rel="shortcut icon" href="{favicon}">
<link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}" />
<meta name="viewport" content="width=720" />
</head>
<body onkeydown="return false">
<div class="center">
<div id="sidebar">
<div id="decline1">
<div id="decline2">
<div class="blogtitle"><a class="titlelink" href="/">{title}</a></div>
<br />
<div id="desc" style="font-size:{text:descfontsize};">{description}</div>
<br />
<span><a id="nav" href="/">{text:homelinktitle}</a></span>
<span><a id="nav" href="{text:link1}">{text:link1title}</a></span>
<span><a id="nav" href="{text:link2}">{text:link2title}</a></span>
<span><a id="nav" href="{text:link3}">{text:link3title}</a></span>
<span id="inner"></span>
</div>
</div>
</div>
<div class="content">
<div class="left">
<div id="posts">
{block:Posts}
<div id="entry">
{block:Text}
{block:Title}<span class="title">{Title}</span>{/block:Title}
<span class="entrytext">{Body}</span></a>
{block:IndexPage}
<div class="perm"><a href="{Permalink}"><a href="{Permalink}">{notecount}</span></a></div>
{/block:IndexPage}
{/block:Text}
{block:Link}
<a href="{URL}" class="title">{Name}</a>
{block:Description}{Description}{/block:Description}
{block:IndexPage}
<div class="perm"><a href="{Permalink}">{notecount}</a></div>
{/block:IndexPage}
{block:Link}
{block:Photo}
{block:IndexPage}
<div class="perma"><a href="{Permalink}" target="_blank">{NoteCount}</a></div>
{/block:IndexPage}
{block:IndexPage}<a href="{Permalink}"><div class="photo"><img class="photo" src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width="260"/></div></a>
{block:ifshowcaptions}{Caption}{/block:ifshowcaptions}
{/block:IndexPage}
{block:PermalinkPage}{LinkOpenTag}<img class="photo" src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width="400"/>{LinkCloseTag}{/block:PermalinkPage}
{/block:Photo}
{block:Photoset}{block:IndexPage}
<div class="perma"><a href="{Permalink}" target="_blank">{NoteCount}</a></div>{/block:IndexPage}<center>{Photoset-250}</center></span>{/block:Photoset}
{block:Quote}
<span class="title">{Quote}</span><br />
{block:Source}{Source}{/block:Source}
{block:IndexPage}
<br /><div class="perm"><a href="{Permalink}">{notecount}</span></a></div>
{/block:IndexPage}
{/block:Quote}
{block:Chat}
{block:Title}<span class="title">{Title}</span>{/block:Title}
<ul class="chat">
{block:Lines}
<li class="user_{UserNumber}">
{block:Label}
<span class="label">{Label}</span>
{/block:Label}
{Line}
</li>
{/block:Lines}
</ul>
{block:IndexPage}
<div class="perm"><a href="{Permalink}">{notecount}</span></a></div>
{/block:IndexPage}
{/block:Chat}
{block:Audio}
<center><div style="width:200px; height:20px;"><div style="float:left">{AudioPlayerWhite}</div><div style="margin-top:8px; float:right;"><small>
{FormattedPlayCount} plays</small></div></div></center><br>
{block:Caption}{Caption}{/block:Caption}
{block:IndexPage}
<div class="perm"><a href="{Permalink}">{notecount}</span></a></div>
{/block:IndexPage}
{/block:Audio}
{block:Video}{block:IndexPage}
<div class="permalink">
<a href="{permalink}">{NoteCount}</a></span></div>{/block:IndexPage}
<center>
<div class="videoperma">{Video-300}</div><BR>
{block:Caption}{Caption}</a>{/block:Caption}</center>
{block:Video}
{block:PermalinkPage}
<center>
{block:Caption}{Caption}{/block:Caption}{block:NoteCount}{NoteCountWithLabel}{/block:NoteCount}{block:HasTags} &middot; {block:Tags}<a href="TagURL"> #{Tag}</a> {/block:Tags}{/block:hasTags}</center>
{/block:PermalinkPage}
{block:PostNotes}{PostNotes}
{/block:PostNotes}
</div>
{/block:Posts}
</div>
</div>
</div>
</div>
{block:indexpage}
{block:NextPage}<div id="page-nav"><a href="{NextPage}"></a></div>{/block:NextPage}
<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/4ra4qv5/M6mn2wnxw/jquerymasonryv2.js"></script>
<script type="text/javascript">
$(window).load(function(){
var $wall = $('#posts');
$wall.imagesLoaded(function(){
$wall.masonry({
itemSelector: '#entry, #entry_photo',
isAnimated : false
});
});
$wall.infinitescroll({
navSelector : '#page-nav',
nextSelector : '#page-nav a',
itemSelector : '#entry, #entry_photo',
bufferPx : 2000,
debug : false,
errorCallback: function() {
$('#infscr-loading').fadeOut('normal');
}},
function( newElements ) {
var $newElems = $( newElements );
$newElems.hide();
$newElems.imagesLoaded(function(){
$wall.masonry( 'appended', $newElems,{isAnimated: false}, function(){$newElems.fadeIn('slow');} );
});
}); $('#content').show(500);
});
</script>
{/block:indexpage}
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment