interstellar_ai/app/styles/responsive.css

110 lines
1.9 KiB
CSS
Raw Normal View History

2024-09-18 12:52:36 +02:00
/* Responsive behavior - applies only on smaller screens */
@media (max-width: 1200px) {
2024-09-19 16:27:24 +02:00
*{
margin: 0;
padding: 0;
2024-09-19 15:00:23 +02:00
}
2024-09-19 16:27:24 +02:00
/* Header styles */
header {
flex-direction: column;
align-items: center;
position: relative;
top: 0;
left: 0;
margin-top: 5px;
padding-top: 0;
width: 100%;
}
/* Container styles */
2024-09-19 15:00:23 +02:00
.container {
display: flex;
2024-09-19 16:27:24 +02:00
flex-direction: column;
align-items: center;
width: 100vw;
overflow: hidden;
margin: 0;
padding: 0;
2024-09-19 15:00:23 +02:00
}
2024-09-19 16:27:24 +02:00
header li{
display: flex;
flex-direction: column;
justify-content: center;
margin: 0;
}
header li button {
margin: 2px;
margin-bottom: 0;
}
header li img {
height: 1.5em;
vertical-align: middle;
margin-top: 10px;
}
/* Left panel styles */
.left-panel {
2024-09-19 15:00:23 +02:00
display: none; /* Initially hidden */
2024-09-19 16:27:24 +02:00
min-width: 90%; /* Takes full width when visible */
2024-09-19 15:00:23 +02:00
margin: 0;
}
2024-09-18 15:01:31 +02:00
2024-09-19 16:27:24 +02:00
.left-panel.visible {
display: block;
}
/* Conversation container styles */
.conversation-container {
width: 90%;
height: 90%;
2024-09-19 15:00:23 +02:00
}
2024-09-18 15:01:31 +02:00
2024-09-19 16:27:24 +02:00
.conversation-container.collapsed {
width: 0;
padding: 0;
border: none;
overflow: hidden;
2024-09-19 15:00:23 +02:00
}
2024-09-18 15:01:31 +02:00
2024-09-19 16:27:24 +02:00
.conversation-container.expanded {
width: 100%;
2024-09-19 15:00:23 +02:00
}
2024-09-18 15:01:31 +02:00
2024-09-19 16:27:24 +02:00
/* Grid styles */
.grid {
2024-09-19 15:00:23 +02:00
grid-template-columns: 1fr; /* One item per line */
}
2024-09-19 12:18:04 +02:00
2024-09-19 16:27:24 +02:00
/* Model box styles */
.model-box {
max-width: none; /* Remove max-width */
margin: 0 auto; /* Center each model-box */
2024-09-19 12:18:04 +02:00
}
2024-09-19 16:27:24 +02:00
/* Input styles */
.input {
2024-09-19 15:00:23 +02:00
grid-column: 1 / -1;
gap: 10px;
padding: 0.5em;
margin: 0 auto;
align-items: center;
width: 90%;
2024-09-19 12:18:04 +02:00
}
2024-09-19 16:27:24 +02:00
.input input {
font-size: 1em; /* Adjust font size */
max-width: 65%;
margin-right: 0;
2024-09-19 12:18:04 +02:00
}
2024-09-19 16:27:24 +02:00
.input button {
height: 40px; /* Adjust button height */
width: 40px; /* Adjust button width */
font-size: 1.2em; /* Adjust button font size */
margin: auto;
2024-09-19 12:18:04 +02:00
}
2024-09-18 15:01:31 +02:00
}