| CSS elements in PatternSkin
This page is a reference for all CSS classes used in PatternSkin. |
| PatternSkin uses namespaces for templates, by adding one (sometimes two - multiple) class names to the template's body tag.
- The body tag in view.pattern.tmpl for instance has the class name "patternViewPage":
<body class="patternViewPage"> . All CSS elements specific to the view template thus can be defined as .patternViewPage .someClassName .
|
|
< < |
- All templates that are not the view template have the body class name "patternNoViewPage". That makes it easy to give all of these pages a different layout in one sweep (smaller or wider margins for instance). Template edit.pattern.tmpl uses
<body class="patternNoViewPage patternEditPage"> .
|
> > |
- All templates that are not the view template have the body class name "patternNoViewPage". That makes it easy to give all of these pages a different layout (smaller or wider margins for instance) in one sweep. Template edit.pattern.tmpl uses
<body class="patternNoViewPage patternEditPage"> .
|
|
Page type classes |
Copyright © 1999-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding The Caboteria?
Send feedback Note: Please contribute updates to this topic on TWiki.org at
TWiki:TWiki.PatternSkinCss.