Update app.py
Browse files
app.py
CHANGED
@@ -12,12 +12,12 @@ from calendar_rag import (
|
|
12 |
def load_custom_css():
|
13 |
st.markdown("""
|
14 |
<style>
|
15 |
-
/*
|
16 |
body {
|
|
|
17 |
color: #1F2937 !important;
|
18 |
background-color: white !important;
|
19 |
-
|
20 |
-
line-height: 1.6 !important; /* Increase line spacing */
|
21 |
}
|
22 |
|
23 |
/* Main container styling */
|
@@ -30,7 +30,7 @@ def load_custom_css():
|
|
30 |
/* Headers styling */
|
31 |
h1 {
|
32 |
color: #1E3A8A;
|
33 |
-
font-size:
|
34 |
font-weight: 700 !important;
|
35 |
margin-bottom: 1.5rem !important;
|
36 |
text-align: center;
|
@@ -38,23 +38,36 @@ def load_custom_css():
|
|
38 |
border-bottom: 3px solid #1E3A8A;
|
39 |
}
|
40 |
|
41 |
-
h3 {
|
42 |
color: #1E3A8A;
|
43 |
font-weight: 600 !important;
|
44 |
-
font-size: 1.
|
45 |
margin-top: 1.5rem !important;
|
46 |
}
|
47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
/* Chat message styling */
|
49 |
.chat-message {
|
50 |
padding: 1.5rem;
|
51 |
border-radius: 10px;
|
52 |
margin: 1rem 0;
|
53 |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
54 |
-
|
55 |
-
background-color: white !important;
|
56 |
-
font-size: 1.1rem !important; /* Larger text */
|
57 |
line-height: 1.6 !important; /* Better readability */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
}
|
59 |
|
60 |
/* Input field styling */
|
@@ -62,7 +75,7 @@ def load_custom_css():
|
|
62 |
border-radius: 8px;
|
63 |
border: 2px solid #E5E7EB;
|
64 |
padding: 0.75rem;
|
65 |
-
font-size: 1.1rem;
|
66 |
font-family: "Arial", sans-serif !important;
|
67 |
}
|
68 |
|
@@ -75,10 +88,23 @@ def load_custom_css():
|
|
75 |
.stButton button {
|
76 |
border-radius: 8px;
|
77 |
font-weight: 600;
|
78 |
-
font-size: 1.
|
79 |
transition: all 0.2s ease;
|
80 |
}
|
81 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
/* Status indicator styling */
|
83 |
.status-indicator {
|
84 |
padding: 0.5rem 1rem;
|
|
|
12 |
def load_custom_css():
|
13 |
st.markdown("""
|
14 |
<style>
|
15 |
+
/* General body styling */
|
16 |
body {
|
17 |
+
font-family: "Arial", sans-serif !important; /* Clean and readable font */
|
18 |
color: #1F2937 !important;
|
19 |
background-color: white !important;
|
20 |
+
line-height: 1.7 !important; /* Increase line spacing */
|
|
|
21 |
}
|
22 |
|
23 |
/* Main container styling */
|
|
|
30 |
/* Headers styling */
|
31 |
h1 {
|
32 |
color: #1E3A8A;
|
33 |
+
font-size: 2.8rem !important; /* Larger font for headers */
|
34 |
font-weight: 700 !important;
|
35 |
margin-bottom: 1.5rem !important;
|
36 |
text-align: center;
|
|
|
38 |
border-bottom: 3px solid #1E3A8A;
|
39 |
}
|
40 |
|
41 |
+
h3, h4 {
|
42 |
color: #1E3A8A;
|
43 |
font-weight: 600 !important;
|
44 |
+
font-size: 1.6rem !important; /* Increase font size for sub-headers */
|
45 |
margin-top: 1.5rem !important;
|
46 |
}
|
47 |
|
48 |
+
/* Paragraphs and text */
|
49 |
+
p {
|
50 |
+
font-size: 1.2rem !important; /* Larger font size for regular text */
|
51 |
+
color: #374151;
|
52 |
+
}
|
53 |
+
|
54 |
/* Chat message styling */
|
55 |
.chat-message {
|
56 |
padding: 1.5rem;
|
57 |
border-radius: 10px;
|
58 |
margin: 1rem 0;
|
59 |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
60 |
+
font-size: 1.1rem !important;
|
|
|
|
|
61 |
line-height: 1.6 !important; /* Better readability */
|
62 |
+
font-family: "Arial", sans-serif !important;
|
63 |
+
}
|
64 |
+
|
65 |
+
.user-message {
|
66 |
+
background-color: #F3F4F6 !important;
|
67 |
+
}
|
68 |
+
|
69 |
+
.assistant-message {
|
70 |
+
background-color: #EFF6FF !important;
|
71 |
}
|
72 |
|
73 |
/* Input field styling */
|
|
|
75 |
border-radius: 8px;
|
76 |
border: 2px solid #E5E7EB;
|
77 |
padding: 0.75rem;
|
78 |
+
font-size: 1.1rem;
|
79 |
font-family: "Arial", sans-serif !important;
|
80 |
}
|
81 |
|
|
|
88 |
.stButton button {
|
89 |
border-radius: 8px;
|
90 |
font-weight: 600;
|
91 |
+
font-size: 1.2rem !important; /* Bigger buttons for better interaction */
|
92 |
transition: all 0.2s ease;
|
93 |
}
|
94 |
|
95 |
+
.stButton button:hover {
|
96 |
+
transform: translateY(-1px);
|
97 |
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
98 |
+
}
|
99 |
+
|
100 |
+
/* List styling */
|
101 |
+
ul {
|
102 |
+
font-size: 1.2rem !important;
|
103 |
+
margin-left: 1rem;
|
104 |
+
color: #374151;
|
105 |
+
list-style-type: disc;
|
106 |
+
}
|
107 |
+
|
108 |
/* Status indicator styling */
|
109 |
.status-indicator {
|
110 |
padding: 0.5rem 1rem;
|