Skip to content

Commit

Permalink
Merge pull request #159 from Manikant69/main
Browse files Browse the repository at this point in the history
Minimize the team grid card to look better UI
  • Loading branch information
mdazfar2 authored Jun 4, 2024
2 parents 2dd3c7b + 0ada0ac commit d8b3604
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 31 deletions.
6 changes: 3 additions & 3 deletions Official_Website/contributor-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ <h1>Our Team</h1>
<div id="team-grid">
<div class="team-member">
<div class="card1">
<div class="image-div1">
<div class="image-div">
<img src="Screenshot (251).png" alt="Azfar Alam" />
</div>
<div class="info-div">
Expand All @@ -126,8 +126,8 @@ <h2>Azfar Alam</h2>
</div>
<div class="team-member">
<div class="card2">
<div class="image-div1">
<img src="Screenshot (250).png" alt="Azfar Alam" />
<div class="image-div">
<img src="Screenshot (250).png" alt="Anurag Pandey" />
</div>
<div class="info-div">
<span class="badge founder">Maintainer</span>
Expand Down
42 changes: 14 additions & 28 deletions Official_Website/contributor-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,7 @@ width: 40px;
}

.intro {
margin-top: 24px;
margin-bottom: 24px;
margin-left:24px;
margin-right:24px;
margin:24px;
}

/* .intro h1 {
Expand All @@ -239,11 +236,12 @@ width: 40px;
} */

#team-grid {
margin-left: 2rem;
margin-right: 2rem;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
gap: 20px;
height: 400px;

grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
gap: 5rem;
height: 300px;
}

.team-member {
Expand All @@ -265,39 +263,28 @@ width: 40px;
.team-member:hover{
transform: scale(1.07);
}
.card {
background-color: #ceedff;
padding: 20px;
border-radius: 20px;
border-color: #3498db;
display: flex;
flex-direction: column;
width: 100%;
height: 200px;
align-items: center;
position: relative;
}

.card1 {
background-color: #fff0f0;
padding: 20px;
border-radius: 20px;
padding: 2rem;
border-radius: 2rem;
border-color: #3498db;
display: flex;
flex-direction: column;
width: 100%;
height: 300px;
height: 200px;
align-items: center;
position: relative;
}
.card2 {
background-color: #fcedfe;
padding: 20px;
padding: 2rem;
border-radius: 20px;
border-color: #3498db;
display: flex;
flex-direction: column;
width: 100%;
height: 300px;
height: 200px;
align-items: center;
position: relative;
}
Expand All @@ -308,13 +295,12 @@ width: 40px;

.image-div img {
border-radius: 50%;
width: 40px;
height: 40px;
width: 8%;
}

.info-div {
text-align: center;
margin-top: 15px;
margin-top: 5px;
}

.info-div h2 {
Expand Down

0 comments on commit d8b3604

Please sign in to comment.