- Timestamp:
- Jul 17, 2012, 3:47:31 PM (12 years ago)
- Location:
- trunk/themes/Sylvia
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/themes/Sylvia/theme.css
r16799 r16800 195 195 .thumbnailCategory .illustration { 196 196 background:transparent url(images/cat_top-left.gif) no-repeat scroll left top; 197 padding: 0 0 0 10px; 198 margin: 0 !important; 197 padding: 0 5px 0 10px; 198 margin: 0 !important; 199 text-align: center; 199 200 } 200 201 .thumbnailCategory .illustration a { 201 202 display: block; 202 margin: 0; 203 padding: 15px 4px 0; 203 margin: 0 auto; 204 padding: 20px 4px 0; 204 205 border:0; 205 }206 .thumbnailCategory .illustration img {207 border-radius: 0 10px 0 10px;208 -moz-border-radius: 0 10px 0 10px;209 -webkit-border-radius: 0 10px 0 10px;210 206 } 211 207 .thumbnailCategory .description { -
trunk/themes/Sylvia/themeconf.inc.php
r16799 r16800 24 24 function Sylvia_album_prefilter($content, &$smarty) 25 25 { 26 27 26 $search = '#\{html_style\}#'; 27 $replacement = '{html_style} 28 28 .thumbnailCategory .description .text{ldelim} 29 29 height: {$derivative_params->max_height()-30}px; 30 30 }'; 31 return preg_replace($search, $replacement, $content); 31 $content = preg_replace($search, $replacement, $content); 32 $search = '#\.thumbnailCategory[\t ]*.description\{ldelim\}[\s]*height:[\t ]*\{\$derivative_params->max_height\(\)\+5#'; 33 $replacement = '.thumbnailCategory .description{ldelim} 34 height: {$derivative_params->max_height()+15'; 35 $content = preg_replace($search, $replacement, $content); 36 return $content; 32 37 } 33 38 ?>
Note: See TracChangeset
for help on using the changeset viewer.