shikharyashmaurya commited on
Commit
5fbe157
·
verified ·
1 Parent(s): e984d00

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +49 -18
style.css CHANGED
@@ -1,28 +1,59 @@
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
 
 
 
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  }
 
1
+ /* Basic reset and styling */
2
  body {
3
+ font-family: Arial, sans-serif;
4
+ background-color: #f0f2f5;
5
+ display: flex;
6
+ justify-content: center; /* Center horizontally */
7
+ align-items: center; /* Center vertically */
8
+ height: 100vh; /* Full viewport height */
9
+ margin: 0;
10
  }
11
 
12
+ /* Style the login container */
13
+ .login-container {
14
+ background-color: white;
15
+ padding: 30px;
16
+ border-radius: 10px;
17
+ box-shadow: 0 4px 8px rgba(0,0,0,0.1);
18
+ width: 300px;
19
  }
20
 
21
+ /* Form elements spacing */
22
+ .login-container h2 {
23
+ margin-bottom: 20px;
24
+ text-align: center;
 
25
  }
26
 
27
+ .login-container label {
28
+ display: block;
29
+ margin-bottom: 5px;
 
 
 
30
  }
31
 
32
+ .login-container input {
33
+ width: 100%;
34
+ padding: 8px;
35
+ margin-bottom: 15px;
36
+ box-sizing: border-box;
37
+ }
38
+
39
+ .login-container button {
40
+ width: 100%;
41
+ padding: 10px;
42
+ background-color: #007bff;
43
+ border: none;
44
+ color: white;
45
+ font-size: 16px;
46
+ border-radius: 5px;
47
+ cursor: pointer;
48
+ }
49
+
50
+ .login-container button:hover {
51
+ background-color: #0056b3;
52
+ }
53
+
54
+ /* Message styling */
55
+ #message {
56
+ margin-top: 15px;
57
+ text-align: center;
58
+ color: red;
59
  }