windhamdavid 11 years ago
parent
commit
c446178066
5 changed files with 54 additions and 9 deletions
  1. 1 1
      footer.php
  2. 5 0
      header.php
  3. 2 2
      inc/template.php
  4. 4 2
      index.php
  5. 42 4
      style.css

+ 1 - 1
footer.php

@@ -2,7 +2,7 @@
 		<p class="cc noindent"><a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/deed.en_US"><img alt="Creative Commons License" style="border-width:0" src="<?php echo get_bloginfo('template_directory');?>/img/cc.png" /></a>
 			<span class="quiet" xmlns:dct="http://purl.org/dc/terms/" href="http://purl.org/dc/dcmitype/InteractiveResource" property="dct:title" rel="dct:type"><a xmlns:cc="http://creativecommons.org/ns#" href="http://davidawindham.com" property="cc:attributionName" rel="cc:attributionURL">David Windham ( http://davidawindham.com )</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/deed.en_US">Creative Commons Attribution-ShareAlike 4.0 International License</a>.</span></p>
 	</div>
-	<img class="dw" src="<?php echo get_bloginfo('template_directory');?>/img/dw.png" width="17"/>
+	<a href="http://davidawindham.com" title="David Windham"><img class="dw" title="David Windham" src="<?php echo get_bloginfo('template_directory');?>/img/dw.png" width="17"/></a>
 </div>
 <?php wp_footer(); ?>
 </body>

+ 5 - 0
header.php

@@ -1,3 +1,8 @@
+<!--
+	     .     . .              .       .  . 
+	. . ...-..-| |-. .-. .-.-..-| .-.. ...-| 
+	 ` ` '' '`-'-' '-`-`-' ' '`-'-`-`-` '`-'-
+-->
 <!DOCTYPE html>
 <html lang="en-US">
 <head>

+ 2 - 2
inc/template.php

@@ -40,8 +40,8 @@ function dw_paging_nav() {
 		'current'  => $paged,
 		'mid_size' => 1,
 		'add_args' => array_map( 'urlencode', $query_args ),
-		'prev_text' => __( '&larr; Previous', 'dw' ),
-		'next_text' => __( 'Next &rarr;', 'dw' ),
+		'prev_text' => __( '&larr; &nbsp;', 'dw' ),
+		'next_text' => __( '&nbsp; &rarr;', 'dw' ),
 	) );
 
 	if ( $links ) :

+ 4 - 2
index.php

@@ -6,12 +6,14 @@
 				<div class="entry-content">
 					<div class="date">
 						<?php the_date(); ?>
+						<p><small><?php edit_post_link('Edit');?></small><p>
 					</div>
 					<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'daw' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
 					<?php the_content(); ?>
+					<div class="clear">&nbsp;</div>
 					<div id="nav-below" class="navigation">
-						<div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '(previous)', 'Previous post link', 'daw' ) . '</span> %title' ); ?></div>
-						<div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '(next)', 'Next post link', 'daw' ) . '</span>' ); ?></div>
+						<div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'daw' ) . '</span> %title' ); ?></div>
+						<div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '&rarr;', 'Next post link', 'daw' ) . '</span>' ); ?></div>
 					</div><!-- #nav-below -->
 				</div>
 			</div>

+ 42 - 4
style.css

@@ -805,13 +805,14 @@ body.page .edit-link {
 #content .video-player {
 	padding: 0;
 }
-
 .date {
 	float: right;
 	margin: -20px 0 20px 50px;
 	color: #000;
 	font-family: "Courier New", Courier, mono;	
 }
+
+
 /* =Asides
 -------------------------------------------------------------- */
 
@@ -983,6 +984,7 @@ body.page .edit-link {
 	font-size: 12px;
 	line-height: 18px;
 	overflow: hidden;
+	clear: both;
 
 }
 .navigation a:link,
@@ -1019,18 +1021,54 @@ body.page .edit-link {
 	padding: 20px 10px 0;
 	border-top: 1px solid #cecece;
 }
+.pagination {
+	margin-top: 40px;
+	border-top: 1px solid #cecece;
+	padding: 20px 0 0;
+}
+.pagination a {
+	padding: 4px 5px;
+	color: #fff;
+	font-weight: bold;
+	font-size: 16px;
+}
+.pagination a:active {
+	padding: 4px 5px;
+	background: #707071;
+	color:#fff;
+}
+.pagination a:hover {
+	padding: 4px 5px;
+	background: #fff;
+	color: #ec0000;
+}
+.pagination a.next, 
+.pagination a.prev {
+	padding: 4px 7px;
+	color: #ec0000;
+	font-weight: bold;
+	font-size: 27px;
+}
+.pagination .current {
+	padding: 4px 5px;
+	background: #fff;
+	color: #ec0000;
+	font-weight: bold;
+	font-size: 16px;
+}
+
 
 /* =Footer
 -------------------------------------------------------------- */
 p.cc {
-	float: left;
+	float: right;
 	font-size: 14px;
-	margin: 0px 0 30px;
+	margin: 2px 20px 30px 10px;
 }
 span.quiet {
 	display: none;
 }
 img.dw {
 	float: right;
-	margin: 0px 0 0;
+	margin: 0;
 }