JirasakJo commited on
Commit
f892569
·
verified ·
1 Parent(s): a41867b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -8
app.py CHANGED
@@ -15,7 +15,7 @@ def load_custom_css():
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
  }
@@ -23,32 +23,32 @@ def load_custom_css():
23
  /* Main container styling */
24
  .main {
25
  padding: 2rem;
26
- color: #1F2937;
27
  background-color: white;
28
  }
29
 
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;
37
  padding: 1rem 0;
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 */
@@ -60,6 +60,7 @@ def load_custom_css():
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 {
@@ -77,6 +78,7 @@ def load_custom_css():
77
  padding: 0.75rem;
78
  font-size: 1.1rem;
79
  font-family: "Arial", sans-serif !important;
 
80
  }
81
 
82
  .stTextInput input:focus {
@@ -89,6 +91,7 @@ def load_custom_css():
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
 
@@ -101,7 +104,7 @@ def load_custom_css():
101
  ul {
102
  font-size: 1.2rem !important;
103
  margin-left: 1rem;
104
- color: #374151;
105
  list-style-type: disc;
106
  }
107
 
@@ -111,6 +114,7 @@ def load_custom_css():
111
  border-radius: 6px;
112
  font-weight: 500;
113
  font-size: 1.2rem; /* Larger for better clarity */
 
114
  }
115
 
116
  .status-online {
 
15
  /* General body styling */
16
  body {
17
  font-family: "Arial", sans-serif !important; /* Clean and readable font */
18
+ color: #000000 !important; /* Black text */
19
  background-color: white !important;
20
  line-height: 1.7 !important; /* Increase line spacing */
21
  }
 
23
  /* Main container styling */
24
  .main {
25
  padding: 2rem;
26
+ color: #000000; /* Ensure all text is black */
27
  background-color: white;
28
  }
29
 
30
  /* Headers styling */
31
  h1 {
32
+ color: #000000; /* Black headers */
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;
37
  padding: 1rem 0;
38
+ border-bottom: 3px solid #1E3A8A; /* Keep a blue line for a clean design */
39
  }
40
 
41
  h3, h4 {
42
+ color: #000000; /* Black sub-headers */
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, span, li {
50
  font-size: 1.2rem !important; /* Larger font size for regular text */
51
+ color: #000000 !important; /* Black text */
52
  }
53
 
54
  /* Chat message styling */
 
60
  font-size: 1.1rem !important;
61
  line-height: 1.6 !important; /* Better readability */
62
  font-family: "Arial", sans-serif !important;
63
+ color: #000000 !important; /* Black text in chat */
64
  }
65
 
66
  .user-message {
 
78
  padding: 0.75rem;
79
  font-size: 1.1rem;
80
  font-family: "Arial", sans-serif !important;
81
+ color: #000000; /* Black input text */
82
  }
83
 
84
  .stTextInput input:focus {
 
91
  border-radius: 8px;
92
  font-weight: 600;
93
  font-size: 1.2rem !important; /* Bigger buttons for better interaction */
94
+ color: #000000; /* Black text on buttons */
95
  transition: all 0.2s ease;
96
  }
97
 
 
104
  ul {
105
  font-size: 1.2rem !important;
106
  margin-left: 1rem;
107
+ color: #000000; /* Black text in lists */
108
  list-style-type: disc;
109
  }
110
 
 
114
  border-radius: 6px;
115
  font-weight: 500;
116
  font-size: 1.2rem; /* Larger for better clarity */
117
+ color: #000000; /* Black text for status */
118
  }
119
 
120
  .status-online {