Last active
December 27, 2023 19:51
-
-
Save jstn/5a67fd6c035bb86d1c504c98fa9cac07 to your computer and use it in GitHub Desktop.
min theme for tumblr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
(c) {CopyrightYears} {Title} | |
{BlogURL} | |
min theme by jstn | |
https://gist.github.com/jstn/5a67fd6c035bb86d1c504c98fa9cac07 | |
--> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="x-ua-compatible" content="ie=edge" /> | |
<meta name="viewport" content="width=750"> | |
<meta name="description" content="{MetaDescription}"> | |
<title>{Title}</title> | |
<link rel="shortcut icon" href="{Favicon}"> | |
<link rel="apple-touch-icon-precomposed" href="{PortraitURL-128}"> | |
<link rel="alternate" type="application/rss+xml" href="{RSS}"> | |
<style type="text/css"> | |
/* classic meyer reset */ | |
a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline} | |
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block} | |
body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0} | |
/* jstn twist */ | |
strong, b { font-weight: bold; } | |
em, i { font-style: italic; } | |
q:before { content: '“'; } | |
q:after { content: '”'; } | |
main { | |
font-family: 'helvetica',sans-serif; | |
font-size: 12px; | |
line-height: 18px; | |
margin: 0 auto; | |
width: 700px; | |
text-align: center; | |
} | |
main a { | |
text-decoration: underline; | |
color: #000; | |
} | |
main a:hover { | |
text-decoration: none; | |
color: #333; | |
} | |
h2, p { | |
margin-bottom: 1em; | |
} | |
header { | |
margin-top: 50px; | |
} | |
header, section, article { | |
margin-bottom: 50px; | |
} | |
article { | |
text-align: left; | |
} | |
article h2 { | |
font-weight: bold; | |
text-decoration: underline; | |
} | |
article figure img { | |
width: 700px; | |
} | |
article figcaption { | |
margin-top: 1em; | |
} | |
.pagination table { | |
table-layout: fixed; | |
width: 100%; | |
} | |
.pagination table td { | |
text-align: center; | |
} | |
.pagination table td:first-child { | |
text-align: right; | |
} | |
.pagination table td:last-child { | |
text-align: left; | |
} | |
{CustomCSS} | |
</style> | |
</head> | |
<body data-urlencoded-name="{URLEncodedName}"> | |
<main> | |
<header> | |
<h1><a href="{BlogURL}">{Title}</a></h1> | |
</header> | |
<section class="posts"> | |
{block:Posts inlineMediaWidth="700" inlineNestedMediaWidth="700"} | |
<article class="{block:Text}text {/block:Text}{block:Photoset}photoset {/block:Photoset}{block:Photo}photo {/block:Photo}{block:RebloggedFrom}reblogged {/block:RebloggedFrom}{block:Quote}quote {/block:Quote}{block:Link}link {/block:Link}{block:Chat}chat {/block:Chat}{block:Audio}audio {/block:Audio}{block:Video}video {/block:Video}{block:Answer}answer {/block:Answer}{block:Date}not-page post-{PostID}{/block:Date} {block:PermalinkPage} active exposed{/block:PermalinkPage}" {block:Date}data-post-id="{PostID}"{/block:Date} {block:SupplyLogging}data-supply-logging='{positions}'{/block:SupplyLogging}> | |
{block:Text} | |
{block:Title} | |
<h2>{Title}</h2> | |
{/block:Title} | |
{Body} | |
{/block:Text} | |
{block:Photo} | |
<figure data-photo-width="{PhotoWidth-HighRes}"> | |
{LinkOpenTag}<img src="{PhotoURL-HighRes}" alt="{PhotoAlt}">{LinkCloseTag} | |
</figure> | |
<figcaption> | |
{Caption} | |
</figcaption> | |
{/block:Photo} | |
{block:Photoset} | |
{Photoset} | |
<figcaption> | |
{Caption} | |
</figcaption> | |
{/block:Photoset} | |
{block:Video} | |
<figure> | |
{VideoEmbed-700} | |
</figure> | |
<figcaption> | |
{Caption} | |
</figcaption> | |
{/block:Video} | |
{block:Audio} | |
<figure> | |
{AudioEmbed-640} | |
</figure> | |
<figcaption> | |
{Caption} | |
</figcaption> | |
{/block:Audio} | |
{block:Quote} | |
{block:Source} | |
<h2>{Source}</h2> | |
{/block:Source} | |
<q>{Quote}</q> | |
{/block:Quote} | |
{block:Chat} | |
{block:Title} | |
<h2>{Title}</h2> | |
{/block:Title} | |
{block:Lines} | |
<p> | |
{block:Label} | |
<em>{Label} </em> | |
{/block:Label} | |
{Line} | |
</p> | |
{/block:Lines} | |
{/block:Chat} | |
{block:Link} | |
<h2><a href="{URL}" target="{Target}">{Name}</a></h2> | |
{block:Excerpt} | |
<p><em>{Excerpt}</em></p> | |
{/block:Excerpt} | |
{block:Description} | |
<p>{Description}</p> | |
{/block:Description} | |
{/block:Link} | |
</article> | |
{/block:Posts} | |
</section> | |
<footer> | |
{block:Pagination} | |
<section class="pagination"> | |
<table> | |
<tr> | |
<td> | |
{block:PreviousPage} | |
<a href="{PreviousPage}">< < <</a> | |
{/block:PreviousPage} | |
</td> | |
<td> | |
{lang:Page CurrentPage of TotalPages} | |
</td> | |
<td> | |
{block:NextPage} | |
<a href="{NextPage}">> > ></a> | |
{/block:NextPage} | |
</td> | |
</tr> | |
</table> | |
</section> | |
{/block:Pagination} | |
</footer> | |
</main> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment