patx/veela

Compact landing page layout and shrink mascot

Commit f85467a · patx · 2026-10-13T21:49:15-04:00

Changeset
f85467aff84ccb410463190e78430f7c88c55d52
Parents
062d9fa08da6794ca1c1c86b336790d418db2500

View source at this commit

Comments

No comments yet.

Log in to comment

Diff

diff --git a/docs/index.html b/docs/index.html
index 9217825..f9e896e 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -10,28 +10,28 @@
     * { box-sizing: border-box; }
     body { margin: 0; }
     main { width: 100%; }
-    .intro { text-align: center; padding: clamp(12px, 4dvh, 40px) 32px clamp(24px, 6dvh, 64px); }
+    .intro { text-align: center; padding: 12px 24px 16px; }
     h1 { margin: 0; }
-    h1 img { display: block; width: min(680px, 100%, 70dvh); height: auto; margin: auto; }
-    .intro p { margin: 16px auto 0; max-width: 800px; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.5; }
+    h1 img { display: block; width: min(160px, 100%, 21dvh); height: auto; margin: auto; }
+    .intro p { margin: 8px auto 0; max-width: 760px; font-size: 18px; line-height: 1.4; }
     a { color: inherit; text-underline-offset: 4px; }
     a:hover { color: #c92432; }
     a:focus-visible { outline: 2px solid #c92432; outline-offset: 5px; }
-    footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 32px; padding: 40px 24px; font-size: 18px; }
-    .examples { max-width: 960px; margin: 0 auto; padding: 0 24px; }
-    .examples pre { margin-bottom: 24px; background: #fff0f0; border: 1px solid #dc8994; border-radius: 6px; }
-    pre { margin: 0; padding: clamp(12px, 3vw, 32px); overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; color: #702a36; font: 20px/1.45 ui-monospace, SFMono-Regular, Consolas, monospace; tab-size: 2; }
+    footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 32px; padding: 16px 24px; font-size: 15px; }
+    .examples { max-width: 800px; margin: 0 auto; padding: 0 24px; }
+    .examples pre { margin-bottom: 12px; background: #fff0f0; border: 1px solid #dc8994; border-radius: 6px; }
+    pre { margin: 0; padding: 12px 16px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; color: #702a36; font: 16px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; tab-size: 2; }
     code { font: inherit; }
     @media (max-width: 700px) {
       .intro { padding-left: 12px; padding-right: 12px; }
-      .intro p { font-size: clamp(18px, 5vw, 24px); }
+      .intro p { font-size: 17px; }
     }
   </style>
 </head>
 <body>
   <main>
     <header class="intro">
-      <h1><a href="https://harrisonerd.com/wred-embedded"><img src="https://patx.gitman.io/wred-embedded/wred-embedded-logo.png" alt="Wred" width="1774" height="887"></a></h1>
+      <h1><a href="https://harrisonerd.com/wred-embedded"><img src="https://patx.gitman.io/wred-embedded/wred-embedded-logo.png" alt="Wred-embedded" width="1254" height="1254"></a></h1>
       <p>Wred-embedded is a magical, single-file Python framework for simple JavaScript web apps. Just grab <a target="_blank" href="https://gitman.io/patx/wred-embedded/src/wred.py">wred.py</a> and go! View the documentation and source <a target="_blank" href="https://gitman.io/patx/wred-embedded">here</a>.</p>
     </header>
     <section class="examples" aria-label="Installation and example">