Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding hover effect and also my profile #109

Closed
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ <h1>Dev Profiles</h1>

<div class="container">
<!--Profiles-->




Expand Down Expand Up @@ -849,7 +850,7 @@ <h3 class="name">Shashwat Bajpai</h3>
<a href="www.linkedin.com/in/shashwat-bajpai-73a916234" target="_blank"><i class="fa-brands fa-linkedin-in"></i></a>
</div>
</div>
<div class="profile">
<div class="profile">
<div class="pfp"><img src="https://avatars.githubusercontent.com/u/106366272?s=400&u=ade8c9dfa9595b09f12ba786dc123017f53e27fe&v=4" alt="User Image"></div>
<h3 class="name">Akshat Mishra</h3>
<div class="skills">
Expand All @@ -863,7 +864,22 @@ <h3 class="name">Akshat Mishra</h3>
<a href="https://www.linkedin.com/in/akshat-mishra-702694226/" target="_blank"><i class="fa-brands fa-linkedin-in"></i></a>
</div>
</div>
<div class="profile">
<div class="pfp"><img src="profile1.jpeg" alt="User Image"></div>
<h3 class="name">Mudasir Tadimrri</h3>
<div class="skills">
<span class="skill">Java</span>
<span class="skill">Html</span>
<span class="skill">Css</span>
<span class="skill">Android Studio</span>
<span class="skill">MERN Stack</span>
</div>
<div class="social">
<a href="https://github.com/Mudasir7-Prof-Snape" target="_blank"><i class="fa-brands fa-github"></i></a>
</div>
</div>
</div>

<script src="script.js"></script>
</body>

Expand Down
185 changes: 93 additions & 92 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,161 +1,162 @@
@import url('https://fonts.googleapis.com/css2?family=PT+Serif&family=Poppins:wght@200&display=swap');
@import url("https://fonts.googleapis.com/css2?family=PT+Serif&family=Poppins:wght@200&display=swap");

::-webkit-scrollbar {
width: 9px;
width: 9px;
}

::-webkit-scrollbar-track {
background-color: #141414;
background-color: #141414;
}

::-webkit-scrollbar-thumb {
background-color: #302f2f;
border-radius: 12px;
background-color: #302f2f;
border-radius: 12px;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
background-color: #121212;
color: #ffffff;
font-family: Arial, sans-serif;
text-align: center;
background-color: #121212;
color: #ffffff;
font-family: Arial, sans-serif;
text-align: center;
}

h1 {
padding: 20px;
font-size: 36px;
font-family: 'PT Serif', serif;
padding: 20px;
font-size: 36px;
font-family: "PT Serif", serif;
}

.container {
display: flex;
flex-wrap: wrap;
justify-content: center;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
display: flex;
flex-wrap: wrap;
justify-content: center;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}

.profile {
background-color: #292929;
border-radius: 10px;
padding: 20px;
margin: 20px;
width: calc(33.33% - 40px);
text-align: center;
transition: background-color 0.3s ease;
background-color: #292929;
border-radius: 10px;
padding: 20px;
margin: 20px;
width: calc(33.33% - 40px);
text-align: center;
transition: background-color 0.3s ease;
}

.profile:hover {
background-color: #333333;
background-color: #333333;
}

.pfp img {
width: 100px;
height: 100px;
border-radius: 50%;
margin-bottom: 10px;
width: 100px;
height: 100px;
border-radius: 50%;
margin-bottom: 10px;
}
img:hover {
box-shadow: 0 0 5px 5px #cd5c08;
}

.name {
font-family: 'Poppins', sans-serif;
font-size: 20px;
margin-bottom: 10px;
font-family: "Poppins", sans-serif;
font-size: 20px;
margin-bottom: 10px;
}

.skills {
margin-bottom: 10px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
row-gap: 7px;
margin-bottom: 10px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
row-gap: 7px;
}

.skill {
background-color: #444;
padding: 5px 10px;
border-radius: 5px;
margin: 0 5px 10px 0;
font-size: 14px;
display: inline-block;
background-color: #444;
padding: 5px 10px;
border-radius: 5px;
margin: 0 5px 10px 0;
font-size: 14px;
display: inline-block;
}

.social {
margin-top: 13px;
display: flex;
flex-direction: row;
justify-content: center;
margin-top: 13px;
display: flex;
flex-direction: row;
justify-content: center;
}

.social a {
color: #ffffff;
margin: 0 10px;
font-size: 24px;
text-decoration: none;
color: #ffffff;
margin: 0 10px;
font-size: 24px;
text-decoration: none;
}

.social a {
color: #ffffff;
margin: 0 10px;
font-size: 24px;
text-decoration: none;
transition: color 0.3s, font-size 0.3s;
color: #ffffff;
margin: 0 10px;
font-size: 24px;
text-decoration: none;
transition: color 0.3s, font-size 0.3s;
}

.social a:hover {
color: #00aaff;
font-size: 28px;
color: #00aaff;
font-size: 28px;
}

@media screen and (max-width: 768px) {
.container {
justify-content: center;
}
.container {
justify-content: center;
}

.profile {
width: 100%;
}
.profile {
width: 100%;
}
}

button {
color: #fff;
padding: 10px 20px;
background-color: #2b3031;
border: none;
cursor: pointer;
font-family: 'Poppins',sans-serif;
font-size: 1.1em;
border-radius: 5%;
color: #fff;
padding: 10px 20px;
background-color: #2b3031;
border: none;
cursor: pointer;
font-family: "Poppins", sans-serif;
font-size: 1.1em;
border-radius: 5%;
}

.search {
text-align: center;
margin-bottom: 20px;
text-align: center;
margin-bottom: 20px;
}

#searchInput {
width: 80%;
padding: 10px;
border: none;
border-radius: 5px;
background-color: #121212;
color: #ffffff;
font-size: 16px;
box-shadow: 0px 0px 5px rgba(255, 255, 255, 0.2);
width: 80%;
padding: 10px;
border: none;
border-radius: 5px;
background-color: #121212;
color: #ffffff;
font-size: 16px;
box-shadow: 0px 0px 5px rgba(255, 255, 255, 0.2);
}

#searchInput::placeholder {
color: #777;
color: #777;
}

#searchInput:focus {
outline: none;
box-shadow: 0px 0px 5px rgba(255, 255, 255, 0.5);
outline: none;
box-shadow: 0px 0px 5px rgba(255, 255, 255, 0.5);
}