Spaces:
Sleeping
Sleeping
| /* Base Styles */ | |
| body { | |
| background-color: #0b0c10; /* Very dark background */ | |
| color: #FF00FF; /* Bright cyan text */ | |
| font-family: 'Roboto', Arial, sans-serif; /* Modern sans-serif font */ | |
| margin: 0; | |
| padding: 0; | |
| } | |
| /* Headers */ | |
| h1, h2, h3, h4, h5, h6 { | |
| color: #45a29e; /* Muted cyan for titles */ | |
| text-align: center; | |
| font-family: 'Raleway', Arial, sans-serif; | |
| font-weight: 300; /* Light font weight */ | |
| margin-bottom: 0.5rem; | |
| animation: glow 1.5s infinite; /* Add the glow animation */ | |
| border-radius: 10px; | |
| } | |
| /* Paragraph and List Styles */ | |
| p, ol, ul, dl { | |
| color: #c5c6c7; /* Light gray for paragraph text */ | |
| line-height: 1.6; /* Improved readability */ | |
| margin: 0 0 1.5rem; | |
| } | |
| /* Button Container */ | |
| .button-container { | |
| display: flex; | |
| justify-content: center; | |
| margin: 2rem 0; /* Space above and below the container */ | |
| } | |
| /* Buttons */ | |
| .stButton>button { | |
| background-color: #1f2833; /* Dark background for buttons */ | |
| color: #66fcf1; /* Cyan text for buttons */ | |
| border: 1px solid #66fcf1; | |
| border-radius: 8px; /* Slightly rounded corners */ | |
| padding: 0.75rem 1.5rem; /* Padding for better clickability */ | |
| transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; | |
| cursor: pointer; | |
| font-size: 1rem; /* Increase font size for better readability */ | |
| font-weight: 500; /* Slightly bolder font weight */ | |
| animation: glow 1.5s infinite; | |
| } | |
| .stButton>button:hover { | |
| background-color: #45a29e; /* Hover effect */ | |
| color: #0b0c10; | |
| transform: scale(1.1); | |
| box-shadow: 0 0 15px #66fcf1, 0 0 30px #45a29e, 0 0 45px #66fcf1; | |
| } | |
| /* Input Fields */ | |
| .stTextInput>div>div>input, .stTextArea>div>textarea, .stFileUploader>div>div>input { | |
| background-color: #1f2833; /* Dark background for inputs */ | |
| color: #66fcf1; /* Cyan text for inputs */ | |
| border: 1px solid #66fcf1; | |
| border-radius: 5px; | |
| padding: 0.5rem; | |
| transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease; | |
| } | |
| .stTextInput>div>div>input:focus, .stTextArea>div>textarea:focus, .stFileUploader>div>div>input:focus { | |
| color: #66fcf1; /* Keep cyan text when focused */ | |
| background-color: #0b0c10; /* Maintain dark background when focused */ | |
| border-color: #45a29e; | |
| outline: none; | |
| } | |
| .stTextInput>div>div>input:hover, .stTextArea>div>textarea:hover, .stFileUploader>div>div>input:hover { | |
| background-color: #0b0c10; | |
| border-color: #45a29e; | |
| } | |
| .stTextInput>div>div>input::placeholder, .stTextArea>div>textarea::placeholder { | |
| color: #c5c6c7; /* Light gray placeholder color */ | |
| } | |
| /* App Container */ | |
| .stApp { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| padding: 2rem; | |
| background-color: #0b0c10; | |
| } | |
| .st-ed { | |
| background-color: rgba(0, 0, 0, 0.2); /* Slightly transparent background */ | |
| } | |
| /* Markdown */ | |
| .stMarkdown p { | |
| font-size: 1rem; | |
| font-weight: 400; | |
| color: #c5c6c7; | |
| margin: 0 0 1rem; | |
| padding: 0; | |
| } | |
| /* Advanced Animations */ | |
| @keyframes glow { | |
| 0% { | |
| box-shadow: 0 0 5px #66fcf1, 0 0 10px #66fcf1, 0 0 20px #66fcf1, 0 0 40px #45a29e; | |
| } | |
| 50% { | |
| box-shadow: 0 0 10px #66fcf1, 0 0 20px #66fcf1, 0 0 30px #66fcf1, 0 0 50px #45a29e; | |
| } | |
| 100% { | |
| box-shadow: 0 0 5px #66fcf1, 0 0 10px #66fcf1, 0 0 20px #66fcf1, 0 0 40px #45a29e; | |
| } | |
| } | |
| .stButton>button { | |
| animation: glow 1.5s infinite; | |
| } | |
| /* Responsive Design */ | |
| @media (max-width: 768px) { | |
| .stApp { | |
| padding: 1rem; | |
| } | |
| } | |