@iris.interactive/handcook 1.0.10 → 1.0.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iris.interactive/handcook",
3
- "version": "1.0.10",
3
+ "version": "1.0.14",
4
4
  "description": "The web cooking by IRIS Interactive",
5
5
  "main": "./public/scripts/index.js",
6
6
  "scripts": {
@@ -123,16 +123,39 @@ body.fullscreen {
123
123
 
124
124
  .alignwide {
125
125
  max-width: $container;
126
- margin: 0 auto;
126
+ margin-left: auto;
127
+ margin-right: auto;
127
128
 
128
129
  // TODO : gestion des marges dans le cas des strates full (ex. Blog > post-video, carousels)
129
- // TODO then : supprimer les paddinf left&right des strates carousel + vérifs des sliders sur les différentes réso (marges, visibilité des items etc)
130
+ // TODO then : supprimer les padding left & right des strates carousel + vérifs des sliders sur les différentes réso (marges, visibilité des items etc)
130
131
  //.alignfull > & {
131
132
  // margin-left: 40px;
132
133
  // margin-right: 40px;
133
134
  //}
134
135
  }
135
136
 
137
+ .container {
138
+ max-width: $container;
139
+ margin-left: auto;
140
+ margin-right: auto;
141
+
142
+ @include breakpoint(large) {
143
+ width: calc(100% - #{$margin-large} * 2);
144
+ }
145
+
146
+ @include breakpoint(medium) {
147
+ width: calc(100% - #{$margin-medium} * 2);
148
+ }
149
+
150
+ @include breakpoint(small) {
151
+ width: calc(100% - #{$margin-small} * 2);
152
+ }
153
+
154
+ @include breakpoint(xsmall) {
155
+ width: calc(100% - #{$margin-xsmall} * 2);
156
+ }
157
+ }
158
+
136
159
  .alignheight {
137
160
  height: 100vh;
138
161
  }
@@ -30,15 +30,15 @@ $section-margin-top-small: 40px;
30
30
  $section-margin-bottom-small: 40px;
31
31
  $text-margin-bottom: 20px;
32
32
 
33
- $title-margin-top: 80px;
34
- $title-margin-bottom: 20px;
35
- $title-margin-top-small: 60px;
33
+ $title-margin-top: 60px;
34
+ $title-margin-bottom: 40px;
35
+ $title-margin-top-small: 40px;
36
36
  $title-margin-bottom-small: 20px;
37
37
 
38
- $block-margin-top: 80px;
38
+ $block-margin-top: 60px;
39
39
  $block-margin-top-medium: 60px;
40
40
  $block-margin-top-small: 30px;
41
- $block-margin-bottom: 80px;
41
+ $block-margin-bottom: 60px;
42
42
  $block-margin-bottom-medium: 60px;
43
43
  $block-margin-bottom-small: 30px;
44
44
 
@@ -54,7 +54,7 @@ $margin-xsmall: 20px;
54
54
 
55
55
  /* Breakpoint
56
56
  / ================================================== */
57
- $breakpoint-desktop: $container; // min-width
57
+ $breakpoint-desktop: 1000.1px; // min-width
58
58
  $breakpoint-xlarge: math.div($container, 1 - math.div($margin-xlarge, 100%) * 2)+1; // min-width
59
59
  $breakpoint-large: math.div($container, 1 - math.div($margin-xlarge, 100%) * 2); // max-width
60
60
  $breakpoint-medium: 1000px; // max-width
@@ -110,7 +110,7 @@ $link-color: var(--iris--link--color);
110
110
  $link-color-hover: var(--iris--link--color-hover);
111
111
  $link-text-decoration: var(--iris--link--text-decoration, none);
112
112
  $link-box-shadow: var(--iris--link--box-shadow, none);
113
- $link-underline-offset: var(--iris--link--underline-offset, 0);
113
+ $link-underline-offset: var(--iris--link--underline-offset, 2px);
114
114
  $link-font-weight: var(--iris--link--font-weight);
115
115
 
116
116
 
@@ -408,5 +408,5 @@ $c-warning: #ff890e;
408
408
  /* Difficulty
409
409
  / ================================================== */
410
410
  $c-easy: #9ccc65;
411
- $c-medium: #29b6f6;
411
+ $c-medium: #ff890e;
412
412
  $c-hard: #ef5350;
@@ -220,7 +220,34 @@ body.fullscreen .prefooter {
220
220
 
221
221
  .alignwide {
222
222
  max-width: 1220px;
223
- margin: 0 auto;
223
+ margin-left: auto;
224
+ margin-right: auto;
225
+ }
226
+
227
+ .container {
228
+ max-width: 1220px;
229
+ margin-left: auto;
230
+ margin-right: auto;
231
+ }
232
+ @media screen and (max-width: 1452.380952381px) {
233
+ .container {
234
+ width: calc(100% - 60px * 2);
235
+ }
236
+ }
237
+ @media screen and (max-width: 1000px) {
238
+ .container {
239
+ width: calc(100% - 40px * 2);
240
+ }
241
+ }
242
+ @media screen and (max-width: 650px) {
243
+ .container {
244
+ width: calc(100% - 20px * 2);
245
+ }
246
+ }
247
+ @media screen and (max-width: 370px) {
248
+ .container {
249
+ width: calc(100% - 20px * 2);
250
+ }
224
251
  }
225
252
 
226
253
  .alignheight {
@@ -240,8 +267,8 @@ body.fullscreen .prefooter {
240
267
  .hentry > h4,
241
268
  .hentry > h5,
242
269
  .hentry > h6 {
243
- margin-top: 80px;
244
- margin-bottom: 20px;
270
+ margin-top: 60px;
271
+ margin-bottom: 40px;
245
272
  }
246
273
  @media screen and (max-width: 650px) {
247
274
  .hentry > h1,
@@ -250,7 +277,7 @@ body.fullscreen .prefooter {
250
277
  .hentry > h4,
251
278
  .hentry > h5,
252
279
  .hentry > h6 {
253
- margin-top: 60px;
280
+ margin-top: 40px;
254
281
  margin-bottom: 20px;
255
282
  }
256
283
  }
@@ -260,8 +287,8 @@ body.fullscreen .prefooter {
260
287
  margin-bottom: 20px;
261
288
  }
262
289
  .hentry > *[class] {
263
- margin-top: 80px;
264
- margin-bottom: 80px;
290
+ margin-top: 60px;
291
+ margin-bottom: 60px;
265
292
  }
266
293
  @media screen and (max-width: 650px) {
267
294
  .hentry > *[class] {