Changeset 231
- Timestamp:
- 06/11/07 23:34:29 (3 years ago)
- Location:
- veekun/trunk/templates
- Files:
-
- 3 modified
-
dex/page/pokemon.tt (modified) (1 diff)
-
dex/page/pokemon/flavor.tt (modified) (1 diff)
-
style/global.tt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
veekun/trunk/templates/dex/page/pokemon.tt
r216 r231 4 4 5 5 [% nextid = this.real_id % Generations.-1.maxid + 1; previd = (this.real_id - 2) % Generations.-1.maxid + 1 -%] 6 [% nav_next = dex_uri('pokemon', PokemonNames.$nextid) %] 7 [% nav_prev = dex_uri('pokemon', PokemonNames.$previd) %] 6 8 7 9 <p class="dex-navigation"> 8 10 <a href="[% dex_uri('pokemon', PokemonNames.$nextid) %]" class="next blocklink"> <img src="/dex-images/icons/[% nextid.pad(3) %].png" alt=""/> Next: #[% nextid %]<br/>[% PokemonNames.$nextid %] </a> 9 11 <a href="[% dex_uri('pokemon', PokemonNames.$previd) %]" class="prev blocklink"> <img src="/dex-images/icons/[% previd.pad(3) %].png" alt=""/> Previous: #[% previd %]<br/>[% PokemonNames.$previd %] </a> 10 <img src="/dex-images/icons/ani/[% image_name %].gif" alt=""/><br/>[% this.real_id %]<br/>[% this.name %]<br/><a href="[% dex_uri('pokemon', this.name) %]/flavor"><img src="/images/see-also.png" alt=""/> Flavor text and images</a> 12 <img src="/dex-images/icons/ani/[% image_name %].gif" alt=""/><br/>[% this.name %] 13 </p> 14 15 [%# eh, hacky %] 16 <hr/> 17 <p class="center"> 18 <strong>Main Pokédex page</strong> | 19 <a href="[% dex_uri('pokemon', this.name) %]/flavor">Flavor text and images</a> 11 20 </p> 12 21 -
veekun/trunk/templates/dex/page/pokemon/flavor.tt
r223 r231 1 1 [% PROCESS 'dex/common.tt' %] 2 2 3 <p><a href="[% dex_uri('pokemon', this.name) %]"><img src="/images/see-also.png" alt=""/> Return to the main [% this.name %] page</a></p> 3 [% nextid = this.id % Generations.-1.maxid + 1; previd = (this.id - 2) % Generations.-1.maxid + 1 -%] 4 [% nav_next = dex_uri('pokemon', PokemonNames.$nextid) _ '/flavor' %] 5 [% nav_prev = dex_uri('pokemon', PokemonNames.$previd) _ '/flavor' %] 6 7 <p class="dex-navigation"> 8 <a href="[% nav_next %]" class="next blocklink"> <img src="/dex-images/icons/[% nextid.pad(3) %].png" alt=""/> Next: #[% nextid %]<br/>[% PokemonNames.$nextid %] </a> 9 <a href="[% nav_prev %]" class="prev blocklink"> <img src="/dex-images/icons/[% previd.pad(3) %].png" alt=""/> Previous: #[% previd %]<br/>[% PokemonNames.$previd %] </a> 10 <img src="/dex-images/icons/ani/[% this.id.pad(3) %].gif" alt=""/><br/>[% this.name %] 11 </p> 12 13 [%# eh, hacky %] 14 <hr/> 15 <p class="center"> 16 <a href="[% dex_uri('pokemon', this.name) %]">Main Pokédex page</a> | 17 <strong>Flavor text and images</strong> 18 </p> 4 19 5 20 <!-- ####################################################################### --> -
veekun/trunk/templates/style/global.tt
r227 r231 53 53 #content > h2:first-child { margin-top: -0.333em; border-top: none; } 54 54 #content > h3:first-child { margin-top: -0.417em; border-top: none; } 55 #content hr { border: none; border-bottom: 1px d otted [% dark_separator %]; background: url(/images/hr.png) no-repeat bottom left; height: 14px; margin: 2px 0; }55 #content hr { border: none; border-bottom: 1px dashed [% header_border %]; height: 0; margin: 2px 0.5em; } 56 56 #content > hr { clear: both; } 57 57 … … 97 97 #footer { -moz-border-radius-bottomright: 64px; } 98 98 99 #breadcrumbs { border-bottom: 1px solid [% dark_separator %]; margin: -0.5em; margin-bottom: 0.5em; padding: 0.5em; }99 #breadcrumbs { margin: -0.5em; margin-bottom: 0.5em; padding: 0.5em; background: [% glass_background(tablerow_fill2) %]; } 100 100 #breadcrumbs a { padding: 0.25em; margin: 0 -0.25em; border: 1px solid transparent; } 101 101 #breadcrumbs a:hover { background: [% glass_background(hover_light) %]; border-color: [% hover_medium %]; }
