matcha-theme 1.0.17 → 1.0.19
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.
- package/abstracts/_grid.scss +28 -0
- package/package.json +1 -1
package/abstracts/_grid.scss
CHANGED
|
@@ -68,6 +68,8 @@
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
+
|
|
72
|
+
|
|
71
73
|
@mixin _grid-prop($i) {
|
|
72
74
|
display: grid;
|
|
73
75
|
grid-template-columns: repeat($i, minmax(0, 1fr));
|
|
@@ -134,3 +136,29 @@
|
|
|
134
136
|
|
|
135
137
|
@include display-grid($grid-prefix, $grid-length, $grid-sizes, $helper-breakpoints);
|
|
136
138
|
@include display-flex($grid-prefix, $grid-length, $grid-sizes);
|
|
139
|
+
|
|
140
|
+
// -------------------------------------------------------------------------------------------------------------------
|
|
141
|
+
// Dynamic gaps
|
|
142
|
+
// -------------------------------------------------------------------------------------------------------------------
|
|
143
|
+
.gap-inside {
|
|
144
|
+
-moz-column-gap: 8px;
|
|
145
|
+
column-gap: 8px;
|
|
146
|
+
row-gap: 8px;
|
|
147
|
+
}
|
|
148
|
+
.gap-outside {
|
|
149
|
+
-moz-column-gap: 16px;
|
|
150
|
+
column-gap: 16px;
|
|
151
|
+
row-gap: 16px;
|
|
152
|
+
}
|
|
153
|
+
@media screen and (min-width: 600px) {
|
|
154
|
+
.gap-inside {
|
|
155
|
+
-moz-column-gap: 16px;
|
|
156
|
+
column-gap: 16px;
|
|
157
|
+
row-gap: 16px;
|
|
158
|
+
}
|
|
159
|
+
.gap-outside {
|
|
160
|
+
-moz-column-gap: 24px;
|
|
161
|
+
column-gap: 24px;
|
|
162
|
+
row-gap: 24px;
|
|
163
|
+
}
|
|
164
|
+
}
|