From 5cc56bcfbd8242cee00737ab0bcffea95b75aade Mon Sep 17 00:00:00 2001 From: osmarks Date: Sun, 18 May 2025 18:23:29 +0100 Subject: [PATCH] fix small-screen behaviour --- blog/autocrafting-algorithms.md | 2 +- src/style.sass | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/blog/autocrafting-algorithms.md b/blog/autocrafting-algorithms.md index 74a20ba..fc53e1a 100644 --- a/blog/autocrafting-algorithms.md +++ b/blog/autocrafting-algorithms.md @@ -127,7 +127,7 @@ We can easily imagine tracking the time taken to run a recipe on a machine autom There is a further issue: randomness. Sometimes - mostly with "raw material" operations such as pulverizing ores or growing crops - outputs are produced nondeterministically some fraction of the time. This makes exact forward planning of recipe execution completely impossible, though in principle you could assume, say, the 95th percentile cost and rerun the random part until it works. In practice, most people run these as part of "always-on" systems which build up stockpiles (e.g. [this](https://guide.appliedenergistics.org/1.20.4/example-setups/recursive-crafting-setup)), or assume that the recipe will run enough as part of deterministic queries. -Does this have any other practical applications? Not that I know of - I am not sure this even turns up in games outside of modded Minecraft[^7]. This is apparently related to [Petri](https://en.wikipedia.org/wiki/Petri_net) [nets](https://isr.umd.edu/Labs/CIM/miscs/wmsor97.pdf), though I haven't paid enough attention to them to see why, as well as (much more obviously) to [vector addition systems](https://en.wikipedia.org/wiki/Vector_addition_system) and [commutative](https://www.sciencedirect.com/science/article/pii/S0019995883800229) [grammars](/assets/misc/commutative_grammars.pdf). +Does this have any other practical applications? Not that I know of - I am not sure this even turns up in games outside of modded Minecraft[^7]. This is apparently related to [Petri](https://en.wikipedia.org/wiki/Petri_net) [nets](https://isr.umd.edu/Labs/CIM/miscs/wmsor97.pdf), though I haven't paid enough attention to them to see why, as well as (much more obviously) to [vector addition systems](https://en.wikipedia.org/wiki/Vector_addition_system) and [commutative](https://www.sciencedirect.com/science/article/pii/S0019995883800229) [grammars](/assets/misc/commutative_grammars.pdf). I am told that this is also equivalent to finding proofs in linear logic. [^1]: We could equivalently repeat steps rather than giving them a quantity, but real implementations don't usually do that, for efficiency. diff --git a/src/style.sass b/src/style.sass index 9a2e24e..ba85695 100644 --- a/src/style.sass +++ b/src/style.sass @@ -223,7 +223,7 @@ blockquote > * width: calc(100vw - 2 * $content-margin) max-width: 80em - min-width: calc(40rem - 2 * $content-margin) + //min-width: calc(40rem - 2 * $content-margin) position: relative z-index: 1 @@ -270,6 +270,7 @@ blockquote box-sizing: border-box list-style-type: none display: block !important + z-index: 2 @media (min-width: calc(4 * $content-margin + $content-width + $sidenotes-width + $navbar-width)) // fullwidth 3-pane layout