forked from sakshimadne/Design-Discus_013
-
Notifications
You must be signed in to change notification settings - Fork 0
/
facebook-era1.html
188 lines (186 loc) · 4.57 KB
/
facebook-era1.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>thefacebook</title>
<link
href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap"
rel="stylesheet"
/>
<style>
* {
padding: 0;
margin: 0;
font-family: "Open Sans", sans-serif;
box-sizing: border-box;
}
body {
margin: 0;
padding: 0 20px;
border: 1px solid blue;
}
section {
height: auto;
display: flex;
flex-direction: column;
margin-top: 20px;
}
#heading {
width: 100%;
height: 105px;
background-image: url("images/facebookera1.png");
background-size: cover;
}
#heading > div {
position: relative;
left: 900px;
top: 80px;
color: white;
}
#heading > div > ul {
list-style: none;
display: flex;
gap: 20px;
}
#main-container-left {
border: 1px dotted rgb(90, 117, 159);
margin: 5px 0;
padding: 10px;
width: 100%;
height: auto;
}
#main-container-left > p {
text-align: start;
margin-bottom: 5px;
}
input {
margin: 3px 0;
width: 100%;
height: 25px;
}
#main-container {
width: 100%;
border: 1px solid rebeccapurple;
margin: 3px 0;
padding: 10px;
}
#main-container-heading {
width: 100%;
padding: 5px 0;
color: white;
font-size: 18px;
background-color: #3b5998;
}
#main-container-heading + h1 {
text-align: center;
margin-bottom: 30px;
}
ul {
list-style-position: inside;
}
#main-container-content {
padding: 0;
}
#btn-main {
display: flex;
justify-content: center;
gap: 10px;
margin: 10px 0;
}
button {
padding: 5px 10px;
background-color: #6d82ad;
border: 2px solid rgb(41, 41, 70);
color: white;
}
#links {
margin-top: 15px;
display: flex;
justify-content: center;
list-style: none;
gap: 10px;
flex-wrap: wrap;
}
#link-container {
text-align: center;
margin-top: 20px;
}
@media (min-width: 768px) {
section {
flex-direction: row;
}
#main-container-left {
width: 30%;
height: 100%;
}
#main-container {
width: 70%;
}
}
</style>
</head>
<body>
<div id="heading">
<div>
<ul>
<li>login</li>
<li>register</li>
<li>about</li>
</ul>
</div>
</div>
<section>
<div id="main-container-left">
<p>Email</p>
<input type="email" />
<p>Password</p>
<input type="password" />
<div id="btn-main"><button>Register</button><button>Login</button></div>
</div>
<div id="main-container">
<div id="main-container-heading">Welcome to Thefacebook!</div>
<h1>[ Welcome to Thefacebook ]</h1>
<div id="main-container-content">
<p>
Thefacebook is an online directory that connects people through
social networks at colleges.
</p>
<br />
<p>
We have opened up Thefacebook for popular consumption at Harvard
University
</p>
<br />
<p>You can use Thefacebook to:</p>
<ul>
<li>Search for people at your school</li>
<li>Find out who are in your classes</li>
<li>Look up your friends' friends</li>
<li>See a visualization of your social network</li>
</ul>
<br />
<p>
To get started, click below to register. If you have already
registered, you can log in.
</p>
<br />
<div id="btn-main">
<button>Register</button><button>Login</button>
</div>
</div>
</div>
</section>
<div id="link-container">
<ul id="links">
<li><a href="">about</a></li>
<li><a href="">contact</a></li>
<li><a href="">faq</a></li>
<li><a href="">terms</a></li>
<li><a href="">privacy</a></li>
</ul>
<p>a Mark Zuckerberg production</p>
<p>Thefacebook © 2004</p>
</div>
</body>
</html>