From: Arun Persaud Date: Sat, 10 May 2008 16:40:29 +0000 (-0700) Subject: cleanup: moved more CSS into the stylesheet X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=commitdiff_plain;h=d774bea5f0bc063be6426668e19faf02167f3d65;hp=-c cleanup: moved more CSS into the stylesheet almost everything in the stylesheet now Signed-off-by: Arun Persaud --- d774bea5f0bc063be6426668e19faf02167f3d65 diff --git a/themes/default/stylesheet.css b/themes/default/stylesheet.css index 8fbee2f..9457a80 100644 --- a/themes/default/stylesheet.css +++ b/themes/default/stylesheet.css @@ -93,6 +93,55 @@ div.subheader { padding: 5px 10px 5px 10px; vertical-align: middle; white-space: nowrap; + text-align: left; + float: left; +} + +div.tagresult{ + height: 1px; + background-color: #ffffff; +} + +div.tagresulttags{ + display: table-cell; + vertical-align: middle; +} + +div.photo{ + text-align: left; + margin-top: 20px; + margin-left: 20px; +} + +div.photonavigation{ + margin-left: 20px; +} + +div.indexnavigation{ + width: 100%; + margin-top: 20px; +} + +div.indexnavigationright{ + float: right; + width: 40px; + margin-right: 0px; + padding-right: 10px; +} + +div.indexnavigationleft{ + float: left; + margin: 0px; + padding-left: 10px; + width: 40px; +} + +div.indexnavigationcenter{ + text-align: center; +} + +div.textright { + text-align: right; } div.welcome { @@ -215,6 +264,11 @@ span.tags { text-decoration: underline; } +div.credits{ + margin-top: 10px; + margin-left: 10px; +} + table.calendar tr td { border: solid 1px #ffffff; padding: 1px; diff --git a/themes/default/templates/credits.tpl b/themes/default/templates/credits.tpl index ba772a1..2bc7b28 100644 --- a/themes/default/templates/credits.tpl +++ b/themes/default/templates/credits.tpl @@ -1,7 +1,7 @@
{$product} {$version}
-
+
by Andreas Unterkircher
Licensed under GPLv3, phpfspot
diff --git a/themes/default/templates/photo_index.tpl b/themes/default/templates/photo_index.tpl index c01c6af..413ec26 100644 --- a/themes/default/templates/photo_index.tpl +++ b/themes/default/templates/photo_index.tpl @@ -1,6 +1,6 @@
-
+
Photo Index {if $searchfor } {if $count == 1} @@ -26,7 +26,7 @@ Results are limited to a date within {$from_date} to {$to_date}. {/if}
-
+
{if $slideshow_link } {/if} @@ -42,9 +42,9 @@
{ if $tag_result } -
+
-
+
Tags:
{ $selected_tags } @@ -74,10 +74,10 @@

-
+
-
+
{ if $next_url == "" } { if $count != 0 } last page reached @@ -90,7 +90,7 @@
-
+
{ if $previous_url == "" } { if $count != 0 } first page reached @@ -103,7 +103,7 @@
-
+
{ if $page_selector != "" } {$page_selector} { /if} diff --git a/themes/default/templates/single_photo.tpl b/themes/default/templates/single_photo.tpl index 78e489d..b6cdecb 100644 --- a/themes/default/templates/single_photo.tpl +++ b/themes/default/templates/single_photo.tpl @@ -1,6 +1,6 @@
-
+
Photo {$image_name}
{if $photo_count > 0} {$photo_number} of {$photo_count} @@ -14,7 +14,7 @@ {/if} {/if}
-
+
@@ -29,7 +29,7 @@
-
+
{ if $ExifMadeWith } camera icon Image taken with:
{$ExifMadeWith}
@@ -67,7 +67,7 @@ -