Skip to content

armgit / xerj

Public Imported from GitHub
0

AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.

landing: fit title hero in 1080px viewport — smaller video, no-wrap h1

xerj-orgd2675b9032dc
diff --git a/landing/style.css b/landing/style.css
index 11c76e346..34af5dd84 100644
--- a/landing/style.css
+++ b/landing/style.css
@@ -255,9 +255,23 @@ section.section-split {
section.section-split > .split-copy { min-width: 0; }
section.section-split > .split-viz { min-width: 0; }
-/* Hero variant of the split: copy left, demo video right. */
-section.hero-split { align-items: center; }
+/* Hero variant of the split: copy left, demo video right. Copy
+ keeps the wider track so the h1 never wraps mid-word, the h1
+ scales fluidly below full width, and the player is capped — all
+ so the full title hero fits a 1080px viewport without scrolling. */
+section.hero-split {
+ align-items: center;
+ grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
+}
section.hero-split .lead { margin-bottom: 0; }
+@media (min-width: 961px) {
+ section.hero-split h1.hero { font-size: clamp(96px, 8.3vw, 160px); }
+}
+.hero-demo {
+ width: 100%;
+ max-width: 600px;
+ justify-self: end;
+}
.hero-demo video {
width: 100%;