teststatic / style.css
hsuwill000's picture
Update style.css
26fc868 verified
:root {
--bg: #0f1720;
--accent: #10a37f;
--assistant-bg: #1f2937;
--user-bg: #0b2a2a;
}
* { box-sizing: border-box; }
body {
margin: 0;
background: var(--bg);
color: #f0f0f0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.chat-container {
width: 100%;
max-width: 900px;
height: 95vh;
display: flex;
flex-direction: column;
background: #0c131c;
border-radius: 10px;
overflow: hidden;
}
.chat-header {
padding: 12px 16px;
background: #0b1116;
text-align: center;
font-weight: 600;
border-bottom: 1px solid rgba(255,255,255,0.1);
}
.chat-window {
flex: 1;
padding: 16px;
overflow-y: auto;
}
.message {
display: flex;
margin-bottom: 12px;
gap: 8px;
max-width: 80%;
word-wrap: break-word;
}
.message.user {
justify-content: flex-end;
margin-left: auto;
}
.message.assistant {
justify-content: flex-start;
margin-right: auto;
}
.bubble {
padding: 10px 14px;
border-radius: 10px;
line-height: 1.4;
}
.user .bubble {
background: var(--user-bg);
}
.assistant .bubble {
background: var(--assistant-bg);
}
.chat-input-area {
display: flex;
border-top: 1px solid rgba(255,255,255,0.1);
}
.chat-input-area textarea {
flex: 1;
resize: none;
background: #0b1116;
color: #f0f0f0;
border: none;
padding: 14px;
font-size: 15px;
outline: none;
}
.chat-input-area button {
background: var(--accent);
color: white;
border: none;
padding: 14px 20px;
cursor: pointer;
font-weight: bold;
}
.chat-input-area button:disabled {
opacity: 0.6;
cursor: not-allowed;
}