Spaces:
Sleeping
Sleeping
File size: 4,477 Bytes
78b86a9 0f41435 78b86a9 0f41435 78b86a9 5077301 78b86a9 5077301 78b86a9 5077301 78b86a9 5077301 78b86a9 5077301 78b86a9 5077301 78b86a9 b8867b5 78b86a9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 |
# Color scheme
PRIMARY_COLOR = "#006838" # Dark green
SECONDARY_COLOR = "#FCAF17" # Gold
ACCENT_COLOR = "#2B3990" # Navy blue
BACKGROUND_COLOR = "#FFFFFF" # White background
TEXT_COLOR = "#000000" # Black for text
CARD_BACKGROUND = "#F5F9FA" # Slightly off-white for cards
SIDEBAR_BACKGROUND = "#F5F9FA" # Light background for sidebar
BUTTON_BACKGROUND = "#FCAF17" # Yellow for buttons
BUTTON_HOVER = "#006838" # Green for hover
# Custom CSS
CUSTOM_CSS = """
<style>
.stApp {
background-color: #FFFFFF !important;
}
/* Style Streamlit's header */
.stApp > header {
background-color: #DDEAF1 !important;
height: auto !important;
padding: 1rem 2rem !important;
margin: 0 !important;
border-bottom: 2px solid #FCAF17 !important;
}
.stApp > header > div {
padding: 0 !important;
margin: 0 !important;
color: #2B3990 !important;
font-size: 1.2rem !important;
font-weight: bold !important;
}
/* Main container styling */
.main {
padding: 0 2rem 2rem 2rem !important;
background-color: #FFFFFF !important;
}
/* Remove all spacing from first elements */
.main > div:first-child {
padding: 0 !important;
margin: 0 !important;
}
.main > div:first-child > div:first-child {
padding: 0 !important;
margin: 0 !important;
}
/* Sidebar styling - using more specific selectors */
section[data-testid="stSidebar"] {
background-color: #DDEAF1 !important;
}
section[data-testid="stSidebar"] > div {
background-color: #DDEAF1 !important;
}
.sidebar .sidebar-content {
background-color: #DDEAF1 !important;
}
/* Button styling */
.stButton>button {
width: 100%;
margin: 5px 0;
text-align: left;
padding: 10px;
border-radius: 5px;
background-color: #FCAF17;
color: #000000;
border: 1px solid #E69C15;
transition: all 0.3s ease;
}
.stButton>button:hover {
background-color: #006838;
color: #FFFFFF;
border-color: #006838;
}
/* Headers styling */
h1 {
color: #000000;
border-bottom: 2px solid #FCAF17;
padding-bottom: 0.5rem;
margin-top: 0 !important;
}
h2 {
color: #000000;
margin-top: 2rem;
}
h3 {
color: #000000;
}
/* Links styling */
a {
color: #2B3990;
text-decoration: none;
}
a:hover {
color: #006838;
text-decoration: underline;
}
/* Footer styling */
.footer {
margin-top: 3rem;
padding-top: 1rem;
border-top: 1px solid #DDEAF1;
color: #000000;
}
.footer-content {
display: flex;
justify-content: center;
align-items: center;
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}
/* Card styling */
.stMarkdown {
background-color: #F5F9FA;
padding: 1.5rem;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
margin: 1rem 0;
}
/* Ensure all text within stMarkdown is black */
.stMarkdown p,
.stMarkdown li,
.stMarkdown ul,
.stMarkdown ol,
.stMarkdown div {
color: #000000 !important;
}
/* Highlight important text */
.highlight {
color: #000000;
font-weight: bold;
background-color: #F5F9FA;
padding: 1rem;
border-radius: 5px;
border-left: 4px solid #FCAF17;
}
/* Section dividers */
hr {
border: none;
border-top: 2px solid #DDEAF1;
margin: 2rem 0;
}
/* Text content styling */
p, li {
color: #000000;
line-height: 1.6;
}
/* List styling */
ul, ol {
color: #000000;
padding-left: 1.5rem;
}
/* Blockquote styling */
blockquote {
background-color: #F5F9FA;
border-left: 4px solid #FCAF17;
padding: 1rem;
margin: 1rem 0;
border-radius: 0 5px 5px 0;
color: #000000;
}
/* Code block styling */
pre {
background-color: #F5F9FA;
border-radius: 5px;
padding: 1rem;
color: #000000;
}
</style>
""" |