@mark1russell7/site-pages 0.2.24 → 0.2.26

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.
package/README.md CHANGED
@@ -390,6 +390,7 @@ A wide code block or table on a narrow screen scrolls sideways. Without a cue, i
390
390
 
391
391
  - The content fades at each edge that has more content. At an end of the box, the fade of that end goes.
392
392
  - The fade shows along all of the edge of a tall box, and over cells with their own background color.
393
+ - The ring of the keyboard focus shows inside the box, because the mask of the fade hides all that is outside the box.
393
394
  - A browser with no scroll timelines gets a shade at the edge. This shade shows only where the content has no background color.
394
395
  - The cue uses only CSS. It needs no JavaScript.
395
396
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@mark1russell7/site-pages",
4
- "version": "0.2.24",
4
+ "version": "0.2.26",
5
5
  "description": "A release timeline page and a live status page for the site of a GitHub repository: JSON data and standalone HTML, made at deploy time.",
6
6
  "keywords": [
7
7
  "github-pages",
@@ -76,4 +76,9 @@
76
76
  animation-fill-mode: both;
77
77
  animation-timeline: scroll(self inline);
78
78
  }
79
+
80
+ /* The mask also hides all that is outside the box. Thus the ring of the keyboard focus goes inside the box. */
81
+ .scroll-cue:focus-visible {
82
+ outline-offset: -2px;
83
+ }
79
84
  }