loosen cramped inputs/buttons: more padding, spacing

This commit is contained in:
lichenblankie 2026-06-05 04:22:01 +00:00
parent c1d47fcdcc
commit 3279f72a51

View file

@ -20,7 +20,7 @@ FORUM_CSS = """
<style>
.forum-form { max-width: 500px; }
.forum-form input:not([type=checkbox]):not([type=radio]), .forum-form textarea {
width: 100%; box-sizing: border-box; padding: 8px 10px; margin-bottom: 8px;
width: 100%; box-sizing: border-box; padding: 10px 12px; margin-bottom: 12px;
background: rgba(8, 18, 22, 0.8); border: 1px solid rgba(40, 70, 65, 0.4);
border-radius: 4px; color: #90b4ac; font-size: 0.95rem;
transition: border-color 0.2s, box-shadow 0.3s;
@ -30,7 +30,7 @@ FORUM_CSS = """
}
.forum-form input[type=checkbox] { width: auto; margin: 0; }
.forum-form button {
padding: 8px 16px; margin-bottom: 8px;
padding: 10px 20px; margin-bottom: 12px;
background: rgba(10, 22, 25, 0.8); border: 1px solid rgba(40, 70, 65, 0.4);
border-radius: 4px; color: #5a7880; font-size: 0.88rem; cursor: pointer;
transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.3s;
@ -45,12 +45,12 @@ FORUM_CSS = """
.forum-form label.checkbox-label { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.forum-form label.inline-label { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 8px; white-space: nowrap; }
.forum-form small { display: block; margin-bottom: 8px; }
.forum-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0.5rem 0; }
.forum-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0.5rem 0; }
.forum-actions form { display: inline; }
.forum-actions input[name=q] { width: 180px; padding: 6px 10px; }
.forum-actions input[name=q] { width: 200px; padding: 8px 12px; }
a.forum-action, a.forum-action-inline {
color: #5a7880; text-decoration: none; border-bottom: none; font-size: 0.85rem;
padding: 6px 12px; border: 1px solid rgba(40, 70, 65, 0.3); border-radius: 4px;
color: #5a7880; text-decoration: none; border-bottom: none; font-size: 0.88rem;
padding: 8px 14px; border: 1px solid rgba(40, 70, 65, 0.3); border-radius: 4px;
transition: background 0.2s, color 0.2s, border-color 0.2s;
}
a.forum-action:hover, a.forum-action-inline:hover { color: #90b4ac; border-color: rgba(80, 130, 110, 0.5); background: rgba(10, 22, 25, 0.6); }