aemi 1.1.2 → 1.1.5

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: 6e27c4e7657e8d0ec2e5cfdcd33c70a835cb5b5d623a90ac1244d4c429826548
4
- data.tar.gz: e8c0778184ea5aa058646af2579adee518224d2117bb7899ba978ce82fa6b400
3
+ metadata.gz: f436cc3aaad86bd13e59107922dfcbf4d955879c7676dc63fae5c48978f14c45
4
+ data.tar.gz: c4c34f58bb498080585da40bd8670112640a320dd27a87a25283404737930699
5
5
  SHA512:
6
- metadata.gz: 20d1a6090e86bc25a839a811bb06b5c0a89cd657016a9c3bdf9f6d3a6acf999303e811d622d16575d73b6042d8f597d0fb06f6954e96c8bb0638d02730653117
7
- data.tar.gz: a3668748422ed9fab515a3ebc689fc1916d8a6bb00c87093df665a89d4cb43746745872c9acf5d55ef38181dc1d8fe43d85112808251407d643f76e7cd78400f
6
+ metadata.gz: 15ffad6979aebddb736f0b157500af1e3b189f96ec9695b04b769575a93395b8f18a8c6a367bca91948ecedfe56abb4539cf0b750ed1b241c1a1833888cc00f7
7
+ data.tar.gz: d0546abf2f9de3d51b24056a36f0dab8ef1f74880038c7eaf15da9e7e717618c9c5bf574abf7d0750055b10f8834ee9593c07a39d33fffadb156dbb56e2d8b9b
@@ -208,6 +208,7 @@ h6,
208
208
  .h7 {
209
209
  font-family: var(--head-font-family);
210
210
  font-weight: var(--head-font-weight);
211
+ font-feature-settings: "wght" var(--head-font-weight);
211
212
 
212
213
  &:only-child {
213
214
  margin-bottom: 0;
@@ -293,11 +294,18 @@ a {
293
294
  }
294
295
  }
295
296
 
297
+ abbr,
298
+ abbr[title],
299
+ acronym {
300
+ border-bottom: 2px dotted currentColor;
301
+ text-decoration: none;
302
+ }
303
+
296
304
  /**
297
305
  * Paragraphs
298
306
  */
299
307
  p {
300
- text-align: justify;
308
+ text-align: left;
301
309
  text-align-last: left;
302
310
  }
303
311
 
@@ -329,7 +337,7 @@ blockquote {
329
337
  border-left: 4px solid var(--border-color);
330
338
  padding-left: var(--half-spacing-unit);
331
339
  font-style: italic;
332
- text-align: justify;
340
+ text-align: left;
333
341
  text-align-last: left;
334
342
 
335
343
  > :last-child {
@@ -338,6 +346,19 @@ blockquote {
338
346
  }
339
347
 
340
348
 
349
+ dfn {
350
+ border-bottom: 2px solid currentColor;
351
+ }
352
+
353
+ dt {
354
+ font-weight: bold;
355
+ padding-left: 0em;
356
+ }
357
+
358
+ dd {
359
+ margin-bottom: 1em;
360
+ }
361
+
341
362
 
342
363
  /**
343
364
  * Code formatting
@@ -369,6 +390,8 @@ code {
369
390
  }
370
391
 
371
392
  :not(pre)>code {
393
+ border-radius: calc(var(--border-radius) * 0.75 );
394
+ line-height: 1;
372
395
  white-space: normal;
373
396
  word-break: break-all;
374
397
  }
@@ -408,6 +431,17 @@ template {
408
431
  display: none;
409
432
  }
410
433
 
434
+ progress {
435
+ vertical-align: baseline;
436
+ }
437
+
438
+ iframe {
439
+ border: 0;
440
+ max-width: 100%;
441
+ padding: 0;
442
+ resize: none;
443
+ }
444
+
411
445
 
412
446
  /**
413
447
  * Wrapper
@@ -618,9 +618,33 @@
618
618
  font-display: swap;
619
619
  }
620
620
 
621
+ @font-face {
622
+ font-family: "JetBrains Mono Var";
623
+ font-weight: 100 900;
624
+ font-style: normal;
625
+ font-named-instance: "Regular";
626
+ font-display: swap;
627
+ src: url("/assets/font-files/JetBrainsMono[wght].woff2") format("woff2"),
628
+ url("https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/fonts/variable/JetBrainsMono[wght].woff2") format("woff2");
629
+ }
630
+
631
+ @font-face {
632
+ font-family: "JetBrains Mono Var";
633
+ font-weight: 100 900;
634
+ font-style: italic;
635
+ font-named-instance: "Italic";
636
+ font-display: swap;
637
+ src: url("/assets/font-files/JetBrainsMono-Italic[wght].woff2") format("woff2"),
638
+ url("https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/fonts/variable/JetBrainsMono-Italic[wght].woff2") format("woff2");
639
+ }
640
+
621
641
  :root {
622
642
 
623
- font: var(--base-font-weight) var(--base-font-size)/var(--base-line-height) var(--base-font-family);
643
+ font-weight: var(--base-font-weight);
644
+ font-feature-settings: "wght" var(--base-font-weight);
645
+ font-size: var(--base-font-size);
646
+ font-family: var(--base-font-family);
647
+ line-height: var(--base-line-height);
624
648
 
625
649
  // Font Kerning
626
650
  -webkit-font-feature-settings: "kern" 1;
@@ -92,6 +92,7 @@
92
92
  .brand {
93
93
 
94
94
  font-weight: var(--head-font-weight);
95
+ font-feature-settings: "wght" var(--head-font-weight);
95
96
  font-family: var(--head-font-family);
96
97
 
97
98
  &,
@@ -143,6 +144,7 @@
143
144
  display: none;
144
145
  font-family: var(--head-font-family);
145
146
  font-weight: 700;
147
+ font-feature-settings: "wght" 700;
146
148
  letter-spacing: .075em;
147
149
  margin-right: -.075em;
148
150
  text-transform: uppercase;
@@ -236,6 +238,7 @@
236
238
  font-family: var(--head-font-family);
237
239
  display: block;
238
240
  font-weight: 600;
241
+ font-feature-settings: "wght" 600;
239
242
  line-height: 1;
240
243
  padding: var(--quarter-spacing-unit);
241
244
 
@@ -258,6 +261,7 @@
258
261
 
259
262
  .site-excerpt {
260
263
  font-weight: 400;
264
+ font-feature-settings: "wght" 400;
261
265
  font-family: var(--base-font-family);
262
266
  line-height: 1.4;
263
267
  }
@@ -282,6 +286,8 @@
282
286
  }
283
287
 
284
288
  .footer-content {
289
+
290
+
285
291
  display: grid;
286
292
  grid-template-columns: repeat(auto-fill, minmax(200px, fit-content));
287
293
  gap: var(--half-spacing-unit);
@@ -341,6 +347,7 @@
341
347
  > .entry-meta {
342
348
  font-size: 1.25rem;
343
349
  font-weight: 500;
350
+ font-feature-settings: "wght" 500;
344
351
  }
345
352
 
346
353
  .entry-title {
@@ -376,7 +383,7 @@
376
383
  position: relative;
377
384
  width: auto;
378
385
 
379
- border-radius: calc(var(--background-radius) * 2);
386
+ border-radius: calc(var(--background-radius) * 1.75);
380
387
 
381
388
  > header {
382
389
 
@@ -384,7 +391,7 @@
384
391
  background-position: center center;
385
392
  background-size: cover;
386
393
 
387
- border-radius: calc(var(--background-radius) * 2);
394
+ border-radius: calc(var(--background-radius) * 1.75);
388
395
 
389
396
  position: relative;
390
397
 
@@ -441,7 +448,7 @@
441
448
  border-width: 2px;
442
449
  border-color: transparent;
443
450
 
444
- border-radius: calc(var(--background-radius) * 2);
451
+ border-radius: calc(var(--background-radius) * 1.75);
445
452
 
446
453
  color: var(--text-color);
447
454
 
@@ -542,20 +549,65 @@
542
549
  margin-bottom: var(--spacing-unit);
543
550
  }
544
551
 
552
+ .footnote {
553
+ display: inline-block;
554
+ font-feature-settings: "tnum" 1;
555
+ background-color: transparent;
556
+ border: 1px solid var(--border-color);
557
+ border-radius: calc(var(--border-radius) / 2);
558
+ margin-left: .125rem;
559
+ padding: 0 .125rem;
560
+ line-height: 1.1em;
561
+
562
+ &, &:hover {
563
+ transition-property: background-color, border-color, color;
564
+ transition-duration: calc(var(--transition-timing-std) / 2);
565
+ transition-timing-function: var(--transition-function-std);
566
+ }
567
+
568
+ &:hover {
569
+ color: var(--d-text-color);
570
+ text-decoration: none;
571
+ background-color: var(--brand-color);
572
+ border-color: var(--brand-color);
573
+ }
574
+ }
575
+
545
576
  .footnotes {
546
- background-color: var(--item-background-color);
547
- border-radius: var(--border-radius);
548
- padding: var(--quarter-spacing-unit);
577
+
578
+ &::before {
579
+ content: "";
580
+ display: block;
581
+ top: 0;
582
+ left: 0;
583
+ width: 100%;
584
+ height: 2px;
585
+ background-color: var(--border-color);
586
+ border-radius: var(--border-radius);
587
+ margin-top: var(--spacing-unit);
588
+ margin-bottom: var(--spacing-unit);
589
+ z-index: -1;
590
+ }
549
591
 
550
592
  > ol{
551
593
  display: flex;
552
594
  flex-flow: column nowrap;
553
- gap: calc(var(--quarter-spacing-unit) * 1.25);
595
+ gap: var(--quarter-spacing-unit);
554
596
  padding-left: 0;
555
597
  margin: 0 0 0 var(--quarter-spacing-unit);
556
598
  > li {
599
+ padding-left: var(--quarter-spacing-unit);
557
600
  > p {
558
- margin-bottom: var(--quarter-spacing-unit);
601
+ margin-bottom: calc(var(--quarter-spacing-unit) / 4);
602
+ }
603
+ }
604
+
605
+ @include media-query($on-palm) {
606
+ & {
607
+ margin: 0 0 0 var(--quarter-spacing-unit);
608
+ > li {
609
+ padding-left: var(--quarter-spacing-unit);
610
+ }
559
611
  }
560
612
  }
561
613
  }
@@ -11,12 +11,12 @@ pre.highlight {
11
11
 
12
12
  .c { color: #998; font-style: italic } // Comment
13
13
  .err { color: #a61717; background-color: #e3d2d2 } // Error
14
- .k { font-weight: bold } // Keyword
15
- .o { font-weight: bold } // Operator
14
+ .k { font-weight: bold; font-feature-settings: "wght" 700; } // Keyword
15
+ .o { font-weight: bold; font-feature-settings: "wght" 700; } // Operator
16
16
  .cm { color: #998; font-style: italic } // Comment.Multiline
17
- .cp { color: #999; font-weight: bold } // Comment.Preproc
17
+ .cp { color: #999; font-weight: bold; font-feature-settings: "wght" 700; } // Comment.Preproc
18
18
  .c1 { color: #998; font-style: italic } // Comment.Single
19
- .cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
19
+ .cs { color: #999; font-weight: bold; font-feature-settings: "wght" 700; font-style: italic } // Comment.Special
20
20
  .dl { color: #d14 } // Literal.String.Quote
21
21
  .gd { color: #000; background-color: #fdd } // Generic.Deleted
22
22
  .gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
@@ -27,27 +27,27 @@ pre.highlight {
27
27
  .gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
28
28
  .go { color: #888 } // Generic.Output
29
29
  .gp { color: #555 } // Generic.Prompt
30
- .gs { font-weight: bold } // Generic.Strong
30
+ .gs { font-weight: bold; font-feature-settings: "wght" 700; } // Generic.Strong
31
31
  .gu { color: #aaa } // Generic.Subheading
32
32
  .gt { color: #a00 } // Generic.Traceback
33
- .kc { font-weight: bold } // Keyword.Constant
34
- .kd { font-weight: bold } // Keyword.Declaration
35
- .kp { font-weight: bold } // Keyword.Pseudo
36
- .kr { font-weight: bold } // Keyword.Reserved
37
- .kt { color: #458; font-weight: bold } // Keyword.Type
33
+ .kc { font-weight: bold; font-feature-settings: "wght" 700; } // Keyword.Constant
34
+ .kd { font-weight: bold; font-feature-settings: "wght" 700; } // Keyword.Declaration
35
+ .kp { font-weight: bold; font-feature-settings: "wght" 700; } // Keyword.Pseudo
36
+ .kr { font-weight: bold; font-feature-settings: "wght" 700; } // Keyword.Reserved
37
+ .kt { color: #458; font-weight: bold; font-feature-settings: "wght" 700; } // Keyword.Type
38
38
  .m { color: #099 } // Literal.Number
39
39
  .s { color: #d14 } // Literal.String
40
40
  .na { color: #008080 } // Name.Attribute
41
41
  .nb { color: #0086B3 } // Name.Builtin
42
- .nc { color: #458; font-weight: bold } // Name.Class
42
+ .nc { color: #458; font-weight: bold; font-feature-settings: "wght" 700; } // Name.Class
43
43
  .no { color: #008080 } // Name.Constant
44
44
  .ni { color: #800080 } // Name.Entity
45
- .ne { color: #900; font-weight: bold } // Name.Exception
46
- .nf { color: #900; font-weight: bold } // Name.Function
45
+ .ne { color: #900; font-weight: bold; font-feature-settings: "wght" 700; } // Name.Exception
46
+ .nf { color: #900; font-weight: bold; font-feature-settings: "wght" 700; } // Name.Function
47
47
  .nn { color: #555 } // Name.Namespace
48
48
  .nt { color: #000080 } // Name.Tag
49
49
  .nv { color: #008080 } // Name.Variable
50
- .ow { font-weight: bold } // Operator.Word
50
+ .ow { font-weight: bold; font-feature-settings: "wght" 700; } // Operator.Word
51
51
  .w { color: #bbb } // Text.Whitespace
52
52
  .mf { color: #099 } // Literal.Number.Float
53
53
  .mh { color: #099 } // Literal.Number.Hex
@@ -74,7 +74,7 @@ pre.highlight {
74
74
  @media (prefers-color-scheme: dark) {
75
75
  pre.highlight {
76
76
 
77
- .o, .k, .p, .n, .pi, .kc, .kd, .nx { color: var(--lighten-text-color-i); }
77
+ .o, .k, .p, .n, .pi, .kc, .kd, .nx, .py { color: var(--lighten-text-color-i); }
78
78
 
79
79
  > code * {
80
80
  filter: invert(1);
@@ -4,7 +4,7 @@
4
4
 
5
5
  --head-font-family: -apple-system, BlinkMacSystemFont, "Inter Display var", "Inter Display", "Inter var", Inter, Lato, Roboto, system-ui, "Helvetica Neue", HelveticaNeue,Helvetica, Arial, sans-serif;
6
6
 
7
- --mono-font-family: "SFMono-Regular", "JetBrains Mono", "Roboto Mono", "Inconsolata", "Menlo", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Consolas", Courier, "Courier New", monospace;
7
+ --mono-font-family: "SFMono-Regular", "JetBrains Mono Var", "JetBrains Mono", "Roboto Mono", "Inconsolata", "Menlo", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Consolas", Courier, "Courier New", monospace;
8
8
 
9
9
  --base-font-size: 16px;
10
10
  --base-line-height: 1.5;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aemi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillaume C
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-29 00:00:00.000000000 Z
11
+ date: 2022-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -194,6 +194,7 @@ files:
194
194
  - assets/font-files/JetBrainsMono-ExtraLight.woff2
195
195
  - assets/font-files/JetBrainsMono-ExtraLightItalic.woff2
196
196
  - assets/font-files/JetBrainsMono-Italic.woff2
197
+ - assets/font-files/JetBrainsMono-Italic[wght].woff2
197
198
  - assets/font-files/JetBrainsMono-Light.woff2
198
199
  - assets/font-files/JetBrainsMono-LightItalic.woff2
199
200
  - assets/font-files/JetBrainsMono-Medium.woff2
@@ -201,6 +202,7 @@ files:
201
202
  - assets/font-files/JetBrainsMono-Regular.woff2
202
203
  - assets/font-files/JetBrainsMono-Thin.woff2
203
204
  - assets/font-files/JetBrainsMono-ThinItalic.woff2
205
+ - assets/font-files/JetBrainsMono[wght].woff2
204
206
  - assets/images/logo/favicon.svg
205
207
  - assets/images/thumbnails/thumbnail.svg
206
208
  - assets/main.scss