From 6d1dd2a0f5375c1639bbf02d2e01bb59ea7bb29c Mon Sep 17 00:00:00 2001 From: chrisaga Date: Sat, 22 Apr 2006 09:11:41 +0000 Subject: - improve : template code tables are horizontaly centered by default git-svn-id: http://piwigo.org/svn/trunk@1253 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/content.css | 4 ---- template/yoga/default-layout.css | 4 ++++ template/yoga/image.css | 3 --- template/yoga/month_calendar.tpl | 9 +++++---- template/yoga/search.tpl | 25 ++----------------------- 5 files changed, 11 insertions(+), 34 deletions(-) (limited to 'template') diff --git a/template/yoga/content.css b/template/yoga/content.css index 67019a3ac..f76847f25 100644 --- a/template/yoga/content.css +++ b/template/yoga/content.css @@ -188,10 +188,6 @@ SPAN.filename:after { content: "]"; } -TABLE.thumbnail { - margin-left: auto; - margin-right: auto; -} TD.thumbnail label { position: relative; } diff --git a/template/yoga/default-layout.css b/template/yoga/default-layout.css index c6c8a8fff..413f28181 100644 --- a/template/yoga/default-layout.css +++ b/template/yoga/default-layout.css @@ -53,6 +53,10 @@ HR.separation { /** General defaults **/ INPUT {margin: 0;} ul, dl, li { text-align: left;} +TABLE { /* horizontaly centered */ + margin-left: auto; + margin-right: auto; +} /* for debugging purpose */ pre { text-align:left; } diff --git a/template/yoga/image.css b/template/yoga/image.css index 0d242a1bd..3064ee46a 100644 --- a/template/yoga/image.css +++ b/template/yoga/image.css @@ -91,9 +91,6 @@ de l'image... margin-left: 10px; } -TABLE.infoTable { - margin: auto; -} TABLE.infoTable .value { text-align: left; } diff --git a/template/yoga/month_calendar.tpl b/template/yoga/month_calendar.tpl index cd3586a23..9e1e4fb2f 100644 --- a/template/yoga/month_calendar.tpl +++ b/template/yoga/month_calendar.tpl @@ -1,4 +1,5 @@ + - +
- + - + - + diff --git a/template/yoga/search.tpl b/template/yoga/search.tpl index 0531bcb35..b6534a38e 100644 --- a/template/yoga/search.tpl +++ b/template/yoga/search.tpl @@ -1,3 +1,4 @@ +
@@ -19,7 +20,7 @@
-
{calendar.thumbnails.head.col.LABEL}{calendar.thumbnails.head.col.LABEL}
+
-
{lang:search_keywords} : @@ -116,28 +117,6 @@ {lang:search_descending}
   -- cgit v1.2.3