@withmarfa/inkkit 0.8.0-alpha.1 → 0.8.0

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.
Files changed (2) hide show
  1. package/dist/style.css +22 -4
  2. package/package.json +1 -1
package/dist/style.css CHANGED
@@ -1546,14 +1546,32 @@
1546
1546
  font-size: calc(var(--_inkkit-font-size) * 0.75);
1547
1547
  }
1548
1548
 
1549
+ /* A footnote reads as a quiet note: its label beside its text, smaller and muted, with a thin
1550
+ rule above the first of a run. */
1549
1551
  .inkkit-root .inkkit-footnote-definition {
1550
- border-inline-start: 2px solid var(--_inkkit-muted, currentColor);
1551
- padding-inline-start: calc(var(--_inkkit-font-size) * 1);
1552
+ display: flex;
1553
+ align-items: baseline;
1554
+ gap: 0.5em;
1555
+ color: var(--_inkkit-muted);
1556
+ font-size: calc(var(--_inkkit-font-size) * 0.875);
1557
+ border-top: 1px solid var(--_inkkit-rule);
1558
+ padding-top: 0.5em;
1559
+ }
1560
+
1561
+ .inkkit-root .inkkit-footnote-definition + .inkkit-footnote-definition {
1562
+ border-top: 0;
1563
+ padding-top: 0;
1564
+ }
1565
+
1566
+ .inkkit-root .inkkit-footnote-definition > * {
1567
+ flex: 1;
1568
+ min-width: 0;
1552
1569
  }
1553
1570
 
1554
1571
  .inkkit-root .inkkit-footnote-definition::before {
1555
- content: '[' attr(data-inkkit-label) ']';
1556
- font-size: calc(var(--_inkkit-font-size) * 0.8);
1572
+ content: attr(data-inkkit-label);
1573
+ flex: none;
1574
+ font-variant-numeric: tabular-nums;
1557
1575
  }
1558
1576
 
1559
1577
  .inkkit-root .inkkit-reference-definition {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@withmarfa/inkkit",
3
- "version": "0.8.0-alpha.1",
3
+ "version": "0.8.0",
4
4
  "description": "A preserving Markdown editor for offline web views and the web",
5
5
  "license": "MIT",
6
6
  "type": "module",