Additional style changes to navigation; add three navigation images

This commit is contained in:
Jef van Schendel 2011-07-07 17:54:33 +02:00
parent fd9807ffc3
commit d6ae709c14
5 changed files with 14 additions and 11 deletions

View File

@ -211,7 +211,7 @@ img.media_icon{
text-align:center; text-align:center;
background-color:#393939; background-color:#393939;
text-decoration:none; text-decoration:none;
padding: 6px 0pt; padding:12px 0pt;
font-family:'Carter One', arial, serif; font-family:'Carter One', arial, serif;
font-size:2em; font-size:2em;
margin:0 0 20px margin:0 0 20px

Binary file not shown.

After

Width:  |  Height:  |  Size: 718 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 406 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 383 B

View File

@ -24,20 +24,23 @@
{# There are no previous entries for the very first media entry #} {# There are no previous entries for the very first media entry #}
{% if prev_entry_url %} {% if prev_entry_url %}
<a class="navigation_button navigation_left" href="{{ prev_entry_url }}"> <a class="navigation_button navigation_left" href="{{ prev_entry_url }}">
&lt; <img src="/mgoblin_static/images/navigation_left.png" alt="Previous image" />
</a> </a>
{% else %} {% else %}
{# This is the first entry. display greyed-out 'previous' image #} {# This is the first entry. display greyed-out 'previous' image #}
<p class="navigation_button">X</p> <p class="navigation_button navigation_left">
<img src="/mgoblin_static/images/navigation_end.png" alt="No previous images" />
</p>
{% endif %} {% endif %}
{# Likewise, this could be the very last media entry #} {# Likewise, this could be the very last media entry #}
{% if next_entry_url %} {% if next_entry_url %}
<a class="navigation_button" href="{{ next_entry_url }}"> <a class="navigation_button" href="{{ next_entry_url }}">
&gt; <img src="/mgoblin_static/images/navigation_right.png" alt="Next image" />
</a> </a>
{% else %} {% else %}
{# This is the last entry. display greyed-out 'next' image #} {# This is the last entry. display greyed-out 'next' image #}
<p class="navigation_button">X</p> <p class="navigation_button">
<img src="/mgoblin_static/images/navigation_end.png" alt="No following images" />
</p>
{% endif %} {% endif %}
</div> </div>