aemi 1.0.0 → 1.0.1

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.
@@ -0,0 +1,394 @@
1
+ @import "fonts", "vars";
2
+
3
+
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;
13
+ }
14
+
15
+ /**
16
+ * Reset some basic elements
17
+ */
18
+ body,
19
+ .h0,
20
+ h1, .h1,
21
+ h2, .h2,
22
+ h3, .h3,
23
+ h4, .h4,
24
+ h5, .h5,
25
+ h6, .h6,
26
+ .h7,
27
+ p,
28
+ blockquote,
29
+ pre,
30
+ hr,
31
+ dl,
32
+ dd,
33
+ ol,
34
+ ul,
35
+ figure {
36
+ margin: 0;
37
+ padding: 0;
38
+ }
39
+
40
+ :root {
41
+ overflow-x: hidden;
42
+ color: var(--text-color);
43
+ }
44
+
45
+ /**
46
+ * Basic styling
47
+ */
48
+ body {
49
+ background-color: var(--background-color);
50
+ display: flex;
51
+ flex-direction: column;
52
+ min-height: 100vh;
53
+ overflow-x: hidden;
54
+ }
55
+
56
+
57
+ /**
58
+ * Set `margin-bottom` to maintain vertical rhythm
59
+ */
60
+ .h0,
61
+ h1, .h1,
62
+ h2, .h2,
63
+ h3, .h3,
64
+ h4, .h4,
65
+ h5, .h5,
66
+ h6, .h6,
67
+ .h7,
68
+ p,
69
+ blockquote,
70
+ pre,
71
+ ul,
72
+ ol,
73
+ dl,
74
+ figure,
75
+ %vertical-rhythm {
76
+ margin-bottom: var(--half-spacing-unit);
77
+ }
78
+
79
+
80
+
81
+ /**
82
+ * `main` element
83
+ */
84
+ main {
85
+ display: block;
86
+ margin-top: var(--spacing-unit);
87
+ /* Default value of `display` of `main` element is 'inline' in IE 11. */
88
+ }
89
+
90
+
91
+
92
+ /**
93
+ * Images
94
+ */
95
+ img {
96
+ max-width: 100%;
97
+ vertical-align: middle;
98
+ }
99
+
100
+
101
+
102
+ /**
103
+ * Figures
104
+ */
105
+ figure>img {
106
+ display: block;
107
+ }
108
+
109
+ figcaption {
110
+ font-size: $small-font-size;
111
+ }
112
+
113
+
114
+
115
+ /**
116
+ * Lists
117
+ */
118
+ ul,
119
+ ol {
120
+ margin-left: calc(var(--quarter-spacing-unit) * 3);
121
+ }
122
+
123
+ li {
124
+
125
+ >ul,
126
+ >ol {
127
+ margin-bottom: 0;
128
+ }
129
+ }
130
+
131
+
132
+
133
+ /**
134
+ * Headings
135
+ */
136
+ .h0,
137
+ h1, .h1,
138
+ h2, .h2,
139
+ h3, .h3,
140
+ h4, .h4,
141
+ h5, .h5,
142
+ h6, .h6,
143
+ .h7 {
144
+ font-family: $head-font-family;
145
+ font-weight: $heading-font-weight;
146
+
147
+ &:only-child {
148
+ margin-bottom: 0;
149
+ }
150
+ }
151
+
152
+ .h0 {
153
+ font-size: 3em;
154
+ letter-spacing: -0.033em;
155
+ line-height: 1;
156
+ }
157
+
158
+ h1,
159
+ .h1 {
160
+ font-size: 2.5em;
161
+ letter-spacing: -0.027em;
162
+ line-height: 1.05;
163
+ }
164
+
165
+ h2,
166
+ .h2 {
167
+ font-size: 2em;
168
+ letter-spacing: -0.022em;
169
+ line-height: 1.1;
170
+ }
171
+
172
+ h3,
173
+ .h3 {
174
+ font-size: 1.5em;
175
+ letter-spacing: -0.019em;
176
+ line-height: 1.15;
177
+ }
178
+
179
+ h4,
180
+ .h4 {
181
+ font-size: 1.17em;
182
+ letter-spacing: -0.015em;
183
+ line-height: 1.2;
184
+ }
185
+
186
+ h5,
187
+ .h5 {
188
+ font-size: 1em;
189
+ letter-spacing: -0.011em;
190
+ line-height: 1.4;
191
+ }
192
+
193
+ h6,
194
+ .h6 {
195
+ font-size: 0.83em;
196
+ letter-spacing: -0.004em;
197
+ line-height: 1.45;
198
+ }
199
+
200
+ .h7 {
201
+ font-size: 0.75rem;
202
+ letter-spacing: 0;
203
+ line-height: 1.5;
204
+ }
205
+
206
+
207
+ /**
208
+ * Links
209
+ */
210
+ a {
211
+ color: var(--brand-color);
212
+ text-decoration: none;
213
+
214
+ &:visited {
215
+ color: var(--visited-color);
216
+ }
217
+
218
+ &:hover {
219
+ text-decoration: underline;
220
+ }
221
+
222
+ .social-media-list &:hover {
223
+ text-decoration: none;
224
+
225
+ .username {
226
+ text-decoration: underline;
227
+ }
228
+ }
229
+ }
230
+
231
+ /**
232
+ * Paragraphs
233
+ */
234
+ p {
235
+ text-align: justify;
236
+ text-align-last: left;
237
+ }
238
+
239
+
240
+ /**
241
+ * Blockquotes
242
+ */
243
+ blockquote {
244
+ color: var(--lighten-text-color);
245
+ border-left: 4px solid var(--border-color);
246
+ padding-left: var(--half-spacing-unit);
247
+ font-style: italic;
248
+ text-align: justify;
249
+ text-align-last: left;
250
+
251
+ > :last-child {
252
+ margin-bottom: 0;
253
+ }
254
+ }
255
+
256
+
257
+
258
+ /**
259
+ * Code formatting
260
+ */
261
+
262
+ pre,
263
+ code,
264
+ tt,
265
+ var,
266
+ kbd,
267
+ samp {
268
+ font-size: 0.9em;
269
+ font-family: $mono-font-family;
270
+ -webkit-hyphens: none;
271
+ -moz-hyphens: none;
272
+ hyphens: none;
273
+ tab-size: 4;
274
+ }
275
+
276
+ pre,
277
+ code {
278
+ border: 1px solid var(--border-color);
279
+ border-radius: .35rem;
280
+ background-color: var(--background-color-lighten);
281
+ }
282
+
283
+ code {
284
+ padding: 1px 5px;
285
+ }
286
+
287
+ :not(pre) > code {
288
+ white-space: normal;
289
+ word-break: break-all;
290
+ }
291
+
292
+ pre {
293
+ padding: 8px 12px;
294
+ overflow-x: auto;
295
+
296
+ > code {
297
+ background: unset;
298
+ border: 0;
299
+ font-size: 1rem;
300
+ padding-right: 0;
301
+ padding-left: 0;
302
+ }
303
+ }
304
+
305
+
306
+
307
+ /**
308
+ * Wrapper
309
+ */
310
+ .contained {
311
+ max-width: -webkit-calc(#{$content-width} - var(--half-spacing-unit));
312
+ max-width: calc(#{$content-width} - var(--half-spacing-unit));
313
+ flex-basis: -webkit-calc(#{$content-width} - var(--half-spacing-unit));
314
+ flex-basis: calc(#{$content-width} - var(--half-spacing-unit));
315
+ flex-grow: 0;
316
+ margin-right: auto;
317
+ margin-left: auto;
318
+ padding-right: var(--half-spacing-unit);
319
+ padding-left: var(--half-spacing-unit);
320
+
321
+ @include media-query($on-palm) {
322
+ max-width: -webkit-calc(#{$content-width} - var(--half-spacing-unit));
323
+ max-width: calc(#{$content-width} - var(--half-spacing-unit));
324
+ padding-right: var(--quarter-spacing-unit);
325
+ padding-left: var(--quarter-spacing-unit);
326
+ }
327
+ }
328
+
329
+
330
+
331
+ /**
332
+ * Clearfix
333
+ */
334
+ %clearfix:after {
335
+ content: "";
336
+ display: table;
337
+ clear: both;
338
+ }
339
+
340
+
341
+
342
+ /**
343
+ * Icons
344
+ */
345
+
346
+ .svg-icon {
347
+ width: 16px;
348
+ height: 16px;
349
+ display: inline-block;
350
+ fill: var(--lighten-text-color);
351
+ margin-right: 5px;
352
+ vertical-align: text-top;
353
+ }
354
+
355
+ .social-media-list {
356
+ li+li {
357
+ padding-top: 5px;
358
+ }
359
+ }
360
+
361
+
362
+
363
+ /**
364
+ * Tables
365
+ */
366
+ table {
367
+ margin-bottom: $spacing-unit;
368
+ width: 100%;
369
+ text-align: $table-text-align;
370
+ color: var(--lighten-text-color);
371
+ border-collapse: collapse;
372
+ border: 1px solid var(--border-color);
373
+
374
+ tr {
375
+ &:nth-child(even) {
376
+ background-color: lighten($grey-color-light, 6%);
377
+ }
378
+ }
379
+
380
+ th,
381
+ td {
382
+ padding: ($spacing-unit / 3) ($spacing-unit / 2);
383
+ }
384
+
385
+ th {
386
+ background-color: lighten($grey-color-light, 3%);
387
+ border: 1px solid var(--border-color);
388
+ border-bottom-color: darken($grey-color-light, 12%);
389
+ }
390
+
391
+ td {
392
+ border: 1px solid var(--border-color);
393
+ }
394
+ }