aemi 1.0.2 → 1.0.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e003af50ef76ededb53870b510a38936828400e7576c5f1e51022e6e7771606
4
- data.tar.gz: 65b73238419a0316fdf579c09bac5e02a7ae9da231cbf35a3e25898aabec15fd
3
+ metadata.gz: e103cd9097ac45e86250f2af619d43a26d883801519710f5709820d004f9ef4d
4
+ data.tar.gz: 582599b25e208d71ecd5feac0b81d877c248e1dfeac69339701129a14054e799
5
5
  SHA512:
6
- metadata.gz: 0c57b87d0e31886cadb0cdd94689413fa0aa610a70c43fdf4de3d3542a2fe4d6a1905ccb26657b1547b524577ac7d27ff02c03d156d119502078f63fc7bcee31
7
- data.tar.gz: 6b868ea4efd9b23b60dbb06966165029bd37bed59bd1c23eff29d94fb6622f220cba735c528b74279b9391e14a75be9010d2d4bfdb4f486fdb751a89e4f68b35
6
+ metadata.gz: 25ab2508c6e519ca902486fdd5e5bc1b07526fc2e11cd8b4c37b5b7ca16c8e5c98e033eafeb846d81a2442be9c1d2077ae41081aed94450f6bf643afd8141f44
7
+ data.tar.gz: cae22a328b71edcb1e1b88431db174e63b2d9af23348fe369395375c6552bfb1bc79b41f55401c78a1a9cef45713a2f89310e3afd13c4f5227f4d6aea32610a7
@@ -2,14 +2,14 @@
2
2
 
3
3
 
4
4
  .screen-reader-text {
5
- clip-path: polygon(0 0, 1px 0, 1px 1px, 0 1px);
6
- display: block;
7
- height: 1px !important;
8
- opacity: 0;
9
- overflow: hidden;
10
- position: absolute !important;
11
- width: 1px !important;
12
- word-wrap: normal !important;
5
+ clip-path: polygon(0 0, 1px 0, 1px 1px, 0 1px);
6
+ display: block;
7
+ height: 1px !important;
8
+ opacity: 0;
9
+ overflow: hidden;
10
+ position: absolute !important;
11
+ width: 1px !important;
12
+ word-wrap: normal !important;
13
13
  }
14
14
 
15
15
  /**
@@ -17,12 +17,18 @@
17
17
  */
18
18
  body,
19
19
  .h0,
20
- h1, .h1,
21
- h2, .h2,
22
- h3, .h3,
23
- h4, .h4,
24
- h5, .h5,
25
- h6, .h6,
20
+ h1,
21
+ .h1,
22
+ h2,
23
+ .h2,
24
+ h3,
25
+ .h3,
26
+ h4,
27
+ .h4,
28
+ h5,
29
+ .h5,
30
+ h6,
31
+ .h6,
26
32
  .h7,
27
33
  p,
28
34
  blockquote,
@@ -58,12 +64,18 @@ body {
58
64
  * Set `margin-bottom` to maintain vertical rhythm
59
65
  */
60
66
  .h0,
61
- h1, .h1,
62
- h2, .h2,
63
- h3, .h3,
64
- h4, .h4,
65
- h5, .h5,
66
- h6, .h6,
67
+ h1,
68
+ .h1,
69
+ h2,
70
+ .h2,
71
+ h3,
72
+ .h3,
73
+ h4,
74
+ .h4,
75
+ h5,
76
+ .h5,
77
+ h6,
78
+ .h6,
67
79
  .h7,
68
80
  p,
69
81
  blockquote,
@@ -92,18 +104,30 @@ main {
92
104
  /**
93
105
  * Images
94
106
  */
95
- img {
107
+ img,
108
+ video {
109
+ display: block;
96
110
  max-width: 100%;
97
111
  vertical-align: middle;
98
112
  }
99
113
 
114
+ :not(figure) {
115
+ > img,
116
+ > video {
117
+ margin-top: var(--half-spacing-unit);
118
+ margin-bottom: var(--half-spacing-unit);
119
+ }
120
+ }
100
121
 
101
122
 
102
123
  /**
103
124
  * Figures
104
125
  */
105
- figure>img {
106
- display: block;
126
+ figure {
127
+ > img,
128
+ > video {
129
+ display: block;
130
+ }
107
131
  }
108
132
 
109
133
  figcaption {
@@ -134,12 +158,18 @@ li {
134
158
  * Headings
135
159
  */
136
160
  .h0,
137
- h1, .h1,
138
- h2, .h2,
139
- h3, .h3,
140
- h4, .h4,
141
- h5, .h5,
142
- h6, .h6,
161
+ h1,
162
+ .h1,
163
+ h2,
164
+ .h2,
165
+ h3,
166
+ .h3,
167
+ h4,
168
+ .h4,
169
+ h5,
170
+ .h5,
171
+ h6,
172
+ .h6,
143
173
  .h7 {
144
174
  font-family: $head-font-family;
145
175
  font-weight: $heading-font-weight;
@@ -152,55 +182,55 @@ h6, .h6,
152
182
  .h0 {
153
183
  font-size: 3em;
154
184
  letter-spacing: -0.033em;
155
- line-height: 1;
185
+ line-height: 1;
156
186
  }
157
187
 
158
188
  h1,
159
189
  .h1 {
160
- font-size: 2.5em;
161
- letter-spacing: -0.027em;
162
- line-height: 1.05;
190
+ font-size: 2.5em;
191
+ letter-spacing: -0.027em;
192
+ line-height: 1.05;
163
193
  }
164
194
 
165
195
  h2,
166
196
  .h2 {
167
- font-size: 2em;
168
- letter-spacing: -0.022em;
169
- line-height: 1.1;
197
+ font-size: 2em;
198
+ letter-spacing: -0.022em;
199
+ line-height: 1.1;
170
200
  }
171
201
 
172
202
  h3,
173
203
  .h3 {
174
- font-size: 1.5em;
175
- letter-spacing: -0.019em;
176
- line-height: 1.15;
204
+ font-size: 1.5em;
205
+ letter-spacing: -0.019em;
206
+ line-height: 1.15;
177
207
  }
178
208
 
179
209
  h4,
180
210
  .h4 {
181
- font-size: 1.17em;
182
- letter-spacing: -0.015em;
183
- line-height: 1.2;
211
+ font-size: 1.17em;
212
+ letter-spacing: -0.015em;
213
+ line-height: 1.2;
184
214
  }
185
215
 
186
216
  h5,
187
217
  .h5 {
188
- font-size: 1em;
189
- letter-spacing: -0.011em;
190
- line-height: 1.4;
218
+ font-size: 1em;
219
+ letter-spacing: -0.011em;
220
+ line-height: 1.4;
191
221
  }
192
222
 
193
223
  h6,
194
224
  .h6 {
195
- font-size: 0.83em;
196
- letter-spacing: -0.004em;
197
- line-height: 1.45;
225
+ font-size: 0.83em;
226
+ letter-spacing: -0.004em;
227
+ line-height: 1.45;
198
228
  }
199
229
 
200
230
  .h7 {
201
- font-size: 0.75rem;
202
- letter-spacing: 0;
203
- line-height: 1.5;
231
+ font-size: 0.75rem;
232
+ letter-spacing: 0;
233
+ line-height: 1.5;
204
234
  }
205
235
 
206
236
 
@@ -236,6 +266,25 @@ p {
236
266
  text-align-last: left;
237
267
  }
238
268
 
269
+ small {
270
+ font-size: 0.75em;
271
+ letter-spacing: 0em;
272
+ }
273
+
274
+ big {
275
+ font-size: 1.25em;
276
+ letter-spacing: -0.017em;
277
+ }
278
+
279
+ b,
280
+ strong {
281
+ font-weight: bolder;
282
+ }
283
+
284
+ cite br {
285
+ display: none;
286
+ }
287
+
239
288
 
240
289
  /**
241
290
  * Blockquotes
@@ -284,7 +333,7 @@ code {
284
333
  padding: 1px 5px;
285
334
  }
286
335
 
287
- :not(pre) > code {
336
+ :not(pre)>code {
288
337
  white-space: normal;
289
338
  word-break: break-all;
290
339
  }
@@ -293,7 +342,7 @@ pre {
293
342
  padding: 8px 12px;
294
343
  overflow-x: auto;
295
344
 
296
- > code {
345
+ >code {
297
346
  background: unset;
298
347
  border: 0;
299
348
  font-size: 1rem;
@@ -303,6 +352,27 @@ pre {
303
352
  }
304
353
 
305
354
 
355
+ sub,
356
+ sup {
357
+ font-size: 0.75em;
358
+ letter-spacing: 0;
359
+ line-height: 0;
360
+ position: relative;
361
+ vertical-align: baseline;
362
+ }
363
+
364
+ sub {
365
+ bottom: -0.25em;
366
+ }
367
+
368
+ sup {
369
+ top: -0.5em;
370
+ }
371
+
372
+ template {
373
+ display: none;
374
+ }
375
+
306
376
 
307
377
  /**
308
378
  * Wrapper
@@ -73,7 +73,7 @@ pre.highlight {
73
73
  @media (prefers-color-scheme: dark) {
74
74
  pre.highlight {
75
75
 
76
- .o, .k, .p, .n { color: var(--lighten-text-color-i); }
76
+ .o, .k, .p, .n, .pi { color: var(--lighten-text-color-i); }
77
77
 
78
78
  > code * {
79
79
  filter: invert(1);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aemi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillaume C