Themer-friendly menu link CSS classes for Drupal theme
What this code does is to give themers an easier way to style individual menu items in Drupal. For example, if you have a menu item title "Company Profile" and you want this link to be red colour, the following code (to be placed inside template.php file of your theme) will provide menu CSS class of <li class="... menu-company-profile">
Style your Drupal theme according to day or night time
Here's a simple snippet to allow you to style your theme differently for day or night time. Place the following code into your theme's template.php file.
Style Drupal node according to Teaser or Full page view
Allows you to theme nodes according to the view mode. This code provides more template suggestion for you to style.
If you have for example content type "computer", you may copy node.tpl.php in your theme to node--computer.tpl.php or more specifically node--computer-teaser.tpl.php or node--computer-page.tpl.php
First and Last CSS class to Drupal blocks
If you're a themer looking to style blocks when its the first or last block in the region, use the following code snippet.
This snippet works with Context module as well.