Skip to content

Commit

Permalink
Merge pull request juhinagpure#181 from somu545/edu-contribution
Browse files Browse the repository at this point in the history
chaged student section
  • Loading branch information
juhinagpure committed May 17, 2024
2 parents f51999f + f6b942f commit 851b1fa
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,6 @@ h3 {
}

.testimonials-col {
text-align: center;
z-index: -1;
flex-basis: 44%;
border-radius: 10px;
margin-bottom: 5%;
Expand All @@ -337,12 +335,20 @@ h3 {
cursor: pointer;
display: flex;
box-sizing: border-box;
align-items: center;
}


.testimonials-col img {
width: 80px; /* Set a specific width for the images */
height: 80px; /* Set a specific height for the images */
border-radius: 50%; /* Make images circular */
margin-right: 20px; /* Space between image and text */
object-fit: cover; /* Ensure the image covers the element */
}

.testimonials-col p {
padding: 0;
margin: 0; /* Add margin to avoid overflow */
}

.testimonials-col h3 {
Expand All @@ -353,18 +359,23 @@ h3 {
.testimonials-col .fa {
color: #f44336;
}
.testimonials-col .fa-solid{

.testimonials-col .fa-solid {
color: #f44336;
}

@media (max-width: 700px) {
.testimonials-col {
flex-direction: column;
align-items: flex-start;
}

@media(max-width:700px) {
.testimonials-col img {
margin-left: 0px;
margin-right: 15px;
margin: 0 0 15px 0;
}
}


/* call to action */
.cta {
margin: 100px auto;
Expand Down

0 comments on commit 851b1fa

Please sign in to comment.