|
From: | paul POULAIN |
Subject: | Re: [Koha-devel] koha 1,4, templating and css |
Date: | Wed Oct 9 08:58:09 2002 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 |
You're right, but you're wrong...On Wed, Oct 09, 2002 at 09:59:48PM +1000, Roger Buck wrote:I now vote for: <serverroot>/<theme>/<lang>/ ./style/ ./*.css ./catalogue/ ./*.html ./*.tmpl ./members/ ./*.html ./*.tmpl ./images/ ... and so on at discretion of theme author.... I think that Dorian suggested that some time ago. Does that make sense?Mostly, except for the location of *.css files. (I confess that I'm almost entirely ignorant about CSS, so I'll ask you to put up with naive questions, and to enlighten me when I'm wrong.)
You're right, here...As I understand it, stylesheets specify colors, fonts, and all of those little presentation details. In particular, AIUI, stylesheets do not specify content. So why would the *.css files go in <theme>/<lang>? How are the French link colors different from the Italian or German colors?
you're wrong here : we can't embeed 2 style sheets in the same html page (not sure of this!)Okay, so the Japanese and Cherokee versions of the web page will obviously use different fonts. But most everything else will be identical across languages, right? Perhaps there should be theme-wide CSS and a separate per-language CSS?
You're right there.I'm mainly concerned with duplication ("Pragmatic Programmer" tip #11: Don't Repeat Yourself). If default/en/style/foo.css and default/jp/style/foo.css are separate, and need to be kept in sync, they _will_ drift apart. The same thing applies to language-specific templates.
[Prev in Thread] | Current Thread | [Next in Thread] |