From f8ec2e6370398db8ba9aae149e3beda1b20edc54 Mon Sep 17 00:00:00 2001 From: rub Date: Sun, 19 Mar 2006 23:04:13 +0000 Subject: Improvement issue 0000310: o Add local-layout.css files git-svn-id: http://piwigo.org/svn/trunk@1088 68402e56-0260-453c-a942-63ccdbb3a9ee --- template-common/default-layout.css | 3 +++ template/yoga/default-layout.css | 5 ++++- tools/local-layout.css | 6 ++++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 tools/local-layout.css diff --git a/template-common/default-layout.css b/template-common/default-layout.css index 7514f94ad..5f8cf62e1 100644 --- a/template-common/default-layout.css +++ b/template-common/default-layout.css @@ -31,3 +31,6 @@ BODY#theAdminPage #content { #content UL.thumbnails SPAN.thumbLegend { display: block; /* display: none; if you don't want legend */ } + +/* Override properties with import local file */ +@import "local-layout.css"; diff --git a/template/yoga/default-layout.css b/template/yoga/default-layout.css index 602355530..94dc24dd3 100644 --- a/template/yoga/default-layout.css +++ b/template/yoga/default-layout.css @@ -1,8 +1,12 @@ +/* template css */ @import "menubar.css"; @import "content.css"; @import "image.css"; @import "popuphelp.css"; +/* Override properties with import local file */ +@import "local-layout.css"; +/* common css */ @import "../../template-common/default-layout.css"; /* $Id$ */ @@ -257,4 +261,3 @@ UL.actions A { border: none; } - diff --git a/tools/local-layout.css b/tools/local-layout.css new file mode 100644 index 000000000..2471e13de --- /dev/null +++ b/tools/local-layout.css @@ -0,0 +1,6 @@ +/* Add background picture */ +BODY { + background-image:url(background.gif); + background-attachment:fixed; +} + -- cgit v1.2.3