Skip to content

Commit 8c95b70

Browse files
fix: vendor brand CSS and remove private repo fetch (#7)
The curl fetch from the private brand repo returns 404 on public CI runners, breaking all docs styling. Vendor the CSS directly, remove the fetch step, and strip the hero-glow div that no longer has backing styles. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 87dd291 commit 8c95b70

3 files changed

Lines changed: 0 additions & 30 deletions

File tree

.github/workflows/docs.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ jobs:
2929
- name: Install docs dependencies
3030
# For library repos, remove --no-install-project so the package is importable
3131
run: uv sync --frozen --no-install-project --group docs
32-
- name: Fetch brand CSS
33-
run: |
34-
curl -sL https://raw.githubusercontent.com/Project-Navi/brand/main/docs/stylesheets/navi.css \
35-
-o docs/stylesheets/navi.css
3632
- name: Build site
3733
run: uv run zensical build
3834
- name: Strip internal docs from build

docs/index.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ hide:
44
- toc
55
---
66

7-
<div class="hero-glow" markdown>
8-
97
# fd-formalization
108

119
**Lean 4 + Mathlib formalization of \((u,v)\)-flower fractal dimension.**
@@ -15,8 +13,6 @@ Hub distance \(= u^g\) and log-ratio convergence to \(\frac{\log(u+v)}{\log u}\)
1513
[Get Started](getting-started/quickstart.md){ .md-button .md-button--primary }
1614
[Theorems](reference/theorems.md){ .md-button }
1715

18-
</div>
19-
2016
---
2117

2218
## What it proves

docs/stylesheets/navi.css

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -207,28 +207,6 @@ body {
207207
color: #7eb8a8;
208208
}
209209

210-
/* --- Hero glow (landing page only) --- */
211-
.md-content .hero-glow {
212-
position: relative;
213-
}
214-
215-
.md-content .hero-glow::before {
216-
content: '';
217-
position: absolute;
218-
top: 0;
219-
left: 50%;
220-
transform: translateX(-50%);
221-
width: 150%;
222-
height: 400px;
223-
background: radial-gradient(
224-
ellipse at center top,
225-
rgba(126, 184, 168, 0.08) 0%,
226-
transparent 70%
227-
);
228-
pointer-events: none;
229-
z-index: -1;
230-
}
231-
232210
/* --- Primary button — inverted per brand guide --- */
233211
.md-typeset .md-button--primary {
234212
background: #e8e4de;

0 commit comments

Comments
 (0)