ai / assets /css /style.css
hadadrjt's picture
ai: ChatGPT-style like.
8ee4cb7
/*
* SPDX-FileCopyrightText: Hadad <hadad@linuxmail.org>
* SPDX-License-Identifier: Apache-2.0
*/
*, *::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: hidden;
word-wrap: break-word;
}
: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));
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;
}
.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;
}