Spaces:
Sleeping
Sleeping
adarshadda
commited on
Update static/style.css
Browse files- static/style.css +54 -80
static/style.css
CHANGED
|
@@ -1,89 +1,63 @@
|
|
| 1 |
-
|
| 2 |
-
padding: 0%;
|
| 3 |
-
margin: 0%;
|
| 4 |
-
}
|
| 5 |
body {
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
|
|
|
| 14 |
background-color: #6bb1e0;
|
| 15 |
-
|
| 16 |
-
border:
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
transform: scale(1.05);
|
| 34 |
-
background-color: #020f1a; /* Scale up slightly on hover */
|
| 35 |
-
}
|
| 36 |
-
.login {
|
| 37 |
-
border: none; /* Add a border to the login form */
|
| 38 |
-
padding: 10px; /* Add some padding inside the form */
|
| 39 |
-
border-radius: 3px; /* Add rounded corners to the form */
|
| 40 |
-
}
|
| 41 |
-
|
| 42 |
-
.mb-3 {
|
| 43 |
-
margin-bottom: 1rem; /* Class for spacing between form elements */
|
| 44 |
-
}
|
| 45 |
-
|
| 46 |
-
.form-label {
|
| 47 |
-
display: flex; /* Make labels appear on separate lines */
|
| 48 |
margin-bottom: 5px;
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
}
|
| 52 |
-
.btn-primary {
|
| 53 |
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
}
|
| 65 |
|
| 66 |
.btn-primary:hover {
|
| 67 |
-
|
| 68 |
-
color: #ffffff;
|
| 69 |
-
transform: scale(1.05); /* Change text color to white on hover */
|
| 70 |
}
|
| 71 |
-
select {
|
| 72 |
-
width: 100%; /* Make select boxes fill full width */
|
| 73 |
-
}
|
| 74 |
-
|
| 75 |
-
input[type="number"] {
|
| 76 |
-
width: 50%; /* Set width for number input fields */
|
| 77 |
-
}
|
| 78 |
-
h2 {
|
| 79 |
-
display: flex;
|
| 80 |
-
justify-content: center;
|
| 81 |
-
text-align: center; /* Center align the prediction result */
|
| 82 |
-
color: #001C30; /* Set green color for the prediction */
|
| 83 |
-
}
|
| 84 |
-
legend {
|
| 85 |
-
font-size: 1.5rem; /* Adjust font size as needed */
|
| 86 |
-
padding: 5px; /* Adjust padding for spacing */
|
| 87 |
-
}
|
| 88 |
|
| 89 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* General Styles */
|
|
|
|
|
|
|
|
|
|
| 2 |
body {
|
| 3 |
+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
| 4 |
+
display: flex;
|
| 5 |
+
justify-content: center;
|
| 6 |
+
align-items: center;
|
| 7 |
+
min-height: 100vh;
|
| 8 |
+
background-color: #001C30;
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
.all {
|
| 12 |
background-color: #6bb1e0;
|
| 13 |
+
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
|
| 14 |
+
border-radius: 8px;
|
| 15 |
+
padding: 20px;
|
| 16 |
+
width: 550px; /* Increased width */
|
| 17 |
+
max-width: 90%; /* Ensures it fits on smaller screens */
|
| 18 |
+
color: #393737;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
h1 {
|
| 22 |
+
text-align: center;
|
| 23 |
+
color: #001C30;
|
| 24 |
+
margin-bottom: 15px;
|
| 25 |
+
font-size: 1.5rem;
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
/* Form Styles */
|
| 29 |
+
.form-label {
|
| 30 |
+
display: block;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
margin-bottom: 5px;
|
| 32 |
+
font-weight: bold;
|
| 33 |
+
}
|
|
|
|
|
|
|
| 34 |
|
| 35 |
+
.form-control, select {
|
| 36 |
+
width: 100%;
|
| 37 |
+
padding: 8px; /* Reduced padding */
|
| 38 |
+
margin-bottom: 12px; /* Reduced margin */
|
| 39 |
+
border: 1px solid #ccc;
|
| 40 |
+
border-radius: 4px;
|
| 41 |
+
box-sizing: border-box;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
.btn-primary {
|
| 45 |
+
background-color: #0c010c;
|
| 46 |
+
color: #ffffff;
|
| 47 |
+
padding: 8px 12px; /* Reduced padding */
|
| 48 |
+
border: none;
|
| 49 |
+
border-radius: 4px;
|
| 50 |
+
cursor: pointer;
|
| 51 |
+
transition: background-color 0.3s ease;
|
| 52 |
}
|
| 53 |
|
| 54 |
.btn-primary:hover {
|
| 55 |
+
background-color: #045c91;
|
|
|
|
|
|
|
| 56 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
|
| 58 |
+
/* Prediction Result */
|
| 59 |
+
h2 {
|
| 60 |
+
text-align: center;
|
| 61 |
+
color: #001C30;
|
| 62 |
+
margin-top: 20px;
|
| 63 |
+
}
|