WordPress CSS

/* ~~~~~~ WP ~~~~~~ */
.entry-content img{margin:0 0 10px}
.alignleft,img.alignleft{float:left; margin-right:10px}
.alignright,img.alignright{float:right; margin-left:10px}
.aligncenter,img.aligncenter{clear:both; display:block; margin-left:auto; margin-right:auto}
.wp-caption{width:auto!important; text-align:center; margin-top:8px; margin-bottom:8px}
.wp-caption img{padding:5px; border:1px solid #666; background-color:#DDD; border-radius:4px; -webkit-border-radius:4px; margin-bottom:4px}
.wp-caption p.wp-caption-text{margin:0; font-size:90%}

Linear Gradient

#footer-nav .navbar-inner{background-color:#000; background-image:-moz-linear-gradient(top, #333, #000); background-image:-ms-linear-gradient(top, #333, #000); background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#333), to(#000)); background-image:-webkit-linear-gradient(top, #333, #000); background-image:-o-linear-gradient(top, #333, #000); background-image:linear-gradient(top, #333, #000)}

Quick add page style

<?php
function sat_add_styles(){?>
<style type="text/css">
.row { overflow: hidden; background: #eee; margin-bottom: 15px; }
.columns { min-height: 50px; background: #ddd; }
.block-grid li { background: #ccc; }
</style>
<?php
}
add_action('wp_head','sat_add_styles');
?>

Super Simple Form Formatting

<style type="text/css">

#formID label { float: left; width: 100px; font-weight: bold; line-height: 24px;}
.formItem {clear: both; margin-bottom: 5px;}
.formFieldText {width: 100px; height: 20px; color: #444444;}

</style>

<form action="" method="post" id="formID">

<div class="formItem">
<label for="firstName">First Name</label>
<input class="formFieldText" type="text" value="" name="firstName" id="firstName" >
</div>

<div class="formItem">
<input type="submit" name="submit" value="Submit The Form">
</div>

</form>

Hide Ajax chat link

<?php

function bigm_chat_switch(){
global $bp;
$the_component_name = $bp->current_component;
$the_action_name = $bp->current_action;
if($the_component_name != 'groups' && bp_displayed_user_id() != get_current_user_id()){
?>
<style>
<!--
#user-chat {display:none;}
-->
</style>
<?php
}
if($the_action_name == 'my-groups'){
?>
<style>
<!--
#user-chat {display:none;}
-->
</style>
<?php
}
}
add_action('bp_after_footer','bigm_chat_switch');
?>

Style admin bar dropdown

#wp-admin-bar ul.main-nav li:hover,#wp-admin-bar ul.main-nav ul li {background-color:#666!important;}
#wp-admin-bar ul li ul { border:1px solid #666!important;}

Rollover Image

/* CSS Code */

.btn { background-image: url("image2.png"); height: 100px; width: 100px; margin: 0; padding: 0; }
.btn img { border: 0; width: 100%; height: 100%; }
.btn a, .nav a:link, .btn a:visited { display: block; }
.btn a:hover img { visibility: hidden; }

/* End CSS Code */

/* HTML Code */

<div class="btn">
<a href="#"><img src="image1.png"></a>
</div>

/* End HTML Code */

Register admin stylesheet

//Register CSS for Admin Pages
function admin_register_head() {
$admin_css_url = get_bloginfo('stylesheet_directory') . '/css/admin.css';
echo "<link rel='stylesheet' type='text/css' href='$admin_css_url' />n";
}
add_action('admin_head', 'admin_register_head');

Enqueue Style

//Dynamic CSS

function quantum_css(){

wp_enqueue_style('dynamic-css',bloginfo('stylesheet_url') . '/admin/color_picker/picker.css');
wp_print_styles();
}
add_action('wp_enqueue_styles','quantum_css');