Assignments/style/index.css

112 lines
1.8 KiB
CSS
Raw Normal View History

2024-12-31 04:55:10 +00:00
body {
display: flex;
flex-direction: column;
align-items: center;
background-color: #f9f9f9;
margin: 0;
font-family: Arial, sans-serif;
}
.slider-one-heading {
text-align: center;
margin: 20px 0;
}
.slider-one-heading p {
font-size: 24px;
font-weight: bold;
color: #333;
margin: 0;
}
.swiper-container {
width: 50%;
height: auto;
}
.swiper {
width: 100%;
height: 300px;
border-radius: 10px;
overflow: hidden;
background-color: #fff;
}
.swiper-slide {
display: flex;
align-items: center;
justify-content: center;
background-color: transparent;
width: 50%;
height: 100%;
}
.swiper-slide img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
border-radius: 10px;
padding: 50px;
}
.featured-projects-section {
width: 70%;
height: auto;
margin: 0 auto;
margin-top: 10px;
padding: 10px 0;
}
.project-title {
font-size: 26px;
margin-bottom: 20px;
text-align: center;
}
.project-container {
display: flex;
}
.image-slider .swiper-slide img {
width: 100%;
height: 100%;
object-fit: contain;
border-radius: 10px;
}
.info-slider .swiper-slide {
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
text-align: left;
padding: 0px;
background-color: #ffffff;
width: 100%;
/* opacity: 0.8; */
}
.info-slider .swiper-slide h3 {
font-size: 24px;
margin-bottom: 10px;
color: #333;
margin-left: 50px;
/* opacity: 0.8; */
}
.info-slider .swiper-slide p {
font-size: 16px;
color: #555;
margin-left: 50px;
}
.project-container .swiper {
margin-top: 30px;
width: 100%;
height: 500px;
}