Spaces:
Build error
Build error
Update static/styles.css
Browse files- static/styles.css +114 -166
static/styles.css
CHANGED
|
@@ -1,166 +1,114 @@
|
|
| 1 |
-
/*
|
| 2 |
-
body {
|
| 3 |
-
font-family: 'Roboto', sans-serif;
|
| 4 |
-
background:
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
/*
|
| 12 |
-
|
| 13 |
-
background-color: #
|
| 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 |
-
font-
|
| 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 |
-
color: #
|
| 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 |
-
width: 100%;
|
| 116 |
-
}
|
| 117 |
-
|
| 118 |
-
.result-title {
|
| 119 |
-
font-size: 24px; /* Larger font size for the title */
|
| 120 |
-
font-weight: bold; /* Bold text */
|
| 121 |
-
margin-bottom: 10px; /* Space below title */
|
| 122 |
-
}
|
| 123 |
-
|
| 124 |
-
.result-value {
|
| 125 |
-
font-size: 18px; /* Font size for result */
|
| 126 |
-
color: #007bff; /* Use primary color for emphasis */
|
| 127 |
-
font-weight: 700; /* Bold font weight */
|
| 128 |
-
}
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
/* Footer Styles */
|
| 132 |
-
footer {
|
| 133 |
-
background-color: #007bff;
|
| 134 |
-
color: #fff;
|
| 135 |
-
text-align: center;
|
| 136 |
-
padding: 1rem;
|
| 137 |
-
margin-top: 2rem;
|
| 138 |
-
}
|
| 139 |
-
|
| 140 |
-
footer p {
|
| 141 |
-
margin: 0;
|
| 142 |
-
font-size: 1rem;
|
| 143 |
-
}
|
| 144 |
-
|
| 145 |
-
/* Responsive Design */
|
| 146 |
-
@media (max-width: 768px) {
|
| 147 |
-
header h1 {
|
| 148 |
-
font-size: 2rem;
|
| 149 |
-
}
|
| 150 |
-
|
| 151 |
-
header p {
|
| 152 |
-
font-size: 1rem;
|
| 153 |
-
}
|
| 154 |
-
|
| 155 |
-
.container {
|
| 156 |
-
padding: 0 0.5rem; /* Reduced padding for smaller screens */
|
| 157 |
-
}
|
| 158 |
-
|
| 159 |
-
.btn-primary {
|
| 160 |
-
font-size: 1rem; /* Slightly smaller button on small screens */
|
| 161 |
-
}
|
| 162 |
-
|
| 163 |
-
h3 {
|
| 164 |
-
font-size: 1.5rem; /* Smaller section title on small screens */
|
| 165 |
-
}
|
| 166 |
-
}
|
|
|
|
| 1 |
+
/* General Styles */
|
| 2 |
+
body {
|
| 3 |
+
font-family: 'Roboto', sans-serif;
|
| 4 |
+
background-color: #f0f4f8; /* Light background color */
|
| 5 |
+
}
|
| 6 |
+
|
| 7 |
+
/* App Window */
|
| 8 |
+
.app-window {
|
| 9 |
+
max-width: 800px; /* Set maximum width */
|
| 10 |
+
margin: auto; /* Center align */
|
| 11 |
+
border-radius: 10px; /* Rounded corners */
|
| 12 |
+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
|
| 13 |
+
background-color: #ffffff; /* White background for content */
|
| 14 |
+
padding: 2rem; /* Padding for content */
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
/* Header Section */
|
| 18 |
+
.bg-primary {
|
| 19 |
+
background-color: #007bff !important; /* Primary blue color */
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
/* Logo Styles */
|
| 23 |
+
.logo {
|
| 24 |
+
width: 120px; /* Adjust logo size */
|
| 25 |
+
height: auto; /* Maintain aspect ratio */
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
/* Form Styles */
|
| 29 |
+
h2 {
|
| 30 |
+
color: #333; /* Darker text for headings */
|
| 31 |
+
margin-bottom: 1.5rem; /* Spacing below heading */
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
.form-group {
|
| 35 |
+
margin-bottom: 1.5rem; /* Spacing between form groups */
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
.col-form-label {
|
| 39 |
+
font-weight: bold; /* Bold labels */
|
| 40 |
+
color: #0056b3; /* Dark blue for labels */
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
/* Input and Select Styles */
|
| 44 |
+
input.form-control,
|
| 45 |
+
select.form-control {
|
| 46 |
+
border: 2px solid #ced4da; /* Thicker border for input and select */
|
| 47 |
+
border-radius: 0.25rem; /* Rounded input corners */
|
| 48 |
+
transition: border-color 0.3s, box-shadow 0.3s; /* Transition for border color and shadow */
|
| 49 |
+
padding: 0.5rem; /* Add padding to inputs */
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
input.form-control:focus,
|
| 53 |
+
select.form-control:focus {
|
| 54 |
+
border-color: #28a745; /* Green border on focus */
|
| 55 |
+
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); /* Green shadow effect on focus */
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
/* Button Styles */
|
| 59 |
+
.btn-primary {
|
| 60 |
+
background-color: #28a745; /* Green button color */
|
| 61 |
+
border: none; /* Remove border */
|
| 62 |
+
color: #ffffff; /* White text color */
|
| 63 |
+
transition: background-color 0.3s, transform 0.3s; /* Transition for hover effect */
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
.btn-primary:hover {
|
| 67 |
+
background-color: #218838; /* Darker green on hover */
|
| 68 |
+
transform: scale(1.05); /* Slightly enlarge button on hover */
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
/* Result Display Styles */
|
| 72 |
+
.prediction-result {
|
| 73 |
+
background-color: #e9f7ef; /* Light green background */
|
| 74 |
+
border-left: 5px solid #28a745; /* Green left border */
|
| 75 |
+
padding: 1rem; /* Padding for the result box */
|
| 76 |
+
border-radius: 5px; /* Rounded corners */
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
.result-title {
|
| 80 |
+
color: #155724; /* Dark green for title */
|
| 81 |
+
font-weight: bold; /* Bold title */
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
+
.result-value {
|
| 85 |
+
font-size: 1.5rem; /* Larger font for result value */
|
| 86 |
+
color: #155724; /* Dark green for result value */
|
| 87 |
+
}
|
| 88 |
+
|
| 89 |
+
/* Footer Styles */
|
| 90 |
+
footer {
|
| 91 |
+
margin-top: 20px; /* Space above the footer */
|
| 92 |
+
background-color: #007bff; /* Footer background */
|
| 93 |
+
padding: 1rem 0; /* Padding for footer */
|
| 94 |
+
color: white; /* White text color for footer */
|
| 95 |
+
}
|
| 96 |
+
|
| 97 |
+
footer p {
|
| 98 |
+
margin: 0; /* Remove margin */
|
| 99 |
+
}
|
| 100 |
+
|
| 101 |
+
/* Responsive Styles */
|
| 102 |
+
@media (max-width: 576px) {
|
| 103 |
+
.app-window {
|
| 104 |
+
padding: 1rem; /* Less padding on smaller screens */
|
| 105 |
+
}
|
| 106 |
+
|
| 107 |
+
.logo {
|
| 108 |
+
width: 100px; /* Smaller logo for mobile */
|
| 109 |
+
}
|
| 110 |
+
|
| 111 |
+
h2 {
|
| 112 |
+
font-size: 1.5rem; /* Smaller heading size for mobile */
|
| 113 |
+
}
|
| 114 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|