-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #758 from ratishjain12/contributors-page-fix
contributors page improved and added github url
- Loading branch information
Showing
3 changed files
with
90 additions
and
58 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,54 +1,64 @@ | ||
/* Custom CSS to adjust the size of contributor cards */ | ||
.mb-6 { | ||
width: 55%; /* Adjust the value as needed */ | ||
margin: 0.25rem; /* Reduce the margin for spacing */ | ||
padding: 0; /* Remove padding to decrease gaps */ | ||
box-sizing: border-box; /* Include margin and border in the total width */ | ||
width: 270px; /* Adjust the value as needed */ | ||
margin: 0.25rem; /* Reduce the margin for spacing */ | ||
padding: 0; /* Remove padding to decrease gaps */ | ||
box-sizing: border-box; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
.logo-img { | ||
width: 30px; | ||
} | ||
|
||
/* Adjust maximum height of the contributor card container */ | ||
.block { | ||
max-height: 350px; /* Adjust the value as needed */ | ||
overflow: hidden; /* Hide overflowing content */ | ||
margin: 0; /* Remove default margins */ | ||
padding: 2rem; /* Add padding to the content */ | ||
max-height: 420px; /* Adjust the value as needed */ | ||
overflow: hidden; /* Hide overflowing content */ | ||
margin: 0; /* Remove default margins */ | ||
padding: 2rem; /* Add padding to the content */ | ||
} | ||
|
||
.logo-img:hover { | ||
transform: scale(1.4); | ||
transition: ease-in-out 0.3s; | ||
} | ||
|
||
/* Make the contributor image responsive */ | ||
.rounded-t-lg img { | ||
width: 100%; | ||
height: auto; | ||
width: 100%; | ||
height: auto; | ||
} | ||
|
||
.contributor-tag { | ||
display: inline-block; | ||
padding: 4px 8px; | ||
background-color: #f59e0b; | ||
color: white; | ||
font-weight: bold; | ||
border-radius: 4px; | ||
margin-top: 4px; | ||
} | ||
.pa-tag { | ||
display: inline-block; | ||
padding: 4px 8px; | ||
background-color: #4caf50; | ||
color: white; | ||
font-weight: bold; | ||
border-radius: 4px; | ||
margin-top: 4px; | ||
} | ||
/* Scale hover effect for images */ | ||
.rounded-t-lg { | ||
transition: transform 0.3s ease; | ||
} | ||
|
||
.contributor-tag { | ||
display: inline-block; | ||
padding: 4px 8px; | ||
background-color: #F59E0B; | ||
color: white; | ||
font-weight: bold; | ||
border-radius: 4px; | ||
margin-top: 4px; | ||
} | ||
.pa-tag { | ||
display: inline-block; | ||
padding: 4px 8px; | ||
background-color: #4CAF50; | ||
color: white; | ||
font-weight: bold; | ||
border-radius: 4px; | ||
margin-top: 4px; | ||
} | ||
/* Scale hover effect for images */ | ||
.rounded-t-lg { | ||
transition: transform 0.3s ease; | ||
} | ||
|
||
.rounded-t-lg:hover { | ||
transform: scale(1.1); | ||
} | ||
.rounded-t-lg:hover { | ||
transform: scale(1.1); | ||
} | ||
|
||
/* Additional styling for the parent container */ | ||
.contributor-container { | ||
overflow: hidden; | ||
} | ||
/* Additional styling for the parent container */ | ||
.contributor-container { | ||
overflow: hidden; | ||
} |
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
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