Spaces:
Paused
Paused
Update style.css
Browse files
style.css
CHANGED
|
@@ -147,4 +147,44 @@ button:hover {
|
|
| 147 |
opacity: 0;
|
| 148 |
transition: opacity 0.1s;
|
| 149 |
z-index: 9999;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 150 |
}
|
|
|
|
| 147 |
opacity: 0;
|
| 148 |
transition: opacity 0.1s;
|
| 149 |
z-index: 9999;
|
| 150 |
+
}
|
| 151 |
+
/* === Mobile Responsive Overrides === */
|
| 152 |
+
@media (max-width: 600px) {
|
| 153 |
+
/* allow vertical scrolling on small screens */
|
| 154 |
+
body {
|
| 155 |
+
overflow: auto;
|
| 156 |
+
}
|
| 157 |
+
|
| 158 |
+
/* tighten up padding */
|
| 159 |
+
.interface {
|
| 160 |
+
padding: 5rem 1rem 1rem !important;
|
| 161 |
+
height: auto !important;
|
| 162 |
+
}
|
| 163 |
+
|
| 164 |
+
/* smaller, centered avatar */
|
| 165 |
+
#avatar {
|
| 166 |
+
width: 100px !important;
|
| 167 |
+
height: 100px !important;
|
| 168 |
+
margin-bottom: 0.75rem !important;
|
| 169 |
+
}
|
| 170 |
+
|
| 171 |
+
/* adjust chatbox sizing & font */
|
| 172 |
+
#chatbox {
|
| 173 |
+
font-size: 0.9rem;
|
| 174 |
+
max-height: 50vh;
|
| 175 |
+
}
|
| 176 |
+
|
| 177 |
+
/* stack form vertically */
|
| 178 |
+
form {
|
| 179 |
+
flex-direction: column;
|
| 180 |
+
gap: 0.5rem;
|
| 181 |
+
}
|
| 182 |
+
input[type="text"],
|
| 183 |
+
button {
|
| 184 |
+
width: 100%;
|
| 185 |
+
box-sizing: border-box;
|
| 186 |
+
}
|
| 187 |
+
button {
|
| 188 |
+
margin: 0; /* remove side margin */
|
| 189 |
+
}
|
| 190 |
}
|