diff --git a/chat.html b/chat.html index d3e259c..1a1db93 100644 --- a/chat.html +++ b/chat.html @@ -42,7 +42,7 @@ margin: 0; font-family: "JetBrains Mono", Consolas, Menlo, monospace; line-height: 1.6; - font-size: 16px; + font-size: 14px; background: var(--bg-primary); color: var(--text-primary); transition: background-color 0.2s, color 0.2s; @@ -128,7 +128,7 @@ border: 1px solid var(--border-color); border-radius: 0.4rem; resize: vertical; - font-size: 1rem; + font-size: inherit; background: var(--bg-input); color: var(--text-primary); transition: background-color 0.2s, color 0.2s; @@ -137,7 +137,7 @@ color: var(--text-secondary); } .submit { - font-size: 1rem; + font-size: inherit; grid-area: submit; cursor: pointer; padding: 0.8rem 2rem; @@ -229,19 +229,23 @@ } .spinner { + width: 1.5rem; + height: 1.5rem; + background: #888; display: inline-block; - width: 1em; - height: 1em; - border: 3px solid var(--text-secondary); - border-top-color: transparent; border-radius: 50%; - vertical-align: baseline; - animation: spin 1s ease-in infinite; + box-sizing: border-box; + animation: grow 1s ease-in infinite; } - @keyframes spin { - to { - transform: rotate(360deg); + @keyframes grow { + 0% { + transform: scale(0); + opacity: 1; + } + 100% { + transform: scale(1); + opacity: 0; } } @@ -250,7 +254,7 @@