Skip to content

Commit

Permalink
Merge pull request #455 from akansha-02/main
Browse files Browse the repository at this point in the history
#259 Enhancement of text
  • Loading branch information
akbatra567 authored Oct 22, 2024
2 parents 1977810 + c02df45 commit 85c36f2
Show file tree
Hide file tree
Showing 2 changed files with 153 additions and 77 deletions.
217 changes: 140 additions & 77 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,98 +140,161 @@
margin-bottom: 20px;
}

.swiper-slide {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
background-color: #fff;
border-radius: 10px;
transition: transform 0.3s;
}
/* Main Swiper Slide Styling */
.swiper-slide {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
background-color: #fff;
border-radius: 10px;
transition: transform 0.3s ease-in-out;
}

.swiper-slide img {
width: 100px;
height: 100px;
border-radius: 50%;
margin-bottom: 10px;
}
.swiper-slide img {
width: 100px;
height: 100px;
border-radius: 50%;
margin-bottom: 10px;
}

.swiper-slide h3 {
font-size: 1.5rem;
margin: 10px 0;
}
.swiper-slide h3 {
font-size: 1.5rem;
margin: 10px 0;
}

.swiper-slide p {
font-size: 1rem;
color: #777;
margin-bottom: 15px;
}
.swiper-slide p {
font-size: 1rem;
color: #777;
margin-bottom: 15px;
}

.stars i {
color: #fbc02d;
}
.stars i {
color: #fbc02d;
}

/* Hover effect */
.swiper-slide:hover {
transform: scale(1.05);
}
/* Hover effect */
.swiper-slide:hover {
transform: scale(1.05);
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
.swiper-slide {
max-width: 80%;
}
}
/* Responsive Styles */
/* Medium Devices (Up to 1200px) */
@media screen and (max-width: 1200px) {
.swiper-slide {
max-width: 100%;
padding: 16px;
}
}

@media screen and (max-width: 768px) {
.heading {
font-size: 2rem;
}
/* Small Devices (Up to 768px) */
@media screen and (max-width: 768px) {
.heading {
font-size: 2rem;
text-align: center;
}

.swiper-slide {
max-width: 90%;
padding: 15px;
}
.swiper-slide {
max-width: 100%;
padding: 12px;
}

.swiper-slide h3 {
font-size: 1.3rem;
}
.swiper-slide img {
width: 80px;
height: 80px;
}

.swiper-slide p {
font-size: 0.9rem;
}
}
.swiper-slide h3 {
font-size: 1.2rem;
margin: 8px 0;
}

@media screen and (max-width: 576px) {
.heading {
font-size: 1.8rem;
}
.swiper-slide p {
font-size: 0.9rem;
margin-bottom: 10px;
}
}

.swiper-slide {
max-width: 100%;
padding: 10px;
}
/* Extra Small Devices (Up to 576px) */
@media screen and (max-width: 576px) {
.heading {
font-size: 1.5rem;
text-align: center;
}

.swiper-slide h3 {
font-size: 1.2rem;
}
.swiper-slide {
max-width: 100%;
padding: 10px;
}

.swiper-slide p {
font-size: 0.8rem;
}
}
.swiper-slide img {
width: 70px;
height: 70px;
}

.swiper-slide h3 {
font-size: 1rem;
margin: 8px 0;
}

.swiper-slide p {
font-size: 0.85rem;
}
}

/* Ultra Small Devices (Up to 400px) */
@media screen and (max-width: 400px) {
.heading {
font-size: 1.2rem;
text-align: center;
}

.swiper-slide {
max-width: 100%;
padding: 8px;
}

.swiper-slide img {
width: 60px;
height: 60px;
}

.swiper-slide h3 {
font-size: 0.9rem;
margin: 5px 0;
}

.swiper-slide p {
font-size: 0.75rem;
}
}

/* Additional styling for swiper pagination */
.swiper-pagination {
position: relative;
bottom: 10px;
display: flex;
justify-content: center;
}

/* Additional responsive pagination size adjustments */
@media screen and (max-width: 768px) {
.swiper-pagination-bullet {
width: 10px;
height: 10px;
}
}

@media screen and (max-width: 400px) {
.swiper-pagination-bullet {
width: 8px;
height: 8px;
}
}

/* Additional styling for swiper pagination */
.swiper-pagination {
position: relative;
bottom: 10px;
display: flex;
justify-content: center;
}

/* General Styles */
.container_1 {
Expand Down
13 changes: 13 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,19 @@ li a:hover {
margin-top: 0rem;


}
@media (max-width : 768px) {
.ride{
display: flex;
flex-direction: column;
}
section{
padding: 50px 20px ;
}

#review{
width: 100% !important;
}
}
.ride span{
font-size: 40px;
Expand Down

0 comments on commit 85c36f2

Please sign in to comment.