From 131666c458388902ed2b28dff2b7101aac661e1e Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Tue, 1 Jan 2008 16:17:35 +0100 Subject: issue59, thumbnail matrix is now also free off HTML tables --- themes/default/stylesheet.css | 31 +++++++++++++++++++------------ themes/default/templates/photo_index.tpl | 9 ++------- 2 files changed, 21 insertions(+), 19 deletions(-) (limited to 'themes') diff --git a/themes/default/stylesheet.css b/themes/default/stylesheet.css index b07fff1..97e4fa8 100644 --- a/themes/default/stylesheet.css +++ b/themes/default/stylesheet.css @@ -101,8 +101,6 @@ img { border: none; } -img.thumb { -} a { font-size: 14px; @@ -134,18 +132,10 @@ a.smalltag:hover { color: #00aa44; } -a.thumblink { - font-size: 12px; -} - a.calendar { font-size: 10px; } -a.thumblink:hover { - color: #4761ab; -} - #single { padding: 10px; display: table; @@ -168,9 +158,8 @@ table.matrix { margin-right: auto; } -td.thumb { +div.thumb { text-align: center; - display: table-cell; vertical-align: top; -moz-border-radius: 3px; border-radius: 3px; @@ -178,8 +167,26 @@ td.thumb { margin: 5px; background-color: #eeeeee; padding: 10px; + float: left; } +div.thumb img.thumb { + border: 0px; + padding: 0px; + margin: 0px; +} + +div.thumb a.thumblink { + font-size: 12px; + border: 0px; +} + +div.thumb a.thumblink:hover { + color: #4761ab; +} + +.clearboth { clear: both; } + #photo_details { width: 150px; font-size: 12px; diff --git a/themes/default/templates/photo_index.tpl b/themes/default/templates/photo_index.tpl index 9ceb0dc..1ca25b8 100644 --- a/themes/default/templates/photo_index.tpl +++ b/themes/default/templates/photo_index.tpl @@ -46,25 +46,20 @@
- {section name="row" loop=$rows step=1} - {section name="col" loop=$columns step=1} {if $images[row][col] } - {/if} {/section} - {/section} -
+ - {else} -  
+
-- cgit v1.2.3-18-g5258