Skip to content

Instantly share code, notes, and snippets.

@ajwarnick
Created May 14, 2013 05:02
Show Gist options
  • Save ajwarnick/5573828 to your computer and use it in GitHub Desktop.
Save ajwarnick/5573828 to your computer and use it in GitHub Desktop.
start of tumblr theme
<!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>
<title>{Title}</title>
<link rel="shortcut icon" href="{Favicon}">
<link rel="alternate" type="application/rss+xml" href="{RSS}">
{block:Description}
<meta name="description" content="{MetaDescription}" />
{/block:Description}
<!--
BASE HTML/CSS/TUMBLR CODE BY EXCOLO [ excolo.tumblr.com ]
-->
<style type="text/css">
body {
font-family:Lucida Sans Unicode, Lucida Grande, Arial, sans serif;
font-size:12px;
color:#585858;
margin:0px;
padding:0px;
}
a {
color:#32c582;
text-decoration:none;
}
a:hover {
color:#329ac5;
}
#container {
width:760px;
margin:20px 0px 20px 100px;
}
#sidebar {
float:left;
width:200px;
background:#eeed7d;
padding:10px;
}
#sidebar h1 {
margin:0px 0px;
}
.description {
}
.links {
}
#content {
width:520px;
float:right;
}
.post {
background:#f3c3ff;
padding:10px;
margin:0px 0px 20px 0px;
}
.post .meta {
text-align:right;
}
#postnotes {
}
{CustomCSS}
</style>
</head>
<body>
<div id="container">
<div id="sidebar">
<h1>{Title}</h1>
{block:Description}
<div class="description">
{Description}
</div>
{/block:Description}
<div class="links">
{block:AskEnabled}<a href="/ask">{AskLabel}</a>{/block:AskEnabled}
{block:SubmissionsEnabled}<a href="/submit">{SumbitLabel}</a>{/block:SubmissionsEnabled}
{block:HasPages}{block:Pages}<a href="{URL}">{Label}</a>{/block:Pages}{/block:HasPages}
<a href="/archive">Archive</a>
<a href="{RSS}">RSS</a>
</div>
<div class="pagnition">
{block:PreviousPage}<a href="{PreviousPage}">&#171; Previous</a>{/block:PreviousPage}
{block:NextPage}<a href="{NextPage}">Next &#187;</a>{/block:NextPage}
</div>
</div>
<div id="content">
{block:Posts}
<div class="post">
{block:Text}
{block:Title}
<h3><a href="{Permalink}">{Title}</a></h3>
{/block:Title}
{Body}
{/block:Text}
{block:Photo}
{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{LinkCloseTag}
{block:Caption}
<div class="caption">{Caption}</div>
{/block:Caption}
{/block:Photo}
{block:Photoset}
{Photoset-500}
{block:Caption}
<div class="caption">{Caption}</div>
{/block:Caption}
{/block:Photoset}
{block:Quote}
"{Quote}"
{block:Source}
<div class="source">{Source}</div>
{/block:Source}
{/block:Quote}
{block:Link}
<a href="{URL}" class="link" {Target}>{Name}</a>
{block:Description}
<div class="description">{Description}</div>
{/block:Description}
{/block:Link}
{block:Chat}
{block:Title}
<h3><a href="{Permalink}">{Title}</a></h3>
{/block:Title}
<ul class="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}
{Video-500}
{block:Caption}
<div class="caption">{Caption}</div>
{/block:Caption}
{/block:Video}
{block:Audio}
{AudioPlayerBlack}
{block:Caption}
<div class="caption">{Caption}</div>
{/block:Caption}
{/block:Audio}
<div class="meta">
{block:Date}<a href="{Permalink}">{TimeAgo}</a>{/block:Date}
{block:NoteCount}<a href="{Permalink}#postnotes">{NoteCountWithLabel}</a>{/block:NoteCount}
</div>
{block:PermalinkPage}
{block:PostNotes}
<div id="postnotes">
{PostNotes}
</div>
{/block:PostNotes}
{/block:PermalinkPage}
</div>
{/block:Posts}
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment