CSS elements in PatternSkin
This page is a reference for all CSS classes used in PatternSkin.
PatternSkin uses 4 stylesheets:
- layout.css: positioning of block elements on the page
- style.css: margins, paddings, borders, font sizes
- colors.css: text colors, background colors, border colors
- print.css: optimalizations for printed page
If you want to learn how to create your own look or skin based on PatternSkin, read further in PatternSkin.
Naming conventions
- All PatternSkin specific classes have the prefix
pattern : patternEditPage, patternTopicAction, etcetera.
- TWiki specific classes (emitted by the TWiki engine) have the prefix
twiki : twikiButton, twikiToc, etcetera. See for a complete list TWikiCss.
- Positional containers are referred by id, for instance
#patternLeftBar .
Namespaces
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 .
|