-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
138 lines (138 loc) · 2.26 KB
/
style.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
* {
padding: 0;
margin: 0;
box-sizing: border-box;
line-height: 1.5;
font-family: "Poppins", sans-serif;
}
.container {
background: url(images/bg-intro-desktop.png);
color: white;
display: flex;
padding: 5em;
justify-content: center;
align-items: center;
gap: 2em;
margin: 0 auto;
max-width: 100%;
position: relative;
}
.container::after {
content: "";
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
z-index: -1;
background-color: hsl(0, 100%, 74%);
}
.container h1 {
font-weight: bold;
}
.form-wrap {
display: flex;
flex-direction: column;
justify-content: center;
gap: 0.5em;
}
.form-header {
background-color: darkblue;
color: white;
text-decoration: none;
text-align: center;
border-radius: 5px;
padding: 10px 20px;
}
form {
background-color: white;
border-radius: 5px;
padding: 1em 2em;
text-align: center;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
form input {
width: 100%;
padding: 10px;
border-radius: 5px;
border: rgba(128, 128, 128, 0.349) solid 1px;
color: black;
transition: all 0.3s ease-in-out;
}
form button {
color: white;
background-color: rgb(95, 189, 95);
border-radius: 5px;
padding: 10px 25px;
width: 100%;
border: none;
font-weight: bold;
margin-top: 1em;
transition: all 0.3s ease-in-out;
}
form button:active {
opacity: 0.7;
}
form p {
color: rgb(109, 103, 103);
margin-top: 0.5em;
font-size: 12px;
}
form span a {
color: lightcoral;
text-decoration: none;
font-weight: bold;
}
.heading {
padding: 1rem;
max-width: 45ch;
text-align: center;
}
.heading p {
font-size: 14px;
}
@media (max-width: 600px) {
.container {
flex-direction: column;
width: 95%;
margin: 0 auto;
padding: 1em;
}
.form-wrap {
width: 100%;
padding: 0;
}
}
@media (min-width: 601px) and (max-width: 653px) {
.container p {
font-size: 0.9em;
}
}
@media (min-width: 600px) {
.form-wrap {
max-width: 40%;
}
.heading {
text-align: left;
}
}
.error-first,
.error-last,
.error-email,
.error-password {
color: red;
font-size: 14px;
align-self: flex-end;
}
.error {
background: url(images/icon-error.svg) no-repeat;
background-position-x: 95%;
background-position-y: 50%;
}
.error-second {
background: url(images/icon-error.svg) no-repeat;
background-position-x: 90%;
background-position-y: 50%;
}