-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path10e.html
More file actions
119 lines (103 loc) · 2.2 KB
/
10e.html
File metadata and controls
119 lines (103 loc) · 2.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Profile Card</title>
<style>
p {
font-family: Arial;
margin-top: 0;
margin-bottom: 0;
}
body {
padding: 20px;
}
.account-div {
width: 200px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
display: inline-block;
vertical-align: top;
margin-right: 15px;
}
.profpic-div {
margin-bottom: 12px;
}
.prof-pic {
width: 200px;
height: 200px;
object-fit: cover;
display: block;
}
.account-name {
margin-left: 8px;
margin-bottom: 5px;
}
.name-text {
font-size: 18px;
font-weight: bold;
}
.mutual-friends {
margin-left: 8px;
margin-bottom: 10px;
}
.small-image {
display: inline-block;
vertical-align: middle;
}
.smalldog-pic {
width: 28px;
height: 28px;
object-fit: cover;
border-radius: 14px;
vertical-align: middle;
margin-right: 4px;
}
.mutual-div {
display: inline-block;
vertical-align: middle;
}
.mutual-text {
color: rgb(100, 100, 100);
font-size: 14px;
}
.button-div {
margin-left: 8px;
margin-bottom: 10px;
}
.add-button {
background-color: rgb(24, 119, 242);
color: white;
border: none;
padding-top: 10px;
padding-bottom: 10px;
padding-left: 20px;
padding-right: 20px;
border-radius: 4px;
font-size: 16px;
cursor: pointer;
}
</style>
</head>
<body>
<div class="account-div">
<div class="profpic-div">
<img class="prof-pic" src="img folder/cat.jpg">
</div>
<div class="account-name">
<p class="name-text">Oliver</p>
</div>
<div class="mutual-friends">
<div class="small-image">
<img class="smalldog-pic" src="img folder/dog2.jpg">
</div>
<div class="mutual-div">
<p class="mutual-text">2 mutual friends</p>
</div>
</div>
<div class="button-div">
<button class="add-button">Add Friend</button>
</div>
</div>
</body>
</html>