Contributors[edit]
- CSS sheets should be written in the same logical order from top to bottom. Preferably elements physically at the top of the page (such as Cookie and Site notices, ArenaNet upperbar, wiki logo) should be prioritised towards the top of the stylesheet. Non-page content interface theme items (such as portlets and sidebars) should be next, followed by all content items (text elements, tables, wiki specific template styles). Finally any infrequently used items (such as printer settings) should be towards the end.
- Avoid use of inline styles with set font colors, background colors or border colors where possible in templates. These can make construction of new themes difficult, particularly if the template is complicated in nature, such as Template:Professions nav or Template:Achievement nav. Equally use of specific colors should be avoided in the common stylesheet, as these common styles will be applied when using all other themes (except mobile which only loads itself). A sometimes viable alternative to this is to pick a color midway between light and dark which contrasts with both white and black.
- Some of the lesser used skins (cologneblue and modern) utilise content entirely copied from other stylesheets. Other themes can be quite ornate with the level of customisation versus the original appearance of the skins (monobook and vector).
Subpages[edit]
- See also: Category:Projects CSS documentation
|