vendor/assets/stylesheets/pure-nr.css in pure-css-rails-0.4.2 vs vendor/assets/stylesheets/pure-nr.css in pure-css-rails-0.5.0
- old
+ new
@@ -1,7 +1,7 @@
/*!
-Pure v0.4.2
+Pure v0.5.0
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
https://github.com/yui/pure/blob/master/LICENSE.md
*/
/*!
@@ -552,10 +552,20 @@
[hidden] {
display: none !important;
}
+/**
+ * Add this class to an image to make it fit within it's fluid parent wrapper while maintaining
+ * aspect ratio.
+ */
+.pure-img {
+ max-width: 100%;
+ height: auto;
+ display: block;
+}
+
/*csslint regex-selectors:false, known-properties:false, duplicate-properties:false*/
.pure-g {
letter-spacing: -0.31em; /* Webkit: collapse white-space between units */
*letter-spacing: normal; /* reset IE < 8 */
@@ -1523,10 +1533,10 @@
border-left: 1px solid #cbcbcb;/* inner column border */
border-width: 0 0 0 1px;
font-size: inherit;
margin: 0;
overflow: visible; /*to make ths where the title is really long work*/
- padding: 6px 12px; /* cell padding */
+ padding: 0.5em 1em; /* cell padding */
}
.pure-table td:first-child,
.pure-table th:first-child {
border-left-width: 0;
}