Changeset 498 for trunk/PatternSkin/data/TWiki/PatternSkinCssCookbook.txt
- Timestamp:
- 11/10/08 00:49:46 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/PatternSkin/data/TWiki/PatternSkinCssCookbook.txt
r482 r498 22 22 * Create a new topic that will contain your new CSS files 23 23 * Attach 3 new style sheets to the topic 24 * Point the CSS variables in [[%SYSTEMWEB%. TWikiPreferences]] to your new files:24 * Point the CSS variables in [[%SYSTEMWEB%.DefaultPreferences]] or [[%USERSWEB%.SitePreferences]] to your new files: 25 25 <pre> 26 26 * <nop>Set TWIKILAYOUTURL = %<nop>PUBURLPATH%/%<nop>SYSTEMWEB%/YourNewTopic/layout.css … … 34 34 * Create a new topic that will contain your new CSS files 35 35 * Attach 1, 2 or 3 new style sheets to the topic, dependent on your CSS setup (if you don't change much, you might as well put everything in one CSS file, layout, margins and colors) 36 * Point the CSS variables in [[%SYSTEMWEB%. TWikiPreferences]] to your new files (below the =TWIKIXXXURL= variables):36 * Point the CSS variables in [[%SYSTEMWEB%.DefaultPreferences]] or [[%USERSWEB%.SitePreferences]] to your new files (below the =TWIKIXXXURL= variables): 37 37 <pre> 38 38 * <nop>Set USERLAYOUTURL = %<nop>PUBURLPATH%/%<nop>SYSTEMWEB%/YourNewTopic/layout.css … … 45 45 </pre> 46 46 47 Instead of setting these variables in [[%SYSTEMWEB%. TWikiPreferences]], you can set these in your home topic, or in any other topic. Setting style URL variables in:48 * [[%SYSTEMWEB%. TWikiPreferences]]: the style is visible for all users, site-wide47 Instead of setting these variables in [[%SYSTEMWEB%.DefaultPreferences]] or [[%USERSWEB%.SitePreferences]], you can set these in your home topic, or in any other topic. Setting style URL variables in: 48 * [[%SYSTEMWEB%.DefaultPreferences]] or [[%USERSWEB%.SitePreferences]]: the style is visible for all users, site-wide 49 49 * WebPreferences: the style is visible for all users in one web 50 50 * Home topic: the style is visible for that one user when viewing the site
Note: See TracChangeset
for help on using the changeset viewer.
