Permalink
Browse files

Prefix .column* classes with .column-grid to be more specific and add…

… some additional margin CSS.
  • Loading branch information...
1 parent 971ac24 commit bca16e144882aa2b15f24c7b33481c134a2908c7 @justintadlock committed Oct 7, 2012
Showing with 8 additions and 6 deletions.
  1. +6 −4 css/columns.css
  2. +1 −1 css/columns.min.css
  3. +1 −1 grid-columns.php
View
@@ -1,7 +1,7 @@
/**
* CSS for handling the [column] shortcode styles.
*
- * @version 20120917
+ * @version 20121007
* @author Justin Tadlock <justin@justintadlock.com>
* @copyright Copyright (c) 2012, Justin Tadlock
* @link http://justintadlock.com
@@ -18,15 +18,17 @@
clear: both;
visibility: hidden;
}
-.column {
+.column-grid .column {
float: left;
margin-right: 5%;
}
-.column-first {
+.column-grid .column-first {
+ margin-left: 0;
}
-.column-last {
+.column-grid .column-last {
float: right;
margin-right: 0;
+ margin-left: 0;
}
/**
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -121,7 +121,7 @@ public function enqueue_styles() {
'grid-columns',
trailingslashit( plugin_dir_url( __FILE__ ) ) . "css/columns$suffix.css",
null,
- '20120917'
+ '20121007'
);
}

0 comments on commit bca16e1

Please sign in to comment.