From: Andreas Unterkircher Date: Fri, 15 Jun 2007 19:27:50 +0000 (+0000) Subject: better style for single photo details X-Git-Tag: phpfspot-1.2~237 X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=commitdiff_plain;h=53c9a3f97dbe67a8695ce3504135b39afc45dfb8;hp=64aff8eab7dca9b848149d9061a33af0d44f24b9 better style for single photo details git-svn-id: file:///var/lib/svn/phpfspot/trunk@98 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- diff --git a/stylesheet.css b/stylesheet.css index d1f3ae0..7684014 100644 --- a/stylesheet.css +++ b/stylesheet.css @@ -115,7 +115,21 @@ a.tag:visited, a.tag:active { color: #00ff00; } a.tag:hover { + color: #00aa44; +} + +a.smalltag { + font-size: 12px; + color: #000000; + text-decoration: underline; + font-style: italic; +} + +a.smalltag:visited, a.smalltag:active { + color: #00ff00; +} +a.smalltag:hover { color: #00aa44; } @@ -140,3 +154,12 @@ td.thumb { border: dashed 1px #888888; } + +#photo_details { + width: 150px; + font-size: 12px; + padding: 10px; + -moz-border-radius: 1em; + border-radius: 1em; + border: dashed 1px #888888; +} diff --git a/templates/single_photo.tpl b/templates/single_photo.tpl index adeb9f8..4e043a1 100644 --- a/templates/single_photo.tpl +++ b/templates/single_photo.tpl @@ -55,21 +55,29 @@ - + +
{ if $ExifMadeWith } - With: {$ExifMadeWith}
+ Image taken with:
+ {$ExifMadeWith}
{ /if } { if $ExifMadeOn } + Image made on:
On: {$ExifMadeOn}
{ /if } { if $ExifOrigResolution } - Res: {$ExifOrigResolution}
+ Original resolution:
+ {$ExifOrigResolution}
{ /if } - Size: {$ExifFileSize}kbyte
- Tagged:
- { foreach from=$tags key=id item=name } - {$name}
- { /foreach } + Size: {$ExifFileSize}kbyte
+ { if $tags } +
+ Tagged with:
+ { foreach from=$tags key=id item=name } + {$name}
+ { /foreach } + { /if } +