diff --git a/README.md b/README.md index ebcd011..ceffb2b 100644 --- a/README.md +++ b/README.md @@ -10,12 +10,12 @@ the same code, look and tab row as every house. This repository holds the built ## Change the site -The content lives in the generator repository, `houses/boringquantsystems/site.json`, with its -public list in `houses/boringquantsystems/allow.json`. Build it into this repository and open a -pull request: +The content lives in the generator repository, machine-made/machine-made.github.io: +`houses/boringquantsystems/site.json`, with its public list in `houses/boringquantsystems/allow.json`. From a +checkout of that repository, build the site into a checkout of this one and open a pull request here: ``` -sh publish.sh boringquantsystems ../boringquantsystems.github.io +sh publish.sh boringquantsystems "PATH_TO_THIS_CHECKOUT" ``` Do not edit `docs/` by hand. @@ -26,4 +26,4 @@ Source: `main`, folder `/docs`. ## Licence -Apache-2.0. See [LICENSE](LICENSE). The fonts in `docs/fonts/` stay under the SIL Open Font License 1.1. See `docs/fonts/mm-sans-OFL.txt` and `docs/fonts/mm-weft-OFL.txt`. +Apache-2.0. See [LICENSE](LICENSE). The fonts in `docs/fonts/` stay under the SIL Open Font License 1.1. See `docs/fonts/mm-warp-OFL.txt` and `docs/fonts/mm-weft-OFL.txt`. diff --git a/docs/fonts/eb-garamond-400.woff2 b/docs/fonts/eb-garamond-400.woff2 deleted file mode 100644 index b51664d..0000000 Binary files a/docs/fonts/eb-garamond-400.woff2 and /dev/null differ diff --git a/docs/fonts/eb-garamond-OFL.txt b/docs/fonts/mm-warp-OFL.txt similarity index 94% rename from docs/fonts/eb-garamond-OFL.txt rename to docs/fonts/mm-warp-OFL.txt index da3ca89..f09aee4 100644 --- a/docs/fonts/eb-garamond-OFL.txt +++ b/docs/fonts/mm-warp-OFL.txt @@ -1,8 +1,9 @@ -Copyright 2017 The EB Garamond Project Authors (https://github.com/octaviopardo/EBGaramond12) EBGaramond-Italic[wght].ttf: Copyright 2017 The EB Garamond Project Authors (https://github.com/octaviopardo/EBGaramond12) +Copyright 2026 The machine-made Warp Project Authors (https://github.com/machine-made/type), +with Reserved Font Name "machine-made". This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is copied below, and is also available with a FAQ at: -http://scripts.sil.org/OFL +https://openfontlicense.org ----------------------------------------------------------- @@ -18,7 +19,7 @@ with others. The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The -fonts, including any derivative works, can be bundled, embedded, +fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The diff --git a/docs/fonts/mm-warp-italic.woff2 b/docs/fonts/mm-warp-italic.woff2 new file mode 100644 index 0000000..de5ab8f Binary files /dev/null and b/docs/fonts/mm-warp-italic.woff2 differ diff --git a/docs/fonts/mm-warp-regular.woff2 b/docs/fonts/mm-warp-regular.woff2 new file mode 100644 index 0000000..892fb42 Binary files /dev/null and b/docs/fonts/mm-warp-regular.woff2 differ diff --git a/docs/fonts/mm-weft.woff2 b/docs/fonts/mm-weft.woff2 index 496b375..b32fe74 100644 Binary files a/docs/fonts/mm-weft.woff2 and b/docs/fonts/mm-weft.woff2 differ diff --git a/docs/index.html b/docs/index.html index 292b88e..422d5a4 100644 --- a/docs/index.html +++ b/docs/index.html @@ -8,8 +8,17 @@ + + + + + + + + + - + @@ -18,7 +27,8 @@

@@ -30,7 +40,7 @@

Engines

diff --git a/docs/llms.txt b/docs/llms.txt index f4ad174..85cbf7a 100644 --- a/docs/llms.txt +++ b/docs/llms.txt @@ -13,3 +13,4 @@ The best systems are the ones nobody talks about. BoringQuantSystems aims to be - [machine-made](https://machine-made.github.io/) - [openfluids](https://openfluids.github.io/) - [BoringQuantSystems](https://boringquantsystems.github.io/) +- [type](https://machine-made.github.io/type/) diff --git a/docs/style.css b/docs/style.css index 0f1293c..1f12f03 100644 --- a/docs/style.css +++ b/docs/style.css @@ -1,6 +1,7 @@ @font-face{font-family:"machine-made Weft";src:url(fonts/mm-weft.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap} -@font-face{font-family:"EB Garamond";src:url(fonts/eb-garamond-400.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap} -:root{--bg:#050507;--fg:#ecebe6;--muted:#8b8b90;--accent:#3ddc97;--edge:#1e1e20;--font:"EB Garamond", Georgia, "Times New Roman", serif;--mono:"machine-made Weft", ui-monospace, "SF Mono", Menlo, Consolas, monospace;--fs:1.125rem;--ls:1.6875rem;} +@font-face{font-family:"machine-made Warp";src:url(fonts/mm-warp-regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap} +@font-face{font-family:"machine-made Warp";src:url(fonts/mm-warp-italic.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap} +:root{--bg:#050507;--fg:#ecebe6;--muted:#8b8b90;--accent:#3ddc97;--edge:#1e1e20;--font:"machine-made Warp", serif;--mono:"machine-made Weft", ui-monospace, monospace;--ws:normal;--fs:1rem;--ls:1.5rem;} /* The colours, the fonts and the sizes of a house come first (:root). */ :root { @@ -92,7 +93,8 @@ a:focus-visible { margin-inline: auto; } -/* The top bar: the three sites. Weft sets it on every house. */ +/* The top bar: the three sites and the type site. Weft sets it on every house. The current site is + marked and is not a link. */ .bar { display: flex; flex-wrap: wrap; @@ -102,18 +104,29 @@ a:focus-visible { letter-spacing: 0.04em; } -.bar a { +.bar a, +.bar span { + display: inline-flex; + align-items: center; padding-block: 6px; color: var(--muted); overflow-wrap: anywhere; } -.bar a[aria-current="page"] { +.bar [aria-current="page"] { color: var(--fg); text-decoration: underline 2px var(--accent); text-underline-offset: 6px; } +/* On a narrow screen every link is at least 44 px high. */ +@media (max-width: 720px) { + .bar a, + .bar span { + min-height: 44px; + } +} + /* The banner is the image of the GitHub profile. Its top and bottom edges fade into the ground. */ .banner { display: block; @@ -135,10 +148,12 @@ a:focus-visible { font-size: var(--ls); line-height: 1.3; text-wrap: balance; + word-spacing: var(--ws); } .blurb { max-width: 52ch; + word-spacing: var(--ws); font-size: calc(var(--fs) * 0.88); color: var(--muted); } @@ -181,13 +196,6 @@ a:focus-visible { min-width: 0; } -.whole { - display: grid; - gap: 4px; - min-width: 0; - overflow: hidden; -} - .pic { display: block; overflow: hidden; @@ -203,18 +211,30 @@ a:focus-visible { border-radius: 2px; } -.plate .nm { - font-size: calc(var(--fs) * 0.95); - overflow-wrap: anywhere; -} - .plate .ds { + word-spacing: var(--ws); font-size: calc(var(--fs) * 0.8); color: var(--muted); line-height: 1.35; overflow-wrap: anywhere; } +/* The small link after a description: always underlined, so a touch screen shows it too. */ +.ds a { + color: var(--fg); + text-decoration: underline 1px var(--accent); + text-underline-offset: 0.2em; +} + +@media (max-width: 720px) { + .ds a { + display: flex; + align-items: center; + width: fit-content; + min-height: 44px; + } +} + footer { margin-top: 40px; font: 400 0.71875rem / 1 var(--mono); @@ -224,10 +244,12 @@ footer { /* Hover effects only for pointers that hover. Motion only when the reader has not asked for less. */ @media (hover: hover) { - .whole:hover .nm, - .nm:hover { - text-decoration: underline 1px var(--accent); - text-underline-offset: 0.2em; + .pic:hover img { + outline-color: var(--accent); + } + + .ds a:hover { + text-decoration-thickness: 2px; } } @@ -239,7 +261,6 @@ footer { } @media (hover: hover) and (prefers-reduced-motion: no-preference) { - .whole:hover img, .pic:hover img { transform: scale(1.02); }