Spaces:
Runtime error
Runtime error
Upload 2 files
Browse files- CSS/chat_style.css +23 -0
- CSS/style.css +32 -0
CSS/chat_style.css
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.gradio-container {
|
2 |
+
display: flex;
|
3 |
+
flex-direction: column;
|
4 |
+
height: 100%; /* Occupy full height of the container */
|
5 |
+
}
|
6 |
+
|
7 |
+
.chat-box {
|
8 |
+
flex-grow: 1; /* Allow the chat box to expand and fill available space */
|
9 |
+
overflow-y: auto; /* Add vertical scroll if content overflows */
|
10 |
+
}
|
11 |
+
|
12 |
+
/* Media Queries for Different Screen Sizes */
|
13 |
+
@media (max-width: 768px) {
|
14 |
+
/* Styles for tablets and smaller screens */
|
15 |
+
.chat-container {
|
16 |
+
flex-direction: column; /* Stack chat boxes vertically */
|
17 |
+
}
|
18 |
+
}
|
19 |
+
|
20 |
+
@media (max-width: 480px) {
|
21 |
+
/* Styles for mobile phones */
|
22 |
+
/* Add more specific styles as needed */
|
23 |
+
}
|
CSS/style.css
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
:root {
|
2 |
+
font-size: 1.2em;
|
3 |
+
}
|
4 |
+
|
5 |
+
|
6 |
+
h1 {
|
7 |
+
text-align: center;
|
8 |
+
display: block;
|
9 |
+
font-size: 2em;
|
10 |
+
}
|
11 |
+
|
12 |
+
h2 {
|
13 |
+
font-size: 1.4em;
|
14 |
+
}
|
15 |
+
|
16 |
+
h3 {
|
17 |
+
text-align: left;
|
18 |
+
font-size: 1.3em;
|
19 |
+
}
|
20 |
+
|
21 |
+
.chat_container {
|
22 |
+
height: 80vh;
|
23 |
+
}
|
24 |
+
|
25 |
+
#PG_Logo {
|
26 |
+
display: block; /* Ensure the image behaves like a block element */
|
27 |
+
margin-left: auto; /* Automatically set the left margin to push the image to the right */
|
28 |
+
}
|
29 |
+
|
30 |
+
#Logo {
|
31 |
+
float: left; /* Use float: left to align the image to the left */
|
32 |
+
}
|