adarshadda commited on
Commit
7e95e5d
·
verified ·
1 Parent(s): 07663f9

Update static/style.css

Browse files
Files changed (1) hide show
  1. static/style.css +54 -80
static/style.css CHANGED
@@ -1,89 +1,63 @@
1
- *{
2
- padding: 0%;
3
- margin: 0%;
4
- }
5
  body {
6
- display: flex;
7
- justify-content: center;
8
- align-items: center;
9
- min-height: 50vh;
10
- background-color:#001C30;
11
- /* Add some margin around the body */
12
- }
13
- .all {
 
14
  background-color: #6bb1e0;
15
- border-radius: 20px;
16
- border: none;
17
- }
18
-
19
- h1 {
20
- background-color: #127dc4; /* Scale up slightly on hover */
21
- color: #e5e8eb; /* Dark text color for readability */
22
- padding: 40px; /* Increased padding for better spacing */
23
- border-radius: 30px; /* Rounded corners */
24
- margin: 5px; /* Margin around the heading */
25
- text-align: center; /* Center align text */
26
- box-shadow: 0 4px 8px rgba(231, 222, 222, 0.1); /* Subtle shadow for depth */
27
-
28
- /* Animation for hover effect */
29
- transition: transform 0.3s ease-in-out;
30
- }
31
-
32
- h1:hover {
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
- border: none;
50
- /* Add space below labels */
51
- }
52
- .btn-primary {
53
 
54
- background-color: #0c010c; /* Updated background color for button */
55
- color: #ffffff; /* Updated text color to white */
56
- padding: 8px 20px; /* Slightly increased padding for better spacing */
57
- border-radius: 5px; /* Rounded corners */
58
- display: inline-block; /* Changed display to inline-block for better alignment */
59
- text-align: center; /* Center-align text */
60
- text-decoration: none; /* Remove underline by default */
61
- font-size: 16px; /* Adjust font size */
62
- cursor: pointer; /* Cursor style on hover */
63
- transition: background-color 0.3s, color 0.3s, border-color 0.3s; /* Smooth transition on hover */
 
 
 
 
 
 
 
64
  }
65
 
66
  .btn-primary:hover {
67
- background-color: #045c91; /* Darker background color on hover */
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
+ }