rpg-engine 0.5.0 → 0.6.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.
- package/dist/campaign/settings.d.ts +1 -0
- package/dist/campaign/settings.js +6 -5
- package/dist/command-line.js +12 -5
- package/dist/commands/advance.js +1 -1
- package/dist/commands/ask.d.ts +1 -1
- package/dist/commands/ask.js +66 -24
- package/dist/commands/change.js +28 -17
- package/dist/commands/config.d.ts +1 -1
- package/dist/commands/config.js +67 -21
- package/dist/commands/effect.js +42 -23
- package/dist/commands/find.js +1 -1
- package/dist/commands/game-adventures.js +2 -2
- package/dist/commands/game-catalog.d.ts +13 -0
- package/dist/commands/game-catalog.js +26 -2
- package/dist/commands/game-checks.js +23 -21
- package/dist/commands/{game-hit-dice.d.ts → game-dice-pool.d.ts} +3 -3
- package/dist/commands/{game-hit-dice.js → game-dice-pool.js} +7 -7
- package/dist/commands/game-effects.d.ts +12 -4
- package/dist/commands/game-effects.js +21 -13
- package/dist/commands/game-examples.d.ts +22 -0
- package/dist/commands/game-examples.js +72 -0
- package/dist/commands/game-extension-list.d.ts +31 -3
- package/dist/commands/game-extension-list.js +83 -7
- package/dist/commands/game-images.d.ts +1 -1
- package/dist/commands/game-images.js +3 -2
- package/dist/commands/game-library.d.ts +3 -0
- package/dist/commands/game-library.js +2 -2
- package/dist/commands/game-mode.js +1 -1
- package/dist/commands/game-package-code.d.ts +87 -0
- package/dist/commands/game-package-code.js +648 -0
- package/dist/commands/game-package-hooks.d.ts +37 -0
- package/dist/commands/game-package-hooks.js +116 -0
- package/dist/commands/game-recipes.js +2 -2
- package/dist/commands/game-reminders.d.ts +5 -2
- package/dist/commands/game-reminders.js +7 -4
- package/dist/commands/game-rules.d.ts +4 -1
- package/dist/commands/game-rules.js +7 -1
- package/dist/commands/game-upkeep.js +3 -3
- package/dist/commands/game-view-place.d.ts +8 -20
- package/dist/commands/game-view-place.js +16 -35
- package/dist/commands/game-widgets.d.ts +39 -10
- package/dist/commands/game-widgets.js +138 -35
- package/dist/commands/game-world.d.ts +17 -0
- package/dist/commands/game-world.js +70 -12
- package/dist/commands/image.js +1 -1
- package/dist/commands/init.js +2 -2
- package/dist/commands/mode.d.ts +1 -1
- package/dist/commands/package.d.ts +8 -0
- package/dist/commands/package.js +81 -24
- package/dist/commands/progression.d.ts +2 -0
- package/dist/commands/progression.js +7 -2
- package/dist/commands/roll.d.ts +2 -0
- package/dist/commands/roll.js +50 -24
- package/dist/commands/rules.js +6 -4
- package/dist/commands/scene.d.ts +1 -1
- package/dist/commands/scene.js +13 -10
- package/dist/commands/sheet.js +10 -1
- package/dist/commands/status.d.ts +1 -0
- package/dist/commands/status.js +14 -4
- package/dist/commands/trade.js +6 -4
- package/dist/commands/translate.js +2 -2
- package/dist/commands/travel.js +1 -1
- package/dist/commands/validate.js +2 -2
- package/dist/commands/view.d.ts +8 -4
- package/dist/commands/view.js +7 -6
- package/dist/commands/worked-out.js +11 -5
- package/dist/commands/write.d.ts +8 -1
- package/dist/commands/write.js +84 -25
- package/dist/core/command-reference.js +3 -2
- package/dist/core/consents.d.ts +18 -0
- package/dist/core/consents.js +93 -0
- package/dist/core/context.d.ts +51 -29
- package/dist/core/context.js +3 -1
- package/dist/core/examples.d.ts +25 -0
- package/dist/core/examples.js +19 -0
- package/dist/{extensions/api.d.ts → core/package-api.d.ts} +134 -32
- package/dist/core/package-declarations.d.ts +102 -0
- package/dist/core/package-declarations.js +81 -0
- package/dist/core/registry.d.ts +2 -0
- package/dist/core/text.d.ts +5 -0
- package/dist/core/text.js +12 -0
- package/dist/dashboard/acts.js +31 -24
- package/dist/dashboard/address.js +4 -1
- package/dist/dashboard/api.js +54 -0
- package/dist/dashboard/app.js +140 -96
- package/dist/dashboard/ask-card.js +76 -25
- package/dist/dashboard/asked-dice.js +57 -0
- package/dist/dashboard/dice/tray.js +3 -3
- package/dist/dashboard/extension-widgets.js +104 -10
- package/dist/dashboard/i18n/ar.json +25 -29
- package/dist/dashboard/i18n/cs.json +25 -29
- package/dist/dashboard/i18n/da.json +25 -29
- package/dist/dashboard/i18n/de.json +25 -29
- package/dist/dashboard/i18n/el.json +25 -29
- package/dist/dashboard/i18n/es.json +25 -29
- package/dist/dashboard/i18n/fi.json +25 -29
- package/dist/dashboard/i18n/fr.json +25 -29
- package/dist/dashboard/i18n/he.json +25 -29
- package/dist/dashboard/i18n/hi.json +25 -29
- package/dist/dashboard/i18n/hu.json +25 -29
- package/dist/dashboard/i18n/is.json +25 -29
- package/dist/dashboard/i18n/it.json +25 -29
- package/dist/dashboard/i18n/ja.json +25 -29
- package/dist/dashboard/i18n/ko.json +25 -29
- package/dist/dashboard/i18n/nb.json +25 -29
- package/dist/dashboard/i18n/nl.json +25 -29
- package/dist/dashboard/i18n/pl.json +25 -29
- package/dist/dashboard/i18n/pt.json +25 -29
- package/dist/dashboard/i18n/ro.json +25 -29
- package/dist/dashboard/i18n/ru.json +25 -29
- package/dist/dashboard/i18n/sv.json +25 -29
- package/dist/dashboard/i18n/tr.json +25 -29
- package/dist/dashboard/i18n/uk.json +25 -29
- package/dist/dashboard/i18n/zh.json +25 -29
- package/dist/dashboard/icons.js +4 -1
- package/dist/dashboard/kit.js +35 -0
- package/dist/dashboard/labels.js +1 -0
- package/dist/dashboard/pack-card.js +7 -2
- package/dist/dashboard/package-page.js +50 -0
- package/dist/dashboard/packages.js +172 -23
- package/dist/dashboard/page-code.js +248 -0
- package/dist/dashboard/party.js +13 -14
- package/dist/dashboard/people.js +4 -0
- package/dist/dashboard/person-panel.js +110 -0
- package/dist/dashboard/place-map-view.js +11 -6
- package/dist/dashboard/scene.js +12 -9
- package/dist/dashboard/settings.js +55 -9
- package/dist/dashboard/sheet.js +21 -13
- package/dist/dashboard/status.js +69 -15
- package/dist/dashboard/style.css +592 -825
- package/dist/dashboard/top.js +75 -25
- package/dist/dashboard/turns.js +34 -13
- package/dist/dashboard/widgets.js +9 -2
- package/dist/dashboard-server.js +189 -10
- package/dist/dice/roll-dice.js +1 -1
- package/dist/effects/effect.d.ts +7 -4
- package/dist/effects/effect.js +12 -9
- package/dist/extensions/engine.d.ts +4 -0
- package/dist/extensions/engine.js +74 -0
- package/dist/extensions/extension.d.ts +25 -37
- package/dist/extensions/extension.js +26 -48
- package/dist/extensions/index.d.ts +3 -2
- package/dist/extensions/index.js +4 -1
- package/dist/extensions/packages.d.ts +6 -0
- package/dist/extensions/packages.js +100 -11
- package/dist/index.d.ts +1 -3
- package/dist/mcp-server.js +51 -14
- package/dist/page-words.d.ts +4 -0
- package/dist/page-words.js +4 -4
- package/dist/page.d.ts +218 -0
- package/dist/page.js +2 -0
- package/dist/pages/load.d.ts +7 -1
- package/dist/pages/load.js +10 -5
- package/dist/pages/page-file.js +1 -1
- package/dist/pages/stack-writes.js +5 -4
- package/dist/pages/world.d.ts +8 -0
- package/dist/pages/world.js +9 -2
- package/dist/systems/game-system.d.ts +52 -26
- package/dist/systems/game-system.js +141 -42
- package/dist/systems/index.d.ts +3 -3
- package/dist/systems/index.js +3 -3
- package/dist/systems/system-code.d.ts +29 -88
- package/dist/systems/system-code.js +68 -23
- package/dist/systems/words.d.ts +2 -0
- package/dist/systems/words.js +11 -0
- package/dist/testing.d.ts +20 -5
- package/dist/testing.js +49 -14
- package/instructions/combat.md +2 -2
- package/instructions/core.md +2 -2
- package/instructions/dashboard.md +1 -1
- package/instructions/mentor-tutorial.md +1 -1
- package/instructions/play.md +2 -2
- package/instructions/setup.md +1 -1
- package/package.json +9 -1
- package/systems/5e/LICENSE.md +13 -3
- package/systems/5e/dist/dying.js +83 -16
- package/systems/5e/dist/index.js +2 -2
- package/systems/5e/dist/page-style.js +634 -0
- package/systems/5e/dist/page.js +166 -0
- package/systems/5e/dist/shown.js +23 -0
- package/systems/5e/instructions/combat.md +1 -0
- package/systems/5e/package.json +4 -2
- package/systems/5e/system.yaml +35 -7
- package/systems/5e/versions/srd-5.1/system.yaml +2 -0
- package/systems/5e/words/ar.yaml +30 -0
- package/systems/5e/words/cs.yaml +30 -0
- package/systems/5e/words/da.yaml +30 -0
- package/systems/5e/words/de.yaml +30 -0
- package/systems/5e/words/el.yaml +30 -0
- package/systems/5e/words/es.yaml +30 -0
- package/systems/5e/words/fi.yaml +30 -0
- package/systems/5e/words/fr.yaml +30 -0
- package/systems/5e/words/he.yaml +30 -0
- package/systems/5e/words/hi.yaml +30 -0
- package/systems/5e/words/hu.yaml +30 -0
- package/systems/5e/words/is.yaml +30 -0
- package/systems/5e/words/it.yaml +30 -0
- package/systems/5e/words/ja.yaml +30 -0
- package/systems/5e/words/ko.yaml +30 -0
- package/systems/5e/words/nb.yaml +30 -0
- package/systems/5e/words/nl.yaml +30 -0
- package/systems/5e/words/pl.yaml +30 -0
- package/systems/5e/words/pt.yaml +30 -0
- package/systems/5e/words/ro.yaml +30 -0
- package/systems/5e/words/ru.yaml +30 -0
- package/systems/5e/words/sv.yaml +30 -0
- package/systems/5e/words/tr.yaml +30 -0
- package/systems/5e/words/uk.yaml +30 -0
- package/systems/5e/words/zh.yaml +30 -0
- package/dist/commands/game-extensions.d.ts +0 -34
- package/dist/commands/game-extensions.js +0 -407
- package/dist/commands/game-system-code.d.ts +0 -33
- package/dist/commands/game-system-code.js +0 -188
- package/dist/dashboard/death-save.js +0 -67
- package/dist/dashboard/dying.js +0 -46
- package/dist/dashboard/save-outcome.js +0 -42
- package/dist/dashboard/spend.js +0 -115
- /package/dist/{extensions/api.js → core/package-api.js} +0 -0
package/dist/dashboard/style.css
CHANGED
|
@@ -500,12 +500,70 @@ a {
|
|
|
500
500
|
padding: 0 10px;
|
|
501
501
|
}
|
|
502
502
|
|
|
503
|
-
.sections a.away {
|
|
503
|
+
.sections :is(a, .packages-menu).away {
|
|
504
504
|
position: absolute;
|
|
505
505
|
visibility: hidden;
|
|
506
506
|
pointer-events: none;
|
|
507
507
|
}
|
|
508
508
|
|
|
509
|
+
/* A package's page as a tab (D-512): its title as long as a section's at most, cut short beyond. */
|
|
510
|
+
.sections a.own-tab .section-name {
|
|
511
|
+
max-width: 12em;
|
|
512
|
+
overflow: hidden;
|
|
513
|
+
text-overflow: ellipsis;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
/* The packages' icon as the menu of their other pages (D-512): a page's icon that opens, lit while one of them or Packages is shown. */
|
|
517
|
+
.sections .packages-menu {
|
|
518
|
+
position: relative;
|
|
519
|
+
display: inline-flex;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.packages-menu-button {
|
|
523
|
+
display: inline-flex;
|
|
524
|
+
align-items: center;
|
|
525
|
+
height: 40px;
|
|
526
|
+
padding: 0 10px;
|
|
527
|
+
border: 0;
|
|
528
|
+
border-radius: var(--radius-m) var(--radius-m) 0 0;
|
|
529
|
+
background: transparent;
|
|
530
|
+
color: var(--muted);
|
|
531
|
+
font: inherit;
|
|
532
|
+
cursor: pointer;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
.packages-menu-button.shown {
|
|
536
|
+
background: linear-gradient(var(--accent), var(--accent)) no-repeat center bottom / 100% 3px;
|
|
537
|
+
color: var(--accent);
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
.packages-menu-button svg.icon {
|
|
541
|
+
width: 20px;
|
|
542
|
+
height: 20px;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
.packages-menu .menu-pop {
|
|
546
|
+
min-width: 220px;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
/* Packages, where they are added and taken away, under their pages; in the menu of a phone their pages under Packages, set in. */
|
|
550
|
+
.menu-pop .menu-manage {
|
|
551
|
+
margin-top: 4px;
|
|
552
|
+
border-top: 1px solid var(--rule);
|
|
553
|
+
border-radius: 0 0 var(--radius-m) var(--radius-m);
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
.menu-sub {
|
|
557
|
+
display: grid;
|
|
558
|
+
padding-inline-start: 20px;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
.menu-pop :is(.menu-sub, .packages-menu .menu-pop) a {
|
|
562
|
+
height: auto;
|
|
563
|
+
min-height: 40px;
|
|
564
|
+
padding-block: 6px;
|
|
565
|
+
}
|
|
566
|
+
|
|
509
567
|
/* Where the party is (D-333): from the largest place to its own, which stays whole while the others give way; it leads to Scene. */
|
|
510
568
|
.top-place {
|
|
511
569
|
grid-area: place;
|
|
@@ -3889,6 +3947,75 @@ a.status-chip.widget-chip {
|
|
|
3889
3947
|
margin: 0;
|
|
3890
3948
|
}
|
|
3891
3949
|
|
|
3950
|
+
/* A package's drawing (D-510): its place in the page, a shadow root that takes this style sheet. A figure keeps its room while its module comes, its declared
|
|
3951
|
+
width at most and its shape; in the top, as tall as an icon. Turned right to left when it holds no words. What broke says so, and whose it is. */
|
|
3952
|
+
.ext-root {
|
|
3953
|
+
display: block;
|
|
3954
|
+
min-width: 0;
|
|
3955
|
+
}
|
|
3956
|
+
|
|
3957
|
+
.ext-figure {
|
|
3958
|
+
width: var(--figure-width, 100%);
|
|
3959
|
+
max-width: 100%;
|
|
3960
|
+
aspect-ratio: var(--figure-ratio, auto);
|
|
3961
|
+
}
|
|
3962
|
+
|
|
3963
|
+
.ext-figure.at-top {
|
|
3964
|
+
width: auto;
|
|
3965
|
+
height: 20px;
|
|
3966
|
+
aspect-ratio: var(--figure-ratio, 1);
|
|
3967
|
+
}
|
|
3968
|
+
|
|
3969
|
+
[dir="rtl"] .ext-root.mirrored {
|
|
3970
|
+
transform: scaleX(-1);
|
|
3971
|
+
}
|
|
3972
|
+
|
|
3973
|
+
/* A count drawn as a figure takes the width of its place, the figure its own in it. */
|
|
3974
|
+
.ask-track.figured {
|
|
3975
|
+
grid-template-columns: minmax(0, 1fr);
|
|
3976
|
+
justify-self: stretch;
|
|
3977
|
+
justify-items: center;
|
|
3978
|
+
}
|
|
3979
|
+
|
|
3980
|
+
.track-figure {
|
|
3981
|
+
display: grid;
|
|
3982
|
+
grid-template-columns: minmax(0, 1fr);
|
|
3983
|
+
justify-items: center;
|
|
3984
|
+
width: 100%;
|
|
3985
|
+
min-width: 0;
|
|
3986
|
+
}
|
|
3987
|
+
|
|
3988
|
+
.figure-count > [dir] {
|
|
3989
|
+
font-weight: 400;
|
|
3990
|
+
}
|
|
3991
|
+
|
|
3992
|
+
.widget-track.figured {
|
|
3993
|
+
display: grid;
|
|
3994
|
+
grid-template-columns: minmax(0, 1fr);
|
|
3995
|
+
justify-items: center;
|
|
3996
|
+
gap: 4px;
|
|
3997
|
+
}
|
|
3998
|
+
|
|
3999
|
+
.widget-track.figured > .figure-count {
|
|
4000
|
+
display: block;
|
|
4001
|
+
}
|
|
4002
|
+
|
|
4003
|
+
/* The packages' cards in a page, after its widgets' own: none drawn, no room. */
|
|
4004
|
+
.package-cards:empty {
|
|
4005
|
+
display: none;
|
|
4006
|
+
}
|
|
4007
|
+
|
|
4008
|
+
.ext-broken {
|
|
4009
|
+
margin: 0;
|
|
4010
|
+
padding: 8px 12px;
|
|
4011
|
+
border: 1px solid var(--low);
|
|
4012
|
+
border-radius: var(--radius-s);
|
|
4013
|
+
color: var(--low);
|
|
4014
|
+
font-size: 0.85rem;
|
|
4015
|
+
text-align: start;
|
|
4016
|
+
overflow-wrap: anywhere;
|
|
4017
|
+
}
|
|
4018
|
+
|
|
3892
4019
|
/* One thing large: its icon, its words, its value, as the sky and the temperature. */
|
|
3893
4020
|
.widget-lead {
|
|
3894
4021
|
display: grid;
|
|
@@ -3897,6 +4024,17 @@ a.status-chip.widget-chip {
|
|
|
3897
4024
|
gap: 12px;
|
|
3898
4025
|
}
|
|
3899
4026
|
|
|
4027
|
+
/* Its figure, its extension's drawing, over its words and value. */
|
|
4028
|
+
.widget-lead.figured {
|
|
4029
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
4030
|
+
row-gap: 8px;
|
|
4031
|
+
}
|
|
4032
|
+
|
|
4033
|
+
.widget-lead.figured > .ext-figure {
|
|
4034
|
+
grid-column: 1 / -1;
|
|
4035
|
+
justify-self: center;
|
|
4036
|
+
}
|
|
4037
|
+
|
|
3900
4038
|
.widget-lead-icon {
|
|
3901
4039
|
width: 40px;
|
|
3902
4040
|
height: 40px;
|
|
@@ -4673,7 +4811,7 @@ a.status-chip.widget-chip {
|
|
|
4673
4811
|
direction: rtl;
|
|
4674
4812
|
}
|
|
4675
4813
|
|
|
4676
|
-
[dir="rtl"] :is(span.num:not([dir]), .asked-dice, .die-modifier, .tray-die-name, .tray-modifier-value
|
|
4814
|
+
[dir="rtl"] :is(span.num:not([dir]), .asked-dice, .die-modifier, .tray-die-name, .tray-modifier-value) {
|
|
4677
4815
|
direction: ltr;
|
|
4678
4816
|
unicode-bidi: isolate;
|
|
4679
4817
|
}
|
|
@@ -5573,6 +5711,70 @@ button.row,
|
|
|
5573
5711
|
color: var(--muted);
|
|
5574
5712
|
}
|
|
5575
5713
|
|
|
5714
|
+
/* An effect with its drawing (D-516): the icon inside the chip before its word; where few fit, the icon alone, its word in its tooltip. */
|
|
5715
|
+
.effect.with-icon {
|
|
5716
|
+
display: inline-flex;
|
|
5717
|
+
align-items: center;
|
|
5718
|
+
gap: 4px;
|
|
5719
|
+
padding-inline-start: 5px;
|
|
5720
|
+
}
|
|
5721
|
+
|
|
5722
|
+
.effect-icon {
|
|
5723
|
+
flex: none;
|
|
5724
|
+
width: 15px;
|
|
5725
|
+
height: 15px;
|
|
5726
|
+
fill: none;
|
|
5727
|
+
stroke: currentColor;
|
|
5728
|
+
stroke-width: 2;
|
|
5729
|
+
stroke-linecap: round;
|
|
5730
|
+
stroke-linejoin: round;
|
|
5731
|
+
}
|
|
5732
|
+
|
|
5733
|
+
.effect.icon-only {
|
|
5734
|
+
display: inline-grid;
|
|
5735
|
+
place-items: center;
|
|
5736
|
+
width: 24px;
|
|
5737
|
+
height: 24px;
|
|
5738
|
+
padding: 0;
|
|
5739
|
+
}
|
|
5740
|
+
|
|
5741
|
+
.effect.icon-only .effect-icon {
|
|
5742
|
+
width: 16px;
|
|
5743
|
+
height: 16px;
|
|
5744
|
+
}
|
|
5745
|
+
|
|
5746
|
+
/* Their tooltip over the chip, from its start toward the name, inside the party's strip, which scrolls and so cuts what leaves it. */
|
|
5747
|
+
:is(.effect.icon-only, .effect.more) {
|
|
5748
|
+
position: relative;
|
|
5749
|
+
}
|
|
5750
|
+
|
|
5751
|
+
:is(.effect.icon-only, .effect.more)[data-tip]::before {
|
|
5752
|
+
left: auto;
|
|
5753
|
+
inset-inline-start: 0;
|
|
5754
|
+
width: max-content;
|
|
5755
|
+
max-width: 240px;
|
|
5756
|
+
white-space: normal;
|
|
5757
|
+
translate: 0 4px;
|
|
5758
|
+
}
|
|
5759
|
+
|
|
5760
|
+
@media (hover: hover) {
|
|
5761
|
+
:is(.effect.icon-only, .effect.more)[data-tip]:hover::before {
|
|
5762
|
+
translate: 0 0;
|
|
5763
|
+
}
|
|
5764
|
+
}
|
|
5765
|
+
|
|
5766
|
+
:is(.effect.icon-only, .effect.more)[data-tip]:focus-visible::before {
|
|
5767
|
+
translate: 0 0;
|
|
5768
|
+
}
|
|
5769
|
+
|
|
5770
|
+
/* A package's small card among the values under a name (D-516): a lead's words and value on one line. */
|
|
5771
|
+
.person-box-lead {
|
|
5772
|
+
display: inline-flex;
|
|
5773
|
+
align-items: baseline;
|
|
5774
|
+
gap: 6px;
|
|
5775
|
+
font-weight: 700;
|
|
5776
|
+
}
|
|
5777
|
+
|
|
5576
5778
|
/* The items of a list, as the attacks. */
|
|
5577
5779
|
.items {
|
|
5578
5780
|
width: 100%;
|
|
@@ -6332,79 +6534,9 @@ button.row,
|
|
|
6332
6534
|
outline-offset: 2px;
|
|
6333
6535
|
}
|
|
6334
6536
|
|
|
6335
|
-
/* The
|
|
6336
|
-
|
|
6337
|
-
|
|
6338
|
-
.dying-card {
|
|
6339
|
-
--tint: var(--low);
|
|
6340
|
-
position: sticky;
|
|
6341
|
-
top: calc(var(--top-space) + var(--gap));
|
|
6342
|
-
z-index: 15;
|
|
6343
|
-
display: grid;
|
|
6344
|
-
gap: 12px;
|
|
6345
|
-
margin: 0 0 var(--gap);
|
|
6346
|
-
padding: 16px 20px 18px;
|
|
6347
|
-
border: 1px solid color-mix(in srgb, var(--tint) 60%, transparent);
|
|
6348
|
-
border-radius: var(--radius-xl);
|
|
6349
|
-
background: radial-gradient(120% 90% at 50% 45%, color-mix(in srgb, var(--tint) 4%, var(--float)), color-mix(in srgb, var(--tint) 16%, var(--float)));
|
|
6350
|
-
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tint) 35%, transparent), var(--overlay);
|
|
6351
|
-
transition: border-color var(--long) var(--ease), box-shadow var(--long) var(--ease);
|
|
6352
|
-
}
|
|
6353
|
-
|
|
6354
|
-
.dying-card.back {
|
|
6355
|
-
--tint: var(--gold);
|
|
6356
|
-
}
|
|
6357
|
-
|
|
6358
|
-
.dying-card.stable {
|
|
6359
|
-
--tint: var(--ally);
|
|
6360
|
-
}
|
|
6361
|
-
|
|
6362
|
-
.dying-card.dead {
|
|
6363
|
-
--tint: var(--muted);
|
|
6364
|
-
}
|
|
6365
|
-
|
|
6366
|
-
.dying-card :is(.asked-turn, .asked-question) {
|
|
6367
|
-
margin: 0;
|
|
6368
|
-
padding-inline-end: 36px;
|
|
6369
|
-
}
|
|
6370
|
-
|
|
6371
|
-
.dying-close {
|
|
6372
|
-
position: absolute;
|
|
6373
|
-
top: 8px;
|
|
6374
|
-
inset-inline-end: 8px;
|
|
6375
|
-
}
|
|
6376
|
-
|
|
6377
|
-
.dying-life {
|
|
6378
|
-
position: relative;
|
|
6379
|
-
display: grid;
|
|
6380
|
-
grid-template-columns: 1fr auto 1fr;
|
|
6381
|
-
align-items: center;
|
|
6382
|
-
gap: 12px;
|
|
6383
|
-
min-height: 112px;
|
|
6384
|
-
}
|
|
6385
|
-
|
|
6386
|
-
/* The line runs between the two sides, behind the portrait. */
|
|
6387
|
-
.dying-line {
|
|
6388
|
-
position: absolute;
|
|
6389
|
-
top: calc(50% - 30px);
|
|
6390
|
-
inset-inline-start: 120px;
|
|
6391
|
-
width: calc(100% - 240px);
|
|
6392
|
-
height: 60px;
|
|
6393
|
-
overflow: visible;
|
|
6394
|
-
color: var(--tint);
|
|
6395
|
-
opacity: 0.6;
|
|
6396
|
-
pointer-events: none;
|
|
6397
|
-
}
|
|
6398
|
-
|
|
6399
|
-
.dying-line path {
|
|
6400
|
-
fill: none;
|
|
6401
|
-
stroke: currentColor;
|
|
6402
|
-
stroke-width: 2;
|
|
6403
|
-
stroke-linejoin: round;
|
|
6404
|
-
vector-effect: non-scaling-stroke;
|
|
6405
|
-
}
|
|
6406
|
-
|
|
6407
|
-
.dying-side {
|
|
6537
|
+
/* The marks of a panel on someone of the party (D-461, D-516): good ones as circles on one side, bad ones as squares on the other, by shape as well as
|
|
6538
|
+
colour, each side under its word. */
|
|
6539
|
+
.person-side {
|
|
6408
6540
|
position: relative;
|
|
6409
6541
|
display: grid;
|
|
6410
6542
|
min-width: 0;
|
|
@@ -6412,29 +6544,28 @@ button.row,
|
|
|
6412
6544
|
justify-items: start;
|
|
6413
6545
|
}
|
|
6414
6546
|
|
|
6415
|
-
.
|
|
6547
|
+
.person-side.bad {
|
|
6416
6548
|
justify-items: end;
|
|
6417
6549
|
}
|
|
6418
6550
|
|
|
6419
6551
|
/* A system's word, which may be long in a language: it breaks rather than leave its card. */
|
|
6420
|
-
.
|
|
6552
|
+
.person-label {
|
|
6421
6553
|
color: var(--ally);
|
|
6422
6554
|
overflow-wrap: anywhere;
|
|
6423
6555
|
hyphens: auto;
|
|
6424
6556
|
}
|
|
6425
6557
|
|
|
6426
|
-
.
|
|
6558
|
+
.person-side.bad .person-label {
|
|
6427
6559
|
color: var(--low);
|
|
6428
6560
|
text-align: end;
|
|
6429
6561
|
}
|
|
6430
6562
|
|
|
6431
|
-
.
|
|
6563
|
+
.person-marks {
|
|
6432
6564
|
display: inline-flex;
|
|
6433
6565
|
gap: 8px;
|
|
6434
6566
|
}
|
|
6435
6567
|
|
|
6436
|
-
|
|
6437
|
-
.dying-mark {
|
|
6568
|
+
.person-mark {
|
|
6438
6569
|
--mark: var(--ally);
|
|
6439
6570
|
position: relative;
|
|
6440
6571
|
width: 26px;
|
|
@@ -6443,254 +6574,119 @@ button.row,
|
|
|
6443
6574
|
border-radius: 50%;
|
|
6444
6575
|
}
|
|
6445
6576
|
|
|
6446
|
-
.
|
|
6577
|
+
.person-side.bad .person-mark {
|
|
6447
6578
|
--mark: var(--low);
|
|
6448
6579
|
border-radius: var(--radius-xs);
|
|
6449
6580
|
}
|
|
6450
6581
|
|
|
6451
|
-
.
|
|
6582
|
+
.person-mark.marked {
|
|
6452
6583
|
background: var(--mark);
|
|
6453
6584
|
}
|
|
6454
6585
|
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6586
|
+
/* What the cards of the packages' questions move with: a mark that pops as it lights, a ring that leaves it, an outcome that comes up. */
|
|
6587
|
+
@keyframes mark-pop {
|
|
6588
|
+
0% {
|
|
6589
|
+
transform: scale(0.4);
|
|
6590
|
+
}
|
|
6458
6591
|
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
inset: -7px;
|
|
6463
|
-
border: 2px solid var(--mark);
|
|
6464
|
-
border-radius: inherit;
|
|
6465
|
-
opacity: 0;
|
|
6466
|
-
}
|
|
6592
|
+
60% {
|
|
6593
|
+
transform: scale(1.25);
|
|
6594
|
+
}
|
|
6467
6595
|
|
|
6468
|
-
|
|
6469
|
-
|
|
6470
|
-
|
|
6471
|
-
z-index: 1;
|
|
6472
|
-
display: grid;
|
|
6473
|
-
place-items: center;
|
|
6474
|
-
width: 102px;
|
|
6475
|
-
height: 102px;
|
|
6476
|
-
border: 3px solid var(--tint);
|
|
6477
|
-
border-radius: 50%;
|
|
6478
|
-
background: var(--float);
|
|
6479
|
-
transition: border-color var(--long) var(--ease);
|
|
6596
|
+
100% {
|
|
6597
|
+
transform: scale(1);
|
|
6598
|
+
}
|
|
6480
6599
|
}
|
|
6481
6600
|
|
|
6482
|
-
|
|
6483
|
-
|
|
6601
|
+
@keyframes mark-ring {
|
|
6602
|
+
from {
|
|
6603
|
+
opacity: 0.9;
|
|
6604
|
+
transform: scale(0.8);
|
|
6605
|
+
}
|
|
6606
|
+
|
|
6607
|
+
to {
|
|
6608
|
+
opacity: 0;
|
|
6609
|
+
transform: scale(1.6);
|
|
6610
|
+
}
|
|
6484
6611
|
}
|
|
6485
6612
|
|
|
6486
|
-
|
|
6487
|
-
|
|
6488
|
-
|
|
6613
|
+
@keyframes word-rise {
|
|
6614
|
+
from {
|
|
6615
|
+
opacity: 0;
|
|
6616
|
+
transform: translateY(6px);
|
|
6617
|
+
}
|
|
6489
6618
|
}
|
|
6490
6619
|
|
|
6491
|
-
|
|
6492
|
-
|
|
6620
|
+
/* The card of a package's question (D-507, D-509): its widget's parts in the frame of the master's question, through the questions of one attempt. Who acts on
|
|
6621
|
+
the left, the middle count large, the others one over the other on the right with the facts under them; under them the roll's button or the choices a die
|
|
6622
|
+
asks for, and the rule; the outcome where they were. On a phone who acts over the middle, the others side by side under it, and once told the card scrolls
|
|
6623
|
+
with the page. No colour of the moment, unless its package gives one (below). */
|
|
6624
|
+
.ask-card .asked-question {
|
|
6625
|
+
margin-bottom: 4px;
|
|
6493
6626
|
}
|
|
6494
6627
|
|
|
6495
|
-
|
|
6496
|
-
|
|
6628
|
+
/* Told, the button that closes it in its corner, beside the question. */
|
|
6629
|
+
.ask-card.ended .asked-question {
|
|
6630
|
+
padding-inline-end: 36px;
|
|
6497
6631
|
}
|
|
6498
6632
|
|
|
6499
|
-
.
|
|
6500
|
-
content: "";
|
|
6633
|
+
.ask-close {
|
|
6501
6634
|
position: absolute;
|
|
6502
|
-
|
|
6503
|
-
|
|
6504
|
-
border-radius: 50%;
|
|
6505
|
-
opacity: 0;
|
|
6506
|
-
pointer-events: none;
|
|
6635
|
+
top: 10px;
|
|
6636
|
+
inset-inline-end: 10px;
|
|
6507
6637
|
}
|
|
6508
6638
|
|
|
6509
|
-
|
|
6510
|
-
|
|
6511
|
-
|
|
6512
|
-
|
|
6513
|
-
|
|
6639
|
+
/* A card its package tints with the colour of its moment (D-517), as the 5e's death save: a frame of that tint, deeper at the edges, without the robot; the
|
|
6640
|
+
question, the inside and the foot one under the other. The lock's card has none (D-509). */
|
|
6641
|
+
.ask-card.tinted {
|
|
6642
|
+
--tint: var(--low);
|
|
6643
|
+
display: block;
|
|
6644
|
+
padding: 16px 20px 18px;
|
|
6645
|
+
border-color: color-mix(in srgb, var(--tint) 60%, transparent);
|
|
6646
|
+
background: radial-gradient(120% 90% at 50% 45%, color-mix(in srgb, var(--tint) 4%, var(--float)), color-mix(in srgb, var(--tint) 16%, var(--float)));
|
|
6647
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tint) 35%, transparent), var(--overlay);
|
|
6648
|
+
transition: border-color var(--long) var(--ease), box-shadow var(--long) var(--ease);
|
|
6649
|
+
animation: none;
|
|
6514
6650
|
}
|
|
6515
6651
|
|
|
6516
|
-
.
|
|
6517
|
-
|
|
6518
|
-
--die-ground: var(--gold);
|
|
6519
|
-
display: inline-flex;
|
|
6520
|
-
align-items: center;
|
|
6521
|
-
justify-content: center;
|
|
6522
|
-
gap: 8px;
|
|
6523
|
-
min-width: min(320px, 100%);
|
|
6524
|
-
min-height: 48px;
|
|
6525
|
-
padding: 8px 20px;
|
|
6526
|
-
border: 0;
|
|
6527
|
-
border-radius: var(--radius-m);
|
|
6528
|
-
background: var(--gold);
|
|
6529
|
-
color: var(--on-gold);
|
|
6530
|
-
font: inherit;
|
|
6531
|
-
font-weight: 600;
|
|
6532
|
-
box-shadow: var(--raise);
|
|
6533
|
-
cursor: pointer;
|
|
6534
|
-
}
|
|
6535
|
-
|
|
6536
|
-
.dying-roll:disabled {
|
|
6537
|
-
cursor: default;
|
|
6538
|
-
opacity: 0.55;
|
|
6539
|
-
}
|
|
6540
|
-
|
|
6541
|
-
.dying-roll.sent {
|
|
6542
|
-
opacity: 1;
|
|
6543
|
-
outline: 2px solid var(--accent);
|
|
6544
|
-
outline-offset: 2px;
|
|
6652
|
+
.ask-card.tint-ally {
|
|
6653
|
+
--tint: var(--ally);
|
|
6545
6654
|
}
|
|
6546
6655
|
|
|
6547
|
-
.
|
|
6548
|
-
|
|
6549
|
-
color: var(--muted);
|
|
6550
|
-
font-size: 0.85rem;
|
|
6656
|
+
.ask-card.tint-gold {
|
|
6657
|
+
--tint: var(--gold);
|
|
6551
6658
|
}
|
|
6552
6659
|
|
|
6553
|
-
|
|
6554
|
-
|
|
6555
|
-
display: grid;
|
|
6556
|
-
place-items: center;
|
|
6557
|
-
min-height: 48px;
|
|
6558
|
-
margin: 0;
|
|
6559
|
-
color: var(--low);
|
|
6560
|
-
font-size: 1.6rem;
|
|
6561
|
-
font-weight: 800;
|
|
6562
|
-
line-height: 1.2;
|
|
6660
|
+
.ask-card.tint-muted {
|
|
6661
|
+
--tint: var(--muted);
|
|
6563
6662
|
}
|
|
6564
6663
|
|
|
6565
|
-
.
|
|
6664
|
+
.ask-card.tinted .asked-robot {
|
|
6566
6665
|
display: none;
|
|
6567
6666
|
}
|
|
6568
6667
|
|
|
6569
|
-
.
|
|
6570
|
-
|
|
6571
|
-
|
|
6572
|
-
|
|
6573
|
-
/* A total the system's code wrote nothing of: no outcome, so no colour of one. */
|
|
6574
|
-
.dying-card.told:not(.success, .stable, .failure, .failures, .dead, .back) .dying-word {
|
|
6575
|
-
color: var(--ink);
|
|
6576
|
-
}
|
|
6577
|
-
|
|
6578
|
-
.dying-card.back .dying-word {
|
|
6579
|
-
color: var(--gold-ink);
|
|
6580
|
-
}
|
|
6581
|
-
|
|
6582
|
-
/* Motion only for who wants it: the ring beats while dying, slower once stable, bursts on the highest face; the new mark pops. Reduced, the states alone. */
|
|
6583
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
6584
|
-
.dying-card:is(.asking, .rolling, .success, .failure, .failures) .dying-token::after {
|
|
6585
|
-
animation: dying-beat 1.6s var(--ease-out) infinite;
|
|
6586
|
-
}
|
|
6587
|
-
|
|
6588
|
-
.dying-card.stable .dying-token::after {
|
|
6589
|
-
animation: dying-beat 2.6s var(--ease-out) infinite;
|
|
6590
|
-
}
|
|
6591
|
-
|
|
6592
|
-
.dying-card.back .dying-token::after {
|
|
6593
|
-
animation: dying-burst var(--linger) var(--ease-out) both;
|
|
6594
|
-
}
|
|
6595
|
-
|
|
6596
|
-
.dying-mark.new {
|
|
6597
|
-
animation: dying-pop var(--flight) var(--ease-bounce) both;
|
|
6598
|
-
}
|
|
6599
|
-
|
|
6600
|
-
.dying-mark.new::after {
|
|
6601
|
-
animation: dying-ring var(--long) var(--ease-out) var(--quick) both;
|
|
6602
|
-
}
|
|
6603
|
-
|
|
6604
|
-
.dying-card.told .dying-word {
|
|
6605
|
-
animation: dying-word var(--medium) var(--ease-out) both;
|
|
6606
|
-
}
|
|
6607
|
-
}
|
|
6608
|
-
|
|
6609
|
-
@keyframes dying-beat {
|
|
6610
|
-
0%,
|
|
6611
|
-
30% {
|
|
6612
|
-
opacity: 0.8;
|
|
6613
|
-
transform: scale(1);
|
|
6614
|
-
}
|
|
6615
|
-
|
|
6616
|
-
60%,
|
|
6617
|
-
100% {
|
|
6618
|
-
opacity: 0;
|
|
6619
|
-
transform: scale(1.35);
|
|
6620
|
-
}
|
|
6621
|
-
}
|
|
6622
|
-
|
|
6623
|
-
@keyframes dying-burst {
|
|
6624
|
-
from {
|
|
6625
|
-
opacity: 1;
|
|
6626
|
-
transform: scale(1);
|
|
6627
|
-
}
|
|
6628
|
-
|
|
6629
|
-
to {
|
|
6630
|
-
opacity: 0;
|
|
6631
|
-
transform: scale(1.9);
|
|
6632
|
-
}
|
|
6633
|
-
}
|
|
6634
|
-
|
|
6635
|
-
@keyframes dying-pop {
|
|
6636
|
-
0% {
|
|
6637
|
-
transform: scale(0.4);
|
|
6638
|
-
}
|
|
6639
|
-
|
|
6640
|
-
60% {
|
|
6641
|
-
transform: scale(1.25);
|
|
6642
|
-
}
|
|
6643
|
-
|
|
6644
|
-
100% {
|
|
6645
|
-
transform: scale(1);
|
|
6646
|
-
}
|
|
6647
|
-
}
|
|
6648
|
-
|
|
6649
|
-
@keyframes dying-ring {
|
|
6650
|
-
from {
|
|
6651
|
-
opacity: 0.9;
|
|
6652
|
-
transform: scale(0.8);
|
|
6653
|
-
}
|
|
6654
|
-
|
|
6655
|
-
to {
|
|
6656
|
-
opacity: 0;
|
|
6657
|
-
transform: scale(1.6);
|
|
6658
|
-
}
|
|
6659
|
-
}
|
|
6660
|
-
|
|
6661
|
-
@keyframes dying-word {
|
|
6662
|
-
from {
|
|
6663
|
-
opacity: 0;
|
|
6664
|
-
transform: translateY(6px);
|
|
6665
|
-
}
|
|
6666
|
-
}
|
|
6667
|
-
|
|
6668
|
-
/* The card of a package's question (D-507): its widget's parts in the frame of the master's question, through the questions of one attempt. Its counts on a
|
|
6669
|
-
stage of three places, the middle one large; under them the roll's button or the choices a die asks for, and the rule; the outcome where they were. Wide,
|
|
6670
|
-
the three places side by side; on a phone the middle one alone above the two others, and once told the card scrolls with the page. */
|
|
6671
|
-
.ask-card .asked-question {
|
|
6672
|
-
margin-bottom: 4px;
|
|
6668
|
+
.ask-card.tinted .asked-body {
|
|
6669
|
+
display: grid;
|
|
6670
|
+
gap: 12px;
|
|
6673
6671
|
}
|
|
6674
6672
|
|
|
6675
|
-
|
|
6676
|
-
|
|
6673
|
+
.ask-card.tinted :is(.asked-turn, .asked-question) {
|
|
6674
|
+
margin: 0;
|
|
6677
6675
|
padding-inline-end: 36px;
|
|
6678
6676
|
}
|
|
6679
6677
|
|
|
6680
|
-
.ask-close {
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
-
inset-inline-end: 10px;
|
|
6678
|
+
.ask-card.tinted .ask-close {
|
|
6679
|
+
top: 8px;
|
|
6680
|
+
inset-inline-end: 8px;
|
|
6684
6681
|
}
|
|
6685
6682
|
|
|
6686
6683
|
.ask-stage {
|
|
6687
6684
|
display: grid;
|
|
6688
6685
|
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
|
|
6689
|
-
grid-template-areas: "
|
|
6690
|
-
align-items:
|
|
6686
|
+
grid-template-areas: "who center side";
|
|
6687
|
+
align-items: center;
|
|
6691
6688
|
gap: 14px 24px;
|
|
6692
|
-
|
|
6693
|
-
margin: 14px auto 16px;
|
|
6689
|
+
margin: 12px 0 14px;
|
|
6694
6690
|
}
|
|
6695
6691
|
|
|
6696
6692
|
.ask-place {
|
|
@@ -6701,8 +6697,8 @@ button.row,
|
|
|
6701
6697
|
min-width: 0;
|
|
6702
6698
|
}
|
|
6703
6699
|
|
|
6704
|
-
.ask-place.at-
|
|
6705
|
-
grid-area:
|
|
6700
|
+
.ask-place.at-who {
|
|
6701
|
+
grid-area: who;
|
|
6706
6702
|
}
|
|
6707
6703
|
|
|
6708
6704
|
.ask-place.at-center {
|
|
@@ -6710,9 +6706,21 @@ button.row,
|
|
|
6710
6706
|
justify-items: center;
|
|
6711
6707
|
}
|
|
6712
6708
|
|
|
6713
|
-
|
|
6714
|
-
|
|
6709
|
+
/* The counts at the side, each its label before its marks on one line, ending at the card's edge. */
|
|
6710
|
+
.ask-place.at-side {
|
|
6711
|
+
grid-area: side;
|
|
6715
6712
|
justify-items: end;
|
|
6713
|
+
gap: 8px;
|
|
6714
|
+
}
|
|
6715
|
+
|
|
6716
|
+
.ask-place.at-side .ask-track {
|
|
6717
|
+
grid-auto-flow: column;
|
|
6718
|
+
align-items: center;
|
|
6719
|
+
gap: 10px;
|
|
6720
|
+
}
|
|
6721
|
+
|
|
6722
|
+
.ask-place.at-side .widget-track-label {
|
|
6723
|
+
text-align: end;
|
|
6716
6724
|
}
|
|
6717
6725
|
|
|
6718
6726
|
.ask-track {
|
|
@@ -6728,8 +6736,39 @@ button.row,
|
|
|
6728
6736
|
hyphens: auto;
|
|
6729
6737
|
}
|
|
6730
6738
|
|
|
6731
|
-
|
|
6732
|
-
|
|
6739
|
+
/* Who acts (D-509): their coin, their name over what they do. */
|
|
6740
|
+
.who-acts {
|
|
6741
|
+
display: flex;
|
|
6742
|
+
align-items: center;
|
|
6743
|
+
gap: 12px;
|
|
6744
|
+
min-width: 0;
|
|
6745
|
+
}
|
|
6746
|
+
|
|
6747
|
+
.who-acts .token {
|
|
6748
|
+
--size: 64px;
|
|
6749
|
+
}
|
|
6750
|
+
|
|
6751
|
+
/* In a widget's card beside the page, a coin as the strip's. */
|
|
6752
|
+
.widget-body .who-acts .token {
|
|
6753
|
+
--size: 44px;
|
|
6754
|
+
}
|
|
6755
|
+
|
|
6756
|
+
.who-acts-words {
|
|
6757
|
+
display: grid;
|
|
6758
|
+
min-width: 0;
|
|
6759
|
+
margin: 0;
|
|
6760
|
+
line-height: 1.25;
|
|
6761
|
+
overflow-wrap: anywhere;
|
|
6762
|
+
}
|
|
6763
|
+
|
|
6764
|
+
.who-acts-name {
|
|
6765
|
+
font-size: 1.05rem;
|
|
6766
|
+
font-weight: 700;
|
|
6767
|
+
}
|
|
6768
|
+
|
|
6769
|
+
.who-acts-does {
|
|
6770
|
+
color: var(--muted);
|
|
6771
|
+
font-size: 0.9rem;
|
|
6733
6772
|
}
|
|
6734
6773
|
|
|
6735
6774
|
.ask-track.good .widget-track-label {
|
|
@@ -6875,495 +6914,199 @@ button.row,
|
|
|
6875
6914
|
font-weight: 600;
|
|
6876
6915
|
}
|
|
6877
6916
|
|
|
6878
|
-
/* The player's own words, as in the master's question, the whole width it may take under the rule. */
|
|
6879
|
-
.ask-own {
|
|
6880
|
-
width: 100%;
|
|
6881
|
-
margin-top: 2px;
|
|
6882
|
-
}
|
|
6883
|
-
|
|
6884
|
-
.ask-own input {
|
|
6885
|
-
text-align: start;
|
|
6886
|
-
}
|
|
6887
|
-
|
|
6888
|
-
.ask-rule {
|
|
6889
|
-
margin: 0;
|
|
6890
|
-
color: var(--muted);
|
|
6891
|
-
font-size: 0.85rem;
|
|
6892
|
-
text-wrap: balance;
|
|
6893
|
-
}
|
|
6894
|
-
|
|
6895
|
-
@media (max-width: 600px) {
|
|
6896
|
-
/* Told, the card scrolls away with the page: the player reads on. */
|
|
6897
|
-
.ask-card.ended {
|
|
6898
|
-
position: relative;
|
|
6899
|
-
top: auto;
|
|
6900
|
-
}
|
|
6901
|
-
|
|
6902
|
-
.ask-stage {
|
|
6903
|
-
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
6904
|
-
grid-template-areas: "center center" "start end";
|
|
6905
|
-
gap: 12px;
|
|
6906
|
-
margin: 10px 0 12px;
|
|
6907
|
-
}
|
|
6908
|
-
|
|
6909
|
-
.ask-track .pip {
|
|
6910
|
-
width: 18px;
|
|
6911
|
-
height: 18px;
|
|
6912
|
-
}
|
|
6913
|
-
|
|
6914
|
-
.ask-track .pips.steps {
|
|
6915
|
-
gap: 6px;
|
|
6916
|
-
}
|
|
6917
|
-
|
|
6918
|
-
.ask-track .pips.steps .pip {
|
|
6919
|
-
width: 14px;
|
|
6920
|
-
height: 30px;
|
|
6921
|
-
}
|
|
6922
|
-
|
|
6923
|
-
.ask-roll {
|
|
6924
|
-
width: 100%;
|
|
6925
|
-
min-width: 0;
|
|
6926
|
-
}
|
|
6927
|
-
|
|
6928
|
-
/* Two choices side by side, their names over their notes. */
|
|
6929
|
-
.ask-choices:has(> :nth-child(2)) {
|
|
6930
|
-
display: grid;
|
|
6931
|
-
grid-auto-flow: column;
|
|
6932
|
-
grid-auto-columns: minmax(0, 1fr);
|
|
6933
|
-
gap: 8px;
|
|
6934
|
-
}
|
|
6935
|
-
|
|
6936
|
-
.ask-choices:has(> :nth-child(2)) > :is(.ask-roll, .ask-leave) {
|
|
6937
|
-
display: grid;
|
|
6938
|
-
justify-items: center;
|
|
6939
|
-
align-content: center;
|
|
6940
|
-
gap: 0;
|
|
6941
|
-
min-width: 0;
|
|
6942
|
-
min-height: 56px;
|
|
6943
|
-
padding: 6px 8px;
|
|
6944
|
-
line-height: 1.2;
|
|
6945
|
-
}
|
|
6946
|
-
|
|
6947
|
-
.ask-choices:has(> :nth-child(2)) .die-icons {
|
|
6948
|
-
display: none;
|
|
6949
|
-
}
|
|
6950
|
-
|
|
6951
|
-
.ask-choices:has(> :nth-child(2)) .ask-note {
|
|
6952
|
-
font-size: 0.85rem;
|
|
6953
|
-
}
|
|
6954
|
-
|
|
6955
|
-
.ask-outcome {
|
|
6956
|
-
font-size: 1.4rem;
|
|
6957
|
-
}
|
|
6958
|
-
}
|
|
6959
|
-
|
|
6960
|
-
/* The marks move only for who wants it, and never make the player wait: the choices can be pressed as they come. While the roll is asked, the marks it may
|
|
6961
|
-
light breathe; lit by the dice, one after the other in their order; gone out from the last, falling a little; a failed one struck with a shake; a pip
|
|
6962
|
-
spent leaves a ring. Reduced, the states are simply there. */
|
|
6963
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
6964
|
-
.ask-card.asking .pip.coming {
|
|
6965
|
-
animation: ask-breathe 1.6s var(--ease) infinite alternate;
|
|
6966
|
-
}
|
|
6967
|
-
|
|
6968
|
-
.ask-track .pip.lit {
|
|
6969
|
-
animation: dying-pop var(--short) var(--ease-bounce) calc(var(--step, 0) * var(--quick) / 2) both;
|
|
6970
|
-
}
|
|
6971
|
-
|
|
6972
|
-
.ask-track .pip.out {
|
|
6973
|
-
animation: ask-out var(--short) var(--ease-in) calc(var(--step, 0) * var(--quick) / 3) both;
|
|
6974
|
-
}
|
|
6975
|
-
|
|
6976
|
-
.ask-track .pip.struck {
|
|
6977
|
-
animation: ask-struck var(--short) var(--ease-out) both;
|
|
6978
|
-
}
|
|
6979
|
-
|
|
6980
|
-
.ask-track .pips:not(.steps) .pip.out::after {
|
|
6981
|
-
content: "";
|
|
6982
|
-
position: absolute;
|
|
6983
|
-
inset: -6px;
|
|
6984
|
-
border: 2px solid var(--mark, var(--accent));
|
|
6985
|
-
border-radius: inherit;
|
|
6986
|
-
animation: dying-ring var(--long) var(--ease-out) both;
|
|
6987
|
-
}
|
|
6988
|
-
|
|
6989
|
-
.ask-card .ask-outcome {
|
|
6990
|
-
animation: dying-word var(--medium) var(--ease-out) both;
|
|
6991
|
-
}
|
|
6992
|
-
}
|
|
6993
|
-
|
|
6994
|
-
@keyframes ask-breathe {
|
|
6995
|
-
from {
|
|
6996
|
-
opacity: 0.5;
|
|
6997
|
-
}
|
|
6998
|
-
|
|
6999
|
-
to {
|
|
7000
|
-
opacity: 1;
|
|
7001
|
-
}
|
|
7002
|
-
}
|
|
7003
|
-
|
|
7004
|
-
@keyframes ask-out {
|
|
7005
|
-
from {
|
|
7006
|
-
background-color: var(--mark, var(--accent));
|
|
7007
|
-
}
|
|
7008
|
-
|
|
7009
|
-
50% {
|
|
7010
|
-
opacity: 0.7;
|
|
7011
|
-
transform: translateY(3px);
|
|
7012
|
-
}
|
|
7013
|
-
}
|
|
7014
|
-
|
|
7015
|
-
@keyframes ask-struck {
|
|
7016
|
-
0% {
|
|
7017
|
-
transform: scale(0.6);
|
|
7018
|
-
}
|
|
7019
|
-
|
|
7020
|
-
50% {
|
|
7021
|
-
transform: scale(1.15) translateX(2px);
|
|
7022
|
-
}
|
|
7023
|
-
|
|
7024
|
-
75% {
|
|
7025
|
-
transform: translateX(-2px);
|
|
7026
|
-
}
|
|
7027
|
-
}
|
|
7028
|
-
|
|
7029
|
-
/* The dice of a rest the master asks the player to spend (D-492, ASK-14): a card in the frame of the master's question, which stays while they roll. Who rests
|
|
7030
|
-
and the points the dice give, as a bar that keeps where the rest began; a row for each kind of die with its pips and its button; the dice rolled as chips;
|
|
7031
|
-
the one button that ends it. Wide, the points and the dice side by side; narrow, one under the other. */
|
|
7032
|
-
.spend-card .asked-question {
|
|
7033
|
-
margin-bottom: 12px;
|
|
7034
|
-
}
|
|
7035
|
-
|
|
7036
|
-
.spend-play {
|
|
7037
|
-
display: grid;
|
|
7038
|
-
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
7039
|
-
align-items: start;
|
|
7040
|
-
gap: 12px 24px;
|
|
7041
|
-
max-width: 880px;
|
|
7042
|
-
margin-bottom: 12px;
|
|
7043
|
-
}
|
|
7044
|
-
|
|
7045
|
-
.spend-life {
|
|
7046
|
-
display: grid;
|
|
7047
|
-
grid-template-columns: auto minmax(0, 1fr);
|
|
7048
|
-
align-items: center;
|
|
7049
|
-
gap: 14px;
|
|
7050
|
-
}
|
|
7051
|
-
|
|
7052
|
-
.spend-token .token {
|
|
7053
|
-
--size: 56px;
|
|
7054
|
-
}
|
|
7055
|
-
|
|
7056
|
-
.spend-points {
|
|
7057
|
-
display: grid;
|
|
7058
|
-
gap: 6px;
|
|
7059
|
-
min-width: 0;
|
|
7060
|
-
}
|
|
7061
|
-
|
|
7062
|
-
.spend-points-head {
|
|
7063
|
-
display: flex;
|
|
7064
|
-
flex-wrap: wrap;
|
|
7065
|
-
align-items: baseline;
|
|
7066
|
-
gap: 4px 10px;
|
|
7067
|
-
}
|
|
7068
|
-
|
|
7069
|
-
.spend-points-number {
|
|
7070
|
-
font-variant-numeric: tabular-nums;
|
|
7071
|
-
}
|
|
7072
|
-
|
|
7073
|
-
.spend-points-number b {
|
|
7074
|
-
font-size: 1.6rem;
|
|
7075
|
-
font-weight: 700;
|
|
7076
|
-
line-height: 1;
|
|
7077
|
-
}
|
|
7078
|
-
|
|
7079
|
-
.spend-points-max {
|
|
7080
|
-
color: var(--muted);
|
|
7081
|
-
font-weight: 700;
|
|
7082
|
-
}
|
|
7083
|
-
|
|
7084
|
-
.spend-gain {
|
|
7085
|
-
color: var(--ally);
|
|
7086
|
-
font-weight: 700;
|
|
7087
|
-
font-variant-numeric: tabular-nums;
|
|
7088
|
-
}
|
|
7089
|
-
|
|
7090
|
-
.spend-full {
|
|
7091
|
-
display: inline-flex;
|
|
7092
|
-
align-items: center;
|
|
7093
|
-
gap: 3px;
|
|
7094
|
-
color: var(--muted);
|
|
7095
|
-
font-size: 0.85rem;
|
|
7096
|
-
font-weight: 600;
|
|
7097
|
-
}
|
|
7098
|
-
|
|
7099
|
-
.spend-full svg.icon {
|
|
7100
|
-
width: 16px;
|
|
7101
|
-
height: 16px;
|
|
7102
|
-
color: var(--ally);
|
|
7103
|
-
stroke-width: 2.5;
|
|
7104
|
-
}
|
|
7105
|
-
|
|
7106
|
-
/* Where the rest began, solid; what it gave, the same green lighter in both themes, a notch between them on the side the bar grows to. */
|
|
7107
|
-
.bar.spend-bar {
|
|
7108
|
-
width: 100%;
|
|
7109
|
-
height: 12px;
|
|
7110
|
-
border-radius: var(--radius-s);
|
|
7111
|
-
}
|
|
7112
|
-
|
|
7113
|
-
.spend-bar .spend-now {
|
|
7114
|
-
background: light-dark(color-mix(in srgb, var(--ally) 50%, var(--float)), color-mix(in srgb, var(--ally) 55%, white));
|
|
7115
|
-
}
|
|
7116
|
-
|
|
7117
|
-
.spend-bar .spend-before {
|
|
7118
|
-
border-inline-end: 2px solid var(--float);
|
|
7119
|
-
background: var(--ally);
|
|
7120
|
-
}
|
|
7121
|
-
|
|
7122
|
-
.spend-rows {
|
|
7123
|
-
display: grid;
|
|
7124
|
-
gap: 8px;
|
|
7125
|
-
margin: 0;
|
|
7126
|
-
padding: 0;
|
|
7127
|
-
list-style: none;
|
|
7128
|
-
}
|
|
7129
|
-
|
|
7130
|
-
.spend-row {
|
|
7131
|
-
display: grid;
|
|
7132
|
-
grid-template-columns: minmax(0, 1fr) auto auto;
|
|
7133
|
-
align-items: center;
|
|
7134
|
-
gap: 4px 12px;
|
|
7135
|
-
padding-block: 6px;
|
|
7136
|
-
padding-inline: 12px 6px;
|
|
7137
|
-
border-radius: var(--radius-m);
|
|
7138
|
-
background: var(--panel-2);
|
|
7139
|
-
}
|
|
7140
|
-
|
|
7141
|
-
.spend-row-name {
|
|
7142
|
-
font-weight: 700;
|
|
7143
|
-
}
|
|
7144
|
-
|
|
7145
|
-
.spend-row.out .spend-row-name {
|
|
7146
|
-
color: var(--muted);
|
|
7147
|
-
}
|
|
7148
|
-
|
|
7149
|
-
.spend-pips {
|
|
7150
|
-
gap: 6px;
|
|
7151
|
-
}
|
|
7152
|
-
|
|
7153
|
-
.spend-pips .pip {
|
|
7154
|
-
width: 16px;
|
|
7155
|
-
height: 16px;
|
|
7156
|
-
border-width: 2px;
|
|
7157
|
-
}
|
|
7158
|
-
|
|
7159
|
-
/* The die just spent: a ring around its pip. */
|
|
7160
|
-
.spend-pips .pip.fresh {
|
|
7161
|
-
box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent);
|
|
7162
|
-
}
|
|
7163
|
-
|
|
7164
|
-
.spend-count {
|
|
7165
|
-
color: var(--muted);
|
|
7166
|
-
font-weight: 700;
|
|
7167
|
-
font-variant-numeric: tabular-nums;
|
|
7168
|
-
}
|
|
7169
|
-
|
|
7170
|
-
.spend-roll {
|
|
7171
|
-
/* The die in front hides its lines with the button's gold. */
|
|
7172
|
-
--die-ground: var(--gold);
|
|
7173
|
-
display: inline-flex;
|
|
7174
|
-
align-items: center;
|
|
7175
|
-
justify-content: center;
|
|
7176
|
-
gap: 8px;
|
|
7177
|
-
min-width: 116px;
|
|
7178
|
-
min-height: 44px;
|
|
7179
|
-
padding-block: 6px;
|
|
7180
|
-
padding-inline: 12px 16px;
|
|
7181
|
-
border: 0;
|
|
7182
|
-
border-radius: var(--radius-m);
|
|
7183
|
-
background: var(--gold);
|
|
7184
|
-
color: var(--on-gold);
|
|
7185
|
-
font: inherit;
|
|
7186
|
-
font-weight: 600;
|
|
7187
|
-
box-shadow: var(--raise);
|
|
7188
|
-
cursor: pointer;
|
|
7189
|
-
}
|
|
7190
|
-
|
|
7191
|
-
.spend-roll[aria-disabled="true"] {
|
|
7192
|
-
cursor: default;
|
|
7193
|
-
opacity: 0.55;
|
|
7194
|
-
}
|
|
7195
|
-
|
|
7196
|
-
.spend-roll.sent {
|
|
7197
|
-
opacity: 1;
|
|
7198
|
-
outline: 2px solid var(--accent);
|
|
7199
|
-
outline-offset: 2px;
|
|
7200
|
-
}
|
|
7201
|
-
|
|
7202
|
-
.spend-row.out .spend-roll {
|
|
7203
|
-
--die-ground: transparent;
|
|
7204
|
-
background: transparent;
|
|
7205
|
-
color: var(--muted);
|
|
7206
|
-
box-shadow: inset 0 0 0 1px var(--rule);
|
|
7207
|
-
opacity: 1;
|
|
7208
|
-
}
|
|
7209
|
-
|
|
7210
|
-
.spend-foot {
|
|
7211
|
-
display: flex;
|
|
7212
|
-
flex-wrap: wrap;
|
|
7213
|
-
align-items: center;
|
|
7214
|
-
justify-content: space-between;
|
|
7215
|
-
gap: 10px 16px;
|
|
7216
|
-
max-width: 880px;
|
|
7217
|
-
}
|
|
7218
|
-
|
|
7219
|
-
.spend-hint {
|
|
7220
|
-
margin: 0;
|
|
7221
|
-
color: var(--muted);
|
|
7222
|
-
font-size: 0.85rem;
|
|
7223
|
-
}
|
|
7224
|
-
|
|
7225
|
-
.spend-chips {
|
|
7226
|
-
display: flex;
|
|
7227
|
-
flex-wrap: wrap;
|
|
7228
|
-
gap: 6px 10px;
|
|
7229
|
-
margin: 0;
|
|
7230
|
-
padding: 0;
|
|
7231
|
-
list-style: none;
|
|
7232
|
-
}
|
|
7233
|
-
|
|
7234
|
-
.spend-chip {
|
|
7235
|
-
display: inline-flex;
|
|
7236
|
-
align-items: center;
|
|
7237
|
-
gap: 4px;
|
|
7238
|
-
font-variant-numeric: tabular-nums;
|
|
7239
|
-
}
|
|
7240
|
-
|
|
7241
|
-
.spend-chip .die-chip {
|
|
7242
|
-
box-shadow: inset 0 0 0 1px var(--rule);
|
|
7243
|
-
}
|
|
7244
|
-
|
|
7245
|
-
.spend-chip.fresh .die-chip {
|
|
7246
|
-
box-shadow: inset 0 0 0 2px var(--accent);
|
|
7247
|
-
}
|
|
7248
|
-
|
|
7249
|
-
.spend-chip-adds {
|
|
7250
|
-
color: var(--muted);
|
|
7251
|
-
font-size: 0.85rem;
|
|
7252
|
-
font-weight: 600;
|
|
7253
|
-
}
|
|
7254
|
-
|
|
7255
|
-
.spend-chip-total {
|
|
7256
|
-
font-weight: 700;
|
|
7257
|
-
}
|
|
7258
|
-
|
|
7259
|
-
.spend-done {
|
|
7260
|
-
min-height: 44px;
|
|
7261
|
-
margin-inline-start: auto;
|
|
7262
|
-
padding: 8px 18px;
|
|
7263
|
-
border: 1px solid var(--rule);
|
|
7264
|
-
border-radius: var(--radius-m);
|
|
7265
|
-
background: var(--panel-2);
|
|
7266
|
-
color: var(--ink);
|
|
7267
|
-
font: inherit;
|
|
7268
|
-
font-weight: 600;
|
|
7269
|
-
cursor: pointer;
|
|
7270
|
-
}
|
|
7271
|
-
|
|
7272
|
-
.spend-done[aria-disabled="true"] {
|
|
7273
|
-
cursor: default;
|
|
7274
|
-
opacity: 0.55;
|
|
6917
|
+
/* The player's own words, as in the master's question, the whole width it may take under the rule. */
|
|
6918
|
+
.ask-own {
|
|
6919
|
+
width: 100%;
|
|
6920
|
+
margin-top: 2px;
|
|
7275
6921
|
}
|
|
7276
6922
|
|
|
7277
|
-
|
|
7278
|
-
|
|
7279
|
-
.spend-done {
|
|
7280
|
-
min-width: 8.5em;
|
|
7281
|
-
}
|
|
6923
|
+
.ask-own input {
|
|
6924
|
+
text-align: start;
|
|
7282
6925
|
}
|
|
7283
6926
|
|
|
7284
|
-
|
|
7285
|
-
|
|
7286
|
-
|
|
7287
|
-
|
|
7288
|
-
|
|
7289
|
-
box-shadow: var(--raise);
|
|
6927
|
+
.ask-rule {
|
|
6928
|
+
margin: 0;
|
|
6929
|
+
color: var(--muted);
|
|
6930
|
+
font-size: 0.85rem;
|
|
6931
|
+
text-wrap: balance;
|
|
7290
6932
|
}
|
|
7291
6933
|
|
|
7292
|
-
@media (
|
|
7293
|
-
.
|
|
7294
|
-
|
|
6934
|
+
@media (max-width: 600px) {
|
|
6935
|
+
/* Told, the card scrolls away with the page: the player reads on. */
|
|
6936
|
+
.ask-card.ended {
|
|
6937
|
+
position: relative;
|
|
6938
|
+
top: auto;
|
|
7295
6939
|
}
|
|
7296
6940
|
|
|
7297
|
-
|
|
7298
|
-
|
|
6941
|
+
/* A tinted card stays in sight until the player closes it, closer to its edges. */
|
|
6942
|
+
.ask-card.tinted,
|
|
6943
|
+
.ask-card.tinted.ended {
|
|
6944
|
+
position: sticky;
|
|
6945
|
+
top: calc(var(--top-space) + var(--gap));
|
|
6946
|
+
padding: 12px 14px 14px;
|
|
7299
6947
|
}
|
|
7300
|
-
}
|
|
7301
6948
|
|
|
7302
|
-
|
|
7303
|
-
|
|
7304
|
-
opacity: 0;
|
|
7305
|
-
transform: scale(0.6);
|
|
6949
|
+
.ask-card.tinted .asked-body {
|
|
6950
|
+
gap: 10px;
|
|
7306
6951
|
}
|
|
7307
|
-
}
|
|
7308
6952
|
|
|
7309
|
-
|
|
7310
|
-
.spend-play {
|
|
6953
|
+
.ask-stage {
|
|
7311
6954
|
grid-template-columns: minmax(0, 1fr);
|
|
6955
|
+
grid-template-areas: "who" "center" "side";
|
|
7312
6956
|
gap: 10px;
|
|
7313
|
-
margin
|
|
6957
|
+
margin: 8px 0 10px;
|
|
7314
6958
|
}
|
|
7315
6959
|
|
|
7316
|
-
.
|
|
7317
|
-
|
|
6960
|
+
.who-acts .token {
|
|
6961
|
+
--size: 40px;
|
|
7318
6962
|
}
|
|
7319
6963
|
|
|
7320
|
-
.
|
|
7321
|
-
|
|
6964
|
+
.who-acts-words {
|
|
6965
|
+
display: block;
|
|
7322
6966
|
}
|
|
7323
6967
|
|
|
7324
|
-
.
|
|
7325
|
-
|
|
6968
|
+
.who-acts-does::before {
|
|
6969
|
+
content: " ";
|
|
7326
6970
|
}
|
|
7327
6971
|
|
|
7328
|
-
|
|
7329
|
-
|
|
7330
|
-
|
|
6972
|
+
/* The counts at the side in a row under the middle, from edge to edge; the facts under them. */
|
|
6973
|
+
.ask-place.at-side {
|
|
6974
|
+
display: flex;
|
|
6975
|
+
flex-wrap: wrap;
|
|
6976
|
+
justify-content: space-between;
|
|
6977
|
+
align-items: center;
|
|
6978
|
+
gap: 8px 12px;
|
|
7331
6979
|
}
|
|
7332
6980
|
|
|
7333
|
-
.
|
|
7334
|
-
|
|
7335
|
-
grid-row: 1;
|
|
7336
|
-
font-size: 0.85rem;
|
|
6981
|
+
.ask-place.at-side .ask-facts {
|
|
6982
|
+
flex-basis: 100%;
|
|
7337
6983
|
}
|
|
7338
6984
|
|
|
7339
|
-
.
|
|
7340
|
-
|
|
7341
|
-
|
|
7342
|
-
|
|
6985
|
+
.ask-track .pip {
|
|
6986
|
+
width: 18px;
|
|
6987
|
+
height: 18px;
|
|
6988
|
+
}
|
|
6989
|
+
|
|
6990
|
+
.ask-track .pips.steps {
|
|
6991
|
+
gap: 6px;
|
|
7343
6992
|
}
|
|
7344
6993
|
|
|
7345
|
-
.
|
|
6994
|
+
.ask-track .pips.steps .pip {
|
|
7346
6995
|
width: 14px;
|
|
7347
|
-
height:
|
|
6996
|
+
height: 30px;
|
|
7348
6997
|
}
|
|
7349
6998
|
|
|
7350
|
-
.
|
|
7351
|
-
|
|
7352
|
-
|
|
7353
|
-
min-width: 104px;
|
|
6999
|
+
.ask-roll {
|
|
7000
|
+
width: 100%;
|
|
7001
|
+
min-width: 0;
|
|
7354
7002
|
}
|
|
7355
7003
|
|
|
7356
|
-
.
|
|
7004
|
+
/* Two choices side by side, their names over their notes. */
|
|
7005
|
+
.ask-choices:has(> :nth-child(2)) {
|
|
7006
|
+
display: grid;
|
|
7007
|
+
grid-auto-flow: column;
|
|
7008
|
+
grid-auto-columns: minmax(0, 1fr);
|
|
7357
7009
|
gap: 8px;
|
|
7358
7010
|
}
|
|
7359
7011
|
|
|
7360
|
-
.
|
|
7361
|
-
|
|
7012
|
+
.ask-choices:has(> :nth-child(2)) > :is(.ask-roll, .ask-leave) {
|
|
7013
|
+
display: grid;
|
|
7014
|
+
justify-items: center;
|
|
7015
|
+
align-content: center;
|
|
7016
|
+
gap: 0;
|
|
7017
|
+
min-width: 0;
|
|
7018
|
+
min-height: 56px;
|
|
7019
|
+
padding: 6px 8px;
|
|
7020
|
+
line-height: 1.2;
|
|
7021
|
+
}
|
|
7022
|
+
|
|
7023
|
+
.ask-choices:has(> :nth-child(2)) .die-icons {
|
|
7024
|
+
display: none;
|
|
7362
7025
|
}
|
|
7363
7026
|
|
|
7364
|
-
.
|
|
7027
|
+
.ask-choices:has(> :nth-child(2)) .ask-note {
|
|
7365
7028
|
font-size: 0.85rem;
|
|
7366
7029
|
}
|
|
7030
|
+
|
|
7031
|
+
.ask-outcome {
|
|
7032
|
+
font-size: 1.4rem;
|
|
7033
|
+
}
|
|
7034
|
+
}
|
|
7035
|
+
|
|
7036
|
+
/* The marks move only for who wants it, and never make the player wait: the choices can be pressed as they come. While the roll is asked, the marks it may
|
|
7037
|
+
light breathe; lit by the dice, one after the other in their order; gone out from the last, falling a little; a failed one struck with a shake; a pip
|
|
7038
|
+
spent leaves a ring. Reduced, the states are simply there. */
|
|
7039
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
7040
|
+
.ask-card.asking .pip.coming {
|
|
7041
|
+
animation: ask-breathe 1.6s var(--ease) infinite alternate;
|
|
7042
|
+
}
|
|
7043
|
+
|
|
7044
|
+
.ask-track .pip.lit {
|
|
7045
|
+
animation: mark-pop var(--short) var(--ease-bounce) calc(var(--step, 0) * var(--quick) / 2) both;
|
|
7046
|
+
}
|
|
7047
|
+
|
|
7048
|
+
.ask-track .pip.out {
|
|
7049
|
+
animation: ask-out var(--short) var(--ease-in) calc(var(--step, 0) * var(--quick) / 3) both;
|
|
7050
|
+
}
|
|
7051
|
+
|
|
7052
|
+
.ask-track .pip.struck {
|
|
7053
|
+
animation: ask-struck var(--short) var(--ease-out) both;
|
|
7054
|
+
}
|
|
7055
|
+
|
|
7056
|
+
.ask-track .pips:not(.steps) .pip.out::after {
|
|
7057
|
+
content: "";
|
|
7058
|
+
position: absolute;
|
|
7059
|
+
inset: -6px;
|
|
7060
|
+
border: 2px solid var(--mark, var(--accent));
|
|
7061
|
+
border-radius: inherit;
|
|
7062
|
+
animation: mark-ring var(--long) var(--ease-out) both;
|
|
7063
|
+
}
|
|
7064
|
+
|
|
7065
|
+
.ask-card .ask-outcome {
|
|
7066
|
+
animation: word-rise var(--medium) var(--ease-out) both;
|
|
7067
|
+
}
|
|
7068
|
+
}
|
|
7069
|
+
|
|
7070
|
+
@keyframes ask-breathe {
|
|
7071
|
+
from {
|
|
7072
|
+
opacity: 0.5;
|
|
7073
|
+
}
|
|
7074
|
+
|
|
7075
|
+
to {
|
|
7076
|
+
opacity: 1;
|
|
7077
|
+
}
|
|
7078
|
+
}
|
|
7079
|
+
|
|
7080
|
+
@keyframes ask-out {
|
|
7081
|
+
from {
|
|
7082
|
+
background-color: var(--mark, var(--accent));
|
|
7083
|
+
}
|
|
7084
|
+
|
|
7085
|
+
50% {
|
|
7086
|
+
opacity: 0.7;
|
|
7087
|
+
transform: translateY(3px);
|
|
7088
|
+
}
|
|
7089
|
+
}
|
|
7090
|
+
|
|
7091
|
+
@keyframes ask-struck {
|
|
7092
|
+
0% {
|
|
7093
|
+
transform: scale(0.6);
|
|
7094
|
+
}
|
|
7095
|
+
|
|
7096
|
+
50% {
|
|
7097
|
+
transform: scale(1.15) translateX(2px);
|
|
7098
|
+
}
|
|
7099
|
+
|
|
7100
|
+
75% {
|
|
7101
|
+
transform: translateX(-2px);
|
|
7102
|
+
}
|
|
7103
|
+
}
|
|
7104
|
+
|
|
7105
|
+
/* The dice of a rest asked with no package's card (ASK-14): what they give, over a button for each counter of dice. */
|
|
7106
|
+
.asked-gives {
|
|
7107
|
+
margin: 0 0 8px;
|
|
7108
|
+
font-weight: 600;
|
|
7109
|
+
font-variant-numeric: tabular-nums;
|
|
7367
7110
|
}
|
|
7368
7111
|
|
|
7369
7112
|
/* A number of the sheet the master asks a check of (D-330, ASK-12): lit in gold, breathing unless motion is reduced; a click answers the check. */
|
|
@@ -7742,7 +7485,6 @@ summary.fixed {
|
|
|
7742
7485
|
cursor: pointer;
|
|
7743
7486
|
}
|
|
7744
7487
|
|
|
7745
|
-
|
|
7746
7488
|
.rolls-none {
|
|
7747
7489
|
margin: 0 0 8px;
|
|
7748
7490
|
color: var(--muted);
|
|
@@ -8031,7 +7773,6 @@ summary.fixed {
|
|
|
8031
7773
|
gap: 2px 8px;
|
|
8032
7774
|
}
|
|
8033
7775
|
|
|
8034
|
-
|
|
8035
7776
|
.plate-tag {
|
|
8036
7777
|
padding: 1px 6px;
|
|
8037
7778
|
border: 1px dashed var(--muted);
|
|
@@ -8647,7 +8388,6 @@ svg.icon {
|
|
|
8647
8388
|
font-size: 0.8rem;
|
|
8648
8389
|
}
|
|
8649
8390
|
|
|
8650
|
-
|
|
8651
8391
|
.tray-note .icon-button {
|
|
8652
8392
|
width: 36px;
|
|
8653
8393
|
height: 36px;
|
|
@@ -8964,7 +8704,7 @@ svg.icon {
|
|
|
8964
8704
|
}
|
|
8965
8705
|
|
|
8966
8706
|
.top-place,
|
|
8967
|
-
.top .sections
|
|
8707
|
+
.top .sections .page-link,
|
|
8968
8708
|
.theme-corner {
|
|
8969
8709
|
display: none;
|
|
8970
8710
|
}
|
|
@@ -9004,6 +8744,18 @@ svg.icon {
|
|
|
9004
8744
|
color: var(--ink);
|
|
9005
8745
|
}
|
|
9006
8746
|
|
|
8747
|
+
/* A package's tab in the bar as a section, its title cut short to its share of the bar. */
|
|
8748
|
+
.top .main-nav a {
|
|
8749
|
+
min-width: 0;
|
|
8750
|
+
}
|
|
8751
|
+
|
|
8752
|
+
.top .main-nav .section-name {
|
|
8753
|
+
max-width: 100%;
|
|
8754
|
+
overflow: hidden;
|
|
8755
|
+
text-overflow: ellipsis;
|
|
8756
|
+
padding-inline: 2px;
|
|
8757
|
+
}
|
|
8758
|
+
|
|
9007
8759
|
.top .main-nav .section-mark {
|
|
9008
8760
|
width: 52px;
|
|
9009
8761
|
height: 30px;
|
|
@@ -9036,7 +8788,6 @@ svg.icon {
|
|
|
9036
8788
|
display: block;
|
|
9037
8789
|
}
|
|
9038
8790
|
|
|
9039
|
-
|
|
9040
8791
|
.line-value {
|
|
9041
8792
|
min-width: 0;
|
|
9042
8793
|
height: auto;
|
|
@@ -10097,7 +9848,7 @@ svg.icon {
|
|
|
10097
9848
|
justify-content: end;
|
|
10098
9849
|
}
|
|
10099
9850
|
|
|
10100
|
-
.turns-card.on-table .turn-main > :is(.keeping, .
|
|
9851
|
+
.turns-card.on-table .turn-main > :is(.keeping, .person-panel) {
|
|
10101
9852
|
grid-column: 1 / -1;
|
|
10102
9853
|
}
|
|
10103
9854
|
|
|
@@ -10170,9 +9921,9 @@ svg.icon {
|
|
|
10170
9921
|
font-size: 0.8rem;
|
|
10171
9922
|
}
|
|
10172
9923
|
|
|
10173
|
-
/* The panel of the
|
|
10174
|
-
|
|
10175
|
-
.
|
|
9924
|
+
/* The panel of a package's widget on one of the party at 0 (D-461, D-516), as the 5e's death saves: the good counts on one side, the bad ones on the other,
|
|
9925
|
+
the package's figure and the word between them, tinted by where they stand: red by a bad tone, green by a good one, grey dead. */
|
|
9926
|
+
.person-panel {
|
|
10176
9927
|
--tint: var(--low);
|
|
10177
9928
|
display: grid;
|
|
10178
9929
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
@@ -10185,72 +9936,100 @@ svg.icon {
|
|
|
10185
9936
|
background: color-mix(in srgb, var(--tint) 9%, transparent);
|
|
10186
9937
|
}
|
|
10187
9938
|
|
|
10188
|
-
.
|
|
9939
|
+
.person-panel.stable {
|
|
10189
9940
|
--tint: var(--ally);
|
|
10190
9941
|
}
|
|
10191
9942
|
|
|
10192
|
-
.
|
|
9943
|
+
.person-panel.dead {
|
|
9944
|
+
--tint: var(--muted);
|
|
9945
|
+
}
|
|
9946
|
+
|
|
9947
|
+
/* Its lead's word at a lead's size without a figure, quiet without a tone; with one side only, the word beside it, the two in the middle. */
|
|
9948
|
+
.person-panel.quiet {
|
|
10193
9949
|
--tint: var(--muted);
|
|
10194
9950
|
}
|
|
10195
9951
|
|
|
10196
|
-
.
|
|
9952
|
+
.person-panel:not(.compact, .figured) .person-word {
|
|
9953
|
+
font-size: 1.25rem;
|
|
9954
|
+
}
|
|
9955
|
+
|
|
9956
|
+
.person-panel.quiet .person-word,
|
|
9957
|
+
.member-state.quiet {
|
|
9958
|
+
color: var(--ink);
|
|
9959
|
+
}
|
|
9960
|
+
|
|
9961
|
+
.person-panel.one-side:not(.compact) {
|
|
9962
|
+
display: flex;
|
|
9963
|
+
flex-wrap: wrap;
|
|
9964
|
+
justify-content: center;
|
|
9965
|
+
align-items: center;
|
|
9966
|
+
gap: 12px 32px;
|
|
9967
|
+
}
|
|
9968
|
+
|
|
9969
|
+
/* A package's figure over the word, as the 5e's line of the heart: a band the width of the middle and as tall as a line; short in a row of the turns. */
|
|
9970
|
+
.person-panel .ext-figure {
|
|
9971
|
+
width: 100%;
|
|
9972
|
+
height: 34px;
|
|
9973
|
+
aspect-ratio: auto;
|
|
9974
|
+
}
|
|
9975
|
+
|
|
9976
|
+
.person-panel.compact .ext-figure {
|
|
9977
|
+
width: 34px;
|
|
9978
|
+
height: 14px;
|
|
9979
|
+
}
|
|
9980
|
+
|
|
9981
|
+
.band .person-panel {
|
|
10197
9982
|
flex-basis: 100%;
|
|
10198
9983
|
}
|
|
10199
9984
|
|
|
10200
|
-
.
|
|
9985
|
+
.person-middle {
|
|
10201
9986
|
display: grid;
|
|
10202
9987
|
justify-items: center;
|
|
10203
9988
|
gap: 2px;
|
|
10204
9989
|
min-width: 0;
|
|
10205
9990
|
}
|
|
10206
9991
|
|
|
10207
|
-
.
|
|
10208
|
-
position: static;
|
|
10209
|
-
width: 100%;
|
|
10210
|
-
height: 34px;
|
|
10211
|
-
}
|
|
10212
|
-
|
|
10213
|
-
.death-word {
|
|
9992
|
+
.person-word {
|
|
10214
9993
|
color: var(--low);
|
|
10215
9994
|
font-weight: 700;
|
|
10216
9995
|
}
|
|
10217
9996
|
|
|
10218
|
-
.
|
|
9997
|
+
.person-panel.stable .person-word {
|
|
10219
9998
|
color: var(--ally);
|
|
10220
9999
|
}
|
|
10221
10000
|
|
|
10222
|
-
.
|
|
10001
|
+
.person-panel .person-mark {
|
|
10223
10002
|
width: 22px;
|
|
10224
10003
|
height: 22px;
|
|
10225
10004
|
}
|
|
10226
10005
|
|
|
10227
|
-
.
|
|
10006
|
+
.person-panel.dead .person-mark {
|
|
10228
10007
|
opacity: 0.55;
|
|
10229
10008
|
}
|
|
10230
10009
|
|
|
10231
10010
|
/* Narrow, in the card at hand beside the map or on a phone: the two sides above, the line and the word under them. */
|
|
10232
|
-
.at-hand .
|
|
10011
|
+
.at-hand .person-panel {
|
|
10233
10012
|
grid-template-columns: 1fr 1fr;
|
|
10234
10013
|
}
|
|
10235
10014
|
|
|
10236
|
-
.at-hand .
|
|
10015
|
+
.at-hand .person-middle {
|
|
10237
10016
|
grid-row: 2;
|
|
10238
10017
|
grid-column: 1 / -1;
|
|
10239
10018
|
}
|
|
10240
10019
|
|
|
10241
10020
|
@media (max-width: 600px) {
|
|
10242
|
-
.band .
|
|
10021
|
+
.band .person-panel {
|
|
10243
10022
|
grid-template-columns: 1fr 1fr;
|
|
10244
10023
|
}
|
|
10245
10024
|
|
|
10246
|
-
.band .
|
|
10025
|
+
.band .person-middle {
|
|
10247
10026
|
grid-row: 2;
|
|
10248
10027
|
grid-column: 1 / -1;
|
|
10249
10028
|
}
|
|
10250
10029
|
}
|
|
10251
10030
|
|
|
10252
10031
|
/* In a row of the turns, one line: the marks small, the line short, the word after them. */
|
|
10253
|
-
.
|
|
10032
|
+
.person-panel.compact {
|
|
10254
10033
|
display: flex;
|
|
10255
10034
|
flex-wrap: wrap;
|
|
10256
10035
|
gap: 6px 8px;
|
|
@@ -10259,32 +10038,27 @@ svg.icon {
|
|
|
10259
10038
|
background: none;
|
|
10260
10039
|
}
|
|
10261
10040
|
|
|
10262
|
-
.
|
|
10041
|
+
.person-panel.compact .person-label {
|
|
10263
10042
|
display: none;
|
|
10264
10043
|
}
|
|
10265
10044
|
|
|
10266
|
-
.
|
|
10045
|
+
.person-panel.compact .person-marks {
|
|
10267
10046
|
gap: 4px;
|
|
10268
10047
|
}
|
|
10269
10048
|
|
|
10270
|
-
.
|
|
10049
|
+
.person-panel.compact .person-mark {
|
|
10271
10050
|
width: 14px;
|
|
10272
10051
|
height: 14px;
|
|
10273
10052
|
}
|
|
10274
10053
|
|
|
10275
|
-
.
|
|
10054
|
+
.person-panel.compact .person-middle {
|
|
10276
10055
|
display: flex;
|
|
10277
10056
|
align-items: center;
|
|
10278
10057
|
gap: 8px;
|
|
10279
10058
|
order: 3;
|
|
10280
10059
|
}
|
|
10281
10060
|
|
|
10282
|
-
.
|
|
10283
|
-
width: 34px;
|
|
10284
|
-
height: 14px;
|
|
10285
|
-
}
|
|
10286
|
-
|
|
10287
|
-
.death-saves.compact .death-word {
|
|
10061
|
+
.person-panel.compact .person-word {
|
|
10288
10062
|
font-size: 0.8rem;
|
|
10289
10063
|
}
|
|
10290
10064
|
|
|
@@ -10312,7 +10086,7 @@ svg.icon {
|
|
|
10312
10086
|
/* The skull is drawn filled, its eyes, nose and teeth holes in it, to read at 12 pixels. */
|
|
10313
10087
|
.token .status-pip svg path.filled,
|
|
10314
10088
|
.status-icon svg path.filled,
|
|
10315
|
-
.
|
|
10089
|
+
.person-skull path {
|
|
10316
10090
|
fill: currentColor;
|
|
10317
10091
|
stroke: none;
|
|
10318
10092
|
fill-rule: evenodd;
|
|
@@ -10322,7 +10096,7 @@ svg.icon {
|
|
|
10322
10096
|
fill: var(--pip-ink);
|
|
10323
10097
|
}
|
|
10324
10098
|
|
|
10325
|
-
.
|
|
10099
|
+
.person-skull {
|
|
10326
10100
|
width: 1em;
|
|
10327
10101
|
height: 1em;
|
|
10328
10102
|
margin-inline-end: 0.3em;
|
|
@@ -10344,7 +10118,7 @@ svg.icon {
|
|
|
10344
10118
|
--tint: var(--ally);
|
|
10345
10119
|
}
|
|
10346
10120
|
|
|
10347
|
-
.member-
|
|
10121
|
+
.member-state {
|
|
10348
10122
|
display: grid;
|
|
10349
10123
|
gap: 2px;
|
|
10350
10124
|
color: var(--low);
|
|
@@ -10352,7 +10126,7 @@ svg.icon {
|
|
|
10352
10126
|
font-weight: 700;
|
|
10353
10127
|
}
|
|
10354
10128
|
|
|
10355
|
-
.member-
|
|
10129
|
+
.member-state.stable {
|
|
10356
10130
|
color: var(--ally);
|
|
10357
10131
|
}
|
|
10358
10132
|
|
|
@@ -10399,7 +10173,7 @@ svg.icon {
|
|
|
10399
10173
|
align-self: stretch;
|
|
10400
10174
|
}
|
|
10401
10175
|
|
|
10402
|
-
.at-hand:has(.
|
|
10176
|
+
.at-hand:has(.person-panel) {
|
|
10403
10177
|
padding-bottom: 14px;
|
|
10404
10178
|
}
|
|
10405
10179
|
|
|
@@ -12496,7 +12270,6 @@ svg.icon {
|
|
|
12496
12270
|
stroke-width: 3;
|
|
12497
12271
|
}
|
|
12498
12272
|
|
|
12499
|
-
|
|
12500
12273
|
.lm-wall-under {
|
|
12501
12274
|
fill: #dccfb6;
|
|
12502
12275
|
}
|
|
@@ -13621,47 +13394,6 @@ svg.icon {
|
|
|
13621
13394
|
border-top: 0;
|
|
13622
13395
|
}
|
|
13623
13396
|
|
|
13624
|
-
/* The death save's card on a phone (D-461): the portrait over the two sides, the line left out, the button the whole width. */
|
|
13625
|
-
@media (max-width: 600px) {
|
|
13626
|
-
.dying-card {
|
|
13627
|
-
gap: 10px;
|
|
13628
|
-
padding: 12px 14px 14px;
|
|
13629
|
-
}
|
|
13630
|
-
|
|
13631
|
-
.dying-card .dying-life {
|
|
13632
|
-
grid-template-columns: 1fr 1fr;
|
|
13633
|
-
min-height: 0;
|
|
13634
|
-
}
|
|
13635
|
-
|
|
13636
|
-
.dying-card .dying-line {
|
|
13637
|
-
display: none;
|
|
13638
|
-
}
|
|
13639
|
-
|
|
13640
|
-
.dying-card .dying-token {
|
|
13641
|
-
grid-column: 1 / -1;
|
|
13642
|
-
grid-row: 1;
|
|
13643
|
-
justify-self: center;
|
|
13644
|
-
width: 84px;
|
|
13645
|
-
height: 84px;
|
|
13646
|
-
}
|
|
13647
|
-
|
|
13648
|
-
.dying-card .dying-token .token {
|
|
13649
|
-
--size: 74px;
|
|
13650
|
-
}
|
|
13651
|
-
|
|
13652
|
-
.dying-card .dying-side {
|
|
13653
|
-
grid-row: 2;
|
|
13654
|
-
}
|
|
13655
|
-
|
|
13656
|
-
.dying-card .dying-roll {
|
|
13657
|
-
width: 100%;
|
|
13658
|
-
}
|
|
13659
|
-
|
|
13660
|
-
.dying-card .dying-word {
|
|
13661
|
-
font-size: 1.35rem;
|
|
13662
|
-
}
|
|
13663
|
-
}
|
|
13664
|
-
|
|
13665
13397
|
/* The Packages section (D-485, D-486): Add with the catalog under it, then what is here by kind; a row for each package. */
|
|
13666
13398
|
.packages-lead {
|
|
13667
13399
|
margin: -6px 0 0;
|
|
@@ -14261,6 +13993,41 @@ svg.icon {
|
|
|
14261
13993
|
color: var(--ink);
|
|
14262
13994
|
}
|
|
14263
13995
|
|
|
13996
|
+
/* What a package's latest needs of the engine (D-515 (2)), under its meta: the words in --muted, the way to the engine's card in the accent. */
|
|
13997
|
+
.package-needs {
|
|
13998
|
+
display: flex;
|
|
13999
|
+
flex-wrap: wrap;
|
|
14000
|
+
align-items: center;
|
|
14001
|
+
gap: 0 8px;
|
|
14002
|
+
color: var(--muted);
|
|
14003
|
+
font-size: 0.8rem;
|
|
14004
|
+
overflow-wrap: anywhere;
|
|
14005
|
+
}
|
|
14006
|
+
|
|
14007
|
+
.package-needs .package-see {
|
|
14008
|
+
min-height: 28px;
|
|
14009
|
+
}
|
|
14010
|
+
|
|
14011
|
+
/* The engine installed (D-515 (3)): what to do for the master to use it, framed in the accent as what to know, its steps numbered. */
|
|
14012
|
+
.package-restart {
|
|
14013
|
+
padding: 10px 12px;
|
|
14014
|
+
border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--rule));
|
|
14015
|
+
border-radius: var(--radius-m);
|
|
14016
|
+
background: color-mix(in srgb, var(--accent) 10%, var(--panel));
|
|
14017
|
+
}
|
|
14018
|
+
|
|
14019
|
+
.package-restart p + p {
|
|
14020
|
+
font-weight: 400;
|
|
14021
|
+
}
|
|
14022
|
+
|
|
14023
|
+
.package-restart ol {
|
|
14024
|
+
display: grid;
|
|
14025
|
+
gap: 2px;
|
|
14026
|
+
margin: 2px 0 0;
|
|
14027
|
+
padding-inline-start: 1.4em;
|
|
14028
|
+
font-weight: 400;
|
|
14029
|
+
}
|
|
14030
|
+
|
|
14264
14031
|
/* The library (D-491 (13)): first, in the accent, that a folder is added once to the computer and turned on in each campaign. */
|
|
14265
14032
|
.library-scope {
|
|
14266
14033
|
display: flex;
|