Spaces:
Sleeping
Sleeping
Update sidebar text to light grey for better visual contrast
Browse files- src/streamlit_app.py +19 -7
src/streamlit_app.py
CHANGED
@@ -71,20 +71,20 @@ st.markdown("""
|
|
71 |
}
|
72 |
|
73 |
.css-1d391kg p, .css-1p05t8e p { /* Sidebar text */
|
74 |
-
color: #
|
75 |
}
|
76 |
|
77 |
.css-1d391kg a, .css-1p05t8e a { /* Sidebar links */
|
78 |
-
color: #
|
79 |
text-decoration: underline;
|
80 |
}
|
81 |
|
82 |
.css-1d391kg h1, .css-1p05t8e h1 { /* Sidebar headers */
|
83 |
-
color: #
|
84 |
}
|
85 |
|
86 |
.css-1d391kg .stMarkdown, .css-1p05t8e .stMarkdown { /* Sidebar markdown */
|
87 |
-
color: #
|
88 |
}
|
89 |
|
90 |
/* Custom containers */
|
@@ -111,7 +111,7 @@ st.markdown("""
|
|
111 |
margin-bottom: 2rem;
|
112 |
padding-bottom: 1rem;
|
113 |
border-bottom: 1px solid #E0D5C8;
|
114 |
-
color: #
|
115 |
}
|
116 |
|
117 |
.resource-item:last-child {
|
@@ -120,12 +120,12 @@ st.markdown("""
|
|
120 |
|
121 |
.resource-title {
|
122 |
font-weight: 600;
|
123 |
-
color: #
|
124 |
margin-bottom: 0.5rem;
|
125 |
}
|
126 |
|
127 |
.resource-link {
|
128 |
-
color: #
|
129 |
text-decoration: underline;
|
130 |
font-weight: 500;
|
131 |
}
|
@@ -149,6 +149,18 @@ st.markdown("""
|
|
149 |
.st-emotion-cache-1rat1s6 * {
|
150 |
color: #2D2D2D !important;
|
151 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
</style>
|
153 |
""", unsafe_allow_html=True)
|
154 |
|
|
|
71 |
}
|
72 |
|
73 |
.css-1d391kg p, .css-1p05t8e p { /* Sidebar text */
|
74 |
+
color: #666666;
|
75 |
}
|
76 |
|
77 |
.css-1d391kg a, .css-1p05t8e a { /* Sidebar links */
|
78 |
+
color: #666666;
|
79 |
text-decoration: underline;
|
80 |
}
|
81 |
|
82 |
.css-1d391kg h1, .css-1p05t8e h1 { /* Sidebar headers */
|
83 |
+
color: #666666;
|
84 |
}
|
85 |
|
86 |
.css-1d391kg .stMarkdown, .css-1p05t8e .stMarkdown { /* Sidebar markdown */
|
87 |
+
color: #666666;
|
88 |
}
|
89 |
|
90 |
/* Custom containers */
|
|
|
111 |
margin-bottom: 2rem;
|
112 |
padding-bottom: 1rem;
|
113 |
border-bottom: 1px solid #E0D5C8;
|
114 |
+
color: #666666;
|
115 |
}
|
116 |
|
117 |
.resource-item:last-child {
|
|
|
120 |
|
121 |
.resource-title {
|
122 |
font-weight: 600;
|
123 |
+
color: #666666;
|
124 |
margin-bottom: 0.5rem;
|
125 |
}
|
126 |
|
127 |
.resource-link {
|
128 |
+
color: #666666;
|
129 |
text-decoration: underline;
|
130 |
font-weight: 500;
|
131 |
}
|
|
|
149 |
.st-emotion-cache-1rat1s6 * {
|
150 |
color: #2D2D2D !important;
|
151 |
}
|
152 |
+
|
153 |
+
/* Override any theme-specific text colors in sidebar */
|
154 |
+
.st-emotion-cache-1rat1s6 .stMarkdown,
|
155 |
+
.st-emotion-cache-1rat1s6 p,
|
156 |
+
.st-emotion-cache-1rat1s6 h1,
|
157 |
+
.st-emotion-cache-1rat1s6 h2,
|
158 |
+
.st-emotion-cache-1rat1s6 h3,
|
159 |
+
.st-emotion-cache-1rat1s6 h4,
|
160 |
+
.st-emotion-cache-1rat1s6 li,
|
161 |
+
.st-emotion-cache-1rat1s6 a {
|
162 |
+
color: #666666 !important;
|
163 |
+
}
|
164 |
</style>
|
165 |
""", unsafe_allow_html=True)
|
166 |
|