-
Notifications
You must be signed in to change notification settings - Fork 0
/
signup.css
72 lines (62 loc) · 1.48 KB
/
signup.css
1
2
3
4
5
6
7
8
9
10
11
12
13
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
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
body {
margin: 0;
padding: 0;
display: flex;
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically */
height: 100vh;
}
.container {
display: flex;
max-width: 800px;
width: 100%;
}
.image {
flex: 1; /* Take up 50% of the container */
text-align: center;
}
.image img {
max-width: 100%;
height: auto;
}
.form-container {
flex: 2; /* Take up 50% of the container */
padding: 20px;
background-color: #f9f9f9; /* Background color for the form */
}
.form-container h2 {
text-align: center;
}
.form-container form {
max-width: 400px; /* Adjust the width of the form as needed */
margin: 0 auto; /* Center the form horizontally */
}
.form-container form div {
margin-bottom: 10px;
}
.form-container form input[type="text"],
.form-container form input[type="password"] {
width: 100%;
padding: 8px;
border-radius: 3px;
border: 1px solid #ccc;
}
.form-container form input[type="submit"] {
width: 105%;
padding: 10px;
border-radius: 3px;
border: none;
background-color: #007bff;
color: #fff;
cursor: pointer;
}
.form-container form input[type="submit"]:hover {
background-color: #0056b3;
}
/* Make the title of the Form Input Field go to the Left */
.form-container label {
display: inline-block;
width: 400px; /* Adjust the width as needed */
text-align: left;
margin-right: 10px; /* Add some space between the label and the input */
}