summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2012-07-13 18:11:13 +0200
committerTheo Chatzimichos <tampakrap@gentoo.org>2012-07-13 18:11:13 +0200
commit60f4106da37f7d0425f9bab80dc0085958f03a41 (patch)
tree8dafe2155c601bfdad579687ac67cc1246d98baa /themes
parentdos2unix (diff)
downloadblogs-gentoo-60f4106da37f7d0425f9bab80dc0085958f03a41.tar.gz
blogs-gentoo-60f4106da37f7d0425f9bab80dc0085958f03a41.tar.bz2
blogs-gentoo-60f4106da37f7d0425f9bab80dc0085958f03a41.zip
Add png arrows from oxygen-icons and replace &{l,r}arr; with the images
in some places
Diffstat (limited to 'themes')
-rw-r--r--themes/kde-breathe-tampakrap/functions.php2
-rw-r--r--themes/kde-breathe-tampakrap/images/arrow-down.pngbin0 -> 525 bytes
-rw-r--r--themes/kde-breathe-tampakrap/images/arrow-left.pngbin0 -> 512 bytes
-rw-r--r--themes/kde-breathe-tampakrap/images/arrow-right.pngbin0 -> 527 bytes
-rw-r--r--themes/kde-breathe-tampakrap/loop.php12
-rw-r--r--themes/kde-breathe-tampakrap/single.php8
-rw-r--r--themes/kde-breathe-tampakrap/style.css5
7 files changed, 16 insertions, 11 deletions
diff --git a/themes/kde-breathe-tampakrap/functions.php b/themes/kde-breathe-tampakrap/functions.php
index 7be910f6..f8c2a451 100644
--- a/themes/kde-breathe-tampakrap/functions.php
+++ b/themes/kde-breathe-tampakrap/functions.php
@@ -238,7 +238,7 @@ add_filter( 'excerpt_length', 'twentyten_excerpt_length' );
* @return string "Continue Reading" link
*/
function twentyten_continue_reading_link() {
- return ' <a href="'. get_permalink() . '">' . __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) . '</a>';
+ return ' <a href="'. get_permalink() . '">' . __( '<div class="nav-next">Continue reading</div>', 'twentyten' ) . '</a>';
}
/**
diff --git a/themes/kde-breathe-tampakrap/images/arrow-down.png b/themes/kde-breathe-tampakrap/images/arrow-down.png
new file mode 100644
index 00000000..03f20142
--- /dev/null
+++ b/themes/kde-breathe-tampakrap/images/arrow-down.png
Binary files differ
diff --git a/themes/kde-breathe-tampakrap/images/arrow-left.png b/themes/kde-breathe-tampakrap/images/arrow-left.png
new file mode 100644
index 00000000..b56cfee0
--- /dev/null
+++ b/themes/kde-breathe-tampakrap/images/arrow-left.png
Binary files differ
diff --git a/themes/kde-breathe-tampakrap/images/arrow-right.png b/themes/kde-breathe-tampakrap/images/arrow-right.png
new file mode 100644
index 00000000..0acee70b
--- /dev/null
+++ b/themes/kde-breathe-tampakrap/images/arrow-right.png
Binary files differ
diff --git a/themes/kde-breathe-tampakrap/loop.php b/themes/kde-breathe-tampakrap/loop.php
index c488dba2..27242525 100644
--- a/themes/kde-breathe-tampakrap/loop.php
+++ b/themes/kde-breathe-tampakrap/loop.php
@@ -22,8 +22,8 @@
<?php /* Display navigation to next/previous pages when applicable */ ?>
<?php if ( $wp_query->max_num_pages > 1 ) : ?>
<div id="nav-above" class="navigation">
- <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'twentyten' ) ); ?></div>
- <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?></div>
+ <div class="nav-previous"><?php next_posts_link( __( 'Older posts', 'twentyten' ) ); ?></div>
+ <div class="nav-next"><?php previous_posts_link( __( 'Newer posts', 'twentyten' ) ); ?></div>
</div><!-- #nav-above -->
<?php endif; ?>
@@ -123,7 +123,7 @@
</div><!-- .entry-summary -->
<?php else : ?>
<div class="entry-content">
- <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?>
+ <?php the_content( __( 'Continue reading', 'twentyten' ) ); ?>
</div><!-- .entry-content -->
<?php endif; ?>
@@ -155,7 +155,7 @@
</div><!-- .entry-summary -->
<?php else : ?>
<div class="entry-content">
- <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?>
+ <?php the_content( __( 'Continue reading', 'twentyten' ) ); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
</div><!-- .entry-content -->
<?php endif; ?>
@@ -194,8 +194,8 @@
<?php /* Display navigation to next/previous pages when applicable */ ?>
<?php if ( $wp_query->max_num_pages > 1 ) : ?>
<div id="nav-below" class="navigation">
- <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'twentyten' ) ); ?></div>
- <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?></div>
+ <div class="nav-previous"><?php next_posts_link( __( 'Older posts', 'twentyten' ) ); ?></div>
+ <div class="nav-next"><?php previous_posts_link( __( 'Newer posts', 'twentyten' ) ); ?></div>
</div><!-- #nav-below -->
<?php endif; ?>
diff --git a/themes/kde-breathe-tampakrap/single.php b/themes/kde-breathe-tampakrap/single.php
index d122eae9..b4430622 100644
--- a/themes/kde-breathe-tampakrap/single.php
+++ b/themes/kde-breathe-tampakrap/single.php
@@ -15,8 +15,8 @@ get_header(); ?>
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<div id="nav-above" class="navigation">
- <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'twentyten' ) . '</span> %title' ); ?></div>
- <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '&rarr;', 'Next post link', 'twentyten' ) . '</span>' ); ?></div>
+ <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '', 'Previous post link', 'twentyten' ) . '</span> %title' ); ?></div>
+ <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '', 'Next post link', 'twentyten' ) . '</span>' ); ?></div>
</div><!-- #nav-above -->
<div class="plasma-left-top"></div>
<div class="plasma-top"></div>
@@ -63,8 +63,8 @@ get_header(); ?>
<div class="plasma-right-bottom" ></div>
<div id="nav-below" class="navigation">
- <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'twentyten' ) . '</span> %title' ); ?></div>
- <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '&rarr;', 'Next post link', 'twentyten' ) . '</span>' ); ?></div>
+ <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '', 'Previous post link', 'twentyten' ) . '</span> %title' ); ?></div>
+ <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '', 'Next post link', 'twentyten' ) . '</span>' ); ?></div>
</div><!-- #nav-below -->
<div class="plasma-left-top"></div>
diff --git a/themes/kde-breathe-tampakrap/style.css b/themes/kde-breathe-tampakrap/style.css
index a5e25869..54ef7c83 100644
--- a/themes/kde-breathe-tampakrap/style.css
+++ b/themes/kde-breathe-tampakrap/style.css
@@ -886,12 +886,17 @@ body.page .edit-link {
}
.nav-previous {
float: left;
+ padding-left: 20px;
+ text-align: left;
width: 50%;
+ background: url(images/arrow-left.png) no-repeat left center;
}
.nav-next {
float: right;
+ padding-right: 20px;
text-align: right;
width: 50%;
+ background: url(images/arrow-right.png) no-repeat right center;
}
#nav-above {
margin: 0 14px 0 14px;