Spaces:
Sleeping
Sleeping
| /* Make Comparison/Analysis subheaders white and bold */ | |
| h3 { | |
| color: white ; | |
| font-size: 1.8rem ; | |
| text-shadow: 2px 2px 4px rgba(0, 0, 0, 1); | |
| margin-top: 30px ; | |
| } | |
| /* Ensure stock names and "Analysis:" text stay white */ | |
| .stMarkdown h3, .stMarkdown b, .stMarkdown strong { | |
| color: white ; | |
| } | |
| /* Your existing white-box result style stays for the report itself */ | |
| [data-testid="stText"] { | |
| background-color: white ; | |
| color: black ; | |
| padding: 15px ; | |
| border-radius: 10px ; | |
| } | |
| /* Target the result alert blocks specifically */ | |
| [data-testid="stText"] { | |
| background-color: white ; | |
| color: black ; | |
| padding: 15px ; | |
| border-radius: 10px ; | |
| border: 1px solid #ccc ; | |
| } | |
| /* Ensure the preformatted text inside the block is also black */ | |
| [data-testid="stText"] pre { | |
| color: black ; | |
| } | |
| .block-container { | |
| padding-top: 1rem ; | |
| } | |
| h1 { | |
| margin-top: -20px ; | |
| margin-bottom: 90px ; | |
| color: white ; | |
| text-shadow: 2px 2px 4px rgba(0,0,0,0.8); | |
| text-align: center; | |
| } | |
| .stButton button:hover { | |
| background-color: transparent ; | |
| color: white ; | |
| border: 1px solid white; | |
| } | |
| .block-container { | |
| padding-top: 1rem ; | |
| padding-bottom: 0rem; | |
| } | |
| /* Specifically target the heading to remove any extra margin */ | |
| h1 { | |
| margin-top: -20px ; | |
| padding-top: 0px ; | |
| margin-bottom: 90px ; | |
| color: white ; | |
| text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); | |
| text-align: center; | |
| } | |
| /* Ensures the header bar doesn't block your title */ | |
| header.stAppHeader { | |
| background-color: transparent; | |
| } | |
| /* Target all Streamlit buttons */ | |
| .stButton button { | |
| background-color: #0e3558; | |
| color: #FFFFFF; | |
| border: 1px solid #FFFFFF; | |
| border-radius: 25px; | |
| transition: background-color 0.3s ease, color 0.3s ease; | |
| } | |
| .stButton button:hover { | |
| background-color: transparent ; | |
| color: white ; | |
| border: 1px solid white; | |
| } | |
| .stButton button:focus { | |
| color: white ; | |
| } | |
| /* Fix the Title (st.title) visibility */ | |
| h1 { | |
| color: white ; | |
| text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); | |
| text-align: center; | |
| } | |
| /* Fix the Label for the text input box */ | |
| .stTextInput label { | |
| color: white ; | |
| font-size: 1.2rem; | |
| font-weight: bold; | |
| text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); | |
| } | |
| .stTextInput input { | |
| color: #000000; /* Keeping input text black for clarity against white box */ | |
| border-radius: 8px; /* Your 'br' fixing */ | |
| } | |
| /* Target the main container for a full-screen background */ | |
| [data-testid="stAppViewContainer"] { | |
| background-image: url("data:image/jpg;base64,IMAGE_PLACEHOLDER"); | |
| background-size: cover; | |
| background-position: center; | |
| background-attachment: fixed; | |
| } | |
| /* Fix your alignment and borders (br) here */ | |
| .main { | |
| background-color: transparent; | |
| padding: 2rem; | |
| } | |
| /* Centered container for your title */ | |
| .centered-title-container { | |
| text-align: center; | |
| border-radius: 12px; | |
| background-color: rgba(0, 0, 0, 0.5); | |
| padding: 20px; | |
| margin-bottom: 25px; | |
| } | |
| [data-testid="stSidebar"] { | |
| background-color: rgba(38, 39, 48, 0.9); | |
| } | |