TWiki > TWikiCssEditAttach

Appendix C: TWiki CSS

Listing of CSS class names emitted from TWiki core code and standard plugins, for the Dakar release.

Who should read this document?

Most html elements generated by TWiki core code now have Cascading Style Sheet (CSS) tags. Skin builders and others who want to change the appearance of the default TWiki installation or any of the skins can use this document to see what styles can be created for these html elements.

Naming conventions

  1. All TWiki class names have the prefix twiki. So: twikiAlert, twikiToc, etcetera. Remember that CSS class names are case sensitive - TWiki CSS uses lowercase tw.
  2. TWiki uses class names only (.twikiDiffTable) and no id names (#twikiDiffTable), to allow multiple class names. Class names are written using the dot prefix.
  3. If you define your own CSS classes, it is preferable that you do not use the twiki prefix to prevent undesired overriding effects.

A wide range of standard styles are used in the TWiki core code and topics, and more are used in plugins. The following is an exhaustive list of all styles defined by the Pattern skin. For the most part, the names are the only documentation of the purpose of the style. For more information on how these styles are used, read the code (sorry!)

TWiki styles in core code





TWiki Styles in Plugins

.twikiTable TablePlugin
.twikiSortedAscendingCol TablePlugin
.twikiSortedDescendingCol TablePlugin
.twikiFirstCol TablePlugin

TWiki Styles in Templates

.twikiFormTable formtables.tmpl, form.tmpl
.twikiFormTableHRow formtables.tmpl, form.tmpl
.twikiFormTableRow formtables.tmpl
.twikiAttachments attachtables.tmpl
.twikiEditForm form.tmpl
.twikiFormSteps container around a form, such as the attach form: attach.tmpl
.twikiFormStep form row

TWiki Styles in topics

.twikiBroadcastMessage TWikiPreferences


PatternSkin makes extensive use of CSS in its templates. Read the PatternSkin topic and PatternSkinCss to learn more about creating your own CSS-based skin.

Practical introduction to CSS:

Related Topics: TWikiSkins, PatternSkin, DeveloperDocumentationCategory, AdminDocumentationCategory

Edit | Attach | Print version | History: r8 | r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r4 - 27 Mar 2005 - 13:14:15 - TWikiContributor
This site is powered by the TWiki collaboration platformVerwendung der Marke und Inhalten von DAS SCHWARZE AUGE mit freundlicher Genehmigung der Ulisses Medien & Spiel Distribution GmbH. Copyright © 2010 by Significant GbR für die Marke DAS SCHWARZE AUGE in Wort und Bild, by Alpers, Fuchs, Kramer, Neigel für die Inhalte. Diese Website enthält nicht-offizielle Informationen zum Rollenspiel Das Schwarze Auge und den dazugehörigen Kontinent Aventurien. Diese Informationen können im Widerspruch zu offiziell publizierten Texten stehen, wenngleich wir bemüht sind, Widersprüche zu vermeiden. Nähere Angaben findet Ihr im Impressum.
Für alle nicht durch obige Copyrights abgedeckten Inhalte gilt:
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on at TWiki:TWiki.TWikiCss