VERO-AI / style.css
Lkonshu's picture
Update style.css
55d58f9 verified
Raw History Blame Contribute Delete
4.71 kB
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
:root {
--bg: #07080b;
--panel: #0d0f14;
--panel-2: #12151b;
--border: #20242d;
--text: #f5f7fa;
--muted: #858b98;
--accent: #ffffff;
}
body {
min-height: 100vh;
background: var(--bg);
color: var(--text);
font-family:
-apple-system,
BlinkMacSystemFont,
"SF Pro Display",
"Segoe UI",
sans-serif;
}
button,
textarea,
select {
font: inherit;
}
button {
-webkit-tap-highlight-color: transparent;
}
.app {
min-height: 100vh;
display: flex;
flex-direction: column;
}
/* TOPBAR */
.topbar {
height: 72px;
padding: 0 18px;
border-bottom: 1px solid var(--border);
display: flex;
align-items: center;
justify-content: space-between;
background: rgba(7, 8, 11, 0.92);
backdrop-filter: blur(18px);
position: sticky;
top: 0;
z-index: 10;
}
.brand {
display: flex;
align-items: center;
gap: 11px;
}
.logo,
.welcome-logo {
width: 38px;
height: 38px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 11px;
background: #fff;
color: #050505;
font-size: 20px;
font-weight: 800;
}
.brand h1 {
font-size: 17px;
font-weight: 700;
letter-spacing: -0.3px;
}
.brand span {
display: block;
margin-top: 2px;
color: var(--muted);
font-size: 11px;
}
/* MODEL */
.model-selector {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 3px;
}
.model-selector span {
color: var(--muted);
font-size: 10px;
}
.model-selector select {
border: 1px solid var(--border);
outline: none;
background: var(--panel-2);
color: var(--text);
border-radius: 8px;
padding: 6px 8px;
font-size: 11px;
}
/* CHAT */
.chat {
flex: 1;
width: 100%;
max-width: 850px;
margin: 0 auto;
padding: 35px 18px 150px;
}
.welcome {
min-height: 55vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
}
.welcome-logo {
width: 58px;
height: 58px;
border-radius: 17px;
font-size: 28px;
margin-bottom: 18px;
}
.welcome h2 {
font-size: 25px;
letter-spacing: -0.8px;
}
.welcome p {
margin-top: 8px;
color: var(--muted);
font-size: 14px;
}
.welcome strong {
color: var(--text);
}
/* SUGGESTIONS */
.suggestions {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 8px;
margin-top: 25px;
}
.suggestions button {
padding: 9px 12px;
border: 1px solid var(--border);
border-radius: 9px;
background: var(--panel);
color: #cbd0d8;
cursor: pointer;
}
.suggestions button:active {
transform: scale(0.97);
}
/* MESSAGES */
.message {
display: flex;
margin-bottom: 22px;
}
.message.user {
justify-content: flex-end;
}
.message-content {
max-width: 88%;
padding: 12px 15px;
border-radius: 15px;
line-height: 1.55;
font-size: 14px;
white-space: pre-wrap;
}
.user .message-content {
background: #f1f2f4;
color: #090a0c;
}
.assistant .message-content {
background: var(--panel);
border: 1px solid var(--border);
}
/* COMPOSER */
.composer-area {
position: fixed;
left: 0;
right: 0;
bottom: 0;
padding:
10px
14px
calc(10px + env(safe-area-inset-bottom));
background: linear-gradient(
transparent,
var(--bg) 30%
);
}
.composer {
width: 100%;
max-width: 850px;
margin: 0 auto;
display: flex;
align-items: flex-end;
gap: 8px;
padding: 8px;
background: var(--panel);
border: 1px solid var(--border);
border-radius: 16px;
box-shadow: 0 10px 40px rgba(0,0,0,.35);
}
textarea {
flex: 1;
resize: none;
outline: none;
border: none;
background: transparent;
color: var(--text);
padding: 8px;
max-height: 150px;
font-size: 15px;
line-height: 1.4;
}
textarea::placeholder {
color: #626874;
}
#sendButton {
width: 39px;
height: 39px;
flex-shrink: 0;
border: none;
border-radius: 11px;
background: white;
color: black;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
#sendButton svg {
width: 18px;
height: 18px;
fill: none;
stroke: currentColor;
stroke-width: 1.8;
stroke-linejoin: round;
}
#sendButton:active {
transform: scale(.94);
}
.footer-text {
text-align: center;
margin-top: 7px;
color: #454a54;
font-size: 9px;
}
/* MOBILE */
@media (max-width: 600px) {
.topbar {
height: 65px;
padding: 0 12px;
}
.brand h1 {
font-size: 15px;
}
.model-selector select {
max-width: 120px;
}
.chat {
padding-left: 12px;
padding-right: 12px;
}
.welcome h2 {
font-size: 22px;
}
.message-content {
max-width: 92%;
}
}