mental_issue / static /style.css
sakshi116's picture
Rename Static/style.css to static/style.css
2139825 verified
/* Color Palette: Soft Blue (#4B6587), Lavender (#D6D8E7), Cream (#FDF6EC), Coral (#F76A6A) */
body {
font-family: 'Arial', sans-serif;
background-color: #FDF6EC;
/* Cream */
color: #4B6587;
/* Soft Blue */
margin: 0;
padding: 20px;
line-height: 1.6;
}
.container {
max-width: 800px;
margin: 0 auto;
background-color: #FFFFFF;
border-radius: 12px;
padding: 30px;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}
h1 {
color: #4B6587;
/* Soft Blue */
text-align: center;
font-size: 2.5em;
margin-bottom: 10px;
}
.subtitle {
text-align: center;
color: #6B7280;
font-size: 1.2em;
margin-bottom: 30px;
}
h2 {
color: #F76A6A;
/* Coral */
font-size: 1.8em;
margin-bottom: 20px;
}
.form-section {
background-color: #D6D8E7;
/* Lavender */
padding: 20px;
border-radius: 8px;
margin-bottom: 30px;
}
.input-form {
display: flex;
flex-direction: column;
gap: 15px;
}
.form-group {
display: flex;
flex-direction: column;
}
.form-group label {
font-weight: bold;
margin-bottom: 5px;
color: #4B6587;
}
.form-group input {
padding: 10px;
border: 1px solid #D6D8E7;
border-radius: 6px;
font-size: 1em;
background-color: #FDF6EC;
transition: border-color 0.3s ease;
}
.form-group input:focus {
outline: none;
border-color: #F76A6A;
}
.submit-btn {
background-color: #F76A6A;
/* Coral */
color: #FFFFFF;
padding: 12px;
border: none;
border-radius: 6px;
font-size: 1.1em;
cursor: pointer;
transition: background-color 0.3s ease;
}
.submit-btn:hover {
background-color: #e55a5a;
}
.result-section {
text-align: center;
margin-top: 30px;
}
.result-box {
background-color: #D6D8E7;
/* Lavender */
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.result-text {
font-size: 1.3em;
font-weight: bold;
color: #4B6587;
margin-bottom: 10px;
}
.result-prob {
font-size: 1.1em;
color: #6B7280;
}
.error-section {
text-align: center;
margin-top: 20px;
}
.error {
color: #F76A6A;
/* Coral */
font-style: italic;
font-size: 1.1em;
}