-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
134 lines (128 loc) · 3.58 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Muhammad Rizky Khairullah</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&family=Roboto:wght@400;500;700&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css" />
</head>
<body>
<!-- Screen -->
<div class="screen">
<!-- Card -->
<div class="card">
<!-- Card Header -->
<div class="header">
<img class="photo-profile" src="https://github.com/mrkhairullah.png" alt="Muhammad Rizky Khairullah" />
<div class="user">
<p class="name">Muhammad Rizky Khairullah</p>
<p class="username">@mrhairullah</p>
</div>
</div>
<!-- Card Body -->
<div class="body">
<p class="content">Hi, welcome 👋 My personal website is under development, and will soon be accessible to the public.</p>
</div>
<!-- Card Footer -->
<div class="footer">
<button class="btn-icon">
<i class="bi-heart"></i>
</button>
<button class="btn-icon">
<i class="bi-chat"></i>
</button>
<button class="btn-icon">
<i class="bi-repeat"></i>
</button>
<button class="btn-icon">
<i class="bi-bookmark"></i>
</button>
<button class="btn-icon">
<i class="bi-share"></i>
</button>
</div>
</div>
</div>
<!-- Styles -->
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", "Segoe UI", Arial, Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: rgb(245, 245, 245);
}
.screen {
width: 100%;
height: 100vh;
padding: 1rem;
display: flex;
align-items: center;
justify-content: center;
}
.card {
gap: 1rem;
width: 20rem;
display: flex;
padding: 1rem;
max-width: 100%;
border-radius: 1rem;
flex-direction: column;
border: 1px solid rgb(163, 163, 163);
background-color: rgb(255, 255, 255);
}
.card .header {
gap: 1rem;
display: flex;
align-items: center;
}
.card .footer {
display: flex;
justify-content: space-between;
}
.photo-profile {
width: 2.5rem;
aspect-ratio: 1;
border-radius: 50%;
}
.user {
width: 100%;
overflow: hidden;
}
.name {
font-weight: 600;
overflow: hidden;
text-wrap: nowrap;
font-size: 0.9rem;
text-overflow: ellipsis;
color: rgb(23, 23, 23);
}
.username {
font-weight: 500;
overflow: hidden;
text-wrap: nowrap;
font-size: 0.8rem;
text-overflow: ellipsis;
color: rgb(64, 64, 64);
}
.content {
font-size: 0.8rem;
}
.btn-icon {
border: none;
font-size: 1rem;
border-radius: 50%;
padding: 0.05rem 0.25rem;
background-color: transparent;
}
.btn-icon i {
color: rgb(23, 23, 23);
}
</style>
</body>
</html>