@iris.interactive/handcook 1.0.9 → 1.0.13
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
|
@@ -123,39 +123,28 @@ body.fullscreen {
|
|
|
123
123
|
|
|
124
124
|
.alignwide {
|
|
125
125
|
max-width: $container;
|
|
126
|
-
margin:
|
|
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
|
|
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
|
|
|
136
|
-
.alignheight {
|
|
137
|
-
height: 100vh;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
// Full width inside containers
|
|
141
|
-
.full-width {
|
|
142
|
-
margin-left: calc(50% - 50vw);
|
|
143
|
-
margin-right: calc(50% - 50vw);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
/* Container
|
|
147
|
-
/ ================================================== */
|
|
148
137
|
.container {
|
|
149
138
|
max-width: $container;
|
|
150
139
|
margin-left: auto;
|
|
151
140
|
margin-right: auto;
|
|
152
141
|
|
|
153
142
|
@include breakpoint(large) {
|
|
154
|
-
width: calc(100% - #{$margin-
|
|
143
|
+
width: calc(100% - #{$margin-large} * 2);
|
|
155
144
|
}
|
|
156
145
|
|
|
157
146
|
@include breakpoint(medium) {
|
|
158
|
-
width: calc(100% - #{$margin-
|
|
147
|
+
width: calc(100% - #{$margin-medium} * 2);
|
|
159
148
|
}
|
|
160
149
|
|
|
161
150
|
@include breakpoint(small) {
|
|
@@ -167,6 +156,16 @@ body.fullscreen {
|
|
|
167
156
|
}
|
|
168
157
|
}
|
|
169
158
|
|
|
159
|
+
.alignheight {
|
|
160
|
+
height: 100vh;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
// Full width inside containers
|
|
164
|
+
.full-width {
|
|
165
|
+
margin-left: calc(50% - 50vw);
|
|
166
|
+
margin-right: calc(50% - 50vw);
|
|
167
|
+
}
|
|
168
|
+
|
|
170
169
|
/* Margin element
|
|
171
170
|
/ ================================================== */
|
|
172
171
|
.hentry {
|
|
@@ -54,7 +54,7 @@ $margin-xsmall: 20px;
|
|
|
54
54
|
|
|
55
55
|
/* Breakpoint
|
|
56
56
|
/ ================================================== */
|
|
57
|
-
$breakpoint-desktop:
|
|
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,
|
|
113
|
+
$link-underline-offset: var(--iris--link--underline-offset, 2px);
|
|
114
114
|
$link-font-weight: var(--iris--link--font-weight);
|
|
115
115
|
|
|
116
116
|
|
|
@@ -214,7 +214,7 @@ $blockquote-font-size: var(--iris--blockquote--font-size);
|
|
|
214
214
|
$blockquote-font-size--rem: var(--iris--blockquote--font-size--rem);
|
|
215
215
|
$blockquote-font-size-small: var(--iris--blockquote--font-size--small);
|
|
216
216
|
$blockquote-font-size-small--rem: var(--iris--blockquote--font-size--small--rem);
|
|
217
|
-
$blockquote-padding-left: calc(#{$blockquote-font-size} * 1px +
|
|
217
|
+
$blockquote-padding-left: calc(#{$blockquote-font-size} * 1px + 20px);
|
|
218
218
|
$blockquote-text-align: var(--iris--blockquote--text-align);
|
|
219
219
|
|
|
220
220
|
|
package/public/styles/style.css
CHANGED
|
@@ -220,7 +220,34 @@ body.fullscreen .prefooter {
|
|
|
220
220
|
|
|
221
221
|
.alignwide {
|
|
222
222
|
max-width: 1220px;
|
|
223
|
-
margin:
|
|
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 {
|