Skip to content

Commit a387ad4

Browse files
wowselclaude
andcommitted
docs: add brand hero + logo (WebP, 640px cap)
Wire idlefy-universal hero banner into README.md and docs/index.md; set the circular logo as the mkdocs Material theme logo + favicon. Assets shipped as WebP (148 KB total vs 3.2 MB PNG sources): lossy hero at 1280x853 q=85, lossy logo at 512x512 q=92. Browser support is ~98% (Chrome since 2010, Safari/iOS 14+, Firefox 65+, Edge 18+); GitHub README renders inline natively. Adds docs/assets/extra.css that caps the homepage hero at 640px wide and centers it. The selector is `.md-typeset img.idlefy-hero` rather than `.idlefy-hero` because Material's default `.md-typeset img` rule (specificity 0,1,1) sets `max-width: 100%`, which would beat a plain class selector (0,1,0). Tagging the element brings us to (0,1,2) and the cap wins without resorting to !important. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 191b002 commit a387ad4

6 files changed

Lines changed: 27 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<p align="center">
2+
<img src="docs/assets/hero.webp" alt="idlefy-universal — schema-first universal Helm chart for Kubernetes workloads" width="820"/>
3+
</p>
4+
15
# idlefy-universal
26

37
Universal Helm chart for Kubernetes workloads — typed JSON Schema, agent-native metadata, auto-creation, Gateway API.

docs/assets/extra.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* Center and constrain the homepage hero so it scales on mobile.
3+
*
4+
* Specificity note: Material's `.md-typeset img` (0,1,1) sets
5+
* `max-width: 100%`, which beats a plain `.idlefy-hero` (0,1,0)
6+
* and ignores our cap. Tagging the selector with the element
7+
* keeps us at (0,1,2) and wins without !important.
8+
*/
9+
.md-typeset img.idlefy-hero {
10+
display: block;
11+
margin: 0 auto 1.5rem;
12+
max-width: 640px;
13+
width: 100%;
14+
height: auto;
15+
border-radius: 8px;
16+
}

docs/assets/hero.webp

100 KB
Loading

docs/assets/logo.webp

43.9 KB
Loading

docs/index.md

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

7+
![idlefy-universal — schema-first universal Helm chart for Kubernetes workloads](assets/hero.webp){ .idlefy-hero }
8+
79
# idlefy-universal
810

911
> Schema-driven, agent-native Helm chart for any Kubernetes workload.

mkdocs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ exclude_docs: |
2121
2222
theme:
2323
name: material
24+
logo: assets/logo.webp
25+
favicon: assets/logo.webp
2426
features:
2527
- navigation.tabs
2628
- navigation.tabs.sticky
@@ -72,6 +74,9 @@ extra:
7274
- icon: fontawesome/brands/github
7375
link: https://github.com/idlefy/idlefy-universal
7476

77+
extra_css:
78+
- assets/extra.css
79+
7580
nav:
7681
- Home: index.md
7782
- Tutorials:

0 commit comments

Comments
 (0)