-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
202 lines (177 loc) · 2.76 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
/**
* ! changing default styles of browser
**/
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: sans-serif;
}
.container {
display: flex;
flex-direction: row;
}
/**
* ! Style Rules for content section
**/
.content {
display: flex;
flex-direction: column;
justify-content: space-around;
background-color: rgb(52, 77, 86);
width: 55%;
min-height: 100vh;
padding: 10px 20px;
}
.image {
background-image: url("./images/illustration.svg");
background-repeat: no-repeat;
background-size: contain;
background-position: center;
/* border: 2px solid black; */
height: 65%;
}
.text {
text-align: center;
color: white;
font-size: 18px;
}
/**
* ! Style Rules for form section
**/
form {
display: flex;
flex-direction: column;
justify-content: center;
/* max-width: 400px; */
width: 45%;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
padding: 50px;
}
.title {
font-size: 25px;
font-weight: bold;
margin-bottom: 20px;
}
form div input {
width: 100%;
height: 40px;
border-radius: 8px;
outline: none;
border: 2px solid #c4c4c4;
padding: 0 30px;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
label {
display: block;
margin-bottom: 5px;
}
form div {
position: relative;
margin-bottom: 15px;
}
input:focus {
border: 2px solid rgb(52, 77, 86);
}
/**
* ! Style Rules for social section
**/
.btn {
display: flex;
flex-direction: row;
justify-content: space-between;
gap: 15px;
}
.btn-1,
.btn-2 {
padding: 10px 5px;
width: 100%;
display: flex;
gap: 15px;
justify-content: center;
align-items: center;
border: 2px solid #c4c4c4;
border-radius: 8px;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.btn-2 {
background-color: #4f70b5;
color: white;
}
.or {
text-align: center;
}
.question {
font-size: 15px;
}
span {
color: rgb(52, 77, 86);
cursor: pointer;
}
/**
* ! Style Rules for form icons
**/
form div i {
position: absolute;
padding: 10px;
}
.success-icon,
.failure-icon {
right: 0;
opacity: 0;
}
.failure-icon,
.error {
color: red;
}
.success-icon {
color: green;
}
.error {
font-size: 14.5px;
margin-top: 5px;
}
/**
* ! Style rules for button
**/
button {
margin-top: 15px;
width: 100%;
height: 45px;
background-color: rgb(52, 77, 86);
border: 2px solid rgb(52, 77, 86);
border-radius: 8px;
color: #fff;
font-size: 20px;
cursor: pointer;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
transition: all 0.1s ease;
}
button:hover {
opacity: 0.8;
}
/**
* ! Media Queries are here
**/
@media (max-width: 900px) {
.container {
flex-direction: column;
}
form,
.content {
width: 100%;
}
.btn {
flex-direction: column;
}
.image {
height: 70vh;
}
}
@media (max-width: 425px) {
form {
padding: 20px;
}
}