diff --git a/assets/css/style.scss b/assets/css/style.scss index 05eabd7..6adbad3 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -47,18 +47,25 @@ a:hover { border-bottom: solid 1px #914f37; } a:visited { color: #914f37 } -label, textarea, input { - display: inline; +label, textarea, input[type="text"] { + width: 100%; + padding: 0.5em; + margin: 0.5em 0; + display: block; +} +textarea, input[type="text"] { + background-color: #fbf6f3; } label { padding-top: 1em; } button { - background-color: #f3e4da; + background-color: #d1c5c0; color: #491705; padding: 0.5em 1em; + border-radius: 5px; + cursor: pointer; } button:hover { - background-color: #491705; - color: #ecd1c1; + background-color: #baa8a1; } \ No newline at end of file diff --git a/form.html b/form.html index 917ce70..f3f7a86 100644 --- a/form.html +++ b/form.html @@ -24,7 +24,7 @@ const sha256 = await crypto.subtle.digest('SHA-256', canonical); el('sha256').value = hexHash(sha256); const blake3 = await hashwasm.blake3(canonical); - el('blake3').value = hexHash(blake3); + el('blake3').value = blake3; } // Add event listener for "keydown" event