Categories
creative internets uncategorized web design

color layout chart

color layout for BUWThis is the color chart I made for orchestrating and managing the background images/colors when using both a style switcher and a browser sniffer to determine which background, exactly, to display for each area of the page. You might even find it useful for your own layouts. The key is below.

Note that the header isn’t really used, and that the content and sidebars (sometimes), and the drop-downs, post meta-data, and my-own-comments boxes (always) use the same background CSS (once for each subtheme).

In all there are 6 × 3 = 18 different CSS inserts for what ended up being one of 4 types of user agents (1. browsers that cannot handle PNG transparency, 2. browsers that can and receive special message A, 3. browsers that can and receive special message B, and 4) all other user agents).

So, yeah, you can tell that this is becoming a bit of a logistical nightmare for me! Nevertheless, I’m pretty confident that once I’ve got the thing done, it’ll be easy to extend.

I’m trying to make the learning curve for anyone else as shallow as I can. Here’s how it breaks down for anyone wishing to add their own subtheme:

  1. Create CSS for layout and color
  2. Add style to styles.inc
  3. Add any needed sniffer-generated CSS to sniffer.inc
    1. This is really for generating either translucent PNG or GIF, depending on browser
    2. Obviously, this also entails creating both a PNG and GIF version for each translucent background
  4. Edit header.php so that cookies don’t retain old style names (there must be an easier way to do this; maybe someone will come along and improve this step so it’s automated; nevertheless, it currently only requires inserting the style names into two lines of existing code, towards the top of the page)
  5. Upload and enjoy!

Not too terribly bad, I think, all things considered.

Key:

(A) header
E navbar
B (+C+D) content
(C+D) sidebar
F+G+H+I contrast
J comment1
K comment2 (alternating)
Categories
family friends life uncategorized

Sunday

Holly and i had an excellent day Sunday. Got to see my wonderful Grandpa, my Dad & his wife, and my great friends Tony & Tasha! And i got to speak with my Uncle Kent and Tony’s brother Jeremy on the phone! Such a treat, such a treat. Plus, Tony & i got to have a little mini-adventure as we drove around looking for booze cigarettes! A terrific and fun day, spoiled only by a bit of a headache.

Categories
life work

head ache

Today i went home early for the first time in so long that i forgot how to even do it. Literally. My head hurts. It feels like it’s filling up with hard foam rubber or something. Every time i get a headache, it seems like the focus is always in the same place, just to the right and a little in front of the crown. I’m not sure if that’s common, but if it keeps up i’m going to go and tell on it.

O god how i wish someone could Paypal me some Orudis KT right now.