jetpack-rails 0.6.3 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +3 -0
- data/lib/jetpack/version.rb +1 -1
- data/vendor/assets/stylesheets/jetpack/fractionalize.css.scss +11 -2
- metadata +1 -1
data/CHANGELOG
CHANGED
data/lib/jetpack/version.rb
CHANGED
@@ -41,10 +41,19 @@ $tablet: 760px;
|
|
41
41
|
$mobile: 280px;
|
42
42
|
$margin: 20px;
|
43
43
|
|
44
|
+
@mixin respond-to($media) {
|
45
|
+
@if $media == tablet {
|
46
|
+
@media screen and (device-width: 768px), screen and (min-width: 768px) and (max-width: 1023px) { @content; }
|
47
|
+
}
|
48
|
+
@else if $media == mobile {
|
49
|
+
@media screen and (device-width: 480px), screen and (max-width: 767px) { @content; }
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
44
53
|
@mixin container {
|
45
54
|
width: $desktop;
|
46
|
-
@media
|
47
|
-
@media
|
55
|
+
@media screen and (device-width: 768px), screen and (min-width: 768px) and (max-width: 1023px) { width: $tablet; }
|
56
|
+
@media screen and (device-width: 480px), screen and (max-width: 767px) { width: $mobile; }
|
48
57
|
margin: 0 auto;
|
49
58
|
clear: both;
|
50
59
|
@include clearfix;
|