forked from Integrify-Finland/int-fs7-css-ecommerce-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsignup.css
78 lines (78 loc) · 1.37 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
73
74
75
76
77
78
*{
box-sizing: border-box;
}
body {
font-family: Arial;
background-color:#B08BBB;
padding: 0;
margin: 0;
}
.container {
max-width: 1200px;
margin: 0 auto;
}
header {
position:sticky;
top:0;
display:flex;
justify-content:space-evenly;
align-items: center;
font-size:15px;
background-color:#D7E9B9;
padding: 20px;
}
header a{
text-decoration: none;
color: rgb(21, 20, 20);
}
/*.login {
max-width: 400px;
margin: 0 auto;
padding: 20px;
}*/
.signup{
max-width: 400px;
margin: 0 auto;
padding: 20px;
}
h1 {
text-align: center;
margin-bottom: 30px;
}
form {
background-color: #f5f5f5;
padding: 20px;
border-radius: 10px;
margin-left: auto;
margin-right: auto;
}
label {
display: block;
margin-bottom: 10px;
}
input[type="text"], input[type="email"], input[type="password"] {
padding: 12px 20px;
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 4px;
}
input[type="submit"] {
display: block;
background-color: #a573b4;
color: white;
padding: 12px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
margin-top: 10px;
}
input[type="submit"]:hover {
background-color: #a708a9;
}
@media screen and (max-width: 500px) {
header {
flex-direction:initial;
gap:1rem;
padding :1rem;
}
}