create-lt-adventure 0.0.16 → 0.1.3
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 +85 -85
- package/addons/github-workflow/addon.json +5 -5
- package/addons/github-workflow/main.yml +96 -48
- package/addons/github-workflow/{setup.ts → setup.mjs} +115 -112
- package/addons/sf2e-pf2e-redirects/addon.json +5 -0
- package/addons/sf2e-pf2e-redirects/setup.mjs +119 -0
- package/dist/bin.js +223 -84
- package/dist/bin.js.map +1 -1
- package/dist/migrate.d.ts +2 -0
- package/dist/migrate.d.ts.map +1 -0
- package/dist/migrate.js +169 -0
- package/dist/migrate.js.map +1 -0
- package/dist/options.d.ts +5 -2
- package/dist/options.d.ts.map +1 -1
- package/dist/options.js +14 -5
- package/dist/options.js.map +1 -1
- package/package.json +68 -66
- package/templates/vite/.env.example +1 -1
- package/templates/vite/CHANGELOG +1 -0
- package/templates/vite/gitignore +37 -37
- package/templates/vite/module.json +37 -36
- package/templates/vite/package.json +3 -2
- package/templates/vite/scripts/extractPacks.mjs +54 -49
- package/templates/vite/scripts/jsonReplacer.mjs +11 -0
- package/templates/vite/scripts/onCreate.mjs +41 -13
- package/templates/vite/scripts/symlink.mjs +78 -78
- package/templates/vite/src/adventureSheet/index.js +497 -497
- package/templates/vite/src/hooks.ts +22 -0
- package/templates/vite/src/index.js +4 -4
- package/templates/vite/src/lib/utils.ts +1 -0
- package/templates/vite/src/misc/prosemirror.js +46 -46
- package/templates/vite/src/module.css +306 -306
- package/templates/vite/src/types.d.ts +7 -7
- package/templates/vite/tsconfig.json +33 -29
- package/templates/vite/vite.config.ts +129 -128
- package/templates/vite/bun.lock +0 -802
|
@@ -1,306 +1,306 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--((moduleId))-checks-color-light: #074e4b;
|
|
3
|
-
--((moduleId))-checks-color-dark: hsl(69 58 47);
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
body.theme-light .((moduleId)).Checks-and-Saves {
|
|
7
|
-
font-weight: bold;
|
|
8
|
-
color: var(--((moduleId))-checks-color-light);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
body.theme-dark .((moduleId)).Checks-and-Saves {
|
|
12
|
-
font-weight: bold;
|
|
13
|
-
color: var(--((moduleId))-checks-color-dark);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.themed.theme-dark .((moduleId)).Checks-and-Saves {
|
|
17
|
-
font-weight: bold;
|
|
18
|
-
color: var(--((moduleId))-checks-color-dark);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.themed.theme-light .((moduleId)).Checks-and-Saves {
|
|
22
|
-
font-weight: bold;
|
|
23
|
-
color: var(--((moduleId))-checks-color-light);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.((moduleId))-journal .journal-entry-content .sidebar,
|
|
27
|
-
.editor-content .((moduleId)).sidebar {
|
|
28
|
-
/* font-family: "Candara"; */
|
|
29
|
-
|
|
30
|
-
padding: 0.75rem;
|
|
31
|
-
margin-block: 1.25rem;
|
|
32
|
-
width: var(--sidebarWidth, 50%);
|
|
33
|
-
float: right;
|
|
34
|
-
|
|
35
|
-
.themed.theme-light &,
|
|
36
|
-
body.theme-light & {
|
|
37
|
-
background: oklch(0.393 0.095 152.535 / 0.05);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.themed.theme-dark &,
|
|
41
|
-
body.theme-dark & {
|
|
42
|
-
background: oklch(0.393 0.095 152.535 / 0.2);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
margin-right: 0.25rem;
|
|
46
|
-
margin-left: 1rem;
|
|
47
|
-
|
|
48
|
-
&.left {
|
|
49
|
-
margin-left: 0rem;
|
|
50
|
-
margin-right: 1.5rem;
|
|
51
|
-
float: left;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
& h1,
|
|
55
|
-
& h2,
|
|
56
|
-
& h3,
|
|
57
|
-
& h4 {
|
|
58
|
-
.themed.theme-light &,
|
|
59
|
-
body.theme-light & {
|
|
60
|
-
color: hsl(179, 100%, 10%);
|
|
61
|
-
}
|
|
62
|
-
.themed.theme-dark &,
|
|
63
|
-
body.theme-dark & {
|
|
64
|
-
color: hsl(120, 25%, 90%);
|
|
65
|
-
}
|
|
66
|
-
font-family: "Modesto Condensed";
|
|
67
|
-
font-size: 1.5rem;
|
|
68
|
-
font-weight: 700;
|
|
69
|
-
text-align: center;
|
|
70
|
-
border-color: none;
|
|
71
|
-
text-decoration-line: none;
|
|
72
|
-
padding: 0px;
|
|
73
|
-
margin: 0px;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
border-image-slice: 50 75 50 75;
|
|
77
|
-
border-image-width: 20px 26px 20px 26px;
|
|
78
|
-
border-image-outset: 19px 0px 19px 0px;
|
|
79
|
-
border-image-repeat: round round;
|
|
80
|
-
border-image-source: url("/modules/((moduleId))/assets/journals/Sidebar_Frame_Green.webp");
|
|
81
|
-
|
|
82
|
-
&.brown {
|
|
83
|
-
border-image-source: url("/modules/((moduleId))/assets/journals/Sidebar_Frame_Brown.webp");
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.((moduleId))-journal .journal-entry-content {
|
|
88
|
-
/* font-family: "Kings Caslon"; */
|
|
89
|
-
text-align: justify;
|
|
90
|
-
|
|
91
|
-
blockquote,
|
|
92
|
-
.readaloud {
|
|
93
|
-
/* font-family: "Candara"; */
|
|
94
|
-
|
|
95
|
-
& > p + p {
|
|
96
|
-
text-indent: 0px;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
font-style: initial;
|
|
100
|
-
padding: 0.5rem;
|
|
101
|
-
margin: 0.5rem;
|
|
102
|
-
background: hsl(25, 30%, 75%, 50%);
|
|
103
|
-
position: relative;
|
|
104
|
-
z-index: 0;
|
|
105
|
-
|
|
106
|
-
border-image-slice: 30 30 30 30;
|
|
107
|
-
border-image-width: 12px 12px 12px 12px;
|
|
108
|
-
border-image-outset: 6px 6px 6px 6px;
|
|
109
|
-
border-image-repeat: stretch stretch;
|
|
110
|
-
border-image-source: url("/modules/((moduleId))/assets/journals/Read-Aloud_Corner.webp");
|
|
111
|
-
|
|
112
|
-
.themed.theme-dark & {
|
|
113
|
-
background: hsl(25, 30%, 75%, 15%);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
em {
|
|
117
|
-
font-style: italic;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
h3 {
|
|
121
|
-
border: none;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
&.limited {
|
|
125
|
-
width: min-content;
|
|
126
|
-
white-space: nowrap;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.heliana-style-bg {
|
|
131
|
-
background-repeat: no-repeat;
|
|
132
|
-
background-size: auto 100%;
|
|
133
|
-
background-position: center left;
|
|
134
|
-
z-index: 31;
|
|
135
|
-
padding-top: 0.25rem;
|
|
136
|
-
padding-bottom: 0.1rem;
|
|
137
|
-
padding-inline: 0.25rem;
|
|
138
|
-
|
|
139
|
-
& > * {
|
|
140
|
-
width: min-content;
|
|
141
|
-
white-space: nowrap;
|
|
142
|
-
color: white !important;
|
|
143
|
-
height: 2rem;
|
|
144
|
-
border-bottom: 0;
|
|
145
|
-
padding-left: 0.4rem;
|
|
146
|
-
padding-right: 1.5rem;
|
|
147
|
-
margin-bottom: 0;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.mask {
|
|
152
|
-
--mask-size: 40%;
|
|
153
|
-
border: none;
|
|
154
|
-
mask-image:
|
|
155
|
-
url("/modules/((moduleId))/assets/journals/masks/mask-soft-04.webp"),
|
|
156
|
-
linear-gradient(white 0 0);
|
|
157
|
-
mask-composite: add;
|
|
158
|
-
mask-mode: luminance;
|
|
159
|
-
mask-position:
|
|
160
|
-
top right,
|
|
161
|
-
bottom;
|
|
162
|
-
mask-size:
|
|
163
|
-
101% var(--mask-size),
|
|
164
|
-
101% calc(101% - var(--mask-size));
|
|
165
|
-
mask-repeat: no-repeat;
|
|
166
|
-
|
|
167
|
-
&.upside-down {
|
|
168
|
-
transform: scaleY(-1);
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.scrollable div.scenery {
|
|
173
|
-
position: sticky;
|
|
174
|
-
display: relative;
|
|
175
|
-
top: 0;
|
|
176
|
-
transition: opacity 300ms ease-out;
|
|
177
|
-
margin-bottom: -2rem;
|
|
178
|
-
margin-inline: 0px;
|
|
179
|
-
scale: 101%;
|
|
180
|
-
|
|
181
|
-
&.upside-down > * {
|
|
182
|
-
width: 100%;
|
|
183
|
-
transform: scaleY(-1);
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
& > header {
|
|
187
|
-
--height: 10rem;
|
|
188
|
-
position: absolute;
|
|
189
|
-
width: 100%;
|
|
190
|
-
height: var(--height);
|
|
191
|
-
bottom: calc(50% - var(--height) / 2);
|
|
192
|
-
|
|
193
|
-
text-align: center;
|
|
194
|
-
font-size: 2rem;
|
|
195
|
-
line-height: var(--height);
|
|
196
|
-
font-family: "Coinage Caps Kruger Gray";
|
|
197
|
-
color: white;
|
|
198
|
-
|
|
199
|
-
background: rgba(0, 0, 0, 66%);
|
|
200
|
-
|
|
201
|
-
border: none;
|
|
202
|
-
mask-image:
|
|
203
|
-
url("/modules/((moduleId))/assets/journals/masks/mask-soft-04.webp"),
|
|
204
|
-
url("/modules/((moduleId))/assets/journals/masks/flipped/mask-soft-04.webp");
|
|
205
|
-
mask-composite: add;
|
|
206
|
-
mask-mode: luminance;
|
|
207
|
-
mask-position: top, bottom;
|
|
208
|
-
mask-size:
|
|
209
|
-
100% 51%,
|
|
210
|
-
100% 50%;
|
|
211
|
-
mask-repeat: no-repeat;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
& img {
|
|
215
|
-
border-top-left-radius: 0;
|
|
216
|
-
border-top-right-radius: 0;
|
|
217
|
-
cursor: pointer;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.journal-entry-pages {
|
|
222
|
-
margin: 0;
|
|
223
|
-
padding-right: 0;
|
|
224
|
-
& > * {
|
|
225
|
-
margin-inline: 16px;
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.((moduleId))-journal.application {
|
|
231
|
-
&:not(.minimized) {
|
|
232
|
-
--ltBorderCut: 32;
|
|
233
|
-
--ltBorderOutset: 32;
|
|
234
|
-
corner-top-left-shape: notch;
|
|
235
|
-
corner-top-right-shape: notch;
|
|
236
|
-
corner-bottom-left-shape: notch;
|
|
237
|
-
border-radius: var(--ltBorderRadius, 15px);
|
|
238
|
-
border-bottom-right-radius: 0;
|
|
239
|
-
overflow: visible;
|
|
240
|
-
|
|
241
|
-
&::after {
|
|
242
|
-
content: "";
|
|
243
|
-
position: absolute;
|
|
244
|
-
top: 50%;
|
|
245
|
-
left: 50%;
|
|
246
|
-
transform: translate(-50%, -50%);
|
|
247
|
-
width: calc(100% + var(--ltBorderSizeMod, 0px));
|
|
248
|
-
height: calc(100% + var(--ltBorderSizeMod, 0px));
|
|
249
|
-
border-image: var(
|
|
250
|
-
--urlBorderImage,
|
|
251
|
-
url("/modules/((moduleId))/assets/journals/borders/panel-border-026.webp")
|
|
252
|
-
)
|
|
253
|
-
var(--ltBorderCut) var(--ltBorderCut) var(--ltBorderCut)
|
|
254
|
-
var(--ltBorderCut) fill / calc(1px * var(--ltBorderOutset))
|
|
255
|
-
calc(1px * var(--ltBorderOutset)) calc(1px * var(--ltBorderOutset))
|
|
256
|
-
calc(1px * var(--ltBorderOutset));
|
|
257
|
-
pointer-events: none;
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
&:not(.minimized) .window-header {
|
|
262
|
-
padding: 0 36px;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
& footer {
|
|
266
|
-
margin-left: 2.25rem;
|
|
267
|
-
padding-inline: 0;
|
|
268
|
-
padding-block: 0.5rem 0.75rem;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
&.sheet.journal-entry .journal-entry-page + .journal-entry-page {
|
|
272
|
-
margin-top: 0.5rem;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
& aside.sidebar {
|
|
276
|
-
position: relative;
|
|
277
|
-
|
|
278
|
-
&::before {
|
|
279
|
-
z-index: -100;
|
|
280
|
-
content: "";
|
|
281
|
-
position: absolute;
|
|
282
|
-
|
|
283
|
-
margin-top: -2rem;
|
|
284
|
-
height: 100%;
|
|
285
|
-
width: 100%;
|
|
286
|
-
|
|
287
|
-
opacity: 33%;
|
|
288
|
-
background-image: var(--sidebarImage);
|
|
289
|
-
background-size: cover;
|
|
290
|
-
|
|
291
|
-
--mask-size: 10%;
|
|
292
|
-
mask-image:
|
|
293
|
-
url("/modules/((moduleId))/assets/journals/masks/mask-hard-06.webp"),
|
|
294
|
-
linear-gradient(white 0 0),
|
|
295
|
-
url("/modules/((moduleId))/assets/journals/masks/flipped/mask-soft-04.webp");
|
|
296
|
-
mask-composite: add;
|
|
297
|
-
mask-mode: luminance;
|
|
298
|
-
mask-position: top, center, bottom;
|
|
299
|
-
mask-size:
|
|
300
|
-
101% var(--mask-size),
|
|
301
|
-
100% calc(100% - 2 * var(--mask-size)),
|
|
302
|
-
101% var(--mask-size);
|
|
303
|
-
mask-repeat: no-repeat;
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
}
|
|
1
|
+
:root {
|
|
2
|
+
--((moduleId))-checks-color-light: #074e4b;
|
|
3
|
+
--((moduleId))-checks-color-dark: hsl(69 58 47);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
body.theme-light .((moduleId)).Checks-and-Saves {
|
|
7
|
+
font-weight: bold;
|
|
8
|
+
color: var(--((moduleId))-checks-color-light);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
body.theme-dark .((moduleId)).Checks-and-Saves {
|
|
12
|
+
font-weight: bold;
|
|
13
|
+
color: var(--((moduleId))-checks-color-dark);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.themed.theme-dark .((moduleId)).Checks-and-Saves {
|
|
17
|
+
font-weight: bold;
|
|
18
|
+
color: var(--((moduleId))-checks-color-dark);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.themed.theme-light .((moduleId)).Checks-and-Saves {
|
|
22
|
+
font-weight: bold;
|
|
23
|
+
color: var(--((moduleId))-checks-color-light);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.((moduleId))-journal .journal-entry-content .sidebar,
|
|
27
|
+
.editor-content .((moduleId)).sidebar {
|
|
28
|
+
/* font-family: "Candara"; */
|
|
29
|
+
|
|
30
|
+
padding: 0.75rem;
|
|
31
|
+
margin-block: 1.25rem;
|
|
32
|
+
width: var(--sidebarWidth, 50%);
|
|
33
|
+
float: right;
|
|
34
|
+
|
|
35
|
+
.themed.theme-light &,
|
|
36
|
+
body.theme-light & {
|
|
37
|
+
background: oklch(0.393 0.095 152.535 / 0.05);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.themed.theme-dark &,
|
|
41
|
+
body.theme-dark & {
|
|
42
|
+
background: oklch(0.393 0.095 152.535 / 0.2);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
margin-right: 0.25rem;
|
|
46
|
+
margin-left: 1rem;
|
|
47
|
+
|
|
48
|
+
&.left {
|
|
49
|
+
margin-left: 0rem;
|
|
50
|
+
margin-right: 1.5rem;
|
|
51
|
+
float: left;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
& h1,
|
|
55
|
+
& h2,
|
|
56
|
+
& h3,
|
|
57
|
+
& h4 {
|
|
58
|
+
.themed.theme-light &,
|
|
59
|
+
body.theme-light & {
|
|
60
|
+
color: hsl(179, 100%, 10%);
|
|
61
|
+
}
|
|
62
|
+
.themed.theme-dark &,
|
|
63
|
+
body.theme-dark & {
|
|
64
|
+
color: hsl(120, 25%, 90%);
|
|
65
|
+
}
|
|
66
|
+
font-family: "Modesto Condensed";
|
|
67
|
+
font-size: 1.5rem;
|
|
68
|
+
font-weight: 700;
|
|
69
|
+
text-align: center;
|
|
70
|
+
border-color: none;
|
|
71
|
+
text-decoration-line: none;
|
|
72
|
+
padding: 0px;
|
|
73
|
+
margin: 0px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
border-image-slice: 50 75 50 75;
|
|
77
|
+
border-image-width: 20px 26px 20px 26px;
|
|
78
|
+
border-image-outset: 19px 0px 19px 0px;
|
|
79
|
+
border-image-repeat: round round;
|
|
80
|
+
border-image-source: url("/modules/((moduleId))/assets/journals/Sidebar_Frame_Green.webp");
|
|
81
|
+
|
|
82
|
+
&.brown {
|
|
83
|
+
border-image-source: url("/modules/((moduleId))/assets/journals/Sidebar_Frame_Brown.webp");
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.((moduleId))-journal .journal-entry-content {
|
|
88
|
+
/* font-family: "Kings Caslon"; */
|
|
89
|
+
text-align: justify;
|
|
90
|
+
|
|
91
|
+
blockquote,
|
|
92
|
+
.readaloud {
|
|
93
|
+
/* font-family: "Candara"; */
|
|
94
|
+
|
|
95
|
+
& > p + p {
|
|
96
|
+
text-indent: 0px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
font-style: initial;
|
|
100
|
+
padding: 0.5rem;
|
|
101
|
+
margin: 0.5rem;
|
|
102
|
+
background: hsl(25, 30%, 75%, 50%);
|
|
103
|
+
position: relative;
|
|
104
|
+
z-index: 0;
|
|
105
|
+
|
|
106
|
+
border-image-slice: 30 30 30 30;
|
|
107
|
+
border-image-width: 12px 12px 12px 12px;
|
|
108
|
+
border-image-outset: 6px 6px 6px 6px;
|
|
109
|
+
border-image-repeat: stretch stretch;
|
|
110
|
+
border-image-source: url("/modules/((moduleId))/assets/journals/Read-Aloud_Corner.webp");
|
|
111
|
+
|
|
112
|
+
.themed.theme-dark & {
|
|
113
|
+
background: hsl(25, 30%, 75%, 15%);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
em {
|
|
117
|
+
font-style: italic;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
h3 {
|
|
121
|
+
border: none;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&.limited {
|
|
125
|
+
width: min-content;
|
|
126
|
+
white-space: nowrap;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.heliana-style-bg {
|
|
131
|
+
background-repeat: no-repeat;
|
|
132
|
+
background-size: auto 100%;
|
|
133
|
+
background-position: center left;
|
|
134
|
+
z-index: 31;
|
|
135
|
+
padding-top: 0.25rem;
|
|
136
|
+
padding-bottom: 0.1rem;
|
|
137
|
+
padding-inline: 0.25rem;
|
|
138
|
+
|
|
139
|
+
& > * {
|
|
140
|
+
width: min-content;
|
|
141
|
+
white-space: nowrap;
|
|
142
|
+
color: white !important;
|
|
143
|
+
height: 2rem;
|
|
144
|
+
border-bottom: 0;
|
|
145
|
+
padding-left: 0.4rem;
|
|
146
|
+
padding-right: 1.5rem;
|
|
147
|
+
margin-bottom: 0;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.mask {
|
|
152
|
+
--mask-size: 40%;
|
|
153
|
+
border: none;
|
|
154
|
+
mask-image:
|
|
155
|
+
url("/modules/((moduleId))/assets/journals/masks/mask-soft-04.webp"),
|
|
156
|
+
linear-gradient(white 0 0);
|
|
157
|
+
mask-composite: add;
|
|
158
|
+
mask-mode: luminance;
|
|
159
|
+
mask-position:
|
|
160
|
+
top right,
|
|
161
|
+
bottom;
|
|
162
|
+
mask-size:
|
|
163
|
+
101% var(--mask-size),
|
|
164
|
+
101% calc(101% - var(--mask-size));
|
|
165
|
+
mask-repeat: no-repeat;
|
|
166
|
+
|
|
167
|
+
&.upside-down {
|
|
168
|
+
transform: scaleY(-1);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.scrollable div.scenery {
|
|
173
|
+
position: sticky;
|
|
174
|
+
display: relative;
|
|
175
|
+
top: 0;
|
|
176
|
+
transition: opacity 300ms ease-out;
|
|
177
|
+
margin-bottom: -2rem;
|
|
178
|
+
margin-inline: 0px;
|
|
179
|
+
scale: 101%;
|
|
180
|
+
|
|
181
|
+
&.upside-down > * {
|
|
182
|
+
width: 100%;
|
|
183
|
+
transform: scaleY(-1);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
& > header {
|
|
187
|
+
--height: 10rem;
|
|
188
|
+
position: absolute;
|
|
189
|
+
width: 100%;
|
|
190
|
+
height: var(--height);
|
|
191
|
+
bottom: calc(50% - var(--height) / 2);
|
|
192
|
+
|
|
193
|
+
text-align: center;
|
|
194
|
+
font-size: 2rem;
|
|
195
|
+
line-height: var(--height);
|
|
196
|
+
font-family: "Coinage Caps Kruger Gray";
|
|
197
|
+
color: white;
|
|
198
|
+
|
|
199
|
+
background: rgba(0, 0, 0, 66%);
|
|
200
|
+
|
|
201
|
+
border: none;
|
|
202
|
+
mask-image:
|
|
203
|
+
url("/modules/((moduleId))/assets/journals/masks/mask-soft-04.webp"),
|
|
204
|
+
url("/modules/((moduleId))/assets/journals/masks/flipped/mask-soft-04.webp");
|
|
205
|
+
mask-composite: add;
|
|
206
|
+
mask-mode: luminance;
|
|
207
|
+
mask-position: top, bottom;
|
|
208
|
+
mask-size:
|
|
209
|
+
100% 51%,
|
|
210
|
+
100% 50%;
|
|
211
|
+
mask-repeat: no-repeat;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
& img {
|
|
215
|
+
border-top-left-radius: 0;
|
|
216
|
+
border-top-right-radius: 0;
|
|
217
|
+
cursor: pointer;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.journal-entry-pages {
|
|
222
|
+
margin: 0;
|
|
223
|
+
padding-right: 0;
|
|
224
|
+
& > * {
|
|
225
|
+
margin-inline: 16px;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.((moduleId))-journal.application {
|
|
231
|
+
&:not(.minimized) {
|
|
232
|
+
--ltBorderCut: 32;
|
|
233
|
+
--ltBorderOutset: 32;
|
|
234
|
+
corner-top-left-shape: notch;
|
|
235
|
+
corner-top-right-shape: notch;
|
|
236
|
+
corner-bottom-left-shape: notch;
|
|
237
|
+
border-radius: var(--ltBorderRadius, 15px);
|
|
238
|
+
border-bottom-right-radius: 0;
|
|
239
|
+
overflow: visible;
|
|
240
|
+
|
|
241
|
+
&::after {
|
|
242
|
+
content: "";
|
|
243
|
+
position: absolute;
|
|
244
|
+
top: 50%;
|
|
245
|
+
left: 50%;
|
|
246
|
+
transform: translate(-50%, -50%);
|
|
247
|
+
width: calc(100% + var(--ltBorderSizeMod, 0px));
|
|
248
|
+
height: calc(100% + var(--ltBorderSizeMod, 0px));
|
|
249
|
+
border-image: var(
|
|
250
|
+
--urlBorderImage,
|
|
251
|
+
url("/modules/((moduleId))/assets/journals/borders/panel-border-026.webp")
|
|
252
|
+
)
|
|
253
|
+
var(--ltBorderCut) var(--ltBorderCut) var(--ltBorderCut)
|
|
254
|
+
var(--ltBorderCut) fill / calc(1px * var(--ltBorderOutset))
|
|
255
|
+
calc(1px * var(--ltBorderOutset)) calc(1px * var(--ltBorderOutset))
|
|
256
|
+
calc(1px * var(--ltBorderOutset));
|
|
257
|
+
pointer-events: none;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
&:not(.minimized) .window-header {
|
|
262
|
+
padding: 0 36px;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
& footer {
|
|
266
|
+
margin-left: 2.25rem;
|
|
267
|
+
padding-inline: 0;
|
|
268
|
+
padding-block: 0.5rem 0.75rem;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
&.sheet.journal-entry .journal-entry-page + .journal-entry-page {
|
|
272
|
+
margin-top: 0.5rem;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
& aside.sidebar {
|
|
276
|
+
position: relative;
|
|
277
|
+
|
|
278
|
+
&::before {
|
|
279
|
+
z-index: -100;
|
|
280
|
+
content: "";
|
|
281
|
+
position: absolute;
|
|
282
|
+
|
|
283
|
+
margin-top: -2rem;
|
|
284
|
+
height: 100%;
|
|
285
|
+
width: 100%;
|
|
286
|
+
|
|
287
|
+
opacity: 33%;
|
|
288
|
+
background-image: var(--sidebarImage);
|
|
289
|
+
background-size: cover;
|
|
290
|
+
|
|
291
|
+
--mask-size: 10%;
|
|
292
|
+
mask-image:
|
|
293
|
+
url("/modules/((moduleId))/assets/journals/masks/mask-hard-06.webp"),
|
|
294
|
+
linear-gradient(white 0 0),
|
|
295
|
+
url("/modules/((moduleId))/assets/journals/masks/flipped/mask-soft-04.webp");
|
|
296
|
+
mask-composite: add;
|
|
297
|
+
mask-mode: luminance;
|
|
298
|
+
mask-position: top, center, bottom;
|
|
299
|
+
mask-size:
|
|
300
|
+
101% var(--mask-size),
|
|
301
|
+
100% calc(100% - 2 * var(--mask-size)),
|
|
302
|
+
101% var(--mask-size);
|
|
303
|
+
mask-repeat: no-repeat;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare module 'postcss-replace' {
|
|
2
|
-
function PostCSSReplace(options: {
|
|
3
|
-
pattern: RegExp;
|
|
4
|
-
commentsOnly?: boolean;
|
|
5
|
-
data: Record<string, string | number>;
|
|
6
|
-
}): any;
|
|
7
|
-
export default PostCSSReplace;
|
|
1
|
+
declare module 'postcss-replace' {
|
|
2
|
+
function PostCSSReplace(options: {
|
|
3
|
+
pattern: RegExp;
|
|
4
|
+
commentsOnly?: boolean;
|
|
5
|
+
data: Record<string, string | number>;
|
|
6
|
+
}): any;
|
|
7
|
+
export default PostCSSReplace;
|
|
8
8
|
}
|