A major css workout

Being bored is bad. Having a laptop cures boredom for me. Being in a caf with free wifi, being bored, having a laptop spells major disaster.

The current dikini.net restyling is an example.

Wait, there is more to it. Having your knickers twisted by drupal.css, while being bored in a free wifi caf results in the drupal equivalent to reading sendmail.cf - an attempt to modularise the monster css. It looks to be a longer project.

I've converted the current dikini.net style.css theme to:


  @import "frames.css"
  @import "typography.css"
  @import "colors.css"

and a few add-on css files, for things like icons. I'll be uploading that to the website shortly. I'm thinking of polluting the css file space with an additional file, behaviour.css with thigs like:


 .expandable {} /* an expandable/collapsible element, by default everything inside is hidden*/  
 .collapsible {} /* an expandable/colapsible element, by default everything inside is displayed*/  
 .sortable {} /*you can order the stuff*/
 .editable {} /*you get the picture I hope*/

What I'll try and do for my own sanity, is split the monster into similar files.

Why you would ask? Well, it is far easier to understand what's going on that way. the behaviours.css file is mainly for code documentation, but some properties might creep in during development.

It's not on this website yet, coming soon though.

Powered by Drupal, an open source content management system