-
Notifications
You must be signed in to change notification settings - Fork 263
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
17 changed files
with
1,476 additions
and
122 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 |
---|---|---|
@@ -0,0 +1,245 @@ | ||
.testimonals-item { | ||
background-color: #ede6e6; | ||
padding: 30px; | ||
border-radius: 30px; | ||
} | ||
|
||
.rating { | ||
width: 180px; | ||
} | ||
|
||
.section-title { | ||
color: white !important; | ||
font-size: 48px; | ||
margin-bottom: 2rem; | ||
} | ||
|
||
.rating__star { | ||
font-size: 20px; | ||
cursor: pointer; | ||
color: #dabd18b2; | ||
} | ||
|
||
.testimonals-item img { | ||
max-width: 70px; | ||
border-radius: 50%; | ||
margin-right: 20px; | ||
vertical-align: middle; | ||
} | ||
|
||
/* Testimonals Section */ | ||
|
||
.testimonals-item { | ||
background-color: #1c413b; | ||
padding: 30px; | ||
border-radius: 30px; | ||
text-align: center; | ||
} | ||
|
||
.testimonals-item img { | ||
max-width: 80px; | ||
border-radius: 50%; | ||
margin-right: 20px; | ||
vertical-align: middle; | ||
} | ||
|
||
.testimonals-item .info { | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.testimonals-item .name { | ||
font-size: 24px; | ||
text-transform: capitalize; | ||
font-weight: 800; | ||
color: white; | ||
line-height: 1.2; | ||
margin-top: 10px; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.testimonals-item p { | ||
margin-top: 20px; | ||
color: white; | ||
text-align: left; | ||
} | ||
|
||
.testimonals-item .rating { | ||
margin-top: 15px; | ||
font-size: 14px; | ||
text-align: left; | ||
} | ||
|
||
.testimonals .swiper-pagination { | ||
position: relative; | ||
margin-top: 40px; | ||
bottom: auto; | ||
} | ||
|
||
.testimonals .swiper-pagination-bullet { | ||
height: 12px; | ||
width: 12px; | ||
background-color: white !important; | ||
} | ||
|
||
.testimonals-item .job { | ||
text-transform: capitalize; | ||
color: white; | ||
text-align: center; | ||
} | ||
|
||
.testimonals-item p { | ||
margin-top: 20px; | ||
color: white; | ||
} | ||
|
||
.testimonals-item .rating { | ||
margin-top: 15px; | ||
font-size: 14px; | ||
} | ||
|
||
.testimonals .swiper-pagination { | ||
position: relative; | ||
margin-top: 40px; | ||
bottom: auto; | ||
} | ||
|
||
#test { | ||
|
||
margin-left: 2rem; | ||
margin-right: 2rem; | ||
|
||
.testimonals { | ||
min-height: 100vh; | ||
max-width: 80% !important; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
background-color: #198754; | ||
} | ||
|
||
.slide-content { | ||
margin: 0 40px; | ||
overflow: hidden; | ||
border-radius: 25px; | ||
} | ||
.card { | ||
position: relative; | ||
border-radius: 25px; | ||
background-color: #1c413b; | ||
height: 300px; | ||
transition: transform 0.5s ease; | ||
} | ||
|
||
.image-content { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
padding: 25px 0; | ||
} | ||
|
||
.card-image { | ||
height: 150px; | ||
width: 150px; | ||
border-radius: 50%; | ||
background: #1c413b; | ||
} | ||
|
||
.card-image .card-img { | ||
height: 100%; | ||
width: 100%; | ||
object-fit: cover; | ||
border-radius: 50%; | ||
border: 4px solid #1c413b; | ||
} | ||
|
||
.swiper-navBtn { | ||
color: white !important; | ||
transition: color 0.3s ease; | ||
} | ||
|
||
.swiper-navBtn:hover { | ||
color: #198754; | ||
} | ||
|
||
.swiper-navBtn::before, | ||
.swiper-navBtn::after { | ||
font-size: 35px; | ||
} | ||
|
||
.swiper-button-next { | ||
right: 0; | ||
} | ||
|
||
.swiper-button-prev { | ||
left: 0; | ||
} | ||
|
||
.swiper-pagination-bullet { | ||
background-color: white !important; | ||
opacity: 1; | ||
} | ||
|
||
.swiper-pagination-bullet-active { | ||
background-color: grey !important; | ||
} | ||
|
||
@media screen and (max-width: 768px) { | ||
.slide-content { | ||
margin: 0 10px; | ||
} | ||
.swiper-navBtn { | ||
display: none; | ||
} | ||
} | ||
|
||
.card:hover .fronts { | ||
opacity: 0; | ||
transform: translateY(-100%); | ||
} | ||
|
||
.card .fronts { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
backface-visibility: hidden; | ||
} | ||
|
||
.backs { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
backface-visibility: hidden; | ||
opacity: 0; | ||
border: 2px solid #198754; | ||
background-color: #1c413b; | ||
border-radius: 50px; | ||
font-size: 1em; | ||
padding: 10px 40px; | ||
transition: opacity 0.5s ease; | ||
} | ||
|
||
.card:hover .backs { | ||
opacity: 1; | ||
} | ||
|
||
.rating i { | ||
color: #ffc107; | ||
} | ||
|
||
@media screen and (max-width: 700px) { | ||
.backs { | ||
font-size: 15px; | ||
} | ||
} | ||
|
||
@media screen and (min-width: 520px) and (max-width: 550px) { | ||
.backs { | ||
font-size: 13px; | ||
} | ||
} | ||
} |
Oops, something went wrong.