Spaces:
Running
Running
bardicreels
commited on
Commit
•
3631e1a
1
Parent(s):
598ddfc
Create style.css
Browse files
style.css
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* General styles */
|
2 |
+
body {
|
3 |
+
font-family: Arial, sans-serif;
|
4 |
+
line-height: 1.6;
|
5 |
+
color: #333;
|
6 |
+
background-color: #f4f4f4;
|
7 |
+
}
|
8 |
+
|
9 |
+
/* Streamlit container */
|
10 |
+
.stApp {
|
11 |
+
max-width: 1200px;
|
12 |
+
margin: 0 auto;
|
13 |
+
padding: 20px;
|
14 |
+
background-color: #ffffff;
|
15 |
+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
16 |
+
}
|
17 |
+
|
18 |
+
/* Header styles */
|
19 |
+
h1, h2, h3 {
|
20 |
+
color: #2c3e50;
|
21 |
+
}
|
22 |
+
|
23 |
+
/* Button styles */
|
24 |
+
.stButton > button {
|
25 |
+
background-color: #3498db;
|
26 |
+
color: white;
|
27 |
+
border: none;
|
28 |
+
padding: 10px 20px;
|
29 |
+
border-radius: 5px;
|
30 |
+
cursor: pointer;
|
31 |
+
transition: background-color 0.3s ease;
|
32 |
+
}
|
33 |
+
|
34 |
+
.stButton > button:hover {
|
35 |
+
background-color: #2980b9;
|
36 |
+
}
|
37 |
+
|
38 |
+
/* Input field styles */
|
39 |
+
.stTextInput > div > div > input {
|
40 |
+
border: 1px solid #bdc3c7;
|
41 |
+
border-radius: 5px;
|
42 |
+
padding: 10px;
|
43 |
+
}
|
44 |
+
|
45 |
+
/* Chat message styles */
|
46 |
+
.stChatMessage {
|
47 |
+
padding: 10px;
|
48 |
+
margin-bottom: 10px;
|
49 |
+
border-radius: 5px;
|
50 |
+
}
|
51 |
+
|
52 |
+
.stChatMessage.user {
|
53 |
+
background-color: #e8f4f8;
|
54 |
+
}
|
55 |
+
|
56 |
+
.stChatMessage.assistant {
|
57 |
+
background-color: #f0f0f0;
|
58 |
+
}
|
59 |
+
|
60 |
+
/* Hugging Face Space container */
|
61 |
+
.hf-space-container {
|
62 |
+
border: 2px solid #3498db;
|
63 |
+
border-radius: 10px;
|
64 |
+
overflow: hidden;
|
65 |
+
margin-top: 20px;
|
66 |
+
}
|
67 |
+
|
68 |
+
/* Iframe styles */
|
69 |
+
iframe {
|
70 |
+
width: 100%;
|
71 |
+
height: 800px;
|
72 |
+
border: none;
|
73 |
+
}
|
74 |
+
|
75 |
+
/* Spinner styles */
|
76 |
+
.stSpinner > div {
|
77 |
+
border-top-color: #3498db !important;
|
78 |
+
}
|
79 |
+
|
80 |
+
/* Sidebar styles */
|
81 |
+
.css-1d391kg {
|
82 |
+
background-color: #2c3e50;
|
83 |
+
color: white;
|
84 |
+
}
|
85 |
+
|
86 |
+
/* Footer styles */
|
87 |
+
footer {
|
88 |
+
text-align: center;
|
89 |
+
margin-top: 20px;
|
90 |
+
padding: 10px;
|
91 |
+
background-color: #34495e;
|
92 |
+
color: white;
|
93 |
+
}
|