interstellar_ai/app/styles/responsive.css

68 lines
No EOL
1.3 KiB
CSS

/* Responsive behavior - applies only on smaller screens */
@media (max-width: 1200px) {
header li{
display: block;
}
.container {
display: flex;
justify-content: center; /* Centers horizontally */
width: 90vw;
margin-top: 10vh;
}
.left-panel {
display: none; /* Initially hidden */
min-width: 90%; /* Takes full width when shown */
margin: 0;
}
.conversation-container {
width: 90%;
}
.left-panel.visible {
display: block;
}
.conversation-container.collapsed {
display: none;
}
.conversation-container.expanded {
width: 100%;
}
.grid {
grid-template-columns: 1fr; /* One item per line */
}
.model-box {
max-width: none; /* Remove max-width constraint */
margin: 0 auto; /* Center each model-box */
}
.input {
grid-column: 1 / -1;
flex-direction: row;
gap: 10px;
padding: 0.5em;
margin: 0 auto;
align-items: center;
width: 90%;
}
.input input {
font-size: 1em; /* Adjust font size */
max-width: 65%;
margin-right: 0;
}
.input button {
height: 40px; /* Adjust button height */
width: 40px; /* Adjust button width */
font-size: 1.2em; /* Adjust button font size */
margin: auto;
}
}