Changeset 12920 for trunk/themes/default/template/thumbnails.tpl
- Timestamp:
- Jan 17, 2012, 10:58:18 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/themes/default/template/thumbnails.tpl
r12908 r12920 1 1 {if !empty($thumbnails)}{strip} 2 {html_head} 3 <style type="text/css"> 2 {html_style} 4 3 {*Set some sizes according to maximum thumbnail width and height*} 5 4 .thumbnails SPAN, … … 12 11 height: {$derivative_params->max_height()+2}px; 13 12 } 14 15 </style> 16 {/html_head} 13 {if $derivative_params->max_width() > 600} 14 .thumbLegend {ldelim}font-size: 130%} 15 {else} 16 {if $derivative_params->max_width() > 400} 17 .thumbLegend {ldelim}font-size: 110%} 18 {else} 19 .thumbLegend {ldelim}font-size: 90%} 20 {/if} 21 {/if} 22 {/html_style} 17 23 {foreach from=$thumbnails item=thumbnail} 18 24 <li>
Note: See TracChangeset
for help on using the changeset viewer.