@concordance-wiki/site 0.2.0 → 0.3.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.
|
@@ -5,27 +5,32 @@
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
@media (min-width: 68.75rem) {
|
|
8
|
-
/* The
|
|
9
|
-
.
|
|
8
|
+
/* The panels stay while the text scrolls: each sticks to the top of the viewport, no taller than it, and scrolls on its own when it holds more. Its scroll stops at its edge rather than moving the page. */
|
|
9
|
+
.space,
|
|
10
|
+
.entity-side {
|
|
10
11
|
position: sticky;
|
|
11
|
-
inset-block-start:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
block-size:
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
inset-block-start: 0;
|
|
13
|
+
align-self: start;
|
|
14
|
+
min-block-size: 100dvh;
|
|
15
|
+
max-block-size: 100dvh;
|
|
16
|
+
overflow-y: auto;
|
|
17
|
+
overscroll-behavior: contain;
|
|
17
18
|
}
|
|
18
19
|
|
|
19
|
-
.
|
|
20
|
-
.
|
|
21
|
-
|
|
20
|
+
/* The track takes no room and lets the clicks through to the panel. */
|
|
21
|
+
.panel-handle-track {
|
|
22
|
+
display: block;
|
|
23
|
+
block-size: 0;
|
|
24
|
+
pointer-events: none;
|
|
22
25
|
}
|
|
23
26
|
|
|
24
|
-
/* 26 px wide and as tall as every target of the theme, clipped to the 13 px that show beyond the edge, the room around them kept for the focus ring. */
|
|
27
|
+
/* 26 px wide and as tall as every target of the theme, clipped to the 13 px that show beyond the edge, the room around them kept for the focus ring. Fixed to the middle of the viewport at the edge of the column, out of the panel that would otherwise clip the half beyond its edge: the handle always stands at the same place. */
|
|
25
28
|
.panel-handle {
|
|
26
|
-
position:
|
|
27
|
-
|
|
28
|
-
inset-
|
|
29
|
+
position: fixed;
|
|
30
|
+
z-index: 1;
|
|
31
|
+
inset-block-start: calc(50vh - 1.25rem);
|
|
32
|
+
inset-inline-start: calc(var(--tree-column) - 0.8125rem);
|
|
33
|
+
inset-inline-end: auto;
|
|
29
34
|
display: flex;
|
|
30
35
|
align-items: center;
|
|
31
36
|
justify-content: center;
|
|
@@ -64,8 +69,8 @@
|
|
|
64
69
|
|
|
65
70
|
/* On the right panel the tab shows beyond the start edge, its other half clipped, its glyph mirrored. */
|
|
66
71
|
.entity-side > .panel-handle-track > .panel-handle {
|
|
67
|
-
inset-inline-start:
|
|
68
|
-
inset-inline-end:
|
|
72
|
+
inset-inline-start: auto;
|
|
73
|
+
inset-inline-end: calc(var(--panel-column) - 0.8125rem);
|
|
69
74
|
padding: 0 0.8125rem 0 0;
|
|
70
75
|
clip-path: inset(-0.375rem 0.8125rem -0.375rem -0.375rem);
|
|
71
76
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@concordance-wiki/site",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Site generation: slots, default theme, islands, stylesheet, markdown rendering, page budget and the site build.",
|
|
5
5
|
"license": "GPL-3.0-or-later",
|
|
6
6
|
"repository": {
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"remark-parse": "11.0.0",
|
|
43
43
|
"remark-rehype": "11.1.2",
|
|
44
44
|
"unified": "11.0.5",
|
|
45
|
-
"@concordance-wiki/core": "0.
|
|
46
|
-
"@concordance-wiki/i18n": "0.
|
|
47
|
-
"@concordance-wiki/profile": "0.
|
|
45
|
+
"@concordance-wiki/core": "0.3.0",
|
|
46
|
+
"@concordance-wiki/i18n": "0.3.0",
|
|
47
|
+
"@concordance-wiki/profile": "0.3.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/mdast": "4.0.4",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"happy-dom": "20.14.5",
|
|
53
53
|
"@concordance-wiki/fixture-plugin-theme-example": "0.0.0",
|
|
54
54
|
"@concordance-wiki/fixture-plugin-theme-white-label": "0.0.0",
|
|
55
|
-
"@concordance-wiki/nlp": "0.
|
|
55
|
+
"@concordance-wiki/nlp": "0.3.0"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"typecheck": "tsc -b tsconfig.json"
|