aemi 1.0.0 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,464 @@
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,
21
+ .h1,
22
+ h2,
23
+ .h2,
24
+ h3,
25
+ .h3,
26
+ h4,
27
+ .h4,
28
+ h5,
29
+ .h5,
30
+ h6,
31
+ .h6,
32
+ .h7,
33
+ p,
34
+ blockquote,
35
+ pre,
36
+ hr,
37
+ dl,
38
+ dd,
39
+ ol,
40
+ ul,
41
+ figure {
42
+ margin: 0;
43
+ padding: 0;
44
+ }
45
+
46
+ :root {
47
+ overflow-x: hidden;
48
+ color: var(--text-color);
49
+ }
50
+
51
+ /**
52
+ * Basic styling
53
+ */
54
+ body {
55
+ background-color: var(--background-color);
56
+ display: flex;
57
+ flex-direction: column;
58
+ min-height: 100vh;
59
+ overflow-x: hidden;
60
+ }
61
+
62
+
63
+ /**
64
+ * Set `margin-bottom` to maintain vertical rhythm
65
+ */
66
+ .h0,
67
+ h1,
68
+ .h1,
69
+ h2,
70
+ .h2,
71
+ h3,
72
+ .h3,
73
+ h4,
74
+ .h4,
75
+ h5,
76
+ .h5,
77
+ h6,
78
+ .h6,
79
+ .h7,
80
+ p,
81
+ blockquote,
82
+ pre,
83
+ ul,
84
+ ol,
85
+ dl,
86
+ figure,
87
+ %vertical-rhythm {
88
+ margin-bottom: var(--half-spacing-unit);
89
+ }
90
+
91
+
92
+
93
+ /**
94
+ * `main` element
95
+ */
96
+ main {
97
+ display: block;
98
+ margin-top: var(--spacing-unit);
99
+ /* Default value of `display` of `main` element is 'inline' in IE 11. */
100
+ }
101
+
102
+
103
+
104
+ /**
105
+ * Images
106
+ */
107
+ img,
108
+ video {
109
+ display: block;
110
+ max-width: 100%;
111
+ vertical-align: middle;
112
+ }
113
+
114
+ :not(figure) {
115
+ > img,
116
+ > video {
117
+ margin-top: var(--half-spacing-unit);
118
+ margin-bottom: var(--half-spacing-unit);
119
+ }
120
+ }
121
+
122
+
123
+ /**
124
+ * Figures
125
+ */
126
+ figure {
127
+ > img,
128
+ > video {
129
+ display: block;
130
+ }
131
+ }
132
+
133
+ figcaption {
134
+ font-size: $small-font-size;
135
+ }
136
+
137
+
138
+
139
+ /**
140
+ * Lists
141
+ */
142
+ ul,
143
+ ol {
144
+ margin-left: calc(var(--quarter-spacing-unit) * 3);
145
+ }
146
+
147
+ li {
148
+
149
+ >ul,
150
+ >ol {
151
+ margin-bottom: 0;
152
+ }
153
+ }
154
+
155
+
156
+
157
+ /**
158
+ * Headings
159
+ */
160
+ .h0,
161
+ h1,
162
+ .h1,
163
+ h2,
164
+ .h2,
165
+ h3,
166
+ .h3,
167
+ h4,
168
+ .h4,
169
+ h5,
170
+ .h5,
171
+ h6,
172
+ .h6,
173
+ .h7 {
174
+ font-family: $head-font-family;
175
+ font-weight: $heading-font-weight;
176
+
177
+ &:only-child {
178
+ margin-bottom: 0;
179
+ }
180
+ }
181
+
182
+ .h0 {
183
+ font-size: 3em;
184
+ letter-spacing: -0.033em;
185
+ line-height: 1;
186
+ }
187
+
188
+ h1,
189
+ .h1 {
190
+ font-size: 2.5em;
191
+ letter-spacing: -0.027em;
192
+ line-height: 1.05;
193
+ }
194
+
195
+ h2,
196
+ .h2 {
197
+ font-size: 2em;
198
+ letter-spacing: -0.022em;
199
+ line-height: 1.1;
200
+ }
201
+
202
+ h3,
203
+ .h3 {
204
+ font-size: 1.5em;
205
+ letter-spacing: -0.019em;
206
+ line-height: 1.15;
207
+ }
208
+
209
+ h4,
210
+ .h4 {
211
+ font-size: 1.17em;
212
+ letter-spacing: -0.015em;
213
+ line-height: 1.2;
214
+ }
215
+
216
+ h5,
217
+ .h5 {
218
+ font-size: 1em;
219
+ letter-spacing: -0.011em;
220
+ line-height: 1.4;
221
+ }
222
+
223
+ h6,
224
+ .h6 {
225
+ font-size: 0.83em;
226
+ letter-spacing: -0.004em;
227
+ line-height: 1.45;
228
+ }
229
+
230
+ .h7 {
231
+ font-size: 0.75rem;
232
+ letter-spacing: 0;
233
+ line-height: 1.5;
234
+ }
235
+
236
+
237
+ /**
238
+ * Links
239
+ */
240
+ a {
241
+ color: var(--brand-color);
242
+ text-decoration: none;
243
+
244
+ &:visited {
245
+ color: var(--visited-color);
246
+ }
247
+
248
+ &:hover {
249
+ text-decoration: underline;
250
+ }
251
+
252
+ .social-media-list &:hover {
253
+ text-decoration: none;
254
+
255
+ .username {
256
+ text-decoration: underline;
257
+ }
258
+ }
259
+ }
260
+
261
+ /**
262
+ * Paragraphs
263
+ */
264
+ p {
265
+ text-align: justify;
266
+ text-align-last: left;
267
+ }
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
+
288
+
289
+ /**
290
+ * Blockquotes
291
+ */
292
+ blockquote {
293
+ color: var(--lighten-text-color);
294
+ border-left: 4px solid var(--border-color);
295
+ padding-left: var(--half-spacing-unit);
296
+ font-style: italic;
297
+ text-align: justify;
298
+ text-align-last: left;
299
+
300
+ > :last-child {
301
+ margin-bottom: 0;
302
+ }
303
+ }
304
+
305
+
306
+
307
+ /**
308
+ * Code formatting
309
+ */
310
+
311
+ pre,
312
+ code,
313
+ tt,
314
+ var,
315
+ kbd,
316
+ samp {
317
+ font-size: 0.9em;
318
+ font-family: $mono-font-family;
319
+ -webkit-hyphens: none;
320
+ -moz-hyphens: none;
321
+ hyphens: none;
322
+ tab-size: 4;
323
+ }
324
+
325
+ pre,
326
+ code {
327
+ border: 1px solid var(--border-color);
328
+ border-radius: .35rem;
329
+ background-color: var(--background-color-lighten);
330
+ }
331
+
332
+ code {
333
+ padding: 1px 5px;
334
+ }
335
+
336
+ :not(pre)>code {
337
+ white-space: normal;
338
+ word-break: break-all;
339
+ }
340
+
341
+ pre {
342
+ padding: 8px 12px;
343
+ overflow-x: auto;
344
+
345
+ >code {
346
+ background: unset;
347
+ border: 0;
348
+ font-size: 1rem;
349
+ padding-right: 0;
350
+ padding-left: 0;
351
+ }
352
+ }
353
+
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
+
376
+
377
+ /**
378
+ * Wrapper
379
+ */
380
+ .contained {
381
+ max-width: -webkit-calc(#{$content-width} - var(--half-spacing-unit));
382
+ max-width: calc(#{$content-width} - var(--half-spacing-unit));
383
+ flex-basis: -webkit-calc(#{$content-width} - var(--half-spacing-unit));
384
+ flex-basis: calc(#{$content-width} - var(--half-spacing-unit));
385
+ flex-grow: 0;
386
+ margin-right: auto;
387
+ margin-left: auto;
388
+ padding-right: var(--half-spacing-unit);
389
+ padding-left: var(--half-spacing-unit);
390
+
391
+ @include media-query($on-palm) {
392
+ max-width: -webkit-calc(#{$content-width} - var(--half-spacing-unit));
393
+ max-width: calc(#{$content-width} - var(--half-spacing-unit));
394
+ padding-right: var(--quarter-spacing-unit);
395
+ padding-left: var(--quarter-spacing-unit);
396
+ }
397
+ }
398
+
399
+
400
+
401
+ /**
402
+ * Clearfix
403
+ */
404
+ %clearfix:after {
405
+ content: "";
406
+ display: table;
407
+ clear: both;
408
+ }
409
+
410
+
411
+
412
+ /**
413
+ * Icons
414
+ */
415
+
416
+ .svg-icon {
417
+ width: 16px;
418
+ height: 16px;
419
+ display: inline-block;
420
+ fill: var(--lighten-text-color);
421
+ margin-right: 5px;
422
+ vertical-align: text-top;
423
+ }
424
+
425
+ .social-media-list {
426
+ li+li {
427
+ padding-top: 5px;
428
+ }
429
+ }
430
+
431
+
432
+
433
+ /**
434
+ * Tables
435
+ */
436
+ table {
437
+ margin-bottom: $spacing-unit;
438
+ width: 100%;
439
+ text-align: $table-text-align;
440
+ color: var(--lighten-text-color);
441
+ border-collapse: collapse;
442
+ border: 1px solid var(--border-color);
443
+
444
+ tr {
445
+ &:nth-child(even) {
446
+ background-color: lighten($grey-color-light, 6%);
447
+ }
448
+ }
449
+
450
+ th,
451
+ td {
452
+ padding: ($spacing-unit / 3) ($spacing-unit / 2);
453
+ }
454
+
455
+ th {
456
+ background-color: lighten($grey-color-light, 3%);
457
+ border: 1px solid var(--border-color);
458
+ border-bottom-color: darken($grey-color-light, 12%);
459
+ }
460
+
461
+ td {
462
+ border: 1px solid var(--border-color);
463
+ }
464
+ }