Skip to content

Instantly share code, notes, and snippets.

@vranystepan
Created November 25, 2011 14:02
Show Gist options
  • Save vranystepan/1393595 to your computer and use it in GitHub Desktop.
Save vranystepan/1393595 to your computer and use it in GitHub Desktop.
Úprava tumblr vzhledu výsledek
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!--
Torn Paper v1.5
by Conkers
http://conkers.tumblr.com/
-->
<html style="height: 100%;">
<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}
<meta name="color:Text" content="#000000"/>
<meta name="color:Date" content="#a0a0a0"/>
<meta name="text:Tagline" content="Your awesome tagline"/>
<meta name="text:Facebook Username" content=""/>
<meta name="text:Twitter Username" content=""/>
<meta name="text:Wordpress Blog" content=""/>
<style type="text/css">
body {
font: 14pt Georgia, Times, serif;
background: white url('http://static.tumblr.com/q7amnew/235l3yng2/black.png') repeat-y center top;
margin-top: 0px;
margin-bottom: 0px;
height: 100%;
word-wrap: break-word;
}
blockquote {
margin: 0px 0px 0px 20px;
}
.container {
margin-left: auto;
margin-right: auto;
height: 100%;
}
img {border: none;}
a:link {
color: {color:Text};
}
a:visited {
color: {color:Text};
}
.title {
font-weight: bold;
font-size: 38pt;
letter-spacing: -0.1em;
line-height: 95%;
}
a.title:link {
color: {color:Text};
text-decoration: none;
}
a.title:visited {
color: {color:Text};
text-decoration: none;
}
a.title:hover {
text-decoration: underline;
}
.navi {
color: {color:Text};
position: fixed;
top: -5px;
width: 300px;
height: 2000px;
background: url('http://static.tumblr.com/q7amnew/3lrl3ynfi/paper-right.png') repeat-y right;
padding-right: 40px;
padding-top: 20px;
word-wrap: break-word;
}
.pagebar {
word-wrap: break-word;
font-weight: bold;
}
.pagelink {
font-weight: bold;
text-decoration: none;
word-wrap: break-word;
}
.pagelink:hover {
text-decoration: underline;
}
.wrapper {
color: {color:Text};
padding-left: 50px;
padding-bottom: 20px;
padding-top: 30px;
word-wrap: break-word;
width: 500px;
}
.heading {
font-weight: bold;
font-size: 32pt;
letter-spacing: -4px;
line-height: 95%;
word-wrap: break-word;
}
.quote {
font-weight: bold;
font-size: 20pt;
letter-spacing: -3px;
line-height: 95%;
word-wrap: break-word;
font-style: italic;
}
.permalink {
font-size: 10pt;
color: {color:Date};
text-decoration: none;
}
a.permalink:link {
font-size: 10pt;
color: {color:Date};
text-decoration: none;
}
a.permalink:visited {
color: {color:Date};
text-decoration: none;
}
a.permalink:hover {
text-decoration: underline;
}
p.credit {
font-size: 10pt;
color: {color:Date};
}
a.credit:link {
font-size: 10pt;
color: {color:Date};
text-decoration: none;
}
a.credit:visited {
color: {color:Date};
text-decoration: none;
}
a.credit:hover {
text-decoration: underline;
}
blockquote {
margin: 0px 0px 0px 20px;
}
{CustomCSS}
</style>
</head>
<body>
<div style="min-width: 920px; height: 100%;">
<table cellspacing="0" class="container">
<tr>
<td valign="top" style="width: 300px;">
<div class="navi">
<div class="title">
<a href="/" class="title">{Title}</a>
</div>
{block:HasPages}
<p class="pagebar">
{block:Pages}
<div style="display: inline-block; margin-right: 15px;">
<a href="{URL}" class="pagelink">{Label}</a>
</div>
{/block:Pages}
</p>
{/block:HasPages}
{block:SubmissionsEnabled}
<div style="display: inline-block; margin-right: 15px;">
<a href="/submit" class="pagelink">{SubmitLabel}</a>
</div>
{/block:SubmissionsEnabled}
{block:AskEnabled}
<div style="display: inline-block; margin-right: 15px;">
<a href="/ask" class="pagelink">Ask</a>
</div>
{/block:AskEnabled}
{block:IfTagline}
{text:Tagline}
{/block:IfTagline}
<p class="credit">
theme by <a class="credit" href="http://conkers.tumblr.com/">Conkers</a>
</p>
</div>
</td>
<td style="width: 60px;">
&nbsp;
</td>
<td valign="top" style="background: url('http://static.tumblr.com/q7amnew/pCUl3ynm8/paper-left.png') repeat-y left;">
<div class="wrapper"><img src="{PortraitURL-128}" style="padding-right: 20px" align="left">{Description}</div>
<div class="wrapper">
<h3>Já jinde<h3>
{block:IfWordpressBlog}
<a href="{text:Wordpress Blog}"><img src="http://static.tumblr.com/tuwgrx5/t8jlv7uan/wordpress.png" alt="WP image" /></a>
{/block:IfWordpressBlog}
{block:IfFacebookUsername}
<a href="http://facebook.com/{text:Facebook Username}"><img src="http://static.tumblr.com/tuwgrx5/XtMlv7ue1/facebook-logo.png" alt="FB" /></a>
{/block:IfFacebookUsername}
{block:IfTwitterUsername}
<a href="http://twitter.com/{text:Twitter Username}"><img src="http://static.tumblr.com/tuwgrx5/oxslv7uhq/twitter-bird2.png" alt="Twitter"></a>
{/block:IfTwitterUsername}
</div>
<hr style="margin-left: 30px">
<!--POSTS-->
{block:Posts}
{block:Post1}
<div class="wrapper">
{block:Date}
<div style="font-size: 10pt; color: {color:Date};">
<a href="{Permalink}" class="permalink">
{12Hour}:{Minutes}{AmPm}
{DayOfMonth}{DayOfMonthSuffix}
{Month}
{Year}
</a>
</div>
{/block:Date}
{block:Text}
{block:Title}
<div class="heading">
{Title}
</div>
{/block:Title}
<div>
{Body}
</div>
{/block:Text}
{block:Photo}
{LinkOpenTag}
<img style="padding-top: 5px;" src="{PhotoURL-500}" alt="{PhotoAlt}"/>
{LinkCloseTag}
{block:Caption}
<div>
{Caption}
</div>
{/block:Caption}
{/block:Photo}
{block:Photoset}
<div style="padding-top: 5px;">
{Photoset-500}
</div>
{block:Caption}
<div>
{Caption}
</div>
{/block:Caption}
{/block:Photoset}
{block:Quote}
<div class="quote">
&ldquo;{Quote}&rdquo;
</div>
{block:Source}
<p style="text-indent: 50px;">
-&nbsp;{Source}
</p>
{/block:Source}
{/block:Quote}
{block:Link}
<div class="heading">
<a href="{URL}" {Target}>{Name} &rarr;</a>
</div>
{block:Description}
<div>
{Description}
</div>
{/block:Description}
{/block:Link}
{block:Chat}
{block:Title}
<div class="heading">
{Title}
</div>
{/block:Title}
<table cellspacing="10">
{block:Lines}
<tr>
<td valign="top" style="font-weight: bold;">
{block:Label}{Label}{/block:Label}
</td>
<td valign="top">
{Line}
</td>
</tr>
{/block:Lines}
</table>
{/block:Chat}
{block:Audio}
<div style="padding-top: 5px;">
{block:AlbumArt}
<img src="{AlbumArtURL}" style="max-width: 500px;">
{/block:AlbumArt}
</div>
<div style="padding-top: 5px;">
{AudioPlayerBlack}
</div>
{block:Caption}
<div>
{Caption}
</div>
{/block:Caption}
{/block:Audio}
{block:Video}
<div style="padding-top: 5px;">
{Video-500}
</div>
{block:Caption}
<div>
{Caption}
</div>
{/block:Caption}
{/block:Video}
{block:Answer}
<div class="heading">
{Asker} Asked:
</div>
<p>
<b>{Question}</b>
</p>
<div>
{Answer}
</div>
{/block:Answer}
{block:PostNotes}
{block:HasTags}
<div>{block:Tags}
<a href="{TagURLChrono}" class="permalink">#{Tag}&nbsp;</a>
{/block:Tags}</div>
{/block:HasTags}
{block:NoteCount}
<p>
{NoteCountWithLabel}:
</p>
<div>
{PostNotes}
</div>
{/block:NoteCount}
{/block:PostNotes}
</div>
{block:Post1}
{/block:Posts}
<!--POSTS-->
<div class="wrapper" style="padding-bottom: 20px; padding-top: 0px;">
<table style="width: 100%;">
<tr>
<td style="width: 30%; font-size: 26pt;">
{block:PreviousPage}
<a href="{PreviousPage}" class="pagelink">&lsaquo;</a>
{/block:PreviousPage}
&nbsp;
</td>
<td style="text-align: center;">
<a href="/archive" class="pagelink">archive</a>
&nbsp;
</td>
<td style="text-align: right; width: 30%; font-size: 26pt;">
&nbsp;
{block:NextPage}
<a href="{NextPage}" class="pagelink">&rsaquo;</a>
{/block:NextPage}
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment