Permalink
Browse files

Added some pagination for posts and removed it when there's no pages.…

… Also added heading styles for conversations and link styles for images.
  • Loading branch information...
1 parent c698a24 commit b5704a76f6f3178eeef0ccb48a35c9d019bc9f8b @jimwhimpey committed Feb 16, 2009
Showing with 40 additions and 18 deletions.
  1. +33 −15 index.html
  2. +7 −3 style.css
View
@@ -14,7 +14,8 @@
<link rel="shortcut icon" href="{Favicon}">
<link rel="alternate" type="application/rss+xml" href="{RSS}">
- <link rel="stylesheet" href="style.css" type="text/css" media="screen" charset="utf-8" />
+ <link rel="stylesheet" href="http://misc.jimwhimpey.com/tumblr/downpour/reset.css" type="text/css" media="screen" charset="utf-8" />
+ <link rel="stylesheet" href="http://misc.jimwhimpey.com/tumblr/downpour/style.css" type="text/css" media="screen" charset="utf-8" />
<meta name="viewport" content="width=920"/>
<link rel="apple-touch-icon" href="http://assets.tumblr.com/images/default_avatar_128.gif"></link>
@@ -51,7 +52,7 @@ <h1>{Title}</h1>
<div class="quote post">
- <h3>"{Quote}"</h3>
+ <h2>"{Quote}"</h2>
{block:Source}
<p>{Source}</p>
@@ -69,8 +70,10 @@ <h3>"{Quote}"</h3>
{block:Photo}
<div class="photo post">
-
- <img src="{PhotoURL-500}" alt="{PhotoAlt}"/>
+
+ {LinkOpenTag}
+ <img src="{PhotoURL-500}" alt="{PhotoAlt}"/>
+ {LinkCloseTag}
{block:Caption}
<p>{Caption}</p>
@@ -127,7 +130,7 @@ <h2><a href="{URL}" {Target}>{Name}</a></h2>
<div class="conversation post">
{block:Title}
- <h3><a href="{Permalink}">{Title}</a></h3>
+ <h2>{Title}</h2>
{/block:Title}
<ul>
@@ -155,7 +158,7 @@ <h3><a href="{Permalink}">{Title}</a></h3>
<div class="text post">
{block:Title}
- <h3>{Title}</h3>
+ <h2>{Title}</h2>
{/block:Title}
{Body}
@@ -174,18 +177,33 @@ <h3>{Title}</h3>
- <div id="navigation">
+ {block:Pagination}
+
+ <div id="navigation">
- {block:PreviousPage}
- <a href="{PreviousPage}" id="nav-prev">&larr; Previous</a>
- {/block:PreviousPage}
+ {block:PreviousPage}
+ <a href="{PreviousPage}" id="nav-prev">&larr; Previous</a>
+ {/block:PreviousPage}
+
+ {block:NextPage}
+ <a href="{NextPage}" id="nav-next">Next &rarr;</a>
+ {/block:NextPage}
+
+ {block:PermalinkPagination}
+
+ {block:PreviousPost}
+ <a href="{PreviousPost}" id="nav-prev">&larr; Previous</a>
+ {/block:PreviousPost}
- {block:NextPage}
- <a href="{NextPage}" id="nav-next">Next &rarr;</a>
- {/block:NextPage}
+ {block:NextPost}
+ <a href="{NextPost}" id="nav-next">Next &rarr;</a>
+ {/block:NextPost}
+
+ {/block:PermalinkPagination}
- </div>
-
+ </div>
+
+ {/block:Pagination}
View
@@ -90,11 +90,15 @@
PHOTO
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
- .photo img {
+ .photo img, .photo a img, .video embed {
border: 1px solid #8DA1BD;
}
- .photo p {
+ .photo a:hover img {
+ border: 1px solid #FFF;
+ }
+
+ .photo p, .video p {
color: #304156;
}
@@ -125,7 +129,7 @@
TEXT
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
- .text h2 {
+ .text h2, .conversation h2 {
color: #fff;
margin: 0 0 1.5em 0;
}

0 comments on commit b5704a7

Please sign in to comment.