Skip to content

Instantly share code, notes, and snippets.

@lzl
Last active December 28, 2015 16:19
Show Gist options
  • Save lzl/7528062 to your computer and use it in GitHub Desktop.
Save lzl/7528062 to your computer and use it in GitHub Desktop.
theme for lzl-log.tumblr.com
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{Title}{block:PostSummary} - {PostSummary}{/block:PostSummary}</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="initial-scale=1">
<meta name="author" content="Li Zunlong">
<link rel="shortcut icon" href="{Favicon}">
<link rel="alternate" type="application/rss+xml" href="{RSS}">
<style type="text/css">
body {
margin: 40px;
max-width: 550px;
font: normal 18px menlo,'andale mono','STHeiti','Microsoft YaHei','微软雅黑','WenQuanYi Zen Hei','文泉驿正黑','WenQuanYi Micro Hei','文泉驿微米黑','courier new',sans-serif; line-height: 150%;
-webkit-font-smoothing: antialiased;
}
h1 {
margin: 0;
padding: 0;
margin-bottom: 36px;
font-size: 18px;
font-weight: bold;
}
p {
margin: 0;
padding: 0;
margin-bottom: 18px;
}
.log {
margin-bottom: 36px;
}
.link {
margin-left: -20px;
float: left;
}
.prev {
float: left;
}
.next {
float: right;
}
a:link,a:visited,a:active {
color: #000;
text-decoration: underline;
}
a:hover {
color: #999;
}
@media (max-width: 480px) {
body {
margin: 20px;
}
.link {
visibility: hidden;
}
}
</style>
</head>
<body>
<h1>{Title}</h1>
<div class="logs">
{block:Posts}
{block:Text}
<div class="log">
<a href="{ShortURL}" title="{TimeAgo}" class="link">&#35;</a>
{Body}
</div>
{/block:Text}
{/block:Posts}
</div>
<div class="nav">
{block:PreviousPage}
<a href="{PreviousPage}" class="prev">&#171;&#171;&#171;</a>
{/block:PreviousPage}
{block:NextPage}
<a href="{NextPage}" class="next">&#187;&#187;&#187;</a>
{/block:NextPage}
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment