[Pmwiki-users] Re: Re: Call For Directory Simplicity
Christian Ridderström
chr
Sat Feb 14 11:00:17 CST 2004
On Sat, 14 Feb 2004, Patrick R. Michaud wrote:
> On Sat, Feb 14, 2004 at 05:44:11AM +0100, Christian Ridderstr?m wrote:
> >
> > But while we are talking about the directory structure. I started thinking
> > about the CSS-files. Right now they're located in pub/CSS, but if (when) I
> > fiddle with the CSS-files, I risk losing these changes the next time I
> > upgrade pmwiki, or have I missed something?
[[attach:somewhere]]
> The answer is to not fiddle with the distributed CSS-files...just override
> the definitions in pub/css/local.css. About the CSS-files:
> stdlayout.css
> has the minimal definitions needed for things to work properly,
> such as the layout for page history. It should probably not be
> modified, nor need to be modified.
> pmwiki.css
> The default PmWiki "skin". The best way to change this is to copy
> the file to another name such as myskin.css and then set
> $PageSkin='myskin'; in config.php
> local.css
> A place to put site-wide CSS settings
> $Group.css, $Group.$Title_.css
> Group and page-specific CSS settings
[[attach:]]
I wasn't aware it's as simple as just overriding the stuff in local.css
-- I assume this file doesn't come with pmwiki.tar.gz -- and this also
explains why the pages include so many css-files (which I've been
wondering about).
Btw, can a css-file include another css-file?
> I'll put notes in the CSS files indicating that they shouldn't be modified
> as well as instructions about where to put modifications. Does that work?
Yes, that should work.
/Christian
--
Christian Ridderstr?m http://www.md.kth.se/~chr
More information about the pmwiki-users
mailing list