-
Notifications
You must be signed in to change notification settings - Fork 890
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
155 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<!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> | ||
<link rel="stylesheet" href="styles.css"> | ||
|
||
<link href='https://unpkg.com/[email protected]/css/boxicons.min.css' rel='stylesheet'> | ||
|
||
<link rel="icon" type="image/x-icon" href="images/favicon.ico"> | ||
</head> | ||
<body> | ||
<div class="profile-card"> | ||
<div class="image"> | ||
<img src="images/pic.jpg" alt="" class="profile-img"> | ||
</div> | ||
<div class="text-data"> | ||
<span class="name">Adarsh Kumar</span> | ||
<span class="role">Programmer</span> | ||
</div> | ||
<div class="media-buttons"> | ||
<a href="https://www.linkedin.com/in/jinx-vi/" target="_blank" style="background: #0A66C2;" class="link"> | ||
<i class='bx bxl-linkedin'></i> | ||
</a> | ||
<a href="https://github.com/jinx-vi-0" target="_blank" style="background: #000;" class="link"> | ||
<i class='bx bxl-github' ></i> | ||
</a> | ||
<a href="https://twitter.com/_jinx_vi_" target="_blank" style="background: #1da1f2;" class="link"> | ||
<i class='bx bxl-twitter'></i> | ||
</a> | ||
<a href="https://t.me/jinx_vi_0" target="_blank" style="background: #0088cc;" class="link"> | ||
<i class='bx bxl-telegram'></i> | ||
</a> | ||
</div> | ||
<div class="buttons"> | ||
<a href="https://linktr.ee/jinx_vi" target="_blank"> | ||
<button class="button">Follow</button> | ||
</a> | ||
<a href="mailto:[email protected]"> | ||
<button class="button">Email</button> | ||
</a> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap'); | ||
|
||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
font-family: 'Poppins', sans-serif; | ||
} | ||
body { | ||
height: 100vh; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
background-color: #f4f4f4; | ||
} | ||
.profile-card { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
max-width: 370px; | ||
width: 100%; | ||
background: #fff; | ||
border-radius: 24px; | ||
padding: 25px; | ||
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1); | ||
position: relative; | ||
} | ||
.profile-card::before { | ||
content: ""; | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
border-radius: 24px 24px 0 0; | ||
height: 36%; | ||
width: 100%; | ||
background-color: #4070f4; | ||
} | ||
.image { | ||
position: relative; | ||
height: 150px; | ||
width: 150px; | ||
border-radius: 50%; | ||
background-color: #4070f4; | ||
padding: 3px; | ||
margin-bottom: 10px; | ||
} | ||
.image .profile-img { | ||
height: 100%; | ||
width: 100%; | ||
object-fit: cover; | ||
border-radius: 50%; | ||
border: 3px solid #fff; | ||
} | ||
.profile-card .text-data { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
color: #333; | ||
} | ||
.name { | ||
font-size: 22px; | ||
font-weight: 500; | ||
} | ||
.text-data .role { | ||
font-size: 15px; | ||
font-weight: 400; | ||
} | ||
.profile-card .media-buttons { | ||
display: flex; | ||
align-items: center; | ||
margin-top: 15px; | ||
} | ||
.media-buttons .link { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
color: #fff; | ||
font-size: 18px; | ||
height: 34px; | ||
width: 34px; | ||
border-radius: 50%; | ||
margin: 0 8px; | ||
background-color: #4070f4; | ||
text-decoration: none; | ||
} | ||
.profile-card .buttons { | ||
display: flex; | ||
align-items: center; | ||
margin-top: 25px; | ||
} | ||
.buttons .button { | ||
color: #fff; | ||
font-size: 14px; | ||
font-weight: 400; | ||
border: none; | ||
border-radius: 24px; | ||
margin: 0 10px; | ||
padding: 8px 24px; | ||
background-color: #4070f4; | ||
cursor: pointer; | ||
transition: all 0.3s ease; | ||
} | ||
.buttons .button:hover { | ||
background-color: #0e4bf1; | ||
transform: scale(1.1); | ||
} | ||
.link:hover i { | ||
transform: scale(1.2); | ||
} |