| | |
| | |
| | |
| | |
| |
|
| | *, *::before, *::after { |
| | box-sizing: border-box; |
| | margin: 0; |
| | padding: 0; |
| | } |
| |
|
| | html, body { |
| | width: 100%; |
| | height: 100%; |
| | overflow-x: hidden; |
| | font-family: 'Inter', sans-serif; |
| | font-size: 1rem; |
| | -webkit-font-smoothing: antialiased; |
| | -moz-osx-font-smoothing: grayscale; |
| | } |
| |
|
| | body { |
| | display: flex; |
| | flex-direction: column; |
| | background-color: var(--background-dark); |
| | color: var(--text-dark); |
| | overflow-x: hidden; |
| | } |
| |
|
| | :root { |
| | --color-primary: #3b82f6; |
| | --background-dark: #0f0f0f; |
| | --background-light: #fff; |
| | --text-dark: #e5e7eb; |
| | --text-light: #111; |
| | --white-line-color: #ffffff; |
| | --header-height: 3.5rem; |
| | --footer-height: 5rem; |
| | --transition-speed: 0.3s; |
| | --border-radius: 1rem; |
| | --bubble-radius: 1rem; |
| | --prompt-radius: 1rem; |
| | } |
| |
|
| | main { |
| | flex: 1; |
| | display: flex; |
| | flex-direction: column; |
| | margin-top: var(--header-height); |
| | height: calc(100vh - var(--header-height) - var(--footer-height)); |
| | overflow: hidden; |
| | } |
| |
|
| | #initialContent { |
| | display: flex; |
| | flex-direction: column; |
| | align-items: center; |
| | text-align: center; |
| | max-width: 100%; |
| | width: 100%; |
| | height: 100%; |
| | padding: 1.5rem 1rem; |
| | box-sizing: border-box; |
| | overflow-wrap: break-word; |
| | word-wrap: break-word; |
| | word-break: break-word; |
| | animation: fadeIn 0.8s ease-out forwards; |
| | } |
| |
|
| | #chatArea { |
| | flex: 1; |
| | display: flex; |
| | flex-direction: column; |
| | overflow-y: auto; |
| | width: 100%; |
| | box-sizing: border-box; |
| | padding: 1rem; |
| | background: transparent; |
| | max-height: calc(100vh - var(--header-height) - var(--footer-height) - 6rem); |
| | } |
| |
|
| | #chatBox { |
| | display: flex; |
| | flex-direction: column; |
| | width: 100%; |
| | max-width: 800px; |
| | margin: 0 auto; |
| | padding: 0.75rem; |
| | box-sizing: border-box; |
| | overflow-y: auto; |
| | max-height: calc(100vh - var(--header-height) - var(--footer-height) - 8rem); |
| | } |
| |
|
| | .title { |
| | font-size: clamp(1.5rem, 4vw, 2.5rem); |
| | font-weight: 800; |
| | color: #eaeef8; |
| | margin-bottom: 1.5rem; |
| | word-break: break-word; |
| | overflow-wrap: break-word; |
| | text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); |
| | animation: slideInUp 0.6s ease-out forwards; |
| | } |
| |
|
| | .system { |
| | text-align: center; |
| | margin-top: 5rem; |
| | margin-bottom: 5rem; |
| | font-size: 0.7rem; |
| | color: #9ca3af; |
| | word-break: break-word; |
| | overflow-wrap: break-word; |
| | max-width: 600px; |
| | line-height: 1.6; |
| | animation: fadeIn 1s ease-out 0.6s forwards; |
| | opacity: 0; |
| | } |