Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,22 @@

`openfluids.github.io` is the openfluids website: an open, collaborative workshop for fluid flows.

A small static site: `docs/index.html`, `docs/style.css` and `docs/llms.txt`. No build step.
The page is built by the machine-made site generator
([machine-made/machine-made.github.io](https://github.com/machine-made/machine-made.github.io)),
the same code, look and tab row as every house. This repository holds the built site in `docs/`.

## Change the site

Edit the files in `docs/` directly and open a pull request. GitHub Pages serves `main`, folder `/docs`.
The content lives in the generator repository, machine-made/machine-made.github.io: `houses/openfluids/site.json`,
with its public list in `houses/openfluids/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 openfluids "PATH_TO_THIS_CHECKOUT"
```

Do not edit `docs/` by hand. GitHub Pages serves `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`.
4 changes: 2 additions & 2 deletions STATUS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

## Proven

- Hand-written static page: no build step, no web fonts, no font files.
- Built by the machine-made site generator. The page is set in machine-made Weft and machine-made Sans, files in `docs/fonts/` with their licences; it loads no other font and makes no external request.
Comment thread
ricardofrantz marked this conversation as resolved.
Resolved

## Open risks

- The logo and favicon load from the GitHub avatar URL of the org.
- None known.
Binary file removed docs/fonts/lato-400.woff2
Binary file not shown.
8 changes: 5 additions & 3 deletions docs/fonts/lato-OFL.txt → docs/fonts/mm-sans-OFL.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
Copyright (c) 2010-2011 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato". Licensed under the SIL Open Font License, Version 1.1. Lato-HairlineItalic.ttf: Copyright (c) 2010-2011 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato". Licensed under the SIL Open Font License, Version 1.1. Lato-Light.ttf: Copyright (c) 2010-2011 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato". Licensed under the SIL Open Font License, Version 1.1. Lato-LightItalic.ttf: Copyright (c) 2010-2011 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato". Licensed under the SIL Open Font License, Version 1.1. Lato-Regular.ttf: Copyright (c) 2010-2011 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato". Licensed under the SIL Open Font License, Version 1.1. Lato-Italic.ttf: Copyright (c) 2010-2011 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato". Licensed under the SIL Open Font License, Version 1.1. Lato-Bold.ttf: Copyright (c) 2010-2011 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato". Licensed under the SIL Open Font License, Version 1.1. Lato-BoldItalic.ttf: Copyright (c) 2010-2011 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato". Licensed under the SIL Open Font License, Version 1.1. Lato-Black.ttf: Copyright (c) 2010-2011 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato". Licensed under the SIL Open Font License, Version 1.1. Lato-BlackItalic.ttf: Copyright (c) 2010-2011 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato". Licensed under the SIL Open Font License, Version 1.1.
Copyright 2020 The Plus Jakarta Sans Project Authors (https://github.com/tokotype/PlusJakartaSans)
Copyright 2026 The machine-made Sans 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


-----------------------------------------------------------
Expand All @@ -18,7 +20,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
Expand Down
Binary file added docs/fonts/mm-sans.woff2
Binary file not shown.
Binary file modified docs/fonts/mm-weft.woff2
Binary file not shown.
34 changes: 22 additions & 12 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,27 @@
<meta name="color-scheme" content="dark">
<meta name="theme-color" content="#0d1116">
<link rel="icon" href="mark.svg" type="image/svg+xml">
<meta property="og:type" content="website">
<meta property="og:title" content="openfluids">
<meta property="og:description" content="Open tools for fluid flows: state-of-the-art methods, ultra-modern low-memory code, for humans and agents.">
<meta property="og:url" content="https://openfluids.github.io/">
<meta property="og:image" content="https://openfluids.github.io/img/banner.jpg">
<meta property="og:image:width" content="1408">
<meta property="og:image:height" content="469">
<meta property="og:image:alt" content="openfluids">
<meta name="twitter:card" content="summary_large_image">
<link rel="preload" href="fonts/mm-weft.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="fonts/lato-400.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="fonts/mm-sans.woff2" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="style.css">
</head>
<body>
<a class="skip" href="#main">Skip to content</a>
<header class="wrap">
<nav class="bar" aria-label="Sites">
<a href="https://machine-made.github.io/">machine-made</a>
<a href="https://openfluids.github.io/" aria-current="page">openfluids</a>
<span aria-current="page">openfluids</span>
<a href="https://boringquantsystems.github.io/">BoringQuantSystems</a>
<a href="https://machine-made.github.io/type/">type</a>
</nav>
<h1><img class="banner" src="img/banner.jpg" width="1408" height="469" alt="openfluids"></h1>
</header>
Expand All @@ -30,31 +40,31 @@ <h1><img class="banner" src="img/banner.jpg" width="1408" height="469" alt="open
<section aria-labelledby="g-stability">
<h2 class="lbl" id="g-stability">Stability</h2>
<ul class="grid">
<li class="plate"><a class="pic" href="https://github.com/openfluids/linstabpy" aria-label="linstabpy repository"><img src="img/linstabpy.jpg" width="704" height="235" loading="lazy" alt=""></a><a class="nm" href="https://linstabpy.vercel.app/">linstabpy</a><span class="ds">linear stability and resolvent analysis</span></li>
<li class="plate"><a class="whole" href="https://github.com/nekStab/nekStab"><img src="img/nekStab.jpg" width="704" height="235" loading="lazy" alt=""><span class="nm">nekStab</span><span class="ds">stability and bifurcation for Nek5000</span></a></li>
<li class="plate"><a class="pic" href="https://github.com/openfluids/linstabpy" aria-label="linstabpy"><img src="img/linstabpy.jpg" width="704" height="235" loading="lazy" alt=""></a><span class="ds">linear stability and resolvent analysis <a class="nm" href="https://linstabpy.vercel.app/" aria-label="linstabpy docs">docs</a></span></li>
<li class="plate"><a class="pic" href="https://github.com/nekStab/nekStab" aria-label="nekStab"><img src="img/nekStab.jpg" width="704" height="235" loading="lazy" alt=""></a><span class="ds">stability and bifurcation for Nek5000</span></li>
</ul>
</section>
<section aria-labelledby="g-analysis">
<h2 class="lbl" id="g-analysis">Analysis</h2>
<ul class="grid">
<li class="plate"><a class="whole" href="https://github.com/openfluids/openmodalpy"><img src="img/openmodalpy.jpg" width="704" height="235" loading="lazy" alt=""><span class="nm">openmodalpy</span><span class="ds">nine modal decompositions, one API</span></a></li>
<li class="plate"><a class="pic" href="https://github.com/openfluids/dynachaos" aria-label="dynachaos repository"><img src="img/dynachaos.jpg" width="704" height="235" loading="lazy" alt=""></a><a class="nm" href="https://openfluids.github.io/dynachaos/">dynachaos</a><span class="ds">Lyapunov exponents, recurrence, entropy</span></li>
<li class="plate"><a class="whole" href="https://github.com/openfluids/fftkit"><img src="img/fftkit.jpg" width="704" height="235" loading="lazy" alt=""><span class="nm">fftkit</span><span class="ds">spectra, one FFT API over eight backends</span></a></li>
<li class="plate"><a class="whole" href="https://github.com/openfluids/dsgbr"><img src="img/dsgbr.jpg" width="704" height="235" loading="lazy" alt=""><span class="nm">dsgbr</span><span class="ds">peaks in noisy, sloped spectra</span></a></li>
<li class="plate"><a class="pic" href="https://github.com/openfluids/chaos-atlas" aria-label="chaos-atlas repository"><img src="img/chaos-atlas.jpg" width="704" height="235" loading="lazy" alt=""></a><a class="nm" href="https://openfluids.github.io/chaos-atlas/">chaos-atlas</a><span class="ds">chaotic systems in the browser</span></li>
<li class="plate"><a class="pic" href="https://github.com/openfluids/openmodalpy" aria-label="openmodalpy"><img src="img/openmodalpy.jpg" width="704" height="235" loading="lazy" alt=""></a><span class="ds">nine modal decompositions, one API</span></li>
<li class="plate"><a class="pic" href="https://github.com/openfluids/dynachaos" aria-label="dynachaos"><img src="img/dynachaos.jpg" width="704" height="235" loading="lazy" alt=""></a><span class="ds">Lyapunov exponents, recurrence, entropy <a class="nm" href="https://openfluids.github.io/dynachaos/" aria-label="dynachaos site">site</a></span></li>
<li class="plate"><a class="pic" href="https://github.com/openfluids/fftkit" aria-label="fftkit"><img src="img/fftkit.jpg" width="704" height="235" loading="lazy" alt=""></a><span class="ds">spectra, one FFT API over eight backends</span></li>
<li class="plate"><a class="pic" href="https://github.com/openfluids/dsgbr" aria-label="dsgbr"><img src="img/dsgbr.jpg" width="704" height="235" loading="lazy" alt=""></a><span class="ds">peaks in noisy, sloped spectra</span></li>
<li class="plate"><a class="pic" href="https://github.com/openfluids/chaos-atlas" aria-label="chaos-atlas"><img src="img/chaos-atlas.jpg" width="704" height="235" loading="lazy" alt=""></a><span class="ds">chaotic systems in the browser <a class="nm" href="https://openfluids.github.io/chaos-atlas/" aria-label="chaos-atlas site">site</a></span></li>
</ul>
</section>
<section aria-labelledby="g-solvers">
<h2 class="lbl" id="g-solvers">Solvers</h2>
<ul class="grid">
<li class="plate"><a class="whole" href="https://github.com/openfluids/dolfinx-rans"><img src="img/dolfinx-rans.jpg" width="704" height="235" loading="lazy" alt=""><span class="nm">dolfinx-rans</span><span class="ds">RANS turbulence in DOLFINx</span></a></li>
<li class="plate"><a class="pic" href="https://github.com/openfluids/dolfinx-rans" aria-label="dolfinx-rans"><img src="img/dolfinx-rans.jpg" width="704" height="235" loading="lazy" alt=""></a><span class="ds">RANS turbulence in DOLFINx</span></li>
</ul>
</section>
<section aria-labelledby="g-runs">
<h2 class="lbl" id="g-runs">Runs</h2>
<ul class="grid">
<li class="plate"><a class="whole" href="https://github.com/openfluids/hpckit"><img src="img/hpckit.jpg" width="704" height="235" loading="lazy" alt=""><span class="nm">hpckit</span><span class="ds">Slurm runs from a local checkout</span></a></li>
<li class="plate"><a class="whole" href="https://github.com/openfluids/quadros"><img src="img/quadros.jpg" width="704" height="235" loading="lazy" alt=""><span class="nm">quadros</span><span class="ds">snapshots to frames and videos</span></a></li>
<li class="plate"><a class="pic" href="https://github.com/openfluids/hpckit" aria-label="hpckit"><img src="img/hpckit.jpg" width="704" height="235" loading="lazy" alt=""></a><span class="ds">Slurm runs from a local checkout</span></li>
<li class="plate"><a class="pic" href="https://github.com/openfluids/quadros" aria-label="quadros"><img src="img/quadros.jpg" width="704" height="235" loading="lazy" alt=""></a><span class="ds">snapshots to frames and videos</span></li>
</ul>
</section>
</main>
Expand Down
3 changes: 2 additions & 1 deletion docs/llms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Open code for fluid mechanics.

## Stability

- [linstabpy](https://github.com/openfluids/linstabpy): linear stability and resolvent analysis ([site](https://linstabpy.vercel.app/))
- [linstabpy](https://github.com/openfluids/linstabpy): linear stability and resolvent analysis ([docs](https://linstabpy.vercel.app/))
- [nekStab](https://github.com/nekStab/nekStab): stability and bifurcation for Nek5000

## Analysis
Expand All @@ -31,3 +31,4 @@ Open code for fluid mechanics.
- [machine-made](https://machine-made.github.io/)
- [openfluids](https://openfluids.github.io/)
- [BoringQuantSystems](https://boringquantsystems.github.io/)
- [type](https://machine-made.github.io/type/)
64 changes: 42 additions & 22 deletions docs/style.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@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:"Lato";src:url(fonts/lato-400.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
:root{--bg:#0d1116;--fg:#e6eef2;--muted:#8395a0;--accent:#5cc8d6;--edge:#25292d;--font:"Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mono:"machine-made Weft", ui-monospace, "SF Mono", Menlo, Consolas, monospace;--fs:0.9375rem;--ls:1.4375rem;}
@font-face{font-family:"machine-made Sans";src:url(fonts/mm-sans.woff2) format("woff2");font-weight:200 800;font-style:normal;font-display:swap}
:root{--bg:#0d1116;--fg:#e6eef2;--muted:#8395a0;--accent:#5cc8d6;--edge:#25292d;--font:"machine-made Sans", system-ui, sans-serif;--mono:"machine-made Weft", ui-monospace, monospace;--ws:0.05em;--fs:1rem;--ls:1.5rem;}
/* The colours, the fonts and the sizes of a house come first (:root). */

:root {
Expand Down Expand Up @@ -92,7 +92,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;
Expand All @@ -102,18 +103,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;
Expand All @@ -135,10 +147,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);
}
Expand Down Expand Up @@ -181,13 +195,6 @@ a:focus-visible {
min-width: 0;
}

.whole {
display: grid;
gap: 4px;
min-width: 0;
overflow: hidden;
}

.pic {
display: block;
overflow: hidden;
Expand All @@ -203,18 +210,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);
Expand All @@ -224,10 +243,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;
}
}

Expand All @@ -239,7 +260,6 @@ footer {
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
.whole:hover img,
.pic:hover img {
transform: scale(1.02);
}
Expand Down
Loading