aemi 1.0.1 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 26321d61b765803cb5d82cbd8853e01e664b0aa580152e7eaf0830ff37d63d41
4
- data.tar.gz: 36b261f50d691330402fb70c633a78b4399318ecb8e07e0cda888e0c8ba1301e
3
+ metadata.gz: 3fd11ba1507863c8ae66e7e9bec622993134f34b6e7a12f85147365f690e7cc9
4
+ data.tar.gz: 05122c0cd846733fea91820c03fecdafc6417c8d73b3047b264204a87c2c8966
5
5
  SHA512:
6
- metadata.gz: 1b644bfd1a2ad37fb2eb2184e3c711fa959d9f79d1c06a7adf2728a4111c068c14354e96de699977860f1ee65e7208a09558ed82118776f6628c2422bc98245e
7
- data.tar.gz: '0378a63a340455f4fd2a7691ea0a6771cec59504787cc476d083299bc35aca96818fb9f1801c5e8ccadbbfe3f4133523f25f2237bc007091d3c7ae9f97e70297'
6
+ metadata.gz: 111eb0e60e5b7f797383b66fba2f941fcb91702bd808677457833944239de42c073e8d66e4d34c9f25b395ec1d80c65e36d1eade2746b876dc676778cd6d21ef
7
+ data.tar.gz: e3dd24ec4810e0369bb320c5660f317865c5a76f731d2c13c636b4d1158a72f8a95ee4eab62022e53b725ab7201e766161c6b33b7b9f4ae96b013f3af926b638
@@ -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, a) {
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 { color: var(--lighten-text-color-i); }
76
+ .o, .k, .p, .n, .pi, .kc { 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.1
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillaume C