History: CSS Overview
Preview of version: 6
Presentation
The presentation of elements, the visual style of your theme, is created using CSS (Cascading Style Sheets).
W3C provides tutorials and other tools for learning CSS principles: www.w3.org/Style/CSS. See also the CSS links in the Directory.
Tiki methodologies
You can either start with an existing theme style sheet and copy, rename and modify it, or you can start with a "blank" CSS file and create the new style from scratch. To start from an existing CSS file, see Modifying an Existing Style Sheet; to start from a blank CSS file, see Starting Fresh — CSS.
Comment from tw.o/StyleCreation
author | message |
coofercat | CSS Bloat! |
on: Mon 30 May, 2005 | |
All of the stock CSS files supplied with Tiki are huge! (60K upwards, mostly). That's really big, and mostly unnecessary. There are two potential solutions: 1) Create "generic" styles In this scenario, a series of reusable styles would be created. For example, "full width title box", "full width text box" etc. Then, each Tiki application is migrated to using these "supplied" styles, only creating their own if absolutely necessary. Thus, most of the CSS is shared between all of Tiki, with minimal "per-page" additions. The problem is that we'd have to migrate the whole of Tiki to a solution like this for it to be any use. 2) Amalgamate similar styles in the CSS This is a per-css proposal. Where two applications both use a similar on-screen style, simply use both names in the CSS definition of that style. Thus, where there were two copies of the style there are now only one. This will shrink the size of the CSS considerably, but it's incredibly difficult to test, because it's not always clear where a style is used (it may say "blog posts" but actually be used somewhere else as well!). Also, it relies on CSS and application authors to be very, very diligent about what they're doing. So in short, neither scenario is a "quick fix", but in my view, something has to be done because the CSS files are huge and only set to get bigger - not good news for old browsers or mobile/low power devices etc. my 2 pence worth 😉 |
History
Information | Version | ||||||
---|---|---|---|---|---|---|---|
Wed 17 of Sep, 2025 06:23 UTC System Administrator automatic conversion | 10 | ||||||
Wed 30 of Jun, 2010 06:58 UTC Gary Cunningham-Lee Some updating. | 9 | ||||||
Sat 23 of May, 2009 05:33 UTC Gary Cunningham-Lee Updated for Tiki 3.0. | 8 | ||||||
Tue 27 of Jan, 2009 12:28 UTC Gary Cunningham-Lee Some updating. | 7 | ||||||
Wed 08 of Mar, 2006 04:37 UTC System Administrator | 6 | ||||||
Thu 23 of Feb, 2006 05:10 UTC Gary Cunningham-Lee tw.o origin deleted. | 5 | ||||||
Thu 23 of Feb, 2006 05:09 UTC Gary Cunningham-Lee Link changes and copy edits. | 4 | ||||||
Mon 20 of Feb, 2006 02:05 UTC Gary Cunningham-Lee Content added. | 3 | ||||||
Fri 17 of Feb, 2006 07:01 UTC System Administrator Content added from doc.tw.o. | 2 | ||||||
Fri 17 of Feb, 2006 02:41 UTC system created from structure | 1 |