From: Roberto Morado Date: Mon, 10 Nov 2025 00:53:12 +0000 (-0500) Subject: Fix minor UI X-Git-Url: https://git.morado.dev/?a=commitdiff_plain;h=e45aacf07f6e2b1cc96721d431a0d929ee3b32ca;p=blog.morado.dev Fix minor UI --- diff --git a/main.ts b/main.ts index 6e772f4..a416f34 100644 --- a/main.ts +++ b/main.ts @@ -270,8 +270,8 @@ function renderHTML(content: string): string { } .logout-btn { background: #E6521F; } .logout-btn:hover { background: #EA2F14; } - .login-btn { background: #73946B; } - .login-btn:hover { background: #537D5D; } + .login-btn { background: #B4E197; } + .login-btn:hover { background: #83BD75; } .admin-btn { background: #234C6A; } .admin-btn:hover { background: #1B3C53; } h1 { font-size: 2em; margin-bottom: 10px; } @@ -391,7 +391,7 @@ function renderHTML(content: string): string { font-size: 1em; } textarea { - min-height: 200px; + min-height: 800px; resize: vertical; font-family: 'Courier New', monospace; } @@ -407,11 +407,6 @@ function renderHTML(content: string): string { } button:hover { background: #555; } .empty { color: #999; text-align: center; padding: 40px; } - .help-text { - font-size: 0.85em; - color: #666; - margin-bottom: 15px; - } .metrics-section { background: white; padding: 25px; @@ -568,7 +563,6 @@ async function renderAdminPage( const metricsHTML = `
-

Metrics

Total visits
@@ -582,23 +576,24 @@ async function renderAdminPage( ${renderHeader(username)}
-

New Post

${csrfField(csrfToken)} -
Write your post in Markdown format. Supports **bold**, *italic*, lists, links, code blocks, and more!
-