From: Jef van Schendel Date: Thu, 7 Jul 2011 15:54:33 +0000 (+0200) Subject: Additional style changes to navigation; add three navigation images X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d6ae709c14a628edb2c493654f0c02146503b7d8;p=mediagoblin.git Additional style changes to navigation; add three navigation images --- diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css index 0fc33ed7..09f08445 100644 --- a/mediagoblin/static/css/base.css +++ b/mediagoblin/static/css/base.css @@ -205,14 +205,14 @@ img.media_icon{ /* navigation */ .navigation_button{ - width: 139px; + width:139px; display:block; float:left; - text-align: center; - background-color: #393939; - text-decoration: none; - padding: 6px 0pt; - font-family: 'Carter One', arial, serif; + text-align:center; + background-color:#393939; + text-decoration:none; + padding:12px 0pt; + font-family:'Carter One', arial, serif; font-size:2em; margin:0 0 20px } diff --git a/mediagoblin/static/images/navigation_end.png b/mediagoblin/static/images/navigation_end.png new file mode 100644 index 00000000..b2f27296 Binary files /dev/null and b/mediagoblin/static/images/navigation_end.png differ diff --git a/mediagoblin/static/images/navigation_left.png b/mediagoblin/static/images/navigation_left.png new file mode 100644 index 00000000..d1645120 Binary files /dev/null and b/mediagoblin/static/images/navigation_left.png differ diff --git a/mediagoblin/static/images/navigation_right.png b/mediagoblin/static/images/navigation_right.png new file mode 100644 index 00000000..d4caa7b8 Binary files /dev/null and b/mediagoblin/static/images/navigation_right.png differ diff --git a/mediagoblin/templates/mediagoblin/utils/prev_next.html b/mediagoblin/templates/mediagoblin/utils/prev_next.html index 8908c298..7cf8d2a4 100644 --- a/mediagoblin/templates/mediagoblin/utils/prev_next.html +++ b/mediagoblin/templates/mediagoblin/utils/prev_next.html @@ -24,20 +24,23 @@ {# There are no previous entries for the very first media entry #} {% if prev_entry_url %} - < + Previous image {% else %} {# This is the first entry. display greyed-out 'previous' image #} - + {% endif %} - {# Likewise, this could be the very last media entry #} {% if next_entry_url %} - > + Next image {% else %} {# This is the last entry. display greyed-out 'next' image #} - + {% endif %}