-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
155 lines (127 loc) · 3.39 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<style>
@import url('https://fonts.googleapis.com/css2?family=Zen+Tokyo+Zoo&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Zen+Tokyo+Zoo&display=swap');
* {
margin: 0;
padding: 0;
}
body {
background: url(./img/london.jpg) no-repeat center center fixed;
background-size: cover;
}
.container {
position: absolute;
top: 24%;
left: 42%;
}
.container .h2 {
color: white;
border-bottom: 5px solid indigo;
display: inline-block;
font-size: 32px;
font-family: 'Abril Fatface';
/* font-family: 'Zen Tokyo Zoo', cursive; */
padding: 5px 0px;
margin: 30px 0px;
}
.box {
margin: 20px 0px;
border-bottom: 2px solid indigo;
}
.box input {
/* border-bottom: 1px solid indigo;
border-right: 1px solid indigo; */
color: white;
background: none;
border: none;
outline: none;
font-size: 16px;
padding: 5px 20px 5px 5px;
margin: 5px 0px;
}
.box img {
width: 30px;
filter: invert(100);
margin: -7px 0px;
}
.btn button {
border: 2px solid purple;
border-radius: 5px;
color: white;
background: none;
cursor: pointer;
padding: 3px 10px 3px 5px;
margin: 6px 30px 0px 0px;
}
.btn button:hover {
color: black;
background: rgb(231, 202, 231);
}
@media only screen and (max-width:410px) {
.container {
position: absolute;
top: 24%;
left: 44px;
}
}
@media (min-width:411px) and (max-width:730px) {
.container {
position: absolute;
top: 24%;
left: 100px;
}
}
@media (min-width:767px) and (max-width:1125px) {
.container {
left: 30%;
}
.container .h2 {
font-size: 55px;
}
.box input {
font-size: 35px;
padding: 5px 20px 10px 5px;
margin: 10px 0px 15px 0px;
}
.box img {
width: 45px;
}
.btn button {
font-size: 30px;
font-size: 35px;
}
}
</style>
<body>
<div class="container">
<h2 class="h2">LogIn</h2>
<form action="">
<div class="box">
<label for="email">
<img src="./img/email.png" alt="">
<i class="fa-solid fa-square-envelope"></i>
<input type="email" name="email" id="email" placeholder="Enter your email">
</label>
</div>
<div class="box">
<label for="password">
<img src="./img/key.png" alt="">
<input type="password" name="password" id="password" placeholder="Enter Password">
</label>
</div>
<div class="btn">
<button>Sign In</button>
<button>Sign Up</button>
</div>
</div>
</form>
</body>
</html>