ai / assets /css /screen /480.css
hadadrjt's picture
ai: Release demo playground source code.
ce1ab17
/*
* SPDX-FileCopyrightText: Hadad <hadad@linuxmail.org>
* SPDX-License-Identifier: Apache-2.0
*/
@media (max-width: 480px) {
:root {
--header-height: 2.75rem;
--footer-height: 4rem;
--border-radius: 0.75rem;
--bubble-radius: 0.75rem;
--prompt-radius: 0.75rem;
}
.main-header, .chat-header {
padding: 0.4rem 0.6rem;
}
#chatBox {
padding: 0.5rem 0.6rem calc(var(--footer-height) + 0.6rem) 0.6rem;
}
#footerForm {
padding: 0.5rem 0.6rem;
}
#userInput {
padding: 0.5rem 0.7rem;
font-size: 0.9rem;
}
#sendBtn, #stopBtn {
width: 2.25rem;
height: 2.25rem;
}
.title {
font-size: clamp(1.2rem, 5vw, 1.8rem);
margin-bottom: 1rem;
}
.prompts {
gap: 0.6rem;
margin-bottom: 1rem;
}
.prompt-item {
padding: 0.7rem 0.9rem;
gap: 0.6rem;
}
.icon {
width: 1rem;
height: 1rem;
}
.system {
font-size: 0.7rem;
margin-top: 1rem;
}
.bubble {
padding: 0.7rem 0.9rem;
font-size: 0.85rem;
border-radius: 0.75rem;
margin: 0.5rem 0;
}
.chat-title {
font-size: 0.9rem;
}
.icon-btn {
padding: 0.35rem;
width: 2rem;
height: 2rem;
}
}