-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
257 lines (221 loc) · 4.48 KB
/
style.css
File metadata and controls
257 lines (221 loc) · 4.48 KB
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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
*{
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: sans-serif;
}
body, html{
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
background-color: #f1f2f6;
}
table{
width: 80%;
}
#box1{
padding: 2vw;
width: 60%;
padding-bottom: 8vw;
}
#box1 h1{
color: #167af9;
font-size: 4.5vw;
margin-bottom: .6vw;
}
#box1 p{
font-size: 1.8vw;
font-weight: 500;
width: 80%;
}
#box2{
background-color: #fff;
border-radius: 15px;
display: flex;
align-items: center;
justify-content: flex-start;
flex-direction: column;
height: 100%;
padding: 1.4vw 1vw;
box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.1);
}
#box2 input[type="text"]{
width: 100%;
height: 8vh;
padding-left: .8vw;
margin-bottom: .8vw;
font-size: 1vw;
border-radius: 10px;
border: 1px solid #dadada;
}
#box2 input[type="password"]{
width: 100%;
height: 8vh;
padding-left: .8vw;
margin-bottom: .8vw;
font-size: 1vw;
border-radius: 10px;
border: 1px solid #dadada;
}
#box2 button{
width: 100%;
padding: 1.2vw 0;
background-color: #167af9;
color: #fff;
font-size: 1.2vw;
font-weight: 600;
border-radius: 8px;
border: none;
margin-bottom: .8vw;
}
#box2 button:hover{
background-color: #305686;
}
#box2 a{
width: 100%;
text-align: center;
text-decoration: none;
color: #167af9;
border-bottom: 1px solid #dadada;
padding-bottom: 1.2vw;
margin-bottom: 2.3vw;
}
#box2 #btn2{
background-color: #44b62a;
width: 50%;
padding: 1vw 0;
}
/* ASSIGNMENT 3 */
/* Your existing styles */
#main{
width: 100%;
height: 100%;
background: url(https://images.unsplash.com/photo-1514809838646-2c2eac6c3910?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80);
background-position: center;
background-size: cover;
padding: 2vw;
display: flex;
align-items: center;
}
#form {
display: flex;
flex-direction: column;
align-items: center;
background-color: #fff;
width: 28%;
border-radius: 5px;
}
#form h1{
margin: 1.5vw 0;
}
form{
width: 100%;
padding: 0 2vw;
}
.input-container {
display: flex;
align-items: center;
width: 100%;
margin-bottom: 1vw;
border: 2px solid #dadada;
border-bottom: 3px solid #979797ab;
border-radius: 5px;
}
.input-container i {
font-size: 16px;
color: #000;
padding: 0 10px;
}
.input-container input {
flex: 1;
padding: 10px;
border: none;
outline: none;
}
.radio-container {
display: flex;
margin-bottom: 1vw;
}
.radio-container label {
display: flex;
align-items: center;
margin-right: 1vw;
font-size: 16px;
}
.radio-container input {
margin-right: 5px;
}
.input-container select, .input-container select input{
width: 100%;
padding: .7vw;
border: 2px solid #dadada;
border-bottom: 3px solid #979797ab;
border-radius: 5px;
}
button {
width: 100%;
background-color: #35485d;
color: #fff;
padding: 13px 20px;
margin-bottom: 1.5vw;
border: none;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background-color: #516a86;
}
/* ASSIGNMENT 3 */
.container{
width: 100%;
height: 100%;
background-color: #fff;
border: 6px solid #000;
}
.container #head{
text-align: center;
width: 70%;
margin: auto;
padding: 2vw 0;
border-bottom: 4px solid #000;
line-height: 17px;
margin-bottom: 1vw;
}
.container #head h2, h5{
color: #4e4e4ece;
}
.container table{
width: 70%;
margin: auto;
text-align: center;
border-bottom: 4px solid #4e4e4ece;
padding-bottom: 1vw;
}
.container table tr td{
text-transform: uppercase;
font-weight: 600;
font-size: 1.1vw;
}
.container table tr td:nth-child(1){
color: red;
}
.image-container {
width: 70%;
display: flex;
justify-content: center;
margin: 0 auto;
margin-top: 2vw;
}
.image-container img {
width: 33.3%;
height: 100%;
object-fit: cover;
}
.container h4{
color: #4e4e4ece;
width: 70%;
margin: 1.6vw auto;
text-align: center;
}